aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbrissen <sbrissen@hotmail.com>2013-12-02 15:35:31 -0500
committersbrissen <sbrissen@hotmail.com>2013-12-02 15:38:04 -0500
commit7af2bad1710a0441b8d5cb6cf7bf5620c2e2d950 (patch)
treef17785bf94ee43cb1d971fab0c47d0beff22e653
parentd12d1ced3459f970f50b1dc44fde6640b2351118 (diff)
downloaddevice_samsung_n5110-7af2bad1710a0441b8d5cb6cf7bf5620c2e2d950.zip
device_samsung_n5110-7af2bad1710a0441b8d5cb6cf7bf5620c2e2d950.tar.gz
device_samsung_n5110-7af2bad1710a0441b8d5cb6cf7bf5620c2e2d950.tar.bz2
n5110: fix internal storage
Change-Id: Iba14978e4fb284a38f61954668aa6755f3dea78c
-rwxr-xr-xrootdir/init.smdk4x12.rc12
1 files changed, 2 insertions, 10 deletions
diff --git a/rootdir/init.smdk4x12.rc b/rootdir/init.smdk4x12.rc
index 35639d3..a3a6de1 100755
--- a/rootdir/init.smdk4x12.rc
+++ b/rootdir/init.smdk4x12.rc
@@ -3,6 +3,7 @@ import init.bt.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
@@ -475,15 +476,6 @@ on property:sys.boot_completed=1
on property:ro.uart_debug=0
start sec_keyboard
-
-# create filesystem if necessary
-#service setup_fs /system/bin/setup_fs \
-# /dev/block/mmcblk0p3 \
-# /dev/block/mmcblk0p4
-# class core
-# user root
-# group root
-# oneshot
service at_distributor /system/bin/at_distributor
class main
@@ -493,7 +485,7 @@ service at_distributor /system/bin/at_distributor
# 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 -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
+service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
class late_start
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/sdcard1 /storage/sdcard1