[Q] HTC One X Maximus v4.2 dim capacitive leds to 1 - HTC One X

Hello,
i'm trying to dim capacitive buttons because for my taste they are way too bright.
In /sys/class/leds/button-backlight/ which file should I edit?
Editing brightness i can turn then on or off, but i want them on, but on dimmiest mode.
Editing currents i can turn then on or off, but i want them on, but on dimmiest mode.
Editing max_brightness does nothing.
The only file that makes me happy and dims leds, by editing lut_cofficient, setting to 1. This way leds are barely lit.
But on screen off or reboot it restores back to original setting.
What sould I do to make them stay dim?
I have been searching for a while, but I go nowhere.
Thank You!

you can write a .sh script and set it to start at boot
or use tasker($6) to make your own app
lut_coefficient seems to control the brightness properly :S

Vcek said:
you can write a .sh script and set it to start at boot
or use tasker($6) to make your own app
lut_coefficient seems to control the brightness properly :S
Click to expand...
Click to collapse
+1 for tasker.
I don't know how this app hasn't recieved more coverage.
This app is one of the best, most useful and functional apps there is.

Vcek said:
you can write a .sh script and set it to start at boot
or use tasker($6) to make your own app
lut_coefficient seems to control the brightness properly :S
Click to expand...
Click to collapse
I would like to go that script way. How do I create a script? Is there a tutorial how to create a script?
echo 1 > /sys/class/leds/button-backlight/lut_cofficient

i dont think its possible to do this with a script, as the lut_coefficient resets to 100% on Screen-OFF and screen-ON,
you have to make your own app
or find a really good script manager
or make a script that keeps your phone awake and kill your battery in 1 hour
EDIT: it wouldn't take you more than 15 mins to make the app in tasker (7 days trial)

Another Idea for you, you can use Screen Filter app
to turn soft-key's backlighting off.
I use it when I read at night, it works great

here i made you an app(requires root) you can post on your home screen
hxxp://dl.dropbox.com/u/102990830/Low_Light.apk
i find it a bit difficult to make it run automatically when screen turns on

Vcek said:
here i made you an app(requires root) you can post on your home screen
http://dl.dropbox.com/u/102990830/Low_Light.apk
i find it a bit difficult to make it run automatically when screen turns on
Click to expand...
Click to collapse
That's a great workaround. Thank you.
I still hope, that someone will make proper permament method for that diming capacitive buttons.

Doorman404 said:
Another Idea for you, you can use Screen Filter app
to turn soft-key's backlighting off.
I use it when I read at night, it works great
Click to expand...
Click to collapse
Screen filter is great, but I need something that only dims the buttons, not to turn then off.

Ok managed to make another one (delete old one) , this one sets lut_coefficient to 1 when device starts and when screen turns on. I think HTC will fix this thing in coming JB update.
Here's the link:Low_Button_Backlight.4.apk
Don't forget to press thanks for my 15 mins effort

This is program is better, but still not perfect. Lut_coefficient comes back to original state if there is bright enought and system decides to turn lights off and when it switches back on it will be in its original state.
Maybe it is somehow possible to prevent system from diting that file?
Sent from my HTC One X

Related

Windows Mobile 6.1 ... Screen not going to sleep?

Just upgraded to Windows Mobile 6.1, and for whatever reason, if my phone is unlocked and idle, it no longer goes to "sleep." Instead of the backlight turning off like in WM6, the backlight goes full brightness and displays a white screen. Has anyone seen this before? Any workaround/fix?
Thanks!
Sounds like you got the wrong display driver for your phone. What phone and what ROM are you running ?!
yrsmart said:
Just upgraded to Windows Mobile 6.1, and for whatever reason, if my phone is unlocked and idle, it no longer goes to "sleep." Instead of the backlight turning off like in WM6, the backlight goes full brightness and displays a white screen. Has anyone seen this before? Any workaround/fix?
Thanks!
Click to expand...
Click to collapse
I've had this problem before!
It happened when I was playing with the power management settings in the Registry. I found if I then locked my phone (e.g. long press of hang up button), the screen would time out and go completely white on full brightness.
To fix it was easy enough - just change the power management reg keys.
Once I screwed them up soo much I had to do a hard reset so watch out before playing.
Mine has been doing this also, I believe it may have something to do with the Light Config option in CeleTask. Will test more
uccellino said:
I've had this problem before!
It happened when I was playing with the power management settings in the Registry. I found if I then locked my phone (e.g. long press of hang up button), the screen would time out and go completely white on full brightness.
To fix it was easy enough - just change the power management reg keys.
Once I screwed them up soo much I had to do a hard reset so watch out before playing.
Click to expand...
Click to collapse
And what should I change the power management reg keys to?
Could you give more detailed instructions, including which keys to change, and what to change them to?
Thanks!
theformula said:
Mine has been doing this also, I believe it may have something to do with the Light Config option in CeleTask. Will test more
Click to expand...
Click to collapse
Yes I believe so too because it only happens when I use the low light option as well.
first off try....
go into power management under settings.
1. backlight time out on battery should not be set to never.
2. backlight time out on AC could but it still will turn off after the time period you have set for the next setting.
3. Display timeout- will turn off the display off completely after the time period set here.
1 and 2 low dim the screen prior to setting on 3
turn lowlight off... it hardly ever works. lol

