Thanks Meter 555
Join Date: Dec 2011
Location: Hyattsville, MD
Originally Posted by kevdliu
After modifying a light script in Aeroevan's cm9 build I managed to get the buttons backlight semi-working (at least more working than before).
It should work on cm9, AOKP, CNA, and maybe MIUI.
- Sometimes there will be a few seconds lag between screen on/off and buttons backlight on/off
- (Fixed, I think. Need more testing) Sometimes the backlight won't turn off after screen is off. If that happens just turn the screen on and off again and that should fix it.
I based my editing on Aeroevan's script so credit goes to him.
This is just an initial fix and I will try to improve this later on.
attached to thread
I didn't try the fix yet but I see that you are modifying the /sys/class/leds/button-backlight-landscape/brightness files. I was trying to come up with a script to do this a while back, but didn't know how. Now I see that this is how it is done!
So, are scripts in /system/etc/ run continuously by the OS?
Thank me, if my post helped you, made you smile, laugh, LOL or ROFL!!!
Droid X2: Ditched!, Droid Inc2: SOLD, Droid Incredible 4G LTE: CM10.1 Jellybean 4.2.2, TFP: Unlocked and on Stock JB 4.1.1 -> heaven, iPod Touch 4g: Stock iOS 6 (iOS 6 bad, my $0.02)