To use old Android device as a clock / digital photo frame you probably need this.
This is the adb method. Do the following:
-
- Developer options -> TCP debugging (if not plugging in USB cable); otherwise,
adb tcpip 5555
with USB cable plugged in, then unplug.
- Take note of the IP address, then
adb connect <ip>
adb shell settings get system screen_off_timeout
gives 60000 for timeout of 1 minuteadb shell settings set system screen_off_timeout 2147483647
so it would be on forever (or at least ~24 days at a time)
- Developer options -> TCP debugging (if not plugging in USB cable); otherwise,
發表留言