Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Is there a tutorial anywhere on how to use init.d on Android?
Collapse
X
-
Using init.d is the simple part. Writing Android scripts is probably what you want to learn?
To use init.d you put sctipts into the /system/etc/init.d folder. If there is more than one script then file names need a number in front of them so they run in the order you want. e.g.
00myscript.sh
01myscript.sh
and so on.
Also make sure you set permissions on these scripts as Read, Write, and execute.
Now every boot of Android these scripts will run.
Thats all there is to using init.d
Again wirting scripts is a completely different thing. I am sure if you search on Android Scripts, you will find a tonof info.
Bob"Pzebacz im, bo nie wiedzą, co czynią"
"Прости им, они не ведают, что творят"
"Perdona loro perché non sanno quello che fanno"
"Vergib ihnen, denn sie wissen nicht, was sie tun"
"Vergeef hen want ze weten niet wat ze doen"
"Pardonne-leur car ils ne savent pas ce qu'ils font"
"Perdónalos porque no saben que lo que hacen"
"Oprosti im, jer ne znaju što čine"
"Forgive them as they know not what they do"
-
Thanks! That's exactly what I needed to know. Im experienced with programming so learning the scripting language wont be a problem.
Originally posted by Finless View PostUsing init.d is the simple part. Writing Android scripts is probably what you want to learn?
To use init.d you put sctipts into the /system/etc/init.d folder. If there is more than one script then file names need a number in front of them so they run in the order you want. e.g.
00myscript.sh
01myscript.sh
and so on.
Also make sure you set permissions on these scripts as Read, Write, and execute.
Now every boot of Android these scripts will run.
Thats all there is to using init.d
Again wirting scripts is a completely different thing. I am sure if you search on Android Scripts, you will find a tonof info.
Bob
Comment
What's Going On
Collapse
There are currently 2894 users online. 1 members and 2893 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment