How to make Android device boot when power is plugged in?

后端 未结 6 1182
长发绾君心
长发绾君心 2020-12-15 09:40

I need to use this for a Samsung Tablet.

Usually if the device is switched-off and the USB cable is being connected the display will wake up for some seconds showing

6条回答
  •  别那么骄傲
    2020-12-15 10:13

    A member on XDA has posted a solution for this which seems to work on some Samsung devices.

    The idea is to replace the script for the battery icon (which will appear of course as soon as the device is plugged in) with a custom script that will boot the phone. To make this work locate /system/bin/playlpm. Rename the old playlpm to playlpm.bak and replace it with the following script:

    #!/system/bin/sh
    /system/bin/reboot
    

    For more information read the thread on XDA

提交回复
热议问题