mardi 28 juillet 2015

[GUIDE] How to make init.d with stock kernel



I'd like to share how to make init.d with stock kernel . I tested with H818P it's working very well

Instruction

ROOT only

1. Install busybox

2. Modify /system/etc/init.qcom.post_boot.sh adding code below at the end line.


Quote:









run-parts /system/etc/init.d




3. create folder /system/etc/init.d

setting permission to 777

4. Creating test file /system/etc/init.d/00test

in 00test file contain code below


Quote:









echo "Hello init.d" >> /sdcard/Myinitd




and setting permission of 00test to 777

5. Reboot

6. After reboot you must see file Myinitd in /sdcard

7. Enjoy :)

This file is example init.d tweaks init.d
You can download and put them to /system/etc DON'T forget setting PERMISSION to 777









Attached Thumbnails


Click image for larger version<br/><br/>Name:	Screenshot_2015-07-28-23-42-40-horz.jpg<br/>Views:	N/A<br/>Size:	115.0 KB<br/>ID:	3421429
 














Aucun commentaire:

Enregistrer un commentaire