Customize automatic brightness - Samsung Galaxy Nexus

Hello, I'd like to customize the automatic brightness values in order to have a brighter screen even in low light situation, in order to get rid of the various defects of GNex screen. How can I do that?

You have to edit framework res. there are many tutorials around the forum.

RogerPodacter said:
You have to edit framework res. there are many tutorials around the forum.
Click to expand...
Click to collapse
A step towards the right direction. I'll try a better search now that I know what to search for exactly. Thanks

Related

Zoom bar for manually adjusting brightness?

Hi!
Is it possible to use the zoom bar for manually adjusting the display brightness?
(I tried searching, no success.)
Thanks
Most likely not right now, unless you are really good friends with a dev and they want to make the app for you, sorry.
Bad luck And there are not many keys which could be used for such useful function

adjusting auto-brightness level

do you guys know how to or what apps can change the auto adjust level? and please dont say just manually change it, i like to use the auto feature, its there so i can be lazy.
Settings > display > brightness
Sent from my SGH-T989
You can go to settings> display> brightness and set it to auto brightness, or you can get the app "Quick Settings" it has a bunch of toggles
Sent from my SGH-T989 using Tapatalk
I think the OP wants something similar to what's in Cyanogen roms. I think he wants to adjust how bright or dim it gets on certain light conditions. I think I saw an app called Luminous or something. Now I'm drawing a blank.
Sistum Id said:
I think the OP wants something similar to what's in Cyanogen roms. I think he wants to adjust how bright or dim it gets on certain light conditions. I think I saw an app called Luminous or something. Now I'm drawing a blank.
Click to expand...
Click to collapse
I'm looking for something like this also.
I'm just sayin!
Sistum Id said:
I think the OP wants something similar to what's in Cyanogen roms. I think he wants to adjust how bright or dim it gets on certain light conditions. I think I saw an app called Luminous or something. Now I'm drawing a blank.
Click to expand...
Click to collapse
yea...thanks
http://android.modaco.com/topic/341706-custom-autobrightness-values-cm7/
Maybe if you found the file that holds the values, you could pull and push the file till you find what you like?
EDIT:
Try this, maybe this will work. I think this is what I saw once.
Lux Auto Brightness
https://market.android.com/details?id=com.vito.lux&hl=en
I think I might give it a try later on.
Juice defender has an option to set the brightness all the way from -80% to +150%. So autobrightness would have a larger (or smaller, if you prefer) range.
Sistum Id said:
http://android.modaco.com/topic/341706-custom-autobrightness-values-cm7/
Maybe if you found the file that holds the values, you could pull and push the file till you find what you like?
EDIT:
Try this, maybe this will work. I think this is what I saw once.
Lux Auto Brightness
https://market.android.com/details?id=com.vito.lux&hl=en
I think I might give it a try later on.
Click to expand...
Click to collapse
Have it. Recommend it. Slick app from a great responsive developer.
just use the notification bar
Hey guys
I found out that if you tap the notification bar on the top and slide your finger left or right, you can adjust brightness as you like. I think that is the easiest and quickest tip I found on this forum. not sure where I found it.. hope that helps..
^^ only works if the brightness toggle is off.. Awesome feature on sammys..
.
.
Galaxy S2 on TapaTalk
There is an app i am using that allows you to adjust the levels that the auto brightness use.
Called: LogGraph
it gives you a graph divided by roughly 12 steps of the brightness sensor so 0-12.
you can set the brightness level at each step the default (which i am using) is roughly:
Sensor% - Brightness level%
0-0
10-5
20-10
30-15
40-20
50-25
60-30
70-40
80-60
90-80
100-100
PMG 705 said:
^^ only works if the brightness toggle is off.. Awesome feature on sammys..
.
.
Galaxy S2 on TapaTalk
Click to expand...
Click to collapse
Thanks I was wondering why it didn't work.
Sent from my Hercules using XDA App
Reviving a slightly older thread here for some feedback.
Lux is a great and well designed app; I've been having issues with it - it doesn't seem to sample from the sensor (light or camera) when it wakes up, even though that is how I set it. I sent an e-mail to the developer, so hoping he can help me out. I also found it hard to understand the "levels" both in basic mode, and the lux/luma in advanced mode. I came from Cyanogenmod (on an Evo 4g) so I understand how the sensor works, but for some reason, whether it be the GS2 or Lux, the sensor does not seem to pick up a lot of variation in ambient light. I can cover up the sensor with my finger and the value that is getting doesn't seem to go below 2.
So I'm still struggling to get the auto-brightness (with an app or with the factory algorithm) to work properly compared to what I was able to get on my Evo 4g w/ Cyanogenmod (which was perfect by the way - once I have it all set up, absolutely perfect auto-brightness).
Actually I edited the framework-res.apk file and that did the trick. I tried lux before but it still didn't work like the default auto brightness.
I'm just sayin!
princeasi said:
Actually I edited the framework-res.apk file and that did the trick. I tried lux before but it still didn't work like the default auto brightness.
I'm just sayin!
Click to expand...
Click to collapse
I'm guessing this is something that can't be edited live or on the fly? It's got to be signed and flashed?
If that works, cool, but I'm totally hoping for an edit I can make live to system files from Root Explorer for instance.
davidemartindale said:
I'm guessing this is something that can't be edited live or on the fly? It's got to be signed and flashed?
If that works, cool, but I'm totally hoping for an edit I can make live to system files from Root Explorer for instance.
Click to expand...
Click to collapse
Yes, currently this is the only way to achieve this. Supercurio mentioned in one of his post earlier that he was working on an app that would allow us to make these type of adjustments.
I'm just sayin!
princeasi said:
Actually I edited the framework-res.apk file and that did the trick. I tried lux before but it still didn't work like the default auto brightness.
I'm just sayin!
Click to expand...
Click to collapse
I believe you that Lux doesn't work like the factory auto-adjust...no matter what an app. developer does, you can't replicate the responsiveness of what would be in the framework.
Could you explain further the edits you did and what it corrected? I am a software developer and I can figure out the basics, just was looking for an idea of what you edited in there and the specifics to get me going.
Thanks in advance!
onyx00 said:
I believe you that Lux doesn't work like the factory auto-adjust...no matter what an app. developer does, you can't replicate the responsiveness of what would be in the framework.
Could you explain further the edits you did and what it corrected? I am a software developer and I can figure out the basics, just was looking for an idea of what you edited in there and the specifics to get me going.
Thanks in advance!
Click to expand...
Click to collapse
I basically followed what they did here http://forum.xda-developers.com/showthread.php?t=1235212 to decompile the apk. I made adjustments to the value that represents the brightness under the lowest lighting conditions. I slightly increased the brightness under that value to help mask the blobs under low lit conditions. Hope this helps.
I'm just sayin!
princeasi said:
I basically followed what they did here http://forum.xda-developers.com/showthread.php?t=1235212 to decompile the apk. I made adjustments to the value that represents the brightness under the lowest lighting conditions. I slightly increased the brightness under that value to help mask the blobs under low lit conditions. Hope this helps.
I'm just sayin!
Click to expand...
Click to collapse
Yeah, saw that last night and just finished. Will probably need to dial in the values a bit to find what is optimal for me.
I'll post a Framework for others to use once I get mine all set. This is definitely the way to go for adjusting autobrightness.

