summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaio Schnepper <caioschnepper@gmail.com>2015-12-04 15:56:39 -0200
committerCaio Schnepper <caioschnepper@gmail.com>2016-01-31 12:13:59 -0800
commit8bb93abd28a48a4108acffd0c617ef13f134f0d3 (patch)
treef9e10bcb1056e61b3604cba92c14cb874462529f
parent8579ee3fe444b87d996d38cb127f5868522cbada (diff)
downloaddevice_samsung_galaxys2-common-8bb93abd28a48a4108acffd0c617ef13f134f0d3.zip
device_samsung_galaxys2-common-8bb93abd28a48a4108acffd0c617ef13f134f0d3.tar.gz
device_samsung_galaxys2-common-8bb93abd28a48a4108acffd0c617ef13f134f0d3.tar.bz2
galaxys2-common: Fix physical internal storage
Change-Id: Idd13347fa901f72451bbd3d72fc59c86e6a99b8d
-rwxr-xr-xrootdir/fstab.smdk42106
-rw-r--r--rootdir/init.smdk4210.rc3
2 files changed, 6 insertions, 3 deletions
diff --git a/rootdir/fstab.smdk4210 b/rootdir/fstab.smdk4210
index 67c25b1..eb5a7dd 100755
--- a/rootdir/fstab.smdk4210
+++ b/rootdir/fstab.smdk4210
@@ -11,9 +11,9 @@
/dev/block/mmcblk0p12 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait
# 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/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/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_otghcd/usb* auto auto defaults voldmanaged=usb:auto
# recovery
/dev/block/mmcblk0p5 /boot emmc defaults recoveryonly
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index acbdece..b857b01 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -13,6 +13,9 @@ on init
symlink /sdcard /mnt/sdcard
symlink /sdcard /storage/sdcard
+ # By default, primary storage is physical
+ setprop ro.vold.primary_physical 1
+
# Disable CFQ slice idle delay
write /sys/block/mmcblk0/queue/iosched/slice_idle 0