aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.rc12
1 files changed, 10 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 134a11c..c9f47a3 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -56,13 +56,21 @@ on fs
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
mount_all /vendor/etc/fstab.qcom --early
+ # Start HW service manager early
+ start hwservicemanager
+
on late-fs
# Start services for bootanim
- start hwservicemanager
start servicemanager
start surfaceflinger
start bootanim
- # mount RW partitions which need run fsck
+
+ # 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
# boot time fs tune