mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: Make sure graphics HAL services started before mounting data
Bug: 36409349 Signed off by: Nolen Johnson <johnsonnolen@gmail.com> Change-Id: I1df0bd7878c7d67d3695ad1644c6b928cee0e323 Signed-off-by: SamarV-121 <samarvispute121@pm.me>
This commit is contained in:
parent
ed3b642100
commit
672638813b
1 changed files with 8 additions and 1 deletions
|
|
@ -26,10 +26,14 @@ on init
|
||||||
|
|
||||||
on late-fs
|
on late-fs
|
||||||
# Start services for Boot Animation
|
# Start services for Boot Animation
|
||||||
start hwservicemanager
|
|
||||||
start servicemanager
|
start servicemanager
|
||||||
start surfaceflinger
|
start surfaceflinger
|
||||||
start bootanim
|
start bootanim
|
||||||
|
# Make sure HW service manager started and start required HAL services
|
||||||
|
wait_for_prop hwservicemanager.ready true
|
||||||
|
start vendor.configstore-hal
|
||||||
|
start vendor.gralloc-2-0
|
||||||
|
|
||||||
# Mount RW partitions which need run fsck
|
# Mount RW partitions which need run fsck
|
||||||
mount_all /vendor/etc/fstab.${ro.hardware} --late
|
mount_all /vendor/etc/fstab.${ro.hardware} --late
|
||||||
|
|
||||||
|
|
@ -423,6 +427,9 @@ on fs
|
||||||
mkdir /mnt/vendor/persist/data/sfs 0700 system system
|
mkdir /mnt/vendor/persist/data/sfs 0700 system system
|
||||||
mkdir /mnt/vendor/persist/data/tz 0700 system system
|
mkdir /mnt/vendor/persist/data/tz 0700 system system
|
||||||
|
|
||||||
|
# Start HW service manager early
|
||||||
|
start hwservicemanager
|
||||||
|
|
||||||
chown radio system /mnt/vendor/efs
|
chown radio system /mnt/vendor/efs
|
||||||
chmod 0771 /mnt/vendor/efs
|
chmod 0771 /mnt/vendor/efs
|
||||||
chown radio system /mnt/vendor/cpefs
|
chown radio system /mnt/vendor/cpefs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue