Sample Header Ad - 728x90

LPM reboot Samsung Galaxy S7

2 votes
1 answer
5199 views
I'm trying to have my Samsung Galaxy S7 phone start up into normal operation when USB power comes on. I have tested all the suggestions in [this post](https://stackoverflow.com/questions/4169387/how-to-make-android-device-boot-when-power-is-plugged-in) and several others, but whatever I do the phone will not reboot into normal operation. My result is no reboot or reboot into Recovery mode. I have also tested several ROMs with same result. There seems to be a problem when the \system\bin\reboot is called in LPM (Low Power Mode) mode. Script: #!/system/bin/sh /system/bin/lpm_orig & while [ true ]; do sleep 1 ps | grep lpm_orig && sleep 3 && /system/bin/reboot done (The "lpm_orig" is the original lpm file). Linux owner and execution rights have been checked. Does anyone have an idea what to try next?
Asked by LRB (21 rep)
Apr 25, 2018, 12:10 PM
Last activity: Oct 23, 2024, 05:49 PM