본문 바로가기

카테고리 없음

스마트폰 전원연결시 자동 부팅

/system/bin/lpm
rename it to lpm.old
create a new file named lpm, edit it to have these commands in it:
#!/system/bin/sh
sleep 20
/system/bin/reboot
Change line termination to unix (possibly not nessicary)
change permissions to RWX R-X R-X
Change group owner to shell

Enjoy!!
If you want it to boot quicker, lower the number after the sleep command, or omit that line completely, it may be worse for the battery though.

Original: https://www.youtube.com/watch?v=QBKD068VIjE