diff options
author | Caio Schnepper <caioschnepper@gmail.com> | 2015-11-15 23:42:52 -0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-11-17 06:54:33 -0800 |
commit | 5df889f687218c1ca31368c20f29d632cb0e7813 (patch) | |
tree | 63fd85a09bf4f794cc9a6bb0d035bb4c7da19b67 | |
parent | 139ef47e40813ab92fb2003b1ec9ca0e8192fe2a (diff) | |
download | device_samsung_galaxys2-common-5df889f687218c1ca31368c20f29d632cb0e7813.zip device_samsung_galaxys2-common-5df889f687218c1ca31368c20f29d632cb0e7813.tar.gz device_samsung_galaxys2-common-5df889f687218c1ca31368c20f29d632cb0e7813.tar.bz2 |
galaxys2-common: Update external storage configuration
As explained in: https://source.android.com/devices/storage/config.html
Change-Id: I0f3b470413f3676302277f09563fd360d1486911
-rw-r--r-- | rootdir/init.smdk4210.rc | 31 |
1 files 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 |