mardi 3 février 2015

Enable init.d support on any rom [Stock] without any app topic






One thing that i like very much about android is init.d support which enable user to run script during the device boot up so by putting Boost script in the init.d folder which is present in /system/etc/init.d can significantly improve device performance.. :)

So without say much here is the method :
Requirement:
1 Rooted Phone obviously :p
2 File Explorer like Esfile Explorer with root access option enable
3 BusyBox Latest 1.22.1
4 A Good Luck :p

Process:
1 Open ESFiles Explorer and navigate to /system/etc and look for init.d folder if there is no folder name [init.d] then create one by click on +new button on ESFiles Explorer, or if init.d folder present than Goto step 2
2 Navigate to /system/etc folder and look for file name "install-recovery.sh" if present then Goto step 3
3 In /system/etc folder Create one file name "init.post_boot.sh"
4 Now open both "install-recovery.sh" & "init.post_boot.sh" one by one and write down following command at the beginning of the both file

Command:

#!system/bin/sh
run-parts /system/etc/init.d/*


{Above Lines are case sensitive}
5) Download the test.init.d.zip file from the below attachment link
6) put the 0test file in /system/etc/init.d folder and set permission rwx-rwx-rwx
7) Reboot device :fingers-crossed:


NOTE after Reboot open ESFiles Explorer and navigate to /data and there you will see Test.log file meaning init.d support working perfectly :D

Screen Shot ESFile Explorer


HIT Thanks if you like the post :)








Attached Thumbnails


Click image for larger version<br/><br/>Name:	Screenshot_2015-02-04-10-56-23.png<br/>Views:	N/A<br/>Size:	26.9 KB<br/>ID:	3149005
 











Attached Files





File Type: zip test_initd.zip -
[Click for QR Code]
(283 Bytes)










1 commentaire:

  1. please fix the test. The script is incomplete. furthermore its name violates run-parts rules, and so it's ignored by run-parts!!!

    RépondreSupprimer