Guest The Virus 2013 Posted December 15, 2010 Report Posted December 15, 2010 Hi all ! :) I'm planning to develop an app which need to run a script at startup. I mean, when a user click on a button, the phone reboot and run a script before the system load. How can I do that ?
Guest woti17 Posted December 15, 2010 Report Posted December 15, 2010 Hi all ! :) I'm planning to develop an app which need to run a script at startup. I mean, when a user click on a button, the phone reboot and run a script before the system load. How can I do that ? depends shell scripts in /system/etc/init.d that are chmod 755, chown 0.2000 are executed at after init.rc is run but you cannot write in this directory (without recovery), except you have s-off but there is the possibility that you first put an script in recovery in init.d and this script runs scripts from another directory in say /data/userinit.d (which is writable) there are scripts in roms at xda, search for userinit.d
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now