New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
DooMLoRD
Old
(Last edited by DooMLoRD; 21st March 2012 at 07:06 PM.)
#1  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 23725
Posts: 10,590
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Angry [ADDON] Startup scripts support (init.d support) for Stock ROM/Kernel

[ info ]

i am attaching a easy to flash update.zip 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 on each boot!

thanks to bmw-boy & Russ741 for testing this!


[ requirements ]
  1. stock rooted ROM
  2. my custom recovery


[ how to install ]
  1. download the provided zip package
  2. save it on external sdcard
  3. reboot into recovery
  4. flash the zip package via recovery
  5. reboot and enjoy!


[ additional info ]

i have added the following things in the update.zip:
  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


[ download link ]

init.d-support-autorunner-v02.zip


let me know how it goes!




ENJOY!
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z / Xperia SP





** NEW *** DooMLoRD Easy Rooting Toolkit (perf_event exploit)! (supports Xperia Z, S, SP! more to come!)


Wishlist: Xperia Z Ultra!
The Following 9 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
task650
Old
#2  
task650's Avatar
Recognized Developer
Thanks Meter 40139
Posts: 19,578
Join Date: Sep 2010
Location: Portland, Oregon

 
DONATE TO ME
good job bro. thanks!
 
denzel09
Old
#3  
denzel09's Avatar
Senior Member
Thanks Meter 256
Posts: 2,036
Join Date: Jun 2009
Location: Venice
Hi thanks can you reup please?
 
DooMLoRD
Old
#4  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 23725
Posts: 10,590
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Quote:
Originally Posted by denzel09 View Post
Hi thanks can you reup please?
done...

added direct download server link
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z / Xperia SP





** NEW *** DooMLoRD Easy Rooting Toolkit (perf_event exploit)! (supports Xperia Z, S, SP! more to come!)


Wishlist: Xperia Z Ultra!
 
guru_shastri
Old
#5  
Senior Member
Thanks Meter 69
Posts: 400
Join Date: Oct 2010

 
DONATE TO ME
doomlord can you help at the "solving the reboots" thread here:
http://forum.xda-developers.com/show....php?t=1547840
maybe throwing some general question to help detemin the cause...