klte-common: dont mount persist, persdata

* This fixes some stubbern phones from booting, mainly those on
older bootloaders

Change-Id: I98bca4bf064b7c80e0c02152a78e4bae8487ab34
This commit is contained in:
Matt Filetto 2014-11-26 19:52:58 -08:00 committed by Ethan Chen
parent 68d997819a
commit ea5aecd030
2 changed files with 0 additions and 12 deletions

View file

@ -11,9 +11,7 @@
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 nosuid,nodev,barrier=1 wait,check
/dev/block/platform/msm_sdcc.1/by-name/apnhlos /firmware vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware-modem vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,noatime,noauto_da_alloc,journal_async_commit,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 nosuid,nodev,noatime,noauto_da_alloc,journal_async_commit,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/persdata /persdata/absolute ext4 nosuid,nodev,barrier=1 wait,check
/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults recoveryonly
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults recoveryonly

View file

@ -35,13 +35,8 @@ on early-init
mkdir /firmware 0771 system system
mkdir /firmware-modem 0771 system system
mkdir /persist 0771 system system
mkdir /efs 0771 system radio
mkdir /persdata 0755 system system
mkdir /persdata/absolute 0750 system system
symlink /data/tombstones /tombstones
on init
@ -80,7 +75,6 @@ on fs
mount_all fstab.qcom
restorecon_recursive /persist
restorecon_recursive /efs
setprop ro.crypto.fuse_sdcard true
@ -139,10 +133,6 @@ on post-fs-data
# Create directory used by audio subsystem
mkdir /data/misc/audio 0770 audio audio
# Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections
# We chown/chmod /persist again so because mount is run as root + defaults
chown system system /persist
chmod 0771 /persist
chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
chmod 0664 /sys/devices/platform/msm_sdcc.2/polling
chmod 0664 /sys/devices/platform/msm_sdcc.3/polling