How to dim the GN screen even more?

I find the dimmest screen toggle still too bright. I find it embarrassing to use in dark public spaces.
Is there a way to dim the screen even more?
Download the screen filter app from the play store. Literally puts a filter effect on the screen to make it appear darker making it much easier to use in the dark.
Yes its possible to take the screen much lower, but we have to edit the framework. Nobody had done this mod yet for some reason.
CM9 has the ability to change the screen lowest settings built in
B97 said:
Download the screen filter app from the play store. Literally puts a filter effect on the screen to make it appear darker making it much easier to use in the dark.
Click to expand...
Click to collapse
+1. I use Screen Filter also, it's uber handy for reading at night when the light seems too bright. If you've got hardkeys like I had on my Desire, you can even turn them off.
i wrote a tutorial on how you can mod the frameworks apk. it's very easy and you can change the brightness levels to anything you want. here's the thread
screen filter only puts a transparent layer on the screen and messes with the colors. modding the frameworks will lower default brightness to any level you want. you can raise it too if you like.
Thanks for all the ideas. I went with the easiest one, Screen Filter.
AOKP also has an option to reduce screen brightness...
dynamicpda said:
Thanks for all the ideas. I went with the easiest one, Screen Filter.
Click to expand...
Click to collapse
Good man!
Sent from my GT-I9100 using XDA
neotekz said:
i wrote a tutorial on how you can mod the frameworks apk. it's very easy and you can change the brightness levels to anything you want. here's the thread
screen filter only puts a transparent layer on the screen and messes with the colors. modding the frameworks will lower default brightness to any level you want. you can raise it too if you like.
Click to expand...
Click to collapse
Great work, I've been wondering why nobody did this mod yet for the nexus. I made that same mod on my atrix, using the sgs2 thread as well. But I've been too lazy to do it for nexus.
The above mod is the best option. Screen filter doesn't achieve the same results. The above mod reduces power draw as well when on the lower brightness setting of 5 or so. Screen filter just hides the higher brightness but has same power draw.
RogerPodacter said:
Great work, I've been wondering why nobody did this mod yet for the nexus. I made that same mod on my atrix, using the sgs2 thread as well. But I've been too lazy to do it for nexus.
The above mod is the best option. Screen filter doesn't achieve the same results. The above mod reduces power draw as well when on the lower brightness setting of 5 or so. Screen filter just hides the higher brightness but has same power draw.
Click to expand...
Click to collapse
That would be correct for back-lit screens. For the Galaxy Nexus screen, though, Screen Filter does help reducing power draw as a darker screen content = lower brightness.
I used to use SF for quite a while until I got fed up of it causing stutters to most animations. After thorough examination I concluded that the Nexus's GPU is the culprit. For some reason it just doesn't like multiple graphics being updated at once. Modding the overlay XML allows it to run at full speed.
Can anyone confirm the same reduced framerate issue?. It's also the reason why some ROMs include a setting to remove the navigation buttons glow. I tested with CM9 on the SGS2 and experienced none of the stutters in cases where the GN would. Another example: sliding between sections (comments, ralated, etc.) in YouTube is laggy iff the video is playing.
fnf said:
That would be correct for back-lit screens. For the Galaxy Nexus screen, though, Screen Filter does help reducing power draw as a darker screen content = lower brightness.
I used to use SF for quite a while until I got fed up of it causing stutters to most animations. After thorough examination I concluded that the Nexus's GPU is the culprit. For some reason it just doesn't like multiple graphics being updated at once. Modding the overlay XML allows it to run at full speed.
Can anyone confirm the same reduced framerate issue?. It's also the reason why some ROMs include a setting to remove the navigation buttons glow. I tested with CM9 on the SGS2 and experienced none of the stutters in cases where the GN would. Another example: sliding between sections (comments, ralated, etc.) in YouTube is laggy iff the video is playing.
Click to expand...
Click to collapse
Agreed, GPU just isn't good enough. I hate the lag with the button glow animations on!
I use an app called root dim, it's really useful. Let's you use a brightness level of 1, which is really quite dim. Free, too.
Sent from my Galaxy Nexus using XDA App
Remoteconcern said:
Agreed, GPU just isn't good enough. I hate the lag with the button glow animations on!
I use an app called root dim, it's really useful. Let's you use a brightness level of 1, which is really quite dim. Free, too.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Thanks for the tip, on the Galaxy Nexus it's possible to set the brightness to 0 by writing to /sys/class/backlight/*/brightness but the brightness is checked and reset to the minimum (default 10) every time the screen is turned on. I guess Root Dim works to the same effect so it runs as a system service. Still, it'd be an awesome addition for people who haven't bothered to mod.
fnf said:
That would be correct for back-lit screens. For the Galaxy Nexus screen, though, Screen Filter does help reducing power draw as a darker screen content = lower brightness.
I used to use SF for quite a while until I got fed up of it causing stutters to most animations. After thorough examination I concluded that the Nexus's GPU is the culprit. For some reason it just doesn't like multiple graphics being updated at once. Modding the overlay XML allows it to run at full speed.
Can anyone confirm the same reduced framerate issue?. It's also the reason why some ROMs include a setting to remove the navigation buttons glow. I tested with CM9 on the SGS2 and experienced none of the stutters in cases where the GN would. Another example: sliding between sections (comments, ralated, etc.) in YouTube is laggy iff the video is playing.
Click to expand...
Click to collapse
Screen filter may reduce power. But amoled screens save power with lower brightness. There is no difference between lcd vs led on this issue. And modifying the framework to bring min brightness down to 5 rather than 15 saves much more power than screen filter. Its no contest. This isn't different from lcd in this case.
---------- Post added at 03:20 PM ---------- Previous post was at 03:14 PM ----------
fnf said:
Thanks for the tip, on the Galaxy Nexus it's possible to set the brightness to 0 by writing to /sys/class/backlight/*/brightness but the brightness is checked and reset to the minimum (default 10) every time the screen is turned on. I guess Root Dim works to the same effect so it runs as a system service. Still, it'd be an awesome addition for people who haven't bothered to mod.
Click to expand...
Click to collapse
Yes we can write to that sysfs file, but it gets reset. The mod to the frameworks incorporates that backlight file so its now able to go down to 1, 2, 5, or whatever you want. It makes it now stock, so you are no longer capped at 10 (actually I think 15 is the cap I see). But that mod is just removing this cap and making it lower to whatever you want. Stock.
So no extra app is needed. No additional tweak. It now makes the stock brightness able to go down to 1 by itself whenever it needs.

