The init.d-script has to begin with
#!/system/bin/sh
while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done
BTW: 'chmod 0755' is ok....
#!/system/bin/sh
while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done
#!/system/bin/sh while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done /system/bin/iptables -F bw_INPUT /system/bin/iptables -F bw_OUTPUT echo init.d is working >> /data/myinitdsupport.txt
#!/system/bin/sh while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done /system/bin/iptables -F bw_INPUT /system/bin/iptables -F bw_OUTPUT echo init.d is working >> /data/myinitdsupport.txt
while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done
sleep 20
echo init.d is working >> /data/myinitdsupport.txt
#!/system/bin/sh while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done /system/bin/iptables -F bw_INPUT /system/bin/iptables -F bw_OUTPUT echo init.d is working >> /data/myinitdsupport.txt
adb remount -oremount,rw / adb push script /system/etc/init.d adb shell chmod 0755 /system/etc/init.d/script adb remount -oremount,ro / adb shell ls -al /system/etc/init.d/ adb reboot
while [ ""`getprop dev.bootcomplete` != "1" ] ; do sleep 1; done
#!/system/bin/sh sleep 120 echo init.d is working >> /storage/emulated/0/initdsupport.txt
There are currently 2250 users online. 2 members and 2248 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment