diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 9b70290..404b269 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -48,12 +48,20 @@ on fs mount_all /vendor/etc/fstab.qcom --early write /proc/sys/vm/swappiness 100 + # Start HW service manager early + start hwservicemanager + on late-fs # Start services for bootanim - start hwservicemanager start servicemanager start surfaceflinger start bootanim + + # Make sure HW service manager started and start required HAL services + wait_for_prop hwservicemanager.ready true + start configstore-hal-1-0 + start gralloc-2-0 + # mount RW partitions which need run fsck mount_all /vendor/etc/fstab.qcom --late