title: How to write script in Android for various task
body: <p>I have rooted android phone and I am getting the # when I use "su" i wish to write a script that would keep running in background like service at application end and do the needful task for me. Where should i keep the .sh fle so that it will run on system boot so that no body will able to kill it ... i mean it should work like system service/apps .. </p>