summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorUtkarsh Gupta <utkarsh.eminem@gmail.com>2014-05-15 17:45:17 +0530
committerUtkarsh Gupta <utkarsh.eminem@gmail.com>2014-07-07 12:37:05 +0530
commit7e4a93901212bbe942a15f0db90073a9ee1cea3c (patch)
tree64894310a8ab9adf6f0d53c9e1d36780af85387a /rootdir
parent48f28f8dc69fe3b586d726f5d77965257d1a8324 (diff)
downloaddevice_samsung_smdk4412-common-7e4a93901212bbe942a15f0db90073a9ee1cea3c.zip
device_samsung_smdk4412-common-7e4a93901212bbe942a15f0db90073a9ee1cea3c.tar.gz
device_samsung_smdk4412-common-7e4a93901212bbe942a15f0db90073a9ee1cea3c.tar.bz2
Cleanup
Change-Id: I5072f23827b7ec6471d0ba0cb873506b81ceaf85
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.smdk4x12.rc15
1 files changed, 13 insertions, 2 deletions
diff --git a/rootdir/init.smdk4x12.rc b/rootdir/init.smdk4x12.rc
index 1c1515e..19e8e2f 100755
--- a/rootdir/init.smdk4x12.rc
+++ b/rootdir/init.smdk4x12.rc
@@ -1,8 +1,11 @@
-import init.target.rc
-import init.smdk4x12.usb.rc
+# Init for devices built on Samsung SMDK4412 platform
+
+import /init.target.rc
+import /init.smdk4x12.usb.rc
on init
chmod 0701 /mnt/media_rw
+ chown root root /mnt/media_rw
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage 0550 system sdcard_r
mkdir /storage/emulated 0555 root root
@@ -64,6 +67,14 @@ 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