Thanks Meter 584
Join Date: Dec 2011
Location: Hyattsville, MD
[FIX] Capacitive buttons NOT lighting up on AOKP with Auto-brightness off
This is a dirty fix. I have an idea for a better fix but I am unable to implement it.
These are scripts to be run with Script Manager.
print 80 > /sys/class/leds/button-backlight-portrait/brightness
print 80 > /sys/class/leds/button-backlight-landscape/brightness
print 0 > /sys/class/leds/button-backlight-portrait/brightness
print 0 > /sys/class/leds/button-backlight-landscape/brightness
The value can be set from 0 to 255. I chose 80 as it is good enough and also due to a known issue, as explained below.
Obviously enable root browsing in SManager and run this as root. You can also run led_on at boot if needed. This is a fix when not using auto-brightness.
This will cause the capacitive buttons to ALWAYS be on, even when the screen is off. A simple idea is to check the status of the screen and then appropriately modify that file. But this means a service running in the background and is probably wasteful on resources. But if someone can help me out or have ideas, go ahead and do so. But once done, please lemme know as I am trying to learn.
Lemme know of other issues!
<<< @ >>>
Thank me, if my post helped you, made you smile, laugh, LOL or ROFL!!!
Droid X2: Ditched!, Droid Inc2: SOLD, Droid Incredible 4G LTE: CM11.2 KitKat 4.4.2, TFP: Unlocked and on Stock JB 4.1.1 -> heaven, NOT SOLD!, Samsung Galaxy Note 8, Stock 4.4.2, iPod Touch 4g: Stock iOS 6 (iOS 6 bad, my $0.02)