[Q] Capactive button lights dim but never turn off - HTC EVO 3D

Hi all,
Im rooted and running viper rom, with netarchy.
the bottom lights (home, menu, back, search) never turn off, even when i press the power button and put the phone to sleep. The lights dim but never turn off. I have tried led hack, and screen filter with no luck. I tried going back to my nandroid backup of stock and it still the same. Is this a hardware problem? obviously a battery pull leads to the lights going out but as soon as i reboot its the same problem. Anyone have any ideas?
thanks again

heatbball said:
Hi all,
Im rooted and running viper rom, with netarchy.
the bottom lights (home, menu, back, search) never turn off, even when i press the power button and put the phone to sleep. The lights dim but never turn off. I have tried led hack, and screen filter with no luck. I tried going back to my nandroid backup of stock and it still the same. Is this a hardware problem? obviously a battery pull leads to the lights going out but as soon as i reboot its the same problem. Anyone have any ideas?
thanks again
Click to expand...
Click to collapse
haven't heard of anybody having this issue and i'm also on netarchy's kernel with stock rom and haven't experienced it.
i think you're on the right path, load up the stock rom and stock kernel, if you still experience the issue, it would appear to be more hardware related and i'd take it back to sprint.
if you don't experience the issue then you know it was probably triggered somewhere along the lines of customization. i'd customize again step by step checking along the way.
if you're technically inclined and feel adventurous, i'm pretty sure the backlight leds can be controlled thru the sysfs space and adb shell.
/sys/class/leds/button-backlight
all the control files are in there and you can experiment echo'n values to see if it turns them on/off and/or controls the brightness ...
best of luck!

Look in the market for an app called covedesign. It will allow you to turn off the bottom lights. Hope this helps.
Locked & Loaded
"" Shooter on Deck""

Everytime i try to edit the button backligjt file the file is empty with nothing in it
R.I.P. HD2 hello EVO 3D!!

laie1472 said:
Look in the market for an app called covedesign. It will allow you to turn off the bottom lights. Hope this helps.
Locked & Loaded
"" Shooter on Deck""
Click to expand...
Click to collapse
Thank you! Been looking for something to turn off the button lights off!

joeykrim said:
if you're technically inclined and feel adventurous, i'm pretty sure the backlight leds can be controlled thru the sysfs space and adb shell.
/sys/class/leds/button-backlight
all the control files are in there and you can experiment echo'n values to see if it turns them on/off and/or controls the brightness ...
!
Click to expand...
Click to collapse
jyazzie110 said:
Everytime i try to edit the button backligjt file the file is empty with nothing in it
R.I.P. HD2 hello EVO 3D!!
Click to expand...
Click to collapse
you don't "edit" the files in a text editor ... you echo values to them.
example: echo 50 > brightness

dumasauce said:
Thank you! Been looking for something to turn off the button lights off!
Click to expand...
Click to collapse
No prob hopefully it helps you out
Locked & Loaded
"" Shooter on Deck""

anyway you can provide me some step by step to turn them off via that method? (i am a relative noob)
thanks again

Related

Turning off LED button back lights

