Sunday, March 23, 2014

Automatically Execute Bash, SH, and Python Scripts on Boot with BSE

bse

Thanks to the power and freedom of the Android platform afforded by its Linux underpinnings, we are free to execute various BASH, sh, or Python scripts on our mobile devices. Such scripts can accomplish a wide variety of tasks such as setting permissions on boot or keeping track of device power cycles. And given their functionality, many of these scripts are useful to perform upon boot.

Now thanks to XDA Senior Member r3pwn‘s tool BSE, we have an easy way to easily execute various script types on every boot. To use BSE, simply place the scripts you wish to execute in your /system/etc/startup folder. BSE takes care of chmod for you, so you don’t have to worry. Currently, BSE supports BASH, sh, and Python (assuming you have it installed). And as you would expect, you need to have init.d support in order to use this.

If you execute many scripts at boot and don’t want to bother setting permissions manually, BSE can be of use to you. You can get started by visiting the tool thread.



source: xdadevelopers

0 comments :