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.
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
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

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 |
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 |
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
Aucun commentaire:
Enregistrer un commentaire