Will Verduzco · Mar 23, 2014 at 07:30 am

Automatically Execute Bash, SH, and Python Scripts on Boot with 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.


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician.
Mario Tomás Serrafero · Mar 27, 2015 at 04:13 pm · 2 comments

Should You Get Wear? Wearer’s Practical Observations

Wear is said to not offer enough for mass adoption, even though its been in the market for over 9 months. I personally have a Gear Live which I purchased 8 months ago, and my experience with it has had its ups and downs throughout my time with it. For the longest time, I was not able to recommend the platform to anyone. Since then, a lot of updates have hit Wear watches, some improving battery life, others changing the...

XDA NEWS
GermainZ · Mar 27, 2015 at 01:15 pm · 2 comments

SlimRoms: Updates on the Horizon

SlimRoms' website has been experiencing technical difficulties for the last month or so, but it's good to know the team is working hard and is still on top of things. The SlimRoms GitHub repos are getting updated with some major changes showing up. Most notably, some projects are getting a new 5.1 branch: lp5.1! A new, revamped and open source website is also in the works, with a look inspired by material design. We also got a tip about an...

XDA NEWS
Emil Kako · Mar 27, 2015 at 12:47 pm · 3 comments

Your Favorite Wireless Charger?

Wireless charging is becoming more and more common as many OEMs are now starting to include this feature in their flagships. There are already dozens of wireless chargers to choose from on the market today, but quality definitely varies. For those of you who charge your devices wirelessly, let us know which charger is your favorite and why.

DISCUSS
Share This