Possible to leave screen brightness on when charging?

When in the car, I would like my screen to stay on when charging.
I found a way to do this by going to Settings -> Applications -> Development -> Stay Awake
However the screen may stay on, but it still dims after X minutes (depending on the Time-out settings) so i cant see a thing on my phone during daytime.
I can ofcourse set the time-out to 30 minutes, but i dont want my screen to stay on full brightness for 30 mins when its NOT charging!
Anyone got an idea?
Thanks!
Setting profiles mate. You can set different profiles for when it is charging, including keeping the screen on, and when you unplug it, it goes back to normal. I've been using it for quite a while and it works spot on
Cheers
Ian
-------------------------------------
Sent via the XDA Tapatalk App
Sorry I'm a bit of a Droid newb. On my old 6,5 winmo there was a slider for brightness on battery and brightness on charge.
Is this profile setting stashed within the settings somewhere or is it an app?
Thanks for your help
Another way of doing this is to activate car dock mode when you're in the car. There are some apps that allow you to manually activate various dock modes, and I think when in car dock mode the screen stays on all the time at full brightness.
The app I used is called 'dock simulator' or something like that on the market, and it's free.
Sweet thanks. Any idea how to lose the logo?
Open settings, applications, development, and tick always on when charging, nice and easy
cgrec92 said:
Open settings, applications, development, and tick always on when charging, nice and easy
Click to expand...
Click to collapse
Yea but as already said in post 1 the screen dims.
found a problem with the dock app where it puts calls out on the loudspeaker, and you get the icon.... damn!
you can always download power manager from the market and set to never dim/timeout
Yes but then it eats the battery
[email protected] said:
Yes but then it eats the battery
Click to expand...
Click to collapse
Ok seriously what's wrong with you you've started a thread cos ur screen dims, get use to it! Of course if you keep your screen on your battery will die quick you can't have everything
I agree this is annoying, when you have the phone plugged into the charger it would be great if the screen didn't dim, happens sometimes when I'm reading ebooks on my phone, don't want to change the dim settings as I want the screen timeout to kick in when not plugged into the charger.
Is there any app that wont let the cpu go to sleep when the screen is turned off and wifi is running with file transfer? cuz no matter which program i try. Transfer speed always slows down to 40% once monitor off. I think the cpu is downclocked.
=cgrec92;6887568]Ok seriously what's wrong with you you've started a thread cos ur screen dims, get use to it! Of course if you keep your screen on your battery will die quick you can't have everything
Click to expand...
Click to collapse
Sorry I thought this was a forum to help people over come issues. looks like you may be in the right place.
1. I never started the thread
2. the initial thread was started by some who has the same problem as me. This means I am not the only one with the problem and maybe it's worth solving
3. The thread was started because on power, in the car the screen dims and I want it bright as I can't see it in the sun. I want an app or a setting so when the device detects its on power it does not dim the screen.
quote from post 1
"I can of course set the time-out to 30 minutes, but i don't want my screen to stay on full brightness for 30 mins when its NOT charging!"
I know this is possible because dock simulator does this but has unwanted side effects ( phone on loudspeaker ) I know I could just fix the brightness on every visit to the car but this is a pain in the ass and I will forget to disable it and flatten my battery.
I could do this on win mo 6.5 and android is a much more flexible operating system.
Sorry if this post covered old ground but I found your last post rather provoking and I would prefer if you directed similar posts, elsewhere.
Thanks to everyone else who has guided in the right direction so far..
I have the same problem and when I asked before I got the same (none) answers.
It is one of the very few flaws I have with Android.
On WiMo I could leave the browser with the traffic site active and VISIBLE in my car charger and I could hit refresh now with android I have to touch the screen to activate the backlight and then refresh the site if I want an update.
I too just want the backlight to stay on ONLY when the phone is on external power, it can't be that hard and it shouldn't involve installing elaborate programs that consume more of the little precious memory I have left (until FroYo ...)
try an app called 'Caffine' from the marketplace its free and does the job perfectly
Thanks I'll give it a try.

Keep softkey lights on?

