diff --git a/phh-on-boot.sh b/phh-on-boot.sh index e7be6d7..7924786 100644 --- a/phh-on-boot.sh +++ b/phh-on-boot.sh @@ -9,6 +9,10 @@ if [ -f /vendor/bin/mtkmal ];then fi fi +if grep -qF android.hardware.boot /vendor/manifest.xml || grep -qF android.hardware.boot /vendor/etc/vintf/manifest.xml ;then + bootctl mark-boot-successful +fi + #Clear looping services sleep 30 getprop | \ @@ -17,7 +21,3 @@ getprop | \ while read -r svc ;do setprop ctl.stop "$svc" done - -if grep -qF android.hardware.boot /vendor/manifest.xml || grep -qF android.hardware.boot /vendor/etc/vintf/manifest.xml ;then - bootctl mark-boot-successful -fi