Autoboot android device when plugged in I am trying to auto-boot my Samsung s4 mini (model SPH-L520) I have searched already the web with instruction to change the lpm file to

#!/system/bin/sh
/system/bin/reboot


but it does not work on that model, look like the charge animation is placed in different place. can anyone help me with that please.
Samsung devices with KNOX Customization SDK 2.6 and above have the ability to configure to auto boot when getting power.