Display Brightness between ROM's

Hi Guys,
Not sure if this is covered anywhere or if it's even an issue or maybe Percieved issue.
Between Flashing Cooked ROM's and Stock ROM's etc it always seems that the display while using stock ROM's doesn't seem as bright / vibrant - it always seems a bit duller at max Brightness, the Whites dont 'Pop' off the screen as much.
Is there any truth to this or is it just me? If it is the case what are the Chef's doing to make this so and can i do it to a Stock ROM?
Cheers
Paul
it can depend on 2 things
- kernel used -> some kernels disable or can disable "adaptive brightness" and modify color values
- the value set for auto-brightness in framework-res.apk. Most devs keep the standard values from google, I usually find them "too boring and dark" so i modify them.
So not your perception - you are quite correct
Thyrus said:
it can depend on 2 things
- kernel used -> some kernels disable or can disable "adaptive brightness" and modify color values
- the value set for auto-brightness in framework-res.apk. Most devs keep the standard values from google, I usually find them "too boring and dark" so i modify them.
So not your perception - you are quite correct
Click to expand...
Click to collapse
Ah thanks for the response. Though if i understand correctly this just affects the 'level' at which the brightness will be set at certain detected light levels on the Auto Brightness settings?
What i mean is that if i just go in and turn off Auto Brightness and slide it up to the Max - the Cooked ROM's always seem more vibrant and brighter.
Also is there anything that i'd be able to do to a Stock (rooted) ROM to get this extra Brightness?
Cheers
Paul
Thyrus said:
it can depend on 2 things
- kernel used -> some kernels disable or can disable "adaptive brightness" and modify color values
- the value set for auto-brightness in framework-res.apk. Most devs keep the standard values from google, I usually find them "too boring and dark" so i modify them.
So not your perception - you are quite correct
Click to expand...
Click to collapse
More details on this please?
Edit: nevermind, found it.
Mind Sharing Your findings MS? Or could someone else please help?
Cheers
Paul
Here's something about content adaptive brightness:
http://forum.xda-developers.com/showthread.php?p=28126141
You can turn it off with Franco's kernel app or with Supercurio's Voodoo display app, available in his thread here on xda.
paulrgod said:
Mind Sharing Your findings MS? Or could someone else please help?
Click to expand...
Click to collapse
Here it is. I had no chance yet to try it, but i believe it should work.
Thanks guys - went for Francos Kernel and can now adjust the levels with the tool

