summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXpLoDWilD <xplodgui@gmail.com>2012-11-23 15:56:49 +0000
committernebkat <nebkat@teamhacksung.org>2012-11-29 22:18:59 +0000
commit51e260690cb3924374d9f866a5f804e2c5d148e9 (patch)
tree1469abc3b2963aebb47a7361297ce41b9fc206d7
parent329487d602645037c303d7b33ce768bc343deb78 (diff)
downloaddevice_samsung_n7100-51e260690cb3924374d9f866a5f804e2c5d148e9.tar.gz
device_samsung_n7100-51e260690cb3924374d9f866a5f804e2c5d148e9.tar.bz2
device_samsung_n7100-51e260690cb3924374d9f866a5f804e2c5d148e9.zip
4.2-ization
Change-Id: I3e076d14c4a9c90d6b58798ac6d4dc04936d3103
-rwxr-xr-xinit.smdk4x12.rc24
-rw-r--r--n7100.mk5
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml6
-rw-r--r--overlay/packages/apps/Phone/res/values/config.xml2
-rw-r--r--system.prop1
5 files changed, 22 insertions, 16 deletions
diff --git a/init.smdk4x12.rc b/init.smdk4x12.rc
index f90c15f..5e35b4f 100755
--- a/init.smdk4x12.rc
+++ b/init.smdk4x12.rc
@@ -1,17 +1,21 @@
import init.smdk4x12.usb.rc
import init.bt.rc
-on early-init
- export EXTERNAL_STORAGE /storage/sdcard0
- export SECONDARY_STORAGE /storage/sdcard1
+on init
+ mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage 0550 system sdcard_r
- mkdir /storage/sdcard0 0000 system system
- mkdir /storage/sdcard1 0775 system system
- mkdir /storage/usbdisk0 0775 system system
+ mkdir /storage/emulated 0555 root root
+
+ export EXTERNAL_STORAGE /storage/emulated/legacy
+ export SECONDARY_STORAGE /storage/sdcard1
+ export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
+ export EMULATED_STORAGE_TARGET /storage/emulated
# for backwards compatibility
- symlink /storage/sdcard0 /sdcard
- symlink /storage/sdcard0 /mnt/sdcard
+ symlink /storage/emulated/legacy /sdcard
+ symlink /storage/emulated/legacy /mnt/sdcard
+ symlink /storage/emulated/legacy /storage/sdcard0
+ symlink /mnt/shell/emulated/0 /storage/emulated/legacy
symlink /storage/sdcard1 /extSdCard
symlink /storage/sdcard1 /mnt/extSdCard
symlink /storage/usbdisk0 /usbdisk0
@@ -424,8 +428,8 @@ on property:ro.uart_debug=0
# create virtual SD card at /mnt/sdcard, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
# underlying files in /data/media wil be created with user and group media_rw (1023)
-service sdcard /system/bin/sdcard /data/media 1023 1023
- class main
+service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
+ class late_start
# icd
service icd /system/bin/icd
diff --git a/n7100.mk b/n7100.mk
index 5badc26..340a6ad 100644
--- a/n7100.mk
+++ b/n7100.mk
@@ -52,8 +52,9 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
GalaxyNote2Settings \
libsecril-client \
- libsecril-client-sap \
- SamsungServiceMode
+ libsecril-client-sap
+
+# SamsungServiceMode
# NFC
PRODUCT_PACKAGES += \
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 9402d40..b8bbef5 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -95,10 +95,10 @@
<bool name="config_disableMenuKeyInLockScreen">true</bool>
<!-- Disable the home key unlock setting -->
- <bool name="config_disableHomeUnlockSetting">false</bool>
+<!-- <bool name="config_disableHomeUnlockSetting">false</bool> -->
<!-- Workaround for devices with broken keyboards -->
- <bool name="config_forceDisableHardwareKeyboard">true</bool>
+<!-- <bool name="config_forceDisableHardwareKeyboard">true</bool> -->
<!-- Hardware 'face' keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
@@ -110,7 +110,7 @@
16 - App switch
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
- <integer name="config_deviceHardwareKeys">7</integer>
+<!-- <integer name="config_deviceHardwareKeys">7</integer> -->
<!-- Boolean to enable stylus gestures -->
<bool name="config_stylusGestures">true</bool>
diff --git a/overlay/packages/apps/Phone/res/values/config.xml b/overlay/packages/apps/Phone/res/values/config.xml
index 23ec4e4..e4a07c1 100644
--- a/overlay/packages/apps/Phone/res/values/config.xml
+++ b/overlay/packages/apps/Phone/res/values/config.xml
@@ -21,5 +21,5 @@
<bool name="has_in_call_noise_suppression">true</bool>
<!-- Audio parameter for setting noise suppression-->
- <string name="in_call_noise_suppression_audioparameter">noise_suppression=true=false</string>
+<!-- <string name="in_call_noise_suppression_audioparameter">noise_suppression=true=false</string> -->
</resources>
diff --git a/system.prop b/system.prop
index 8f98f1d..47d42de 100644
--- a/system.prop
+++ b/system.prop
@@ -2,6 +2,7 @@
# system.prop for smdk4x12
#
+dalvik.vm.dexopt-data-only=1
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=320