Soft Key Brightness - Sprint HTC EVO 4G LTE

How do I go about changing this? I know its possible.
Sent from my EVO LTE using xda premium

navigate to
/sys/class/leds/button-backlight
and /sys/class/leds/button-backlight/device/leds/button-backlight
I can get them to be temporarily disabled but they come back on after I turn the screen off then on
screen filter app isn't working at all

I actually want to see if I can make them brighter. Mine seem very dim.
Do I decompile it?
Sent from my EVO LTE using xda premium

You can echo to it with an app like gscript lite, and then make a shortcut to it if you want.
echo 255 > /sys/class/leds/button-backlight/device/leds/button-backlight/brightness
That should be max brightness, 0 would be off.
I used to do this on my OG Evo to turn off the capacitive button backlights. My LED notification light seems to get stuck On whenever I tried to turn off the backlights on this phone though. I don't remember under what circumstances, been a while since I tried it, might have been when unplugging from a charger, and only rebooting would fix it.

Philosuffer said:
You can echo to it with an app like gscript lite, and then make a shortcut to it if you want.
echo 255 > /sys/class/leds/button-backlight/device/leds/button-backlight/brightness
That should be max brightness, 0 would be off.
I used to do this on my OG Evo to turn off the capacitive button backlights. My LED notification light seems to get stuck On whenever I tried to turn off the backlights on this phone though. I don't remember under what circumstances, been a while since I tried it, might have been when unplugging from a charger, and only rebooting would fix it.
Click to expand...
Click to collapse
Ill try it now. Ill let you know.
But to keep it that way without running a script, I would have to decompile?
Sent from my EVO LTE using xda premium

I'm getting fc issues with the gscript. It also said script failed when I had it working.
Sent from my EVO LTE using xda premium

eyeisdasteve said:
I'm getting fc issues with the gscript. It also said script failed when I had it working.
Sent from my EVO LTE using xda premium
Click to expand...
Click to collapse
Hmm, gscript definitely worked for me, but then I also ran into the problem that NewZJ ran into anyway - they would come back on after waking the device. I was trying to disable them though, not make them brighter.
Also, I just looked at the file again and when they're on I think the brightness is set to 255 anyway. Maybe it is already set to max brightness by default when they're on.

Related

[Script]Toggle Button Leds off/on/off/on....

I wrote a script that runs in g script (lite), from market.
It runs on my 3d and toggles the button leds from on to off and back.
Each time the script is run it toggles the leds.
http://db.tt/sY7zGUo
I am rooted and it does require it.
It's quick except for the Gscript 20 second rule....
Note:
To run this, download it, then move it to the gscript folder on the root of the sdcard.
Next run gscript and > Menu add new script. Choose load file "led toggle 2"
You can also use the screen filter app. Set the filter to 100% and disable/unchecked "enable soft-key backlight".
I find it easier but that just me.
Sent from my smartphone IN 3D!
Hey. That's kindof awesome.
I personally use screen filter and tasker. I have it set so whenever I enter a game, game, movie it will turn screen filter on, turning off the buttons. And when I exit any of those it will turn then back on. Perfect.
Sent from my PG86100 using Tapatalk
This is cool, I'd like them permanently off.
And who needs screen filter when you can do it the geek way and run a script?
phatmanxxl said:
This is cool, I'd like them permanently off.
And who needs screen filter when you can do it the geek way and run a script?
Click to expand...
Click to collapse
Screen filter you don't need root. Pluss screen filter has added benefit to lower screen brightness vs the "geek way". I think its an easy choice.
Mine won't toggle at 100%. Has to be lower then that for some reason or else nothing happens.
Sent from my PG86100 using XDA Premium App

[Solved] Is there a script or a command to permanently turn off capacitive lights?

