summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common.mk8
-rw-r--r--overlay/packages/apps/Focal/res/values/config.xml27
-rwxr-xr-xrootdir/init.smdk4x12.rc11
3 files changed, 6 insertions, 40 deletions
diff --git a/common.mk b/common.mk
index c71abb5..a8d8072 100644
--- a/common.mk
+++ b/common.mk
@@ -75,8 +75,12 @@ PRODUCT_PACKAGES := \
libsync \
lights.exynos4 \
macloader \
- tinymix \
- Torch
+ tinymix
+
+ifneq ($(TARGET_HAS_CAM_FLASH) ,false)
+PRODUCT_PACKAGES += \
+ Torch
+endif
# MFC API
PRODUCT_PACKAGES += \
diff --git a/overlay/packages/apps/Focal/res/values/config.xml b/overlay/packages/apps/Focal/res/values/config.xml
deleted file mode 100644
index c928d2f..0000000
--- a/overlay/packages/apps/Focal/res/values/config.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2013 The CyanogenMod Project
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
--->
-<resources>
- <!-- Whether or not to use preview data to take snapshots while in the video mode.
- This enables snapshot during videos on older devices. -->
- <bool name="config_usePreviewForVideoSnapshot">true</bool>
-
- <!-- Whether or not to enable Samsung ZSL capabilities -->
- <bool name="config_useSamsungZSL">true</bool>
-</resources>
diff --git a/rootdir/init.smdk4x12.rc b/rootdir/init.smdk4x12.rc
index 986c25e..aa6e570 100755
--- a/rootdir/init.smdk4x12.rc
+++ b/rootdir/init.smdk4x12.rc
@@ -30,9 +30,6 @@ on init
mkdir /tombstones
symlink /efs /factory
-# ko files for FM Radio
- insmod /system/lib/modules/Si4709_driver.ko
-
on fs
mkdir /preload
mount_all /fstab.smdk4x12
@@ -67,14 +64,6 @@ on post-fs-data
chmod 0775 /data/misc/radio
mkdir /efs/imei 0775 radio system
-# icd
- exec icd_check
- chown system system /dev/icd
- chmod 0644 /dev/icd
- write /dev/icdr 0
- chown system system /dev/icdr
- chmod 0644 /dev/icdr
- chown system system /dev/tzic
# HDCP 2.x
mkdir /data/system/hdcp2 0775 system system