mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
deb: Enable early boot animation start
* Split our fstab into two stages: early and late mount. * Start bootanimation and graphics before /data and /cache mounting Change-Id: I42f8bb460db80e86616c92b11752242c086b4aec
This commit is contained in:
parent
65c24ff652
commit
954380829c
2 changed files with 14 additions and 3 deletions
|
@ -6,8 +6,8 @@
|
|||
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait,first_stage_mount
|
||||
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,formattable
|
||||
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check,formattable
|
||||
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
|
||||
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
|
||||
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr latemount,wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
|
||||
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=panic latemount,wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
|
||||
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nodelalloc wait
|
||||
/dev/block/platform/msm_sdcc.1/by-name/radio /firmware vfat ro,uid=1000,gid=1000,fmask=0337,dmask=0227,iocharset=iso8859-1,shortname=mixed,errors=remount-ro,context=u:object_r:radio_efs_file:s0 wait
|
||||
/dev/block/platform/msm_sdcc.1/by-name/radio /radio emmc defaults defaults
|
||||
|
|
|
@ -37,13 +37,24 @@ on init
|
|||
mkdir /firmware 0771 system system
|
||||
|
||||
on fs
|
||||
mount_all /vendor/etc/fstab.flo
|
||||
mount_all /vendor/etc/fstab.flo --early
|
||||
restorecon_recursive /persist
|
||||
write /sys/kernel/boot_adsp/boot 1
|
||||
|
||||
# GnssConfiguration doesn't actually look at gps.conf, just the debug file
|
||||
mount none /system/etc/gps.conf /system/etc/gps_debug.conf bind
|
||||
|
||||
on late-fs
|
||||
# Start services for bootanim
|
||||
start vendor.configstore-hal
|
||||
start surfaceflinger
|
||||
start bootanim
|
||||
start vendor.gralloc-2-0
|
||||
|
||||
wait_for_prop hwservicemanager.ready true
|
||||
|
||||
mount_all /vendor/etc/fstab.flo --late
|
||||
|
||||
on early-boot
|
||||
# set RLIMIT_MEMLOCK to 64MB
|
||||
setrlimit 8 67108864 67108864
|
||||
|
|
Loading…
Reference in a new issue