I rather not have them turn on at all. I don't like using screen filter because it disables randomly or when the brightness is adjusted either manually or from another app.
LEDs hack in the market. You can use to disable them, but I don't know if it will stay after reboot.
Didn't work that's the first thing I tried.
I have a script I got from somewhere on here that I just run the command in terminal emulator. One command, and it turns off when on or turns off when on.
#!/system/bin/sh
ws=255
exec < /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
read s
ks=$((s^ws))
echo $ks > /sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
Click to expand...
Click to collapse
Sent from my PG86100 using XDA App
arrgh couldn't get it to work, says 0 not found in adb and 255: not found in terminal emulator
Use screen filter in the market
mattfmartin said:
Use screen filter in the market
Click to expand...
Click to collapse
Re-read post #1
I have to admit this would be very nice. No need for the lights and should help battery.
I'm ready to take the phone apart and remove/cut the leds for them.
I dislike them too
NewZJ said:
I'm ready to take the phone apart and remove/cut the leds for them.
I dislike them too
Click to expand...
Click to collapse
I was thinking of just maybe coloring the LED's with a black Sharpie. But im sure there's a easy way without taking the phone apart.
Here, download this then
adb remount
adb push leds /system/bin
Now, in adb shell or terminal, type leds
http://db.tt/4Bx7sRs
Sent from my PG86100 using XDA App
Is it possible to just dim them?
I would like them as dim as possible so that I can only see them lit in complete darkness.
you can set up profiles in tasker to disable them
http://forum.xda-developers.com/showthread.php?t=1185127
/self plug
DomSim said:
you can set up profiles in tasker to disable them
http://forum.xda-developers.com/showthread.php?t=1185127
/self plug
Click to expand...
Click to collapse
Thanks. I don't have tasker, but looked at this from your tut: For capacitive leds,
@! echo X > sys/devices/platform/leds-pm8058/leds/button-backlight/brightness
0 = OFF
1 = ON
I was able to use Root Explorer, and navigate to "/sys/devices/platform/leds-pm8058/leds/button-backlight/brightness" When I got to the 'brightness' file, I long pressed it, and cliicked 'open in text editor'. It opened and the number 255 was there. I deleted it, and added a 0, then hit menu and chose 'save and exit'. Not sure if i did it right, but as soon as I hit save and exit the capacitive lights turned out, and I've had no issues so far.
EDIT: NVM, they came back on and the 0 changed back to 255. Lights are back on after the screen shuts off and turns back on.
Tasker is $7, kinda pricey for me. Im a cheap bastard when it comes to adding to my $200+ phone bill.
Noticed they came back on with the script too. So I modified the script to make it stick.
http://db.tt/4Bx7sRs
Sent from my PG86100 using XDA App
man my adb is not working, will this work in the script manager?
Pushed it using root explorer then typed leds in the terminal. LED's turned off. Nice!
Also worked after reboot. Thanks alot!
Glad it worked for ya. Do you get that bug with the half a search light lit though? It's a hardware problem but damned annoying
Sent from my PG86100 using XDA App
danaff37 said:
Glad it worked for ya. Do you get that bug with the half a search light lit though? It's a hardware problem but damned annoying
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
It's leakage. Any way to make the leds turn off at screen dimmed?
Sent From My HTC Evo 3D Using Tapatalk On The Now Network From Sprint!

[Q] Screen is always Dim

When I unlock the phone it always starts up very dim and sometimes it turns bright sometimes it doesn't. I have auto-brightness off and I have my brightness set to 100%. I have to move the slider off of 100% and back to 100% to get it that bright. It is very weird. Anybody know how to fix this?
I have the same problem.
Sent from my GT-I9300 using xda premium
Settings > Display > Auto adjust screen power (untick). Try now.
Been unchecked since day 1. Still does it. Possible that I have a defective unit?
HaruSoul said:
Been unchecked since day 1. Still does it. Possible that I have a defective unit?
Click to expand...
Click to collapse
Is it dim on the home screen or certain apps? cuz internet browser, video etc got their own brightness settings built in that you have to change from the settings within the app.
manbatistuta said:
Is it dim on the home screen or certain apps? cuz internet browser, video etc got their own brightness settings built in that you have to change from the settings within the app.
Click to expand...
Click to collapse
It is dim from the lock screen. Everything once I unlock it is dim. If I lock and unlock the phone like 3 times fast it is fine, but it's a pain in the ass. I'll see if I can take a video of it later when I get home.
I know you said "everything" but try to go to internet browser and disable "auto-brightness" under brightness setting.
Also upgrade your firmware to the latest one to see if that help. My Smart detect is not working and after upgraded it work every single time plus the cell stand by is much improved
I just got my phone back from service, they updated to LF5 - so far it has solved my proplems with dim
I have had 2 handsets that do this now. Its really annoying especially when you are outside.
Basically what is happening is that when your screen dims down before it goes off thats what is happening when you unlock the phone.
I can be using it for 5-10 secs before the full brightness kicks in.
It has nothing to do with power saver or internet. Just running through the home pages and apps list it is doing it.
I am on the latest firmware too.
Does anyone know whats causing it? Is it just a faulty handset (or 2)?
Mine the same. I don't think there bad devices I think its just software related tbh
Sent from my GT-I9300 using xda premium
Well im glad some others of you have experianced this also.
I just hope its something that will be fixed in an update.
It really p****s me off when it does it and im outdoors.

