summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2015-10-09 16:47:36 +0200
committerZiyan <jaraidaniel@gmail.com>2016-01-17 20:14:51 +0100
commit4761fff2ff5f09368455db49187f64d1ec3bbba4 (patch)
tree276df0b94b07c91c7e34f8a4250df66632e2a601 /rootdir
parent7520c0314bc2cd60a393cfebd163abec7a0be063 (diff)
downloaddevice_samsung_tuna-4761fff2ff5f09368455db49187f64d1ec3bbba4.zip
device_samsung_tuna-4761fff2ff5f09368455db49187f64d1ec3bbba4.tar.gz
device_samsung_tuna-4761fff2ff5f09368455db49187f64d1ec3bbba4.tar.bz2
Update external storage configuration
Change-Id: I0512a0f7a089b748c199f1a8933c6323cda86a1e
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.tuna.rc22
1 files changed, 2 insertions, 20 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc
index ac869f5..c9bbcdf 100755
--- a/rootdir/init.tuna.rc
+++ b/rootdir/init.tuna.rc
@@ -1,19 +1,9 @@
import init.tuna.usb.rc
on init
- # See storage config details at http://source.android.com/tech/storage/
- mkdir /mnt/shell/emulated 0700 shell shell
- mkdir /storage/emulated 0555 root root
-
- export EXTERNAL_STORAGE /storage/emulated/legacy
- export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
- export EMULATED_STORAGE_TARGET /storage/emulated
-
# Support legacy paths
- 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 /sdcard /mnt/sdcard
+ symlink /sdcard /storage/sdcard0
# create directory for mounting usb drives
chmod 0701 /mnt/media_rw
@@ -26,8 +16,6 @@ on init
write /sys/kernel/mm/ksm/run 1
on post-fs-data
- mkdir /data/media 0770 media_rw media_rw
-
mkdir /data/smc 0770 drmrpc drmrpc
chown drmrpc drmrpc /data/smc/counter.bin
chown drmrpc drmrpc /data/smc/storage.bin
@@ -71,8 +59,6 @@ on fs
restorecon_recursive /factory
mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ro remount
- setprop ro.crypto.fuse_sdcard true
-
# read only 1 page at a time
write /proc/sys/vm/page-cluster 0
@@ -191,10 +177,6 @@ service smc_pa_wvdrm /system/bin/smc_pa_ctrl \
oneshot
disabled
-# virtual sdcard daemon running as media_rw (1023)
-service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
- class late_start
-
service fuse_usbdisk /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/usbdisk /storage/usbdisk
class late_start
disabled