Button Leds Switch for CWM Recovery/xRecovery
Here's a convenient way to turn off (and then back on) the button leds on our X10 from recovery.
Those are the leds at the bottom of your X10, not the notification led.
Thanks to Adolf1994
for the original script.
It can also be done by copying/deleting a single file
instead, but it's more convenient to use this from recovery after installing a new rom.
The new version is for the CWM Recovery
It installs in init.d and includes a solution for roms using Fera Engine v10. On those roms permissions of the brightness file are changed after anything in init.d is run so the nobuttonleds script is also run at the end of hw_config.sh.
Should work on any rom with working /etc/init.d or /etc/init.d and hw_config.sh
DiXperia X/10 with DXEngine
The /etc/init.d folder needs to be properly working on the rom you use. (thanks to My_Immortal for pointing that out!)
- WB-XPERIA TW Gingerbread
- ThJap's 2.3 ThGo2 v1.3
If it doesn't work on the rom you use and you have root, try this:
- add this line to /etc/install-recovery.sh (check first if busybox is in xbin or bin):
/system/xbin/busybox run-parts /system/etc/init.d
/system/bin/busybox run-parts /system/etc/init.d
- another way is to use the Script Manager way explained here
- copy on your SD card
- start CWM Recovery or xRecovery, install as custom zip
The change is permanent: the button leds will be turned off everytime you boot until you install another rom or you decide to turn them on.