From 5df889f687218c1ca31368c20f29d632cb0e7813 Mon Sep 17 00:00:00 2001 From: Caio Schnepper Date: Sun, 15 Nov 2015 23:42:52 -0200 Subject: galaxys2-common: Update external storage configuration As explained in: https://source.android.com/devices/storage/config.html Change-Id: I0f3b470413f3676302277f09563fd360d1486911 --- rootdir/init.smdk4210.rc | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc index 3f00650..13e7e95 100644 --- a/rootdir/init.smdk4210.rc +++ b/rootdir/init.smdk4210.rc @@ -2,29 +2,14 @@ import init.smdk4210.usb.rc import init.gps.rc on init - export EXTERNAL_STORAGE /storage/sdcard0 - export SECONDARY_STORAGE /storage/sdcard1 - - mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw - mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw - mkdir /mnt/media_rw/usbdisk0 0700 media_rw media_rw - - mkdir /storage/sdcard0 0770 root root - mkdir /storage/sdcard1 0770 root root - mkdir /storage/usbdisk0 0770 root root - mkdir /efs 0771 radio system mkdir /preload 0771 system system mkdir /mnt 0775 root system mkdir /mnt/.lfs 0755 root root # for backwards compatibility - symlink /storage/sdcard0 /sdcard - symlink /storage/sdcard0 /mnt/sdcard - symlink /storage/sdcard1 /extSdCard - symlink /storage/sdcard1 /mnt/extSdCard - symlink /storage/usbdisk0 /usbdisk0 - symlink /storage/usbdisk0 /mnt/usbdisk0 + symlink /sdcard /mnt/sdcard + symlink /sdcard /storage/sdcard # Disable CFQ slice idle delay write /sys/block/mmcblk0/queue/iosched/slice_idle 0 @@ -428,18 +413,6 @@ service bugreport /system/bin/dumpstate -d -p -B \ oneshot keycodes 114 115 116 -service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard0 - class late_start - disabled - -service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1 - class late_start - disabled - -service fuse_usbdisk0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk0 /storage/usbdisk0 - class late_start - disabled - ## CyanogenMod Performance Profiles # Powersave on property:sys.perf.profile=0 -- cgit v1.1