Hello,
Anyone have an idea of how to simply turn off LED button back lights?
It seems it could be done as there is already at least one app that uses them for notification.
Here is what I am trying to do:
I've downloaded a desktop alarm clock app that turns the screen back light WAY down so it is not disruptive in a completely dark room while sleeping. But, the buttons remain illuminated.
Basically 8 want to use tasker to launch those clock and turn off the button back lights if the phone is charging and the time is after a certain hour.
I am thinking I could fire off a script with tasked to do thwarting back lights portion of this as well, but I don't even know where to begin.
Any ideas? Thanks!
Sent from my Dell Streak using XDA App
I'm rooted, and use an app called AdjBrightness. Works wonders, and also via menu, you can totally turn off the LED lights.
Hope that helps.
Cool, I will check it out. Ideally I would like to do it automatically, without having to open another app, but this tells me it ostensibly at least doable.
Thanks!
Sent from my Dell Streak using XDA App
If you want the code, just do this from adb or from your phone's terminal.
echo "0" > /sys/class/leds/button-backlight/brightness
Thanks! I think that is getting pretty close to what I need. Any idea if/how this could be written or saved as a SL4A script that could be fired off with tasker?
Also, I'd need to configure an exit task as well for morning, so I will need to know how to set all the buttons back to normal.
I know this is kinda minor, but I am excited about it nonetheless. Looking forward to having a nice, super dim clock to check the time late at night.
Thanks again!
Sent from my Dell Streak using XDA App
Spleisher said:
Thanks! I think that is getting pretty close to what I need. Any idea if/how this could be written or saved as a SL4A script that could be fired off with tasker?
Also, I'd need to configure an exit task as well for morning, so I will need to know how to set all the buttons back to normal.
I know this is kinda minor, but I am excited about it nonetheless. Looking forward to having a nice, super dim clock to check the time late at night.
Thanks again!
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
You could always leave your computer on overnight and make a macro that executes the adb command to dim the leds and then executes another that makes them bright again at a certain time.
There must be something similar you can do on the phone though.
Thanks for the thoughts Meltus.
Well, I did it! I actually created a solution that is, at least to me, the first thing I have done that might actually be worth it to others and might be worth sharing.
I'll post this in more detail in the Apps/Themes forum as I am not sure it belongs here, but the short version is that you can use a plug-in called "Locale Execute" that allows you run SU commands in Tasker.
So, I created a profile in Tasker so that when the phone is plugged in to AC power between certain hours (I may add some other contexts to tweak it, like maybe say it has to be in landscape orientation), it launches my desk clock app, turns the screen down to the very lowest setting (not the "low" setting allowed at the user level), and turns the button lights off using the command you gave me.
Then, when the AC power is pulled, It automatically goes to my default home screen, returns the screen brightness to normal, and turns the button back-lights back on.
It really is pretty cool!
Spleisher said:
Thanks for the thoughts Meltus.
Well, I did it! I actually created a solution that is, at least to me, the first thing I have done that might actually be worth it to others and might be worth sharing.
I'll post this in more detail in the Apps/Themes forum as I am not sure it belongs here, but the short version is that you can use a plug-in called "Locale Execute" that allows you run SU commands in Tasker.
So, I created a profile in Tasker so that when the phone is plugged in to AC power between certain hours (I may add some other contexts to tweak it, like maybe say it has to be in landscape orientation), it launches my desk clock app, turns the screen down to the very lowest setting (not the "low" setting allowed at the user level), and turns the button lights off using the command you gave me.
Then, when the AC power is pulled, It automatically goes to my default home screen, returns the screen brightness to normal, and turns the button back-lights back on.
It really is pretty cool!
Click to expand...
Click to collapse
Good job, sounds pretty cool
I'm sure many people will find this useful!
Does the louder volume app work with the streak?
SeanH said:
Does the louder volume app work with the streak?
Click to expand...
Click to collapse
No i'm afraid it doesn't. Also, send me a pm next time rather than ask in someone else's thread
I did turne off button's back-light by adjusting the context of "/sys/class/leds/button-backlight/brightness" file from 255 to 0, it works great, but it gets back to normal after phone restart, I even went to properties of the file and removed all the "write" rights, but it won't give in.

[Q] Stop buttons turning phone on

Done a search and can't find a solution...
With the 'easy to press' buttons on the HD2 the phone screen keeps powering on in my pocket (I use phone lock to stop auto dialling).
This is draining the battery...
Any way to stop this happening? Say, have just the power button only turn on the screen, after a long press for example???
eugene7 said:
Done a search and can't find a solution...
With the 'easy to press' buttons on the HD2 the phone screen keeps powering on in my pocket (I use phone lock to stop auto dialling).
This is draining the battery...
Any way to stop this happening? Say, have just the power button only turn on the screen, after a long press for example???
Click to expand...
Click to collapse
Try settings / system / keylock settings. There are options to set the buttons as non responsive except for the power button.
stevedebi said:
Try settings / system / keylock settings.
Click to expand...
Click to collapse
I have this same issue and I've got a stock 3.14 tmobile rom but when I go to settings / system /, there is no options for keylock settings. is that on a custom rom?
+1 for this
From new my phone used to have the option of locking all buttons except the power key ... until I did my first hard reset, then it vanished! I would have thought the settings app would have been in the ROM, so restored after the hard reset, but obviously not.
Anyone have a cab for it or care to extract it from their HD2?
<quote>Try settings / system / keylock settings. There are options to set the buttons as non responsive except for the power button.</quote>
Nope, no such option on my HD2...
Seems we need 'keylock.exe'
Anyone got it and know if it will work in an HD2?
Ok, at least I know I'm not unique now...
i've installed Hd2ProximityScreenOff-0.2.cab which I guess turns the screen back off quickly if an "in-pocket" button press brings the screen to life. (can't confirm what happens in my pocket, but seems to do the trick in my hand)
but I'd really like to know if someone knows how to get to this keylock setting
HeadMajor said:
I have this same issue and I've got a stock 3.14 tmobile rom but when I go to settings / system /, there is no options for keylock settings. is that on a custom rom?
Click to expand...
Click to collapse
Take a look at my signature. I'm using NRG ROM, which I highly recommend.
stevedebi said:
Take a look at my signature.
Click to expand...
Click to collapse
ahh crap, noob mistake. sorry.
any chance you can dig up where "settings / system / keylock settings" points?
maybe it points to something already in the stock rom?
HeadMajor said:
noob
Click to expand...
Click to collapse
i can install the stock rom update right from tmo, and install cabs and crap, but not yet ready to make the leap to customer roms (or android for that matter)
try pocketshield software. it has feature that turns your screen immediately off if its in pocket etc with proximity sensor, also its great and cool.

