Related
This is a two part question. What screen brightness do you usually leave your phone at? I leave mine on what seems to be 0 (see next paragraph for explanation) and my screen still always uses around 60-70% of my battery. I don't understand how it can use that much without the backlight on.
Next question - When adjusting the screen brightness and the slider is all the way to the left is that 0? I'm asking because every widget out there when set to 0 is a a few times brighter than when I manually move the slider all the way to the left. Also, after using a widget to toggle to 0 and I check in the display settings, the slider isn't all the way to the left.
So I'm wondering what is true 0? What the widgets set it to or with the slider all the way to the left? Could the slider being all the way to the left actually be hurting my battery life?
No zero on the slider is technically not zero. You can confirm this checking your brightness sysfs file. You have to decompile framework and adjust some numbers. We can take it down to true zero or slightly above which would be much dimmer.
I did this for the atrix. Im surprised it hasnt been done yet for the nexus.
I know it is not actually 0 because if it was I wouldn't be able to see anything on the screen.
Is there anyone that has insight on my questions though?
I dont understand your question. Zero is not true zero unless we mod the framework. So your backlight is not "off". I dont know why youre getting so much drain.
But we should mod this anyway. Use root explorer and go to sys/devices/omapdss/display0/a6e8aa0 and open the brightnesd file. Note that value with your slider at zero and you will see a reading of 30 (0-255). So we can lower that down to maybe 5-10 and zero on the slider will be much dimmer = battery saving.
I have a similar problem. The max brightness is piercing and the min brightness is just a tiny bit too dim.
I have tried used root explorer to change the maximum brightness from 255 to 100 hoping that the slider may be more granular after. For some reason however I cannot update the max brightness file. I have ensured that it is r/w mounted and tried changing the permissions too. It says that the changes have been made and the original backed up. When I reopen the file it hasn't changed.
BTW, my 'brightness' file is at 10 when placed at the minimum brightness.
Try the newest AOKP.
Brightness controls.
I actually have NEVER used auto brightness...even back in my OG days.
And my X days.
Even when custom auto-brightness options were around I ignored them.
I'd simply keep it at around %20 of the default lowest value.
BUT...this is slightly annoying when you step into the sun and can't see anything.
With the newest AOKP you can even set the amount of brightness changes.
I set up four values.
I've mine set up for a pitch black room to lowest.
Average room to my previous 20%ish.
Bright (sunny) to 100/255
SUPER sunny to 240/255.
I didn't notice any added drain today.
But this was my first test.
I think this feature was actually kanged from CM9, but I'm not certain.
So far I have resisted the temptation to get flash happy and I am on stock 4.0.2 but rooted. Do I have any options without changing ROM?
aidanbree said:
I have a similar problem. The max brightness is piercing and the min brightness is just a tiny bit too dim.
I have tried used root explorer to change the maximum brightness from 255 to 100 hoping that the slider may be more granular after. For some reason however I cannot update the max brightness file. I have ensured that it is r/w mounted and tried changing the permissions too. It says that the changes have been made and the original backed up. When I reopen the file it hasn't changed.
BTW, my 'brightness' file is at 10 when placed at the minimum brightness.
Click to expand...
Click to collapse
We cant change that brightness file with root explorer, even mounted, unless we mod the driver first. It will likely just revert right back to its previous value.
However it is possible i bet to edit the driver. Would be a cool project. You could also try to echo your desired value in terminal. ie echo 255 > brightness. But you prob will get the same result as using root explorer.
Maybe ill look at the driver with my limited skills heh. Or the alternative is to mod the framework which is def possible to fix this, and easier. We did exactly this on the atrix. And the sgs2 had it done too.
Edit: i think i found the code for your granular request. Check lines 30 or so.
https://github.com/ogdobber/android...0/include/linux/platform_data/panel-s6e8aa0.h
Still would be easier to do in framework instead.
I know this is possible in CM9's display settings, but I'm currently running AOKP. Is there any other way to lower the minimum screen brightness?
I've given Tasker root permissions, approved it as a device administrator, and approved it as an accessibility service. Still, when I use a task to lower the brightness to very low levels, the brightness will only hold for a fraction of a second before it ramps up to the factory minimum.
So is there some system component I can modify to allow lower brightness, or is this only available as a ROM control like in CM9?
byrong said:
So is there some system component I can modify to allow lower brightness, or is this only available as a ROM control like in CM9?
Click to expand...
Click to collapse
FWIW the lowest possible brightness setting can't be altered via the CM9 settings, only the auto brightness levels, both sensor input levels ("bins") and the brightness level associated with that input/bin. The minimum value of 19 for the lowest slot can't be lowered further. There are other display parameters (related to brightness) that can also be altered in the CM9 settings, but it won't accept a value less than 19.
Edit: I see from a link in your sig that you're familiar with the custom levels
Yes we can do it in the frameworks to go lower than 19. I did it on other phones. I'm not sure why it hasnt been done yet for nexus, and ive been too lazy myself.
But we can even take it down to zero or 4-5 etc so its much dimmer at night. Its on my to do list.
Also i posted some kernel code in a similar thread where this question was already asked. But mod the framework is much quicker.
RogerPodacter said:
Yes we can do it in the frameworks to go lower than 19. I did it on other phones. I'm not sure why it hasnt been done yet for nexus, and ive been too lazy myself.
But we can even take it down to zero or 4-5 etc so its much dimmer at night. Its on my to do list.
Also i posted some kernel code in a similar thread where this question was already asked. But mod the framework is much quicker.
Click to expand...
Click to collapse
I should have clarified more clearly that my post above was regarding doing it via the CM settings.
I'll mod mine...at some point...but like you, too lazy for something that won't blow me away.
You want this app, works great https://play.google.com/store/apps/...yZy5wcm9qZWN0dm9vZG9vLmRpc3BsYXlmaWx0ZXIiXQ..
Sent from my Galaxy Nexus GSM using Tapatalk expect possible typos
I'm an idiot; I just found it in AOKP. It's in the custom backlight settings.
My experience does not mirror you guys. When I decrease the "screen dim level" in the custom brightness settings, it applies globally. I just did it in AOKP the same way I used to in CM9 and now with Tasker I've taken the screen all the way down to 1
Is there any way to decrease the minimum brightness on stock?
aidanbree said:
Is there any way to decrease the minimum brightness on stock?
Click to expand...
Click to collapse
Yes with above linked app. I confirm it works on stock
Sent from my Galaxy Nexus using Tapatalk
I've used a similar app called Screen Filter. My only problem with these types of apps is that I find the black/gray filter they use greatly decreases contrast at low brightness levels (more so than a "true" brightness level at an equivalent setting). Still, if you are running a setup in which they are your only option, they certainly beat having nothing.
The problem with using a screen filter is that it limits the maximum brightness when in sunlight.
I only want to affect the minimum as it is too bright.
Has anyone been able to do this on a stock rom? I too think that the minimum brightness is too high, but I don't want to use the above linked program because it also affects the maximum brightness too. I would like to be able to set custom light levels as per cm9/cm10 and pretty much any custom ROM right now, albeit with my stock ROM. Any flashable zips out there?
Cheers,
Dan
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
Note 8.0 N5110 (WiFi), CyanogenMod 13. I've never used the stock firmware.
There is no gradual change of the screen brightnees on my device from 0 - 12%, the brightness remains the same when i move the slider until 12%.
Then after moving the slider to about 13% the brightness "jumps" to that value at once.
This is the same when using the system brightness slider (that does not show the percentage) and the apps: Display Brightness & ScreenDim (both with a percentage slider).
Does anybody else have a similar issue under CM13 (or CM12/11, or the stock firmware)?
How could i solve this?
nicky-xda said:
Note 8.0 WiFi, CyanogenMod 13. I've never used the stock firmware. There is no gradual change of the screen brightnees on my device from 0 - 12%, the brightness remains the same when i move the slider until 12%. Then after moving the slider to about 13% the brightness "jumps" to that value at once. This is the same when using the system brightness slider (that does not show the percentage) and the apps: Display Brightness & ScreenDim (both with a percentage slider). Does anybody else have a similar issue under CM13 (or CM12/11, or the stock fiemware)? How could i solve this?
Click to expand...
Click to collapse
when you say "note 8.0 wifi" do you mean n5110? It's probably not something that can be fixed by a user.
Yes, N5110.
Sure, i can imagine that it'd be not easy to fix by a user. But i'm still very much interested to at least know...
- if it's a hardware "feature" of my device/display only, independant of the installed ROM or
- a generall bug of CM13 on the note 8 or a bug of CM13 on my device only or
- a quite different thing that could cause that?
That's why my question again: does anybody of you guys here experience a similar issue under any ROM having no change of the display brightness when moving the slider between 0 - 12%?
nicky-xda said:
Yes, N5110.
Sure, i can imagine that it'd be not easy to fix by a user. But i'm still very much interested to at least know...
- if it's a hardware "feature" of my device/display only, independant of the installed ROM or
- a generall bug of CM13 on the note 8 or a bug of CM13 on my device only or
- a quite different thing that could cause that?
That's why my question again: does anybody of you guys here experience a similar issue under any ROM having no change of the display brightness when moving the slider between 0 - 12%?
Click to expand...
Click to collapse
Using latest RR 5.7.4 my n5110 acts as yours, nothing happens until around 12%. I don't really think it's a problem, just the zero value on the slider is incorrectly set.
I made a build of RR tonight with a tentative change to hopefully fix this, but it made no change.
This change from S4 gives a clue that it's panel doesn't go below a certain value http://review.cyanogenmod.org/#/c/158859/ so I tried adding this.
I've always found the brightness slider to be weird on note 8 (compared to my S4)., but my problem was more the non-linearity of the slider. I only have experience of stock (4.2/4.4) and CM13 myself, so would be interested in how LL based roms sliders function.
Thanks a lot, i'm "glad" to know this is not only my device with this weird acting
...just the zero value on the slider is incorrectly set...
Click to expand...
Click to collapse
Sure, probably something of that kind.
But what's strange is the following: the above mentioned (btw: excellent) App "Display Brightness 5.1" is able to "dim" the brightness below the value of "0" setting a color layer over the screen.
This app begins to put its "below-0-layer" exactly at the value of 0 on its percentage slider and not at 12%. So it seems that this app actually takes the system-brightness of 0% as the "real" 0 and not the value of 12%. And the app is not able to change the brightness between 0 - 12% either.
Do you have problems with auto brightness in MIUI roms? Your screen brightness gets extremely dark in low light conditions, or the brightness spikes just with a few increase of light?
For low brightness problem, actually you can adjust the minimum autobrightness in slider bar, but sometimes it will reset back to default minimum brightness. For example if you turn off auto brightness in game, when you turn it on again, it won't resume your settings. As a result the screen will get darker than your adjustment.
I created magisk module to fix that. This will increase the minimum brightness in low light, and also reduce the over brightness in medium and high ambient light. The result will be smoother auto brightness step, and be more convenient for your eyes!
There are two modules, one for Miui 10 running Android Pie, and the other ones for Miui 10 running Android Oreo. Dont install wrong module, because there are much more brightness values in Android P than O.
The Oreo version may be not as good as Pie version, because i tested it in Redmi Note 5. My Mi Mix 2s currently running Miui 10 P beta 8.8.16 for Pie version testing. But it should give the same result. Oreo version works in Miui 9 too, but may results different.
So what this module do? It adds framework-res to the /system/media/theme/default. With a magisk module you can do it systemlessly! To install it, just download the module then browse it in Magisk Manager.
If you dont like my setting values, just unzip my module, find framework-res file, unzip it, then edit the theme_values.xml to any values you want under "config_autoBrightnessLcdBacklightValues", then zip all back.
Download links in attachment.
Guide:
V1 for lowest brightness (best battery)
V2 for a bit brighter in low light
V3 for brighter brightness (best for full edge cover tempered glass user)
V4 for more responsive and smoother auto brightness. Values are about similar to v3.
To check if this module works;
Tap the Kernel Version in About Phone 5 times, then you will enter CIT. Go to Light Sensor. Cover your phone light sensor on upper bezel (lower for Mi Mix 2s) with your palm till the light sensor value reach 0. If the backlight is not going under 100/130 (pie) or 7 (oreo), then this module works! My module limits the minimal auto brightness, which the original can reach to 20 which is ridiculously very dark.
This module may work on any MIUI-based rom phones with IPS display, not just Mi Mix 2s.
I also created this module for Mi 9 (amoled display). Visit my thread HERE
Notes:
- Only V4 has responsitivity adjustment. More responsive means it needs less light increments to trigger auto brightness adjustment.
- Editing the values can cause a mess. Add .disable_magisk file in cache partition if your phone cant boot then uninstall the module in manager.
Thanks have flashed this and will see how it goes over a day/night. Initially it's good though.
I find the auto bright annoying sometimes especially given how easy it is to cover the bottom chin sensors on this phone.
M.
mattman83 said:
Thanks have flashed this and will see how it goes over a day/night. Initially it's good though.
I find the auto bright annoying sometimes especially given how easy it is to cover the bottom chin sensors on this phone.
M.
Click to expand...
Click to collapse
Thanks for trying. I hope you get better auto brightness experience after a day..
Yeah the worst part is the light sensor in mix 2s located in bottom left where you could get the screen unseenable while using two/left hands. If its in center, it would be better.
My other mi phone with forehead light sensor often gets annoyingly too dark. I never satisfied with miui default auto brightness and always use this mod since miui 7. Fortunately, this method still works with some adjustment in value.
Ok so it's been a couple of days and this has helped a lot imo at least for indoors (haven't really had any major outdoors time...).
Still gets dark enough when it's really dark, but certainly for normal indoor conditions the default settings you have are much better. Xiaomi settings often got too dark, and you can adjust the slider, but then the slider goes back after while anyway :-\
M.
Just reporting back after a while with this and more miui updates, seems the later beta builds have changed something in the brightness in that I don't know if this mod works any more, or if it needs tweaking to provide the same brightness levels it used to.
I had a really quick play with values as suggested in the op but it's well outside my field of expertise and couldnt get it to do much different
M.
@arddy1
... where to find the default values ?
I'm on Poco F1 and want to compare to the default values and adjust theme_values.xml
mattman83 said:
Just reporting back after a while with this and more miui updates, seems the later beta builds have changed something in the brightness in that I don't know if this mod works any more, or if it needs tweaking to provide the same brightness levels it used to.
I had a really quick play with values as suggested in the op but it's well outside my field of expertise and couldnt get it to do much different
M.
Click to expand...
Click to collapse
Sorry for late reply. This mod still works in miui 8.10.11 global. Here are the screenshots of screen light value in lowest brightness. The lower one is the original. Mine still brighter in lowest light.
der_Kief said:
@arddy1
... where to find the default values ?
I'm on Poco F1 and want to compare to the default values and adjust theme_values.xml
Click to expand...
Click to collapse
Here's the screenshot from framework_res in rom 8.10.11 global
So it only works on miui
Yes since it's a miui issue. Stock android roms don't reset brightness like miui.
Stock roms just set the brightness bar where you want, some will have the ability adjust the total curve even. Miui if you raise brightness it will change itself back after 5 mins or so, so it's needed to change the system default values
M.
mattman83 said:
Yes since it's a miui issue. Stock android roms don't reset brightness like miui.
Stock roms just set the brightness bar where you want, some will have the ability adjust the total curve even. Miui if you raise brightness it will change itself back after 5 mins or so, so it's needed to change the system default values
M.
Click to expand...
Click to collapse
To me it happens on the treble roms. Exactly as in miui.. might be a vendor thing idk
Can I use this on Vince running Resurrection Remix 6.2.1 Android Oreo? I am having auto brightness issue in custom ROMs too.
Shubhambora said:
Can I use this on Vince running Resurrection Remix 6.2.1 Android Oreo? I am having auto brightness issue in custom ROMs too.
Click to expand...
Click to collapse
No, its for miui only. Even using it on miui other than i specified in first post may not work
Can you check with the latest miui 8.11.15?
I'm currently using this but sometimes the brightness still jumps from dim to bright
Thanks for this fix!
Can you make flashable zip version via TWRP recovery? I don't use Magisk and I don't want to be rooted
Sent from my MIX 2S using Tapatalk
Max auto brightness level can be increased from current value?
From 4095 to 4500
It would better in sunlight
Sent from my MIX 2S using Tapatalk
hi any chance to have it without root?
graw2 said:
Max auto brightness level can be increased from current value?
From 4095 to 4500
It would better in sunlight
Sent from my MIX 2S using Tapatalk
Click to expand...
Click to collapse
No. 4095 is the max value.
H0unter said:
hi any chance to have it without root?
Click to expand...
Click to collapse
Yes you can. As long as you unlock bootloader and place the framework-res file in system path i mentioned in first post with twrp
I tried your auto brightness fix. And surprisingly it seems to work on the Mi Max 3 with xiaomi.eu 8.12.6v2 as well.
palmdude said:
I tried your auto brightness fix. And surprisingly it seems to work on the Mi Max 3 with xiaomi.eu 8.12.6v2 as well.
Click to expand...
Click to collapse
Agreed, on 8.12.13 xiaomi.eu (pie) Mi Max 3 it works very well. Thank you for your efforts OP.