FORUMS
Remove All Ads from XDA

[ADDON][One X] Generic startup/init.d scripts support for Stock ROM/Kernel

13,194 posts
Thanks Meter: 39,785
 
Post Reply Email Thread
[ info ]

i am attaching a easy to run package which contains the files required for full functionality of executing startup scripts (init.d scripts)...

basically this will allow the user to execute custom shell scripts, placed in /system/etc/init.d/ folder and they will be executed on each boot!


Please note that some custom ROMs/Kernels already have this feature... This addon is ment to be used on STOCK ROM...


[ requirements ]
  1. stock rooted ROM
  2. windows PC with adb drivers installed


[ how to install ]
  1. download the provided zip package
  2. save it on c:\
  3. extract the contents of the package
  4. connect phone with usb debugging active to PC via ADB
  5. execute "runme.bat"
  6. follow onscreen instructions & enjoy!

incase some issue is there post the output/log of script


[ additional info ]

i have added the following things in the package:
  1. corrected /system/bin/sysint file
  2. run-parts binary in /system/xbin/run-parts (which is basically busybox 1.19.3 binary)
  3. correct /system/etc/install-recovery.sh file (this file gets executed by default on stock kernel too!)
  4. test/example script /system/etc/init.d/99test

to check if this is working the test script (99test) will create a temporary file /data/local/tmp/init.d_log_test.txt on each boot


[ donations ]

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc

PAYPAL DONATION LINK


[ download link ]

generic-init.d-support-v01.zip (mirror)
MD5HASH: 4cd2606280524aa96af9d486ce90ea7e


OR

generic-init.d-support-v01.zip
MD5HASH: 2eda273af4b91c34f868807820cceaee


let me know how it goes!




ENJOY!
Attached Files
File Type: zip DooMLoRD-generic-init.d-support-v01.zip - [Click for QR Code] (1.37 MB, 2540 views)
The Following 9 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
3rd April 2012, 05:39 PM |#2  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,785
 
Donate to Me
More
ok so Paul has posted a working recovery... i will test it out and soon post a package which can be flashed via recovery...
3rd April 2012, 05:45 PM |#3  
mwilky's Avatar
Recognized Developer
Flag Manchester
Thanks Meter: 15,505
 
More
This will be included by default on most custom ROM's wont it?
3rd April 2012, 05:50 PM |#4  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,785
 
Donate to Me
More
Quote:
Originally Posted by wilkyyyy

This will be included by default on most custom ROM's wont it?

i suppose so... thats why i marked the title of this thread as "....support for STOCK ROM..."
3rd April 2012, 05:54 PM |#5  
mwilky's Avatar
Recognized Developer
Flag Manchester
Thanks Meter: 15,505
 
More
Quote:
Originally Posted by DooMLoRD

i suppose so... thats why i marked the title of this thread as "....support for STOCK ROM..."

Yep i saw, was just checking

Good work btw!

How you finding the one x?
3rd April 2012, 08:17 PM |#6  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,785
 
Donate to Me
More
Quote:
Originally Posted by wilkyyyy

Yep i saw, was just checking

Good work btw!

How you finding the one x?

its great!!!
3rd April 2012, 08:38 PM |#7  
ShyamSasi's Avatar
Senior Member
CLASSIFIED
Thanks Meter: 1,924
 
Donate to Me
More
Thanks DL. Waiting for your DoomKernel
3rd April 2012, 09:26 PM |#8  
witek_77's Avatar
Senior Member
Flag Live - Śląsk, Work - IT specialist
Thanks Meter: 55
 
More
But all we have S-ON with unlock bootloader and we can't change kernel and radio ? Or I'm wrong ?
3rd April 2012, 09:32 PM |#9  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,785
 
Donate to Me
More
Quote:
Originally Posted by witek_77

But all we have S-ON with unlock bootloader and we can't change kernel and radio ? Or I'm wrong ?

u can flash kernels... i already flashed a bunch of test kernels on my One X

not sure about the radio though...
3rd April 2012, 10:10 PM |#10  
witek_77's Avatar
Senior Member
Flag Live - Śląsk, Work - IT specialist
Thanks Meter: 55
 
More
I don't need anything but change the rom and kernel. Unlocked boot is enough. So why do we need s-off ? We are waiting for final results of your work. I hope that it will be with oc because 4x1,3gHz is not enough You are amazing
3rd April 2012, 10:36 PM |#11  
torxx's Avatar
Senior Member
Thanks Meter: 21,661
 
Donate to Me
More
Radio's/Baseband's should only be flashed with S-OFF!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes