FORUMS
Remove All Ads from XDA

[MOD][APK+SCRIPT+ZIP] Enable Init.d for Any Phones w/o Need of Custom Kernels!!!

3,548 posts
Thanks Meter: 7,229
 
Post Reply Email Thread
15th October 2012, 04:14 AM |#31  
Junior Member
Pasig
Thanks Meter: 1
 
More
[QUOTE=Ryuinferno;32812866]Ok...have you installed busybox with all the applets especially run-parts? Refer to the discussion before this, a user can't get it working because he was lack of run-parts...


Thanks for replying. I used Busybox installer (stephen erickson) smart install function. after installation, applet manager says run-parts is symlinked to: /system/bin/busybox.

is this right or do i have to do something else?
15th October 2012, 04:16 AM |#32  
Ryuinferno's Avatar
OP Senior Member
Thanks Meter: 7,229
 
Donate to Me
More
Ok...use the normal install method...as stated there, it is safer and much more effective......and reboot after installing before running the script...
15th October 2012, 05:40 AM |#33  
Junior Member
Pasig
Thanks Meter: 1
 
More
Quote:
Originally Posted by Ryuinferno

Ok...use the normal install method...as stated there, it is safer and much more effective......and reboot after installing before running the script...

damn! im terribly sorry about missing the "normal" install mode note.

i am trying it now and will update asap.

---------- Post added at 04:00 AM ---------- Previous post was at 03:26 AM ----------

after installing in "normal mode", rebooted once, run script, rebooted thrice.

there is still nothing in /data/ folder. can you help me out?

---------- Post added at 04:40 AM ---------- Previous post was at 04:00 AM ----------

how do i check if my device kernel supports install-recovery.sh on startup?

My device is a Cherry Mobile W100
Successfully rooted via POOT
15th October 2012, 05:50 AM |#34  
Ryuinferno's Avatar
OP Senior Member
Thanks Meter: 7,229
 
Donate to Me
More
Ok...can you run the script and screenshot the output? And check whether is there any init.d folder in /system/etc, a file named sysint in /system/bin and a file named install-recovery.sh in /system/etc?
The Following User Says Thank You to Ryuinferno For This Useful Post: [ View ] Gift Ryuinferno Ad-Free
15th October 2012, 06:06 AM |#35  
Junior Member
Pasig
Thanks Meter: 1
 
More
Quote:
Originally Posted by Ryuinferno

Ok...can you run the script and screenshot the output? And check whether is there any init.d folder in /system/etc, a file named sysint in /system/bin and a file named install-recovery.sh in /system/etc?

yes there is a /system/etc/init.d folder with two files inside.
yes there is a /system/bin/sysinit file
yes there is a /system/etc/install-recovery.sh

run-parts is also installed:


here is the script output:
15th October 2012, 07:19 AM |#36  
Ryuinferno's Avatar
OP Senior Member
Thanks Meter: 7,229
 
Donate to Me
More
Ok...everything seems to be fine...one last check...can you tell me the permissions of the files I ask you to check earlier (rwxrwxrwx etc.)...
The Following 2 Users Say Thank You to Ryuinferno For This Useful Post: [ View ] Gift Ryuinferno Ad-Free
15th October 2012, 07:32 AM |#37  
Junior Member
Pasig
Thanks Meter: 1
 
More
ok so this is weird, I was playing around with the terminal, executing run-parts /system/etc/init.d -- it looks like it was executing, but going back to ES Explorer and browsing /data/ folder, it was still empty.

But when i tried to execute

sh /system/etc/init.d/00test

and going back to the /data/ folder, all of these other folders and files(probably created by link2sd) along with the test.log were created right in front of my eyes. am not sure what triggered this but after deleting the test.log and restarting, lo and behold it was re-created.

am trying to delete the test.log again and restart but i am confident that its going to be there when i do.

thank you so much Ryuinferno!
The Following User Says Thank You to josefaquinojr For This Useful Post: [ View ] Gift josefaquinojr Ad-Free
15th October 2012, 07:59 AM |#38  
Ryuinferno's Avatar
OP Senior Member
Thanks Meter: 7,229
 
Donate to Me
More
Quote:
Originally Posted by josefaquinojr

ok so this is weird, I was playing around with the terminal, executing run-parts /system/etc/init.d -- it looks like it was executing, but going back to ES Explorer and browsing /data/ folder, it was still empty.

But when i tried to execute

sh /system/etc/init.d/00test

and going back to the /data/ folder, all of these other folders and files(probably created by link2sd) along with the test.log were created right in front of my eyes. am not sure what triggered this but after deleting the test.log and restarting, lo and behold it was re-created.

am trying to delete the test.log again and restart but i am confident that its going to be there when i do.

thank you so much Ryuinferno!

No prob...just hit the thanks button next time...saves space......actually, since you mentioned that you are using Link2SD, I remembered something...try to view what is inside install-recovery.sh...check whether are these lines present or not:
Code:
# init.d support
run-parts /system/etc/init.d/
If no, add them in manually...remember to leave an empty line at the end (press enter after the last line)...then reboot...everything should work fine then......Link2SD is install-recovery.sh dependent, so your case is a bit hard...although my script won't mess it up, but maybe Link2SD will mess up mine...XD...you excecuted 00test manually, of course there will Test.log in /data...the script was supposed to run at boot...
The Following User Says Thank You to Ryuinferno For This Useful Post: [ View ] Gift Ryuinferno Ad-Free
15th October 2012, 08:41 AM |#39  
GEKTHEBOSS's Avatar
Senior Member
Thanks Meter: 2,974
 
More
Wooow thanks,work on xu.
I suggest to use geeky and freeky engine!
16th October 2012, 09:26 PM |#40  
Ryuinferno's Avatar
OP Senior Member
Thanks Meter: 7,229
 
Donate to Me
More
Updated the troubleshooting section...most problems should be able to be solved by referring to it...
The Following User Says Thank You to Ryuinferno For This Useful Post: [ View ] Gift Ryuinferno Ad-Free
17th October 2012, 04:32 AM |#41  
jamestts's Avatar
Senior Member
Flag Kuching
Thanks Meter: 51
 
More
hi,maybe can add my way to your troubleshooting guide. i found that odexed stock rom will not work with the script. but you can install script manager and set install-recovery.sh as boot,root and fav. this is how i make it work with odexed galaxy mini,mini 2,w,nexus,pocket.

Sent from my GT-I8150 using xda app-developers app
The Following User Says Thank You to jamestts For This Useful Post: [ View ] Gift jamestts Ad-Free
Post Reply Subscribe to Thread

Tags
app, init.d, stock kernel, terminal emulator

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

Advanced Search
Display Modes