我想将我的手机用作通过太阳能电池板充电的远程摄像头系统,但我想知道是否有任何方法可以自动或远程打开手机。
也就是说,如果手机没电关机了,有没有办法自动或远程开机?
最佳答案
如果手机已root,here is你能做什么。
(可选)重命名 /system/bin/playlpm
:
adb shell remount
adb shell mv /system/bin/playlpm /system/bin/playlpm-original
然后在本地创建一个playlpm
文件,放入以下内容:
#!/system/bin/sh
/system/bin/reboot
并将其推送到目标:
adb push playlpm /system/bin
然后给它适当的权限:
adb shell chmod 0755 /system/bin/playlpm
adb shell chown root.shell /system/bin/playlpm
现在,只要手机连接到电源,它就会自动(重新)启动。也就是说,如果它的电池电量耗尽,它将在太阳能电池板提供电力时启动。
另见:
关于android - 自动/远程开启手机(SGS2),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17160655/