Android Tablets Forum banner
1 - 5 of 5 Posts

·
Registered
Joined
·
666 Posts
Discussion Starter · #1 ·
Has anyone else tried using Autostart.apk (Autostart Root)? It is said to run an autostart.sh script from /data/opt/. I was able to get it installed, it runs everyboot. I made the dir in adb shell "mkdir /data/opt"I pushed the file over "adb push autostart.sh /data/opt/"Do i need to chmod on the file to allow it to run as root?I do not really know too much about .sh syntax but my autostart.sh contained the following:First I tried:#!/system/bin/shPATH="$PATH:/data/opt" ; export PATHmkdir /data/opt/testdir/exit 0No luck, so I tried:mkdir /data/opt/testdir/Can someone point me in the right direction as to how to get the autostart.sh to correctly run, and possibly an example .sh that will make the testdir directory.
 

·
Registered
Joined
·
666 Posts
Discussion Starter · #3 ·
can you post a simple script example?
 
1 - 5 of 5 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top