Screen is not shutting off

I am rooted.
Screen is not dimming, smart stay is off, and timeout has been changed between 15-30 seconds. Phone still does not autosleep. SmartStay is off, tried toggling it as well.
Any suggestions?
Reboot fixed it for me
Sent from my SCH-I605 using Tapatalk 2
mzimand said:
Reboot fixed it for me
Sent from my SCH-I605 using Tapatalk 2
Click to expand...
Click to collapse
Same here.
This happens every two days or so.
I'm just paranoid I will fall asleep without knowing about this and have a screen with burn in. Luckily, last night my battery was low and died so it shut off. Otherwise, i'd probably have a status bar burnt to the top of my screen.
I've found the smart stay feature to be flaky at best. I suggest people not use the feature and set a display timeout and adjust ones app settings. I know some ebook programs like to keep the screen on.
Sent from my SCH-I605 using xda app-developers app
I had the same issue but since unlocking, wiping and moving to beans v2 it hasn't come back but we'll see if that lasts.
Sent from my SCH-I605 using xda premium
kimdoocheol said:
I am rooted.
Screen is not dimming, smart stay is off, and timeout has been changed between 15-30 seconds. Phone still does not autosleep. SmartStay is off, tried toggling it as well.
Any suggestions?
Click to expand...
Click to collapse
I'm assuming you are Korean based on your username... If you are playing any Kakaotalk games, including anipang, dragonflight.. so on.. kill that app after you are done playing. That will take care of it. I think that is the reason why reboot cures it.

Capacitive buttons light always on

Hey guys
I just recently noticed that my Amaze capacitive buttons light has been staying on all the time. Even when I press the power button once and the screen turns off. Sometimes while the screen is off, the lights in the button seem to flicker. When I power off the phone completely, it turns off but the button lights stay on. Only when I take out the battery do the lights turn off. I tried using the screen filter app that can turn off the backlight for these buttons but it didn't help. This started happening after I flashed the CM10 nightly. When I switched to Speed Rom 8.0, the problem still continued. I installed Android Revolution Rom recently and the problem hasn't gone away. Any one know how I can solve this problem?
On speed rom 8.0 u have a tweak to turn them off completely or download kernel tuner and turn the capacitive light to 0%
I think there is also a modification you can make to turn them off in the build.prop I think. One of those scripts I can't remember which.
Sent from my Amaze 4G using xda app-developers app
lamortcroix said:
I think there is also a modification you can make to turn them off in the build.prop I think. One of those scripts I can't remember which.
Sent from my Amaze 4G using xda app-developers app
Click to expand...
Click to collapse
Already tried the mod and didn't work. Lights remain on. Even did the tweak that Speed Rom has and that didn't do anything either.
OK on speed rom 8.0 here is what you have to do click on energy tweaks, misc, capacitive light, always off, then click on reboot on top right corner check out the pics I made for u...
Sent from my HTC Ruby
ted619 said:
OK on speed rom 8.0 here is what you have to do click on energy tweaks, misc, capacitive light, always off, then click on reboot on top right corner check out the pics I made for u...
Sent from my HTC Ruby
Click to expand...
Click to collapse
appreciate you going through all that work to get the screenshots, but I did exactly that in speed rom and it didn't do anything to the lights. I am running Android Revolution Rom now though.
if you still have the issue try this https://play.google.com/store/apps/details?id=com.deskangel.kblight&hl=es
i use it for remove screen bleeding from capacitive buttons specially in the night or dark places e_e

Categories

Resources