1

I would to get a boot daemon service.

My android 6 device is rooted and I installed busybox pack on it. After remount my /system partition in read/write, I make /system/etc/init.d directory and I put my shell script inside. I rebooted my android device and the script didn't start alone. I checked the executable permission as well.

I browse the web around the question and I should modify my /init.rc file trough modify the boot.img file and this is a few complicate and init.rc seems target one file not a directory.

Is there an other procedure? Thank for your help.

  • 1
    You need to flash a custom kernel that supports the init.d functionality. Only then will you be able to start scripts at boot. Editing init.rc should be your last strategy, as it's more complex. – Death Mask Salesman Mar 24 '17 at 19:11
0

I found the solution here : How to Enable Init.d Support on most Android

That's worked for me

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.