Capacitive button brightness?

Is there a way to customize the capacitive button’s brightness?(maybe by editing XML or all file?) I found an app in play store that can set brightness to maximum but there's still some minor bug. Plus I'd prefer to modify the system file on my own than having an app running background the whole time.
Any help would be appreciated.
BrianKuo1853 said:
Is there a way to customize the capacitive button’s brightness?(maybe by editing XML or all file?) I found an app in play store that can set brightness to maximum but there's still some minor bug. Plus I'd prefer to modify the system file on my own than having an app running background the whole time.
Any help would be appreciated.
Click to expand...
Click to collapse
the brightness is controlled by the light sensor..the darker it is the lower the brighter the higher the brightness of the capactive buttonbrightness.
back on the m7 there was a seperate array in framework-res.apk that you could easily configure.
Now it's working a bit different. only way to modify is add some custom code in AutomaticBrightnessController (services.jar).
..or flash our rom, we have it configurable:
j to the 4n said:
the brightness is controlled by the light sensor..the darker it is the lower the brighter the higher the brightness of the capactive buttonbrightness.
back on the m7 there was a seperate array in framework-res.apk that you could easily configure.
Now it's working a bit different. only way to modify is add some custom code in AutomaticBrightnessController (services.jar).
..or flash our rom, we have it configurable:
Click to expand...
Click to collapse
ayyy
I worked around a little bit, found the file at /sys/class/led/button-backlight
Hope this helps anyway.
BrianKuo1853 said:
ayyy
I worked around a little bit, found the file at /sys/class/led/button-backlight
Hope this helps anyway.
Click to expand...
Click to collapse
Could have tell you that...but as said once the lightsensor value changes the file will change.
you could change it to your desired value..then chmod it to read only...but I doubt you will find a satisfying value that fits in the dark and bright

Categories

Resources