S
S
Sebastian Pereira2014-11-09 22:31:22
linux
Sebastian Pereira, 2014-11-09 22:31:22

How to automatically turn on the phone when charging?

Hello.
In search of a solution to the problem of automatically turning on android when charging is connected, I found a way out for myself:
in the file /system/bin/ipod I add the
line
/system/bin/reboot
On android 4.2 - everything worked great. Now I switched to 4.4 Kitkat, this focus did not work. Tell me, what could be the problem and how to achieve the ultimate goal:
turn on the phone when connected to charging?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
proDOOMman, 2014-11-10
@proDOOMman

Try to disassemble the ramdisk, find an entry with the charger class in the initialization scripts and write /system/bin/reboot into it. Just make sure /system is mounted when charging.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question