Disabling LEDs on kernel level

Is there any mod that can disable notification LED and sensitive buttons LEDs forever? I know there is a few apps that can do that. But I don't wanna use apps, I noticed some custom ROMs ship with that option. I'm using stock ROM. Sorry for creating a new thread for that. But I can't find a solution for EVO 3D that would work for me. Thanks
I'm sure there will be something released like that. Nothing to my knowledge as of yet. Just something to dim the capacitive buttons.
And this goes in the Q&A section. I hope you have thick skin. Pm a mod to have it moved
Sent from the CM powered 3d
It wouldn't be too hard to do. You can see what needs changed in the kernel in my thread here. I have a version that has no capacitive LEDs and the notification LED will shut off after 5 mins or so.
plotnick said:
Is there any mod that can disable notification LED and sensitive buttons LEDs forever? I know there is a few apps that can do that. But I don't wanna use apps, I noticed some custom ROMs ship with that option. I'm using stock ROM. Sorry for creating a new thread for that. But I can't find a solution for EVO 3D that would work for me. Thanks
Click to expand...
Click to collapse
well... not sure about the blinking LED's... but let me ask you this: how will you know when your phone is charged?
and as for the soft keys, if you have root explorer, navigate to...
/sys/devices/platform/leds-pm8058/leds/button backlight/currents
when you select the button backlight directory, the "currents" is a file. long press on this file until a little menu pops up, select "open in text editor" the value there should be default 20. change it to zero, then hit your menu soft key and select "save and exit"
your leds are now off.
EDIT** and before you do all of that, you will need to select the little grey box at the top of root explorer to mount the system files as "RW", otherwise you wont be able to edit the currents file (as it will be read only)
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
it worked but only until the next restart. It restores default value everytime... Why?
plotnick said:
it worked but only until the next restart. It restores default value everytime... Why?
Click to expand...
Click to collapse
because the LED is controlled by the kernel... so, although you can manually fix it for a moment to the value you want, every time the phone boots, the phone resets the value.
the only way to make it permanent is to have a kernel with disabled LEDs
plotnick said:
it worked but only until the next restart. It restores default value everytime... Why?
Click to expand...
Click to collapse
If you just don't want the bottom buttons to light up, use the kernel I linked in my earlier post (assuming you are using a 2.3.4 ROM). If you're still using a 2.3.3 ROM, you can find a kernel call nolights made by joe85 (which is where I found the changes to make in the kernel for 2.3.4).
Yay! Now i will finally be able to sleep at night!

How to turn OFF the soft key lights?

