Scripts are small programs written for a command interpreter or another scripting language.

learn more… | top users | synonyms

29
votes
3answers
59k views

How can I run a script on boot?

I'm accustomed to running scripts on boot in Linux, but I'm not sure how to do this in Android. I'd like to start my SSH daemon on start, so I'll always be able to connect. How can I run an arbitrary ...
4
votes
2answers
4k views

Is there no way to get scripts to run in Android?

Since Android is Linux at its base, I logically think it should be possible to run a script on Android, like a Python script or PHP script (with executable bit obviously). If not conventionally, is ...
2
votes
2answers
1k views

How can I execute a script on the SD card and be able to pass arguments to it?

I tried executing a script on the sdcard as is because on FAT, everything is 777. ./.profile ./.profile: permission denied I added this as the initial command for the Android shell and it executes ...
2
votes
0answers
250 views

How can I change preferred network type through a script (or terminal command)

I'm currently attempting to create a workaround for a problem that is plaguing a ROM that I'm using. While my phone and ROM are capable of using LTE, and use it perfectly fine, the "preferred network ...
1
vote
0answers
411 views

Help with this ADB REVERSE Tethering Script?

I added the functionality to automatically turn on reverse tethering after many fails: Now i only enter t into terminal alias t='r && sz $tether && r && sz $n' tether='am ...
0
votes
0answers
35 views

ADB, root, fastboot help?

I have a non rooted htc, s-on with usb debugging off and can't get into phone to turn it on. I'm wondering if it's possible(and how if so) to turn usb debugging on via ADB? Remember usb debugging is ...