Hi guys, i was just wondering,
i want to adjust the brightness level in my Gnex according to my taste, which is set the minimum at 25% and then up to 100%. Ultra low brightness as found in stock and custom roms makes the screen look horrible, at 25% its 1000x better.
Now the tricky part is that i want to leave it at auto, simplyfying it i would like to have the brightness set at auto but the min and max values at 25-100%
How can i do this?
thanx in advance
I've come up with some great (I think so..) brightness settings for the Razr M. I worked on this to make sure of battery savings while remaining comfortably readable under any light conditions. So here they are if you are interested in having a go:
0 lux - 4% screen brightness
2 lux - 4%
3 lux - 6%
7 lux - 8%
22 lux - 10%
63 lux - 14%
180 lux - 22%
511 lux - 31%
1447 lux - 43%
4095 lux - 57%
11585 lux - 74%
32768 to infinity - 95%
You have to edit them in manually through CM settings, attached is the smooth graph of the outcome (from CM itself):
One thing that has annoyed me on any phone I've had is the auto brightness settings, so I did a bit a research into how the human eye perceives light increase, and its based roughly on log(lux), increasing screen brightness by ^2.5 each step. Result is that I wrote an excel sheet (also attached) with some cool maths where you can adjust some variables to tailor an auto-brightness curve to your taste.
I made a few assumptions specific to the Razr M for the above settings:
- It has a minimum light reading of 2 lux even in the darkest of darks (my defy did the same thing - might be a motorola thing)
- The lux reading is approximately accurate (my galaxy note 8 and Razr M give VERY similar readings under the same light sources)
- I topped the lux reading out at 32k (it does read up to 65k) because its around the starting value of direct sunlight, and it also happens to be a nice round number
Just thought I'd share because I think I nailed the auto brightness settings on this device.
Cheers
How did you get that many step points? I only see 0, 15, 100, 3000 and 8000-infinity.
I am running CM11.2 (4.4.3).
---------- Post added at 10:26 AM ---------- Previous post was at 10:14 AM ----------
Nevermind. Found it by long pressing a segment and choosing "split". Not real intuitive but it works.
Yeah you have to add in a few extra points with my setup. You could probably skip say every second point and it would work almost as well. But the built in brightness points ramped up to quickly for my liking - far brighter then necessary.
Where exactly do you go to in CM to modify these settings? I can't find them...
Display&Lights -- Brightness -- click on the settings icon next to the slider
I didn't mention in the first post, but the excel sheet is very customisable...
If you want to lower brightness there are several ways:
1. lower the maximum brightness
2. Increase the curve value (this affects the middle range of the curve mostly)
3. Increase the maximum lux value
Or if you want to increase brightness, just do the opposite of the points above. You know you have good settings when it looks the same always (ie doesn't suddently appear dim or bright). I think my default value are pretty close. I spent some time fine tuning, but like anything, there is always room for improvement
I also did this calculator so I didn't have to run another app in the background to control auto brightness.. save on a few MB of ram anyway.
Rufus said:
I didn't mention in the first post, but the excel sheet is very customisable...
If you want to lower brightness there are several ways:
1. lower the maximum brightness
2. Increase the curve value (this affects the middle range of the curve mostly)
3. Increase the maximum lux value
Or if you want to increase brightness, just do the opposite of the points above. You know you have good settings when it looks the same always (ie doesn't suddently appear dim or bright). I think my default value are pretty close. I spent some time fine tuning, but like anything, there is always room for improvement
I also did this calculator so I didn't have to run another app in the background to control auto brightness.. save on a few MB of ram anyway.
Click to expand...
Click to collapse
hello can u tell me more about the curve value? which range can be set? and whats the behave on mobile?
MY issue with the stock Rom, which has been bugging me for a while is that when I reduce the brightness to the minimum, the Contrast changes, or something of the sorts, this really annoys me and I would like to disable it. Can someone help me out? I really don't want to flash a custom ROM.
I think that's normal because of AMOLED display, I also noticed it on CM14.1
This is simply the way this particular screen works, can't be fixed with software.
You can only avoid it by not reducing brightness as much. According to "Lux" the color shift starts under 4% brightness.
Sent from my OnePlus 3 using Tapatalk
But why does the min brightness in mxplayer not have this issue?
Zeryth said:
But why does the min brightness in mxplayer not have this issue?
Click to expand...
Click to collapse
Because mx player doesn't set the brightness as low as you can set it manually using the brightness slider.
Select menu - display - settings - screen - untick "brightness". Now you can set your brightness manually to even lower using the brightness slider.
Other apps seem to work similarly (for example an third party brightness widget)... Not setting it to minimum... Like they don't recognize the "real" minimum brightness - which is lower. I don't have this "issue" on my tablet. Haven't looked much into it though.
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.
I'm talking about the maximum brightness the P6P is able to achieve when it's out in bright sunlight with the display "adaptive brightness" enabled.
I'd love to have that as my max brightness ALL THE TIME. (Okay, I don't).... But I'd love to have that option on demand rather than depending on the bright sunlight. Just give it to me. Plus, adaptive brightness is sooooo finicky + hate it.
If you flash a kernel and install EX Kernel Manager you'll be able to turn on High Brightness mode.
In addition to what ajsmg78 said, you can also install High Brightness Mode app and use that to turn it on (there is a QS tile for easy access). Works on stock kernel (rooted). It will go slightly above the 100% brightness level.