From 76abd6cb7691154ca7a1b0f74b9696888dd98518 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