Disable button backlights for the HTC Thunderbolt and ReZound

| December 22, 2011 | Reply

Since the button backlight on the HTC Thunderbolt causes what I consider excessive light bleed, here’s a way to disable the LEDs.

mount -o rw,remount /system
chmod 777 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
echo 0 > /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
chmod 444 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
mount -o ro,remount /system

Just slap something like that into one of your init scripts. Suppose tasker could handle it too.
Much nicer looking now, IMO.

This is slightly different on the rezound:

I put this in /etc/init.post_boot.sh

mount -o rw,remount /dev/block/mmcblk0p29 /system
chmod 777 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
echo 0 > /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
chmod 444 /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
mount -o ro,remount /dev/block/mmcblk0p29 /system

Tags:

Category: Uncategorized

About the Author ()