From b038cf41436765963e70098714d2fbed57338a91 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 22 Aug 2018 11:01:43 +0200 Subject: [PATCH] Some devices declare boot hal, but doesn't have it. Put bootctl at the end until I get a better fix --- phh-on-boot.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/phh-on-boot.sh b/phh-on-boot.sh index f279bcb..8686ae4 100644 --- a/phh-on-boot.sh +++ b/phh-on-boot.sh @@ -1,8 +1,5 @@ #!/system/bin/sh -if grep -qF android.hardware.boot /vendor/manifest.xml;then - bootctl mark-boot-successful -fi #Clear looping services sleep 30 @@ -12,3 +9,7 @@ getprop | \ while read svc ;do setprop ctl.stop $svc done + +if grep -qF android.hardware.boot /vendor/manifest.xml;then + bootctl mark-boot-successful +fi