Hi All.
I have wondered why the software that controls the backlight, with the light sensor, doesn’t adjust the backlight to the lowest setting, when the phone is in total darkness.
I use my phone in complete darkness almost every night, but I think the backlight is way to bright. I know I can adjust it manual, but why not automatic?
Do any of you bright heads, know a reg value to change or another solution, so I can "allow" the backlight to go to the lowest setting, automatically?
I find this anoying also. Any help would be great.
Anyone? I have looked in the registry but cant find anything... :-/
as far as i know there is no software\tweak that can change backlite to min
Same here. In my case, I'd like the backlight to be a bit brighter in brighter conditions, especially when in the car on a sunny day and I'm using iGo. Manually, I can set the backlight higher. I had a sony ericsson phone with a similar light sensor, but you could adjust its maximum threshold and the general brightness. Surely there's a software solution here somewhere!
I searched a little and quickly found some things:
1. The Diamond seems to have an in-built process to adjust brightness according to light sensor. Don't know if it works, though.
2. The registry keys are found at "HKEY_CURRENT_USER\BackLight\". You can modify brightness there, and it will affect the control panel BUT not change your current brightness. There is an Event you must trigger to update brightness. In many devices, this is the BacklightChangeEvent, in some others, this is SDKBacklightChangeEvent, and some others something different. Depends on the device and the manufacturer.
I wrote an app to change the registry value and trigger both SDKBacklightChangeEvent and BacklightChangeEvent. I can see on the control panel the value has changed, but the visible Brightness won't change. Seems HTC decided to make their own DLL to manage that, instead of standard windows mobile events.
So, I searched a bit further and I found that into "HKEY_LOCAL_MACHINE\Drivers\BuiltIn" there is a key called "Frontlight" which is apparently defining a value which points to Backlight.dll. This must be HTC's implementation of the Backlight manager. I was like "yay this will be my first windows mobile dll reverse engineering" BUT, I didn't find this file anywhere on the device, unfortunately.
If anyone could find it on the Diamond, please pass me the info !
Scotchy49 said:
I searched a little and quickly found some things:
1. The Diamond seems to have an in-built process to adjust brightness according to light sensor. Don't know if it works, though.
2. The registry keys are found at "HKEY_CURRENT_USER\BackLight\". You can modify brightness there, and it will affect the control panel BUT not change your current brightness. There is an Event you must trigger to update brightness. In many devices, this is the BacklightChangeEvent, in some others, this is SDKBacklightChangeEvent, and some others something different. Depends on the device and the manufacturer.
I wrote an app to change the registry value and trigger both SDKBacklightChangeEvent and BacklightChangeEvent. I can see on the control panel the value has changed, but the visible Brightness won't change. Seems HTC decided to make their own DLL to manage that, instead of standard windows mobile events.
So, I searched a bit further and I found that into "HKEY_LOCAL_MACHINE\Drivers\BuiltIn" there is a key called "Frontlight" which is apparently defining a value which points to Backlight.dll. This must be HTC's implementation of the Backlight manager. I was like "yay this will be my first windows mobile dll reverse engineering" BUT, I didn't find this file anywhere on the device, unfortunately.
If anyone could find it on the Diamond, please pass me the info !
Click to expand...
Click to collapse
Thank you. Its a lot of attention you have given this topic. For that I thank you. - Just too bad you cant find that dll. :-/ Hope some other helps.
backlight.dll found in Windows folder
axelpix said:
backlight.dll found in Windows folder
Click to expand...
Click to collapse
Thanks, for reference, there are the functions:
Code:
BKL_Close
BKL_Deinit
BKL_Init
BKL_IOControl
BKL_Open
BKL_PowerDown
BKL_PowerUp
BKL_Read
BKL_Seek
BKL_Write
inside the Backlight.dll
This has to be a lot easier.
I found some reg settings in HKCU\ControlPanel\BackLight, one of them called "AutoBklOffset". Actually this is exactly what we're searching for here: When I enter a value >0 here, the backlight instantly goes brighter, and the automatic backlight setting is still active and works.
so, what we have to do is figure out how to enter a negative value here.
Ideas?
Hmm, I don't think we can get anything only with the registry, but we don't lose anything to try, do we ?
I'll check again the registry.
Ok. Actually AutoBklOffset is linked to "Auto backlight adjust". This means that if auto backlight adjust isn't ativated, AutoBklOffset won't do anything.
Ok, all this search was fun. But I told myself: what if I just go ahead and try if the already built-in app works ?
And yea, it already works. Meaning if you put the device in front of the sun, it will go bright, and dim if you're in a dark place.
So I guess this is a configuration specific issue and don't need a new app. I'm out of tha place !
P.S.: It would have been actually quite stupid to include a Light sensor but not using it.
Scotchy49 said:
Ok, all this search was fun. But I told myself: what if I just go ahead and try if the already built-in app works ?
And yea, it already works. Meaning if you put the device in front of the sun, it will go bright, and dim if you're in a dark place.
So I guess this is a configuration specific issue and don't need a new app. I'm out of tha place !
P.S.: It would have been actually quite stupid to include a Light sensor but not using it.
Click to expand...
Click to collapse
my works fine
u can test it on bright light...u will see the change when u cover uper part oh the phone....it will dimm and u will se almost nothing...
microlomaniac said:
This has to be a lot easier.
I found some reg settings in HKCU\ControlPanel\BackLight, one of them called "AutoBklOffset". Actually this is exactly what we're searching for here: When I enter a value >0 here, the backlight instantly goes brighter, and the automatic backlight setting is still active and works.
so, what we have to do is figure out how to enter a negative value here.
Ideas?
Click to expand...
Click to collapse
This tweak still dosnt make the phone use the whole scale. From dimmest to brightest. :-/
Scotchy49 said:
Ok, all this search was fun. But I told myself: what if I just go ahead and try if the already built-in app works ?
And yea, it already works. Meaning if you put the device in front of the sun, it will go bright, and dim if you're in a dark place.
So I guess this is a configuration specific issue and don't need a new app. I'm out of tha place !
P.S.: It would have been actually quite stupid to include a Light sensor but not using it.
Click to expand...
Click to collapse
You misunderstand the issue.
With the backlight set to auto try using your phone in a completely dark room - the light sensor will detect this and the phone dims. Okay, now remove the auto setting and you will find that you can make the phone even dimmer than this using the slider. The lowest auto setting is equivalent to level 3 on the manual scale - what the guys here want to do is make this equal to level 1, or lower (or in the case of one poster make the maximum auto setting equal to the maximum manual setting, or perhaps even higher if possible).
The issue is therefore not whether or not the light sensor works (it does), or whether the phone can automatically dim/brighten the display in response to the ambient light level (it can), but whether it is possible to make the full scale range in automatic mode equal to that which the device offers in manual mode.
Mathew
Spot on!
Hi friends.
I have the problem using TomTom at car. When Diamond receive direct sun light it increases backlight until 70%, but not 100%; when I drive at night Diamond decreases backlight until 30%.
I would like adjust some values to 100% and 10% but I have no idea about registry or dlls.
aidrabmol said:
When Diamond receive direct sun light it increases backlight until 70%, but not 100%; when I drive at night Diamond decreases backlight until 30%.
I would like adjust some values to 100% and 10% but I have no idea about registry or dlls.
Click to expand...
Click to collapse
Nice summary
This exactly was the original topic of this thread.
Scotchy49 said:
Ok, all this search was fun. But I told myself: what if I just go ahead and try if the already built-in app works ?
And yea, it already works. Meaning if you put the device in front of the sun, it will go bright, and dim if you're in a dark place.
So I guess this is a configuration specific issue and don't need a new app. I'm out of tha place !
P.S.: It would have been actually quite stupid to include a Light sensor but not using it.
Click to expand...
Click to collapse
Did you come any further with the app?
I too would like to see a solution for the narrow range of light sensor adjustment. The screen stays too bright when ambient is dark.
In my Sprint CDMA Diamond, I see these registry entries:
HKEY_CURRENT_USER\ControlPanel\BackLight
LSensorReduceBKLDelay
LSensorAvegQuene
I wonder what they do. There must be some way to change the range of adjustment or the bias of the light sensor.
i remember seeing it but i cant find it.
its an app that will change the brightness of the phone depending on the time of day.
does anyone know the name of it??
'locale' can change the brightness according to the time and other things (gps/battery/etc). I think 'power manager' can too, but I haven't used it much.
Ambient Light Sensor will take a reading from the camera, and set the brightness accordingly, every time you unlock the phone.
yea thats the one i was trying to think of. its not working right now though apparently so im gunna wait for a little bit til the dev fixes it.
If you want an app that changes brightness based on time (not camera reading), timeriffic has just added that feature.
I need some help with options in this phone. First off all I found it annoying that the bottom 4 touch button light turns off in like 5 seconds. I know it saves battery but I want to have the option to keep on longer. I'm pretty sure there isn't a built in option, but is it possible for anyone here to mod this? (I think you can do it because there is a mod to turn them always off).
Next I feel that the lowest screen brightness is still pretty high. Is there anyway that I can reduce it? Possibly through an app? I'm rooted and everything so no problem there. Thanks
Many would like the option to change the time out on the buttons. Unfortunately no fix yet.
As for the brightness, many of the widgets to adjust brightness from the market will allow lower settings
I use extended controls..I don't think it was free but is highly customizable
hi
is there any way to disable the led of the hardware buttons. i know where the buttons are. i dont need a light to find them. and it looks ugly when they light up. after i used them i always wait to touch the screen until they are off.
I think neldar knows the most about this since he has done the backlight notifications mod. It would be super to have an option in the recovery to disable backlight in the buttons. They are annoying at night when using Screen filter to dim the screen, buttons are very bright in contrast to the screen.
Agreed. I would love to be able to switch them off.
Yes this is true and really anoying!
At night they are much to bright. Would love a "disable" option, too.
Is it maybe possible to dimm the buttons, too?? This would really be awesome
ok, i'm not the only one who wants that leds switched off. but isn't there anyone who has an idea how to do that
Anyone figured this out yet?
i found an app in the market called“ leds hack“. it supports samsung vibrant, but it dont works on my phone. isnt it the us-name for the sgs? maybe the rom is the problem. i'm on darkys 9.3
i tryed to find the script that controls the backlight. here: stackoverflow.com/questions/4152053/android-turn-off-key-lights i found this info:
A: The keyboard backlight can be controlled via /sys/class/leds/ keyboard-backlight/brightness. It appears that it's a simple on-off control (echoing '0' turns it off, echoing '1' or higher turns it on). For some reason, the default system backlight control stuff seems to set this to "83", but I don't know why. I can't seem to see any difference between 83 and any other number. The file is readable by anyone, but only writable by root, so you'll need root access to the phone to manipulate it this way.
can anyone tell me where i can find the file on my phone...
Has anyone found the answer?
This is honestly something that I would even pay for if a dev wanted to create a little app or mod that could do this quickly and easily for those that are not confident to make these changes on their own.
No one? :/
magooo said:
/sys/class/leds/ keyboard-backlight/brightness
Click to expand...
Click to collapse
this doesnt exist on our android.
There is is /sys/devices/virtual/misc/melfas_touchkey/brightness
you can do
echo '1' > /sys/devices/virtual/misc/melfas_touchkey/brightness
to turn it on, but i have not found a way to turn it off permanently
Can some one bind this to light sensor? So that we can have it disabled during day and have it enabled at night??
how can i edit this files? i cant find an editor or something like that. i'd like to play around with this script?
joseph.carty said:
This is honestly something that I would even pay for if a dev wanted to create a little app or mod that could do this quickly and easily for those that are not confident to make these changes on their own.
Click to expand...
Click to collapse
I'd pay too
Please, It have to be so easy
magooo said:
A: The keyboard backlight can be controlled via /sys/class/leds/ keyboard-backlight/brightness
Click to expand...
Click to collapse
I don't have the folder /leds. What version of android do you have?
I found this. As a new user, I can't send links to the forum, I paste the important part:
Samsung GT-I9000
s3c-keypad
- scancode = 26 (confirmed with keylayout/s3c-keypad.kl)
/sys/class/backlight/s5p_bl/brightness
drivers/input/keyboard/s3c-keypad.c
drivers/video/backlight/backlight.c
- brightness and actual_brightness 's get/set method. (actual_brightness is read only)
drivers/video/samsung/s3cfb_tl2796.c
- Samsung's implementation. MIN_BL = 30. Lower than this == black out.
Could it be useful?
Thanks
Hi,
Not sure where the correct place is for this, so thought that I'd put it here.
I am looking for an app that controls brightness. I like the brightness of my phones to be dialed down to around 40%. I find it most comfortable for my eyes. Yet when it is bright out, I need to make the screen brighter. This means that I need to go in and manually adjust the brightness. I don't like to have the phone set to automatically adjust the brightness.
I'd like to find an app that allows adjusting brightness by icon. I don't want one that has one icon that toggles through a bunch of preset brightness levels. Instead, I want an app that can have different icons for different brightness levels. That way, if I wanted to toggle the brightness to 60%, I could tap an icon that does that. Then I could have an icon set for 30% to set it back.
Anyone know of an app that does this?
usmaak said:
Hi,
Not sure where the correct place is for this, so thought that I'd put it here.
I am looking for an app that controls brightness. I like the brightness of my phones to be dialed down to around 40%. I find it most comfortable for my eyes. Yet when it is bright out, I need to make the screen brighter. This means that I need to go in and manually adjust the brightness. I don't like to have the phone set to automatically adjust the brightness.
I'd like to find an app that allows adjusting brightness by icon. I don't want one that has one icon that toggles through a bunch of preset brightness levels. Instead, I want an app that can have different icons for different brightness levels. That way, if I wanted to toggle the brightness to 60%, I could tap an icon that does that. Then I could have an icon set for 30% to set it back.
Anyone know of an app that does this?
Click to expand...
Click to collapse
Lux, if properly configured, could do that for you.
I think I understand what you're going for. I use Power Toggles (Dev: Painless Apps), and one of the toggles on the widget is for brightness and I have it set to 3 settings when I touch it; 20%, 40% and 100%. It's not possible to set each new brightness widget for individual brightness presets, unfortunately, but I don't see how it would be difficult to just make some predetermined settings for your brightness.
By now you should have a pretty firm idea on what level of brightness you prefer throughout your day so maybe you can use this app and have 2, 3 or more presets. It's really simple to use, I have it set to 3 settings and touching the widget to get to the brightness I want at that moment is super quick and not difficult at all.
You can see in the screenshot I use the widget at the top on my home page. Brightness is among the other toggles I use on a regular basis. Much quicker to turn on and off things, IMO. It's right there on my home screen so I don't have to pull my notification window down. I hope this helps.
I just use Auto Brightness setting. I set the brightness slider at 40% and the phone will auto-adjust the screen to keep it at a relative 40 indoors and outdoors.
I think this is what you're looking for:
https://play.google.com/store/apps/details?id=com.ss.moreshortcuts