The light coming from the 4 soft keys and the two physical home and end buttons is bugging the hell out of me. They hurt my eyes, especially when it's dark.
Is there some kind of script I can run to permanently turn them off? Preferably a zip file I can just flash in the recovery or something.
Interesting that you want them turned off.
I want to know how to turn ON the soft key lights, because sometimes I press the wrong key (as I came from a Droid-X).
Easy, if your rooted download gscript and run one of these scripts one for of is lightsout.sh one for one is lightson.sh
push them to your sdcard/gscript folder then load them in gscript and run from gscript
there is allso trackballon and trackballoff if you want to turn your trackball on or off for some reason. I will have the green and orange led up later
NOTE: if there is an error like the lights turn off after a bit then edit the gscript lightson.sh and remove the line that says sleep1.
NOTE#2: this may cause soft reboots were your phone will run the boot animation and restart the xserver of android shell blah blah. nothing to worry about doesnt hurt your phone
androidifyme said:
Easy, if your rooted download gscript and run one of these scripts one for of is lightsout.sh one for one is lightson.sh
push them to your sdcard/gscript folder then load them in gscript and run from gscript
there is allso trackballon and trackballoff if you want to turn your trackball on or off for some reason. I will have the green and orange led up later
NOTE: if there is an error like the lights turn off after a bit then edit the gscript lightson.sh and remove the line that says sleep1.
NOTE#2: this may cause soft reboots were your phone will run the boot animation and restart the xserver of android shell blah blah. nothing to worry about doesnt hurt your phone
Click to expand...
Click to collapse
First of all, thank you.
But I ran into some issues/have questions:
1) The lightsoff script works after I run it in gscript, but when I turn the screen off and back on again, the soft key lights turn right back on.
2) By the green and orange LEDs, do you mean the notification LED? Because if so, it's not necessary; I actually need those ones.
3) The green phone and red end/power lights still stay on.
4) I don't see a line that say "sleep1" in the lightson script.
If you are running a CyanogenMod ROM, there is a control for the automatic backlight that also lets you set the light levels fot when the softkey backlights go on (which you can set to 0 to never come on.) I don't have a CM ROM installed at the moment, but it's in settings->CyanogenMod ROM settings somewhere. if you cannot find it, I can dig around.
[edit] I think it's in user interface->automatic backlight. That's where it was in CM6 (Froyo).
doogald said:
If you are running a CyanogenMod ROM, there is a control for the automatic backlight that also lets you set the light levels fot when the softkey backlights go on (which you can set to 0 to never come on.) I don't have a CM ROM installed at the moment, but it's in settings->CyanogenMod ROM settings somewhere. if you cannot find it, I can dig around.
[edit] I think it's in user interface->automatic backlight. That's where it was in CM6 (Froyo).
Click to expand...
Click to collapse
Thank you! I found it after digging around the settings a bit.
on Arc S
while button-backlights are off value of
/sys/class/leds/button-backlight/brightness is 0
while its 0 change permissions to read only
they are disabled
I can also limit current to 150 in max_current which limits current and lights are dimmed if you want it running but not at max brightness...
added
echo 0 > /sys/devices/i2c-0/0-0040/leds/button-backlight/brightness
chmod 444 /sys/devices/i2c-0/0-0040/leds/button-backlight/brightness
Click to expand...
Click to collapse
to /system/etc/hw_config.sh
now they are set off on boot
another more hardcore approach is to unplug the leds. remove the back cover, sdcard, and battery. then use a t5 or t6 torx screwdriver to remove the four screws. remove the back casing, starting at the top, near the headphones. peel off the copper plate held on by 4 pieces of tape, but dont bend the copper. then in the middle of the circut board there will we a yellow film. peel it back to reveal a hole in the board where a long and skinny brown wire plugs in. unplug it, it just lifts straight off. follow these steps in reverse, and the softlights will be disabled.
WARNING: this WILL irrevocably void your warranty, although seeing how old the model is, i doubt it has one
Hey guys, can I use any of your solutions with my samsung galaxy s plus ?
Diablob555 said:
Hey guys, can I use any of your solutions with my samsung galaxy s plus ?
Click to expand...
Click to collapse
I hardly know anything about this aspect of the Eris (my phone), so I really can't say, but I would doubt it being such different hardware and of course different manufacturer.

[Q] powering down the device

Having followed this thread http://forum.xda-developers.com/show....php?t=1544855 I have installed the ROM and rooted my pad however one thing that seems strange is the powering down/up
long press of power button gives 2 options power down or restart
a restart will go through all the boot up animation etc but if I turn device off I'm not sure if it turns off properly because when I turn it back on say an hour later there is no boot animation and my home screen comes up virtualy straight away
is this normal
I believe you need to go to setting, and disable fastboot. It's near the bottom at the setting page.
Sent from my HTC Glacier using Tapatalk 2
You can use a program called "Quick Boot (Reboot)" it provides you with an option that will truly power the unit off.
rurou said:
I believe you need to go to setting, and disable fastboot. It's near the bottom at the setting page.
couldnt seem to find that option but thank you for yor reply
rkwhyte2 said:
You can use a program called "Quick Boot (Reboot)" it provides you with an option that will truly power the unit off.
Click to expand...
Click to collapse
Thanks for the suggestion ....it works
Click to expand...
Click to collapse
Are you on honeycomb? I don't remember hc that much since after I bought it, I immediately install ICS on it. On my HUAWEI phone (froyo) it is on settings - applications. On my HTC phone (gb) it is on settings - power.

Categories

Resources