How to Add init.d Support to Your ROM [TUTORIAL] [MOD]



What is init.d?


Init.d is usually present on roms with custom kernels. Most custom rom have this function.
It plays important roles to make your device, faster and convenient. It saves battery life, extend your storage and many more functions


Requirements:

1. cgywin installed on windows with android kitchen (to install it follow this link on this tutorial )
2. boot.img of your device.
3. flashify (root access need ) or SP Flash Tool for mediatek devices


Procedure:






1. Open Cygwin with administrator privileges






2. Type cd "android kitchen directory name" (without quote)
    then type sh menu or ./menu  - it will direct you to main menu of the android kitchen






3. Choose/type "1" to set up working folder.






4. Before do anything in setting up, go first to home directory of your kitchen.






5. Paste your boot.img and system.img to extract your stock rom in working folder.






6. Now continue setting up a working folder. Follow the process that the kitchen will ask.






7. After the extraction you can view your working folder/rom info.
You can check if your rom already support init.d or busybox run-parts,
then continue...






8. In the main menu choose advance options, just type 0






9. Then type 14 as you can see it says, add /etc/init.d script support.
Press enter, type y - or yes . Wait until kitchen finish the process






10. To check your rom type 8 to Show working folder info






11. Then you'll see it has the busybox run-parts support.

You can flash only the boot.img using the SP Flash Tool, just load your phone's scatter file then only check the boot.img (the modified boot with init.d support) or flash it using flashify from playstore

I hope this tutorial was helpful for you
 
This website or its third party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By tapping on "I accept" you agree to the use of cookies.