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.
CWM version
Should work on any rom with working /etc/init.d or /etc/init.d and hw_config.sh
Tested on:
DiXperia X/10 with DXEngine
Xrecovery version
The /etc/init.d folder needs to be properly working on the rom you use. (thanks to My_Immortal for pointing that out!)
tested on:
- 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
or
/system/bin/busybox run-parts /system/etc/init.d
- another way is to use the Script Manager way explained here.
Installation
- 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.
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.
CWM version
Should work on any rom with working /etc/init.d or /etc/init.d and hw_config.sh
Tested on:
DiXperia X/10 with DXEngine
Xrecovery version
The /etc/init.d folder needs to be properly working on the rom you use. (thanks to My_Immortal for pointing that out!)
tested on:
- 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
or
/system/bin/busybox run-parts /system/etc/init.d
- another way is to use the Script Manager way explained here.
Installation
- 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.
Attachments
Last edited: