• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Boost Mobile] torch.sh

mercury0x000d

The ultra-modern operator
I've been working on some new features to throw into Warp OEM 2.75, but as my free time grows ever shorter, I figured I'd just leave the components here, so that the community may play and profit in the meantime.

This is a simple script which toggles the flashlight state each time it's run. The brightness is variable, too. Just edit the torchLevel value in the script and the flashlight only turns on to that amount of intensity. Note you do need to be in a root shell to execute this (tick the SU option, Script Manager users) for it to work properly. Also, if you are using Script Manager, you can create a shortcut to the script on your home screen to give you one-touch access and making it equally useful as a flashlight app, only much much smaller at only 335 bytes.

I figured this would be useful since other similar utilities will not work on the Warp due to its non-standard device layout. Imagine that!

Enjoy!


Now to integrate this into the LiDroid toggles...
 
Last edited:
Back
Top Bottom