当前位置:   article > 正文

android 7.1 开机启动服务执行.sh文件脚本_service flash_recovery /system/bin/install-recover

service flash_recovery /system/bin/install-recovery.sh

diff --git a/system/core/rootdir/init.rc b/system/core/rootdir/init.rc
index 8b51a0373b…530c04b27c 100755
— a/system/core/rootdir/init.rc
+++ b/system/core/rootdir/init.rc
@@ -693,3 +693,26 @@ on property:ro.debuggable=1
service flash_recovery /system/bin/install-recovery.sh
class main
oneshot
+
+
+#add byf
+service reboot_adb /system/bin/preupdatelogo.sh

  • class main
  • user root
  • group root shell
  • disabled
  • seclabel u:r:preupdatelogo:s0
  • oneshot

+#add byf
+on property:sys.powerctl=*

  • start reboot_adb

+on property:vendor.reboot=*

  • start reboot_adb

+on property:vendor.reboot.adb.event=1

  • start reboot_adb

+on property:vendor.reboot.test=1

  • exec -
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/148053
推荐阅读
相关标签
  

闽ICP备14008679号