I know this has probably been mentioned 1000 times but why doesn't anyone make an app that will let you manually turn the soft key lights on or off on a non-rooted dinc.
So many clock apps, etc have the option of forcing the softkey lights off, prove that it could be easily done since those apps are available for non-rooted dincs.
If anyone has a solution (other than the black e-tape one) please let me know. You can't see the buttons worth a crap unless the room is very well lit. in other words useless at night in the house with normal lighting. Yes I know I could cover the sensor with my thumb but there has to be a solution lurking out there somewhere.
thanks in advance.... johncal
There is. It's called Screen Filter. You can use it to do really low brightness (like when you use your phone in bed, not what she said ) and also manually turn softkey lights on or off. Actually, I'm not sure about forcing on, but it does turn off softkey lights for as long as you want.
Seriously, why do you want to turn them off? I sorta memorized the position of the softkeys.
I find the softkeys way too bright, so I've always used apps to turn them off in the past, never on.
In addition to trying Screen Filter as recommended above, give LEDs Hack a try. It's primarily designed to turn them off, but maybe the "ON" button will work... I'm really not sure.
For what it's worth, CM7 lets you control the softkeys. Specifically, if you go into the auto-brightness levels, you can turn them on/off for a given brightness level. From my experience, it seems that these settings stick even when you're not using auto-brightness. I turned off soft-keys at all the levels, and they stay off even when I'm not in auto-brightness.
With CM7, I no longer have to use Screen Filter for turning off the softkeys, but I do still use it to dim the screen very low.
I really want to keep the softkeys on not off. I'm also running a stock non-rooted rom. Phone's fine for me the way it is except that I just want the ability to keep the softkey lights on. I guess I'm just surprised that no one has come up with a solution for that.
Screen filter is for turning them off and unfortunately, LED hack is for rooted phones. Thanks for the suggestions though.
byrong said:
I find the softkeys way too bright, so I've always used apps to turn them off in the past, never on.
In addition to trying Screen Filter as recommended above, give LEDs Hack a try. It's primarily designed to turn them off, but maybe the "ON" button will work... I'm really not sure.
For what it's worth, CM7 lets you control the softkeys. Specifically, if you go into the auto-brightness levels, you can turn them on/off for a given brightness level. From my experience, it seems that these settings stick even when you're not using auto-brightness. I turned off soft-keys at all the levels, and they stay off even when I'm not in auto-brightness.
With CM7, I no longer have to use Screen Filter for turning off the softkeys, but I do still use it to dim the screen very low.
Click to expand...
Click to collapse
Where are the softkey settings in CM7? I looked under the autobrightness settings place but couldn't find anything.
Nightly 37 btw.
-CM7 ADR6300
dpwhitty11 said:
Where are the softkey settings in CM7? I looked under the autobrightness settings place but couldn't find anything.
Click to expand...
Click to collapse
Menu > Settings > CM Settings > Display > Automatic Backlight > Edit other levels
Lower / Upper = readings from the light sensor
Screen = the screen brightness you want based on the lower/upper light sensor values
Buttons = whether or not you want the softkeys on. Unfortunately, they cannot be dimmed (hardware limitations, from what I've read), so 255=on and 0=off
In the default configuration, for example, if the sensor value is 0-199, the screen will be set to brightness 25 and the softkeys will be turned on. If the sensor value is >399, notice that the softkeys turn off (button value changes to 0). If you want the buttons on all the time, set all button values as 255. If you're like me, and you hate the softkey lights, set all button values to 0.
For what it's worth, CM7 lets you control the softkeys. Specifically, if you go into the auto-brightness levels, you can turn them on/off for a given brightness level. From my experience, it seems that these settings stick even when you're not using auto-brightness. I turned off soft-keys at all the levels, and they stay off even when I'm not in auto-brightness.
Click to expand...
Click to collapse
Byrong, youre the man. Did not know about this. Bye bye softkey lights. Thanks!

Soft Touch Button Lights

So I can't seem to figure out why the Soft Touch Button are on, or mostly not on on the One X.
In a dark room they are not usually on, run some app or open something on the phone and they seem to activate.
Anyone else getting this??
They should activate/deactivate depending on the amount of surrounding light.
Tested it myself, with a flashlight on the phone the lights went of. When I removed the flashlight and back in the dark, the lights turned on.
Yes, I got the same result as Foggy79. I just want to know if I can turn if off manually?
Probably not (maybe with a custom ROM, but I doubt that)
I wanna know how to turn them off. When watching a video in the dark.... they stay on, when they should turn off when video is being played full screen.
n19htmare said:
I wanna know how to turn them off. When watching a video in the dark.... they stay on, when they should turn off when video is being played full screen.
Click to expand...
Click to collapse
Use this Rom :
http://forum.xda-developers.com/showthread.php?t=1625816
With PKMN Tweaks integrated in this rom, you can control soft key led back light :
* Always on
* Always off
* Turn on when the dim light, turn off when strong light
ancola66 said:
Use this Rom :
http://forum.xda-developers.com/showthread.php?t=1625816
With PKMN Tweaks integrated in this rom, you can control soft key led back light :
* Always on
* Always off
* Turn on when the dim light, turn off when strong light
Click to expand...
Click to collapse
would rather not go flashing roms to get this.
And how would the tweak help? either it's always on, always off or the last option which would keep the lights on under dim conditions.
What they need to do is add a timeout. like on the Galaxy series phones. 2 seconds or 7 seconds. then it shuts off, when you touch the screen it turns on again.
It's just bad designing and/or programming.
Foggy79 said:
Tested it myself, with a flashlight on the phone the lights went of. When I removed the flashlight and back in the dark, the lights turned on.
Click to expand...
Click to collapse
That'sa great idea, which I can't believe I didn't think of. I have been having the opposite problem: the soft key lights always stay on. However, when I held up the phone to a bright light, they turned off. So, they are working.
Still, it takes a really bright light to achieve this; I wish I could fine tune the behavior. I tried an app that stated it would control the keys but it did not work (and my phone is not rooted).
I also see in ancola66's post that the custom ROM allows automatic dimming only in "strong light," so apparently the behavior I am seeing is normal. I wish it would take less strong light to activate dimming/off as my lights never seem to go off, as I stated.
Thanks for these informative posts.
Reading in bed with Aldiko
It mostly annoys me when I'm reading in bed with Aldiko. Aldiko is a great reading app that lets you adjust the lights the phone emits to the lowest possible, so I can read in the dark without disturbing my wife.
However, on this phone I have the keys glaring in my eyes, way brighter than the letters of my book.
I wish I could switch them off somehow.
I thought the soft lights will only turn on when phone is in dark place? Correct me if I'm wrong.
kim9988 said:
I thought the soft lights will only turn on when phone is in dark place? Correct me if I'm wrong.
Click to expand...
Click to collapse
Exactly.. That sucks when lying in bed reading next to your beloved.. It should only light when touching the screen like the s3..I don't need those lights when I sit and read a book or something
Skickat från min HTC One X via Tapatalk 2
There are ways to disable them. Mostly(maybe a must) if you are ROOTED.
Apps that ppl said that were able to shut them off were screenfilter or how its called. Search through the forums here.
Or you can edit the framework-res file to disable them on sense roms. If Interested I will search it from here somewhere.
Or for CM check my signature (there are 2 lines, not the one about the UV...)
They annoy me too. I recently began watching some videos in bed (streaming from desktop) because I temporarily gave away my laptop. They are very bright in the dark, I wish there was an option to turn them off permanently (yes, I know it's possible with custom ROMs, but I'm still not ready to root yet).
Also, the display is still too bright for my taste - lowest brightness should be lower. Although it's pretty good compared to other screens. In my opinion, the lowest brightness is also very important, just as max. brightness.

Dim Soft Keys

Anyone know an easy way to dim the Dinc Soft, Capacitive Keys? I've searched around and haven't found a solution. Most apps seem to only be able to turn off the backlight on the soft keys....not dim them.
That is because they only recognize 1s and 0s (on and off, they're a switch, not a dimmer).
Damn....cause the Dinc's backlight on those Soft Keys is pretty damn bright. Wish I could fix this. For now, I just disabled the backlight...
Stupifier said:
Damn....cause the Dinc's backlight on those Soft Keys is pretty damn bright. Wish I could fix this. For now, I just disabled the backlight...
Click to expand...
Click to collapse
Please tell me the way to turn of the light of softkeys i`m with HTC Aria
If u had a galaxy nexus they have on screen buttons and u get to dim them lol just sayin
Sent from my Galaxy Nexus using xda premium
brokerboy said:
Please tell me the way to turn of the light of softkeys i`m with HTC Aria
Click to expand...
Click to collapse
You need to use a script in the init.d folder if your rom supports it. If not you need to use an app like script manager to run it at every boot. This is the script for the incredible, not sure if the path is the same for the aria.
Code:
#!/system/bin/sh
sleep 10
chmod 0666 /sys/devices/platform/leds-gpio/leds/button-backlight/brightness
echo "0" > /sys/devices/platform/leds-gpio/leds/button-backlight/brightness
chmod 0444 /sys/devices/platform/leds-gpio/leds/button-backlight/brightness
All you need to do is download an app called "screen filter." Launch the app, and then you may have to tap on the notification. Then, you can turn your led buttons off pretty well (they may light as soon as you turn screen on, but that's it.) This app is great. You can also using it during the night, when you're texting under the sheets, or when you want to save your battery, because you can make your screen darker than you can from your phone's settings. Please be careful though, do not set the brightness too low! hope this helps!

Categories

Resources