0

I want to boot up my samsung s7 when charging is end and on connecting charger that it get auto boot. I have lpm file in /system/bin directory but replacing the script , it does not work for me.Any help ?

#!/system/bin/sh
/system/bin/reboot
beeshyams
  • 40,739
  • 30
  • 119
  • 269
  • Macrodroid automation app can help. Trigger: power connected Action:Reboot* – beeshyams Jan 04 '17 at 10:18
  • @beeshyams If I read the question correctly, the device is turned off when connected to the charger. I don't think Macrodroid fires then :) – Izzy Jan 04 '17 at 11:00
  • 1
    @Izzy: possible that your interpretation is correct and so is the obvious conclusion of being unable to awaken the dead :) let's hope OP clarifies – beeshyams Jan 04 '17 at 11:19
  • Yes actually i researched google lot of articles that asked me to root the mobile and find the script that cause charging animation so i found it in samsung s7 with name lpm. i replaced the animation script with reboot script but its not working . may be samsung made it secure or i am mistaking something. http://android.stackexchange.com/questions/20021/automatically-power-on-android-when-the-charger-is-connected – Muhammad Maqsood Jan 04 '17 at 13:14
  • yes
    "Macrodroid" is not booting android mobile when mobile is turned off.
    – Muhammad Maqsood Jan 04 '17 at 13:35

0 Answers0