please help to check my 00test file it right or or not ? if right copy this 00test to system/etc/init.d folder ? thanks for my bad endThis way we can only check if INIT command works or not, it doesn't prove that init.d support has been properly enabled
To check if init.d works or not you need to put any custom script in /system/etc/init.d (with correct permissions, at least r-xr-xr-x, recommended rwxrwxrwx), then reboot device and then check script's intended effect.
Below is an example "00test" script:
If you reboot device with such script present in /system/etc/init.d - its intended effect is to create /data/initd_test.log file during boot with following content:Code:#!/system/bin/sh # Init.d test echo "Init.d is working !!!" > /data/initd_test.log echo "excecuted on $(date +"%d-%m-%Y %r" )" >> /data/initd_test.log
Code:Init.d is working !!! excecuted on 29-03-2016 03:28:29 PM
Attachments
-
194 bytes Views: 36