3
0

galaxys2-common: Fix physical internal storage

Change-Id: Idd13347fa901f72451bbd3d72fc59c86e6a99b8d
This commit is contained in:
Caio Schnepper 2015-12-04 15:56:39 -02:00
parent 8579ee3fe4
commit 8bb93abd28
2 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@
/dev/block/mmcblk0p12 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait /dev/block/mmcblk0p12 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait
# vold-managed volumes ("block device" is actually a sysfs devpath) # vold-managed volumes ("block device" is actually a sysfs devpath)
/devices/platform/dw_mmc/mmc_host/mmc0/mmc0* auto auto defaults wait,voldmanaged=sdcard0:11,nonremovable,encryptable=userdata /devices/platform/dw_mmc/mmc_host/mmc0/mmc0* auto auto defaults wait,voldmanaged=sdcard0:11,noemulatedsd,nonremovable
/devices/platform/s3c-sdhci.2/mmc_host/mmc1* auto auto defaults wait,voldmanaged=sdcard1:auto,encryptable=userdata /devices/platform/s3c-sdhci.2/mmc_host/mmc1* auto auto defaults wait,voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/s3c_otghcd/usb* auto auto defaults voldmanaged=usb:auto /devices/platform/s3c_otghcd/usb* auto auto defaults voldmanaged=usb:auto

View File

@ -13,6 +13,9 @@ on init
symlink /sdcard /mnt/sdcard symlink /sdcard /mnt/sdcard
symlink /sdcard /storage/sdcard symlink /sdcard /storage/sdcard
# By default, primary storage is physical
setprop ro.vold.primary_physical 1
# Disable CFQ slice idle delay # Disable CFQ slice idle delay
write /sys/block/mmcblk0/queue/iosched/slice_idle 0 write /sys/block/mmcblk0/queue/iosched/slice_idle 0