This question already has an answer here:

How do I do that? I have root access and the it's a custom build of AOSP project.

marked as duplicate by iBug, Firelord Dec 10 '18 at 10:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You need to make it a shell script file, one command per line, place it under /system/etc/init.d and fix the permissions for init.d folder and shell script should be named 99NAME ..

Init.d is used for applying network tweaks on boot... You can use it to run other shell script files also.

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