#!/system/bin/sh if grep -qF android.hardware.boot /vendor/manifest.xml;then bootctl mark-boot-successful fi #Clear looping services sleep 30 getprop | \ grep restarting | \ sed -nE -e 's/\[([^]]*).*/\1/g' -e 's/init.svc.(.*)/\1/p' | while read svc ;do setprop ctl.stop $svc done