I am Developing an Android Application, here i want my phone to start booting automatically when the phone is plugged into any power outlet without hitting any power button.I found many solutions and tried all but unfortunately nothing worked for me
I edited the file found in '/system/bin/playlpm' with the following custom script that will boot the phone:
#!/system/bin/sh su /system/bin/reboot
but nothing worked for me. Please help me if somebody have any working solutions.