Hi, have somebody tried to get init.d Support into the normal Rom. I tried it but strange thing is happening. Every script I add into this folder is empty after a reboot, so not being executed.
I did not have problems getting init.d to work. I just did the following:
- copy sysinit to /system/bin (permissions 0755)
- symlink busybox to /system/xbin/run-parts (permissions 0755)
- mkdir /system/etc/init.d (permissions 0755, scripts have same permissions)
- modify ramdisk to execute sysinit
I did not have problems getting init.d to work. I just did the following:
- copy sysinit to /system/bin (permissions 0755)
- symlink busybox to /system/xbin/run-parts (permissions 0755)
- mkdir /system/etc/init.d (permissions 0755, scripts have same permissions)
- modify ramdisk to execute sysinit
yes, adding sysinit as oneshot service and executing it "on boot".
Here is my boot.img: http://d-h.st/HzB
but you still need to make the other changes. maybe I'll make an update.zip for that, too