First I will tell you where did we need an Android phone which starts when charger is connected.
Nowadays we are struggling to build an autonomous boat named PiriBot which name is inspired from Piri Reis. In this project we are using android as a decision-making unit ,with using its environmental(compass,gps,humidity etc.) sensor data.
We created our autopilot software on android , everything seems good.Tested it.But we had a pretty important problem on our way.
Piribot will be using solar power to make its own trip. So when sun goes down , android can drain its battery and shut itself down. In the daylight(think that as if charger connected) it needs to boot and start again.Most android devices don’t support this feature, especially the one we are using(Samsung Galaxy s4).
I searched through xda-developers forum and some other forums.Someone has found solution for his device (nexus 7 I think) below.But it doesn’t work on GalaxyS4.
In this thread ,DavidThompson256 talks about changing a system file that provides battery animation when charger is connected. The file is named : playlpm.All you need to do is clear all the lines and add these lines :
Tadaaa! 🙂 It is done.
Now your android device will start when you connect your charger.
Remember this functionality requires root access.So you may void your warranty or brick your device. It may not be possible to repair your device. Please be aware of this before performing any modifications to your phone.
NEW EDIT: To be able to autostart android when charger connected on Galaxy Note 4 you need to change file named “lpm” and do the above.I guess all of samsung phones includes these lpm or likewise files. Try to change them.