Reduce minimum brightness - Xperia Z1 Q&A, Help & Troubleshooting

Hello, some one please guide me so i can reduce the min brightness in lollipop, even the lowest is too bright and hurts my eyes at night,
I want to change settings in the rom and dont want to use apps

Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=2893061 is for KK but I think is almost the same for LP

DorianX said:
Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=2893061 is for KK but I think is almost the same for LP
Click to expand...
Click to collapse
Thabks, i tried it already and searched all what i could get from google, still nothing works and most mods need custum kernel or patching service jar which is a bit of a head ache of steps
If i could mod build prop or a sys file
My other phones where already dim at low or i could mod their brightness throu build prop or lcd min value but none is possible on this phone

Gamer4Life said:
Hello, some one please guide me so i can reduce the min brightness in lollipop, even the lowest is too bright and hurts my eyes at night,
I want to change settings in the rom and dont want to use apps
Click to expand...
Click to collapse
#!/system/bin/sh
#night mode
echo 1 > /sys/class/leds/wled:backlight/max_current
Can be used as script or via terminal emulator
If you need more brightness change value after echo
My value>
1 for lowest
3 for normal
25 for max

Yenkazu said:
#!/system/bin/sh
#night mode
echo 1 > /sys/class/leds/wled:backlight/max_current
Can be used as script or via terminal emulator
If you need more brightness change value after echo
My value>
1 for lowest
3 for normal
25 for max
Click to expand...
Click to collapse
Explain little more please?

Okay, fir now i lowered the max current, now the display is really nice and dim how just how i like it
But max brightness is very low now, only if i could only changr thr min value

You can use apktool to decompile framework-res.apk and change the lcd backlight related numbers in /res/values/ files. The lowest setting that I can still see my screen was 2. The lowest manual setting changes but the adaptive brightness doesn't go to the new minimum. But sometimes the framework-res.apk doesn't rebuild properly and you need to restore with recovery and ADB.

Gamer4Life said:
Okay, fir now i lowered the max current, now the display is really nice and dim how just how i like it
But max brightness is very low now, only if i could only changr thr min value
Click to expand...
Click to collapse
Just change value to 25
But you need change this value every time each reboot.
Not a permanent, but a handy solution :3
For me, I made 3 script as widget (in small app), so I can change brightness value as I like.

Yenkazu said:
Just change value to 25
But you need change this value every time each reboot.
Not a permanent, but a handy solution :3
For me, I made 3 script as widget (in small app), so I can change brightness value as I like.
Click to expand...
Click to collapse
I will be grateful if you share with us how to make these shortcuts in small app menu.
Also which setting do you use for night?
For me i tried 3 and i like it. My eyes are very sensitive to light and will make them dry and bit sore

Related

min brightness in build.prop

hi there.
l have noticed a min brightness parameter in the build.prop file which is set to 15. will Changing it to 0 make the screen go black at min level?
rooted 404
There are many such apps like screen filter to do so
these apps seem to interfere in lot of other phone operations. cuz I have read a lot about screen filter issues... wat does this parameter in build prop do
rajsekhar.300 said:
There are many such apps like screen filter to do so
Click to expand...
Click to collapse
Its better to use build.prop if it works, why use an app to change it, it will run in background and drain battery
@OP, it may be dangerous to change it to "0" as if it turns to min brightness you may not be able to change it again due to invisibility.
try it when you have to flash another rom.
nokiamodeln91 said:
hi there.
l have noticed a min brightness parameter in the build.prop file which is set to 15. will Changing it to 0 make the screen go black at min level?
rooted 404
Click to expand...
Click to collapse
Of Course YES....If you would set the brightness to lower level in settings>display>brightness.
sahilarora2003 said:
Of Course YES....If you would set the brightness to lower level in settings>display>brightness.
Click to expand...
Click to collapse
I have tried it..
changed the default from 15 to 0..
earlier i was on min brightness..( slider full left) > screen not black
after changing the build.prop value .> i checked settings in display and the slider can be moved further to the left but does not have any effect on the screen... the brightness on screen stays the same...

[MOD] Lower auto brightness v2.1

Lower auto brightness
After being disappointed by many apps, I did some research and found a nice guide to change each value of the native auto brightness.
As it took me some time to install what's needed, to manage to make the change and to find new values, I decided to share it for the laziest of you
This mod will changes the values on arrays.xml from
Code:
83
83
83
83
116
142
170
198
227
255
to
Code:
20
25
25
30
43
60
80
120
165
205
for the respective light sensor values
Code:
11
41
91
161
226
321
641
1281
2601
As you can see, I put some really lower values to make the greatest improvement in battery life.
If you are a little geek inside, I still recommend you to personalize the values yourself following chiragkrishna's guide.
Installation :
It only work for Project X v4.1 or Sabsa Prime v8.0 or v8.5
Download the zip for your rom and flash it via recovery
Download :
You can find the current version, older versions and changelog at
http://www.mediafire.com/?7aag2a70uuak6
Future improvements :
Different values to make it the most battery friendly without the screen being too dark ( your feedback will be helpful to adjust these new values )
I can make it for other roms if someone wants it.
Thank's
chiragkrishna for the original guide
alirez_sos and nikhil007mmus for their awesome roms
Lux Auto Brightness for making easier to find the brightness values.
As English is not my first language, there are probably many mistakes in my post. Please feel free to report them ( pm would be better ).
isn't there some way to adjust these values on the fly? as in from the phone itself?
You can do that with an app. I don't think it's possible to edit from the phone because the framework-res.apk has to be decoded and extracted in order to edit the values. I've never heard of a tool that can do that from the phone.
Sent from my HTC Incredible S using xda app-developers app
why app also? Android is linux-based, i should be able to edit some values in a file, restart some service and it should apply
But you have to decompile the apk, pretty sure you can't do it on the device
You can change the auto brightness values on the fly with viper vivo #justsayin
Sent from ViperVIVO
Switch between different framework-res which has each different values will surely be possible but again, each one will have to be prepared from a computer. Or if there is a way to decompile an apk from your phone, it will probably be too complicated to make that when you need it.
Seems like there's nothing you can't do with venom viper
Sent from my HTC Incredible S using xda app-developers app
farhadtarapore said:
isn't there some way to adjust these values on the fly? as in from the phone itself?
Click to expand...
Click to collapse
Changing these values on the fly is possible. ROM like AOKP has this feature built in its settings where you can define values on your own. But with Sense ROM, one needs to modify smali codes which is much complicated. But ROM like Virtuous Infinity has done it and you can select from a list of preset values from its Tweaks.
question
can we use it on sabsa prime 6.5 ???
danialnab said:
can we use it on sabsa prime 6.5 ???
Click to expand...
Click to collapse
Probably not, the apks used are likely to be different. But you could always try
danialnab said:
can we use it on sabsa prime 6.5 ???
Click to expand...
Click to collapse
A brief report: This thing works, better than i thought.
And Danialnab, this patch will not work on any other roms. it totally replace the framework apk witch was modified from the project X 4.1.
New version
v2.0 out!
Still only for ProjectX 4.1.
From last version : increased values for high light and decreased values for low light.
You can now find all versions on this mediafire folder : http://www.mediafire.com/?7aag2a70uuak6
v2.0 is very suitable for everyday indoor use. For outdoor (high light), it is little too dark.
I really like your mod, it saves a lot of battery usage when turn on the auto brightness.
botonic said:
v2.0 is very suitable for everyday indoor use. For outdoor (high light), it is little too dark.
I really like your mod, it saves a lot of battery usage when turn on the auto brightness.
Click to expand...
Click to collapse
It's most of the time fine outdoor as long as you have high contrast like black text on white background but I also find it too dark to watch pictures or things like that. For this purpose I keep an auto-brightness switch in quick settings so I can rapidly put a higher brightness when needed.
I can update the projectx version tonight to 2.1 which has a brighter brightest value
Sent from my vivo using xda app-developers app
pec0ra said:
It's most of the time fine outdoor as long as you have high contrast like black text on white background but I also find it too dark to watch pictures or things like that. For this purpose I keep an auto-brightness switch in quick settings so I can rapidly put a higher brightness when needed.
I can update the projectx version tonight to 2.1 which has a brighter brightest value
Sent from my vivo using xda app-developers app
Click to expand...
Click to collapse
That's a good idea. Thanks a lot for your great mod and suggestion. :good:
This tool is very good. I haven't tested on a bright sunny day, but so far it works well to adapt to most indoor/cloudy situations.
Sent from my HTC Incredible S using xda app-developers app
is there a way to uninstall this.
jonahmt21 said:
is there a way to uninstall this.
Click to expand...
Click to collapse
Yes, you just need to flash the "restore_default_values" zip for the version of your rom. You can find it in the same folder as the install zip
Thanks pec0ra for posting this thread and the link to the guide in the OP and thanks to chiragkrishna for the great guide.
I hope it's ok but I been using one of your zip files as the base for making my own auto-brightness mod, it works well and I'm still tweaking the final values I want.
I have changed array to the value below. I think it is best setting for all outdoor and indoor usage to me. Thank you very much pec0ra for your good mod.
Code:
20
20
25
33
43
60
100
165
200
228
I'm finally getting the brightness levels close to what I want.
I've ended up adjusting the sensor auto brightness levels as well as the LCD backlight values.
I noticed that there is 9 sensor levels but 10 backlight values, is there any reason why there is an extra value under the LCD backlight levels?

[Q] Lowering Brightness

So I have a rooted ATT atrix.
The screen brightness is awesome for some things but way too bright for others.
My question: Is there some way to lower the brightness settings even further than the lowest stock brightness?
I know that on certain custom roms you can go into the sys files using ES Explorer and change values there, but I'm not an expert in any sense,
I would like to keep the automatic brightness adjustment intact, just lower the range of brightness
If I navigate to /sys/class/backlight/lcd-backlight/ then I can edit the file "brightness" to value of 1 which lowers the brightness significantly. The default minimum value seems to be 21.
When I do edit this value, then allow the screen to auto adjust brightness, the value goes back to 21.
I don't know where to set the range for the auto brightness.
I think lowering the range will save my eyes at night and also potentially save some serious battery
https://play.google.com/store/apps/details?id=com.nnevod.loggraph&hl=en
I guess using this app will get what I want done. it'll just take some personal calibration
amccue said:
https://play.google.com/store/apps/details?id=com.nnevod.loggraph&hl=en
I guess using this app will get what I want done. it'll just take some personal calibration
Click to expand...
Click to collapse
That is the app I use. Works well.
At night i use screen filter... its great and a lot simpler! U can find it on the play store
https://play.google.com/store/apps/details?id=com.haxor
Sent from my MB886 using xda app-developers app

[Root Required]Min Brightness Enabler

The nexus 6 gets pretty dim, but you can make it dimmer than the slider allows.
Attached is an APK which will do it when opened. All it does is run the following command:
Code:
echo 1 > /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.164/leds/lcd-backlight/brightness
I'm unsure how to get it to persist through turning the screen off and back on (it goes back to the default min brightness if you do this).
Full Source is available here:
https://github.com/chrisj951/MinBrightness
ChrisJ951 said:
The nexus 6 gets pretty dim, but you can make it dimmer than the slider allows.
Attached is an APK which will do it when opened. All it does is run the following command:
Code:
echo 1 > /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.164/leds/lcd-backlight/brightness
I'm unsure how to get it to persist through turning the screen off and back on (it goes back to the default min brightness if you do this).
Full Source is available here:
https://github.com/chrisj951/MinBrightness
Click to expand...
Click to collapse
That's awesome, thanks. Is there any was to make the maximum brightness higher?
SeanPlunk said:
That's awesome, thanks. Is there any was to make the maximum brightness higher?
Click to expand...
Click to collapse
Still been trying to figure that out. It seems as that making it brighter may require building the OS or kernel from source to do.
You can also download Screen Filter ( no root required).... I use this at night when I'm in my car and don't want that bright glow on my face
irock1985 said:
You can also download Screen Filter ( no root required).... I use this at night when I'm in my car and don't want that bright glow on my face
Click to expand...
Click to collapse
Great app. Thanks for the tip.

Any way to reduce minimum brightness?

Little background: somewhere in kernel code or some other core module of the operation system manufacturers or ROM creators set minimum brightness value for the device. This value was in some of my other devices called min_brightness. I remember faintly that I was able to set the value by running some script in Init.d. Unfortunately I did it several years ago for my other device and cannot remember the details.
The minimum brightness in Colt OS is 31 and seems to be similar other roms, which I tried.
Another option to set the value is Xposed module called Minimum Brightness. Unfortunately it has zero effect on my device. forum.xda-developers.com/xposed/modules/mod-minimum-brightness-t2993161/amp/
Another option is to use app called Brightness Tweak, which does its job somewhat but the result is not exactly desirable. The problem is that it makes the brightness curve not smooth and setting semi-bright values is impossible. It is however able to set the value to 1. https://forum.xda-developers.com/android/apps-games/app-brightness-tweak-t3339579
By the way, I find screen filter apps in adequate because they reduce contrast and add complexity to setting the brightness. Setting minimum brightness affects swipe status bar and brightness sliders as well as auto brightness functionalities. In addition MX Player.
wwwwe said:
Little background: somewhere in kernel code or some other core module of the operation system manufacturers or ROM creators set minimum brightness value for the device. This value was in some of my other devices called min_brightness. I remember faintly that I was able to set the value by running some script in Init.d. Unfortunately I did it several years ago for my other device and cannot remember the details.
The minimum brightness in Colt OS is 31 and seems to be similar other roms, which I tried.
Another option to set the value is Xposed module called Minimum Brightness. Unfortunately it has zero effect on my device. forum.xda-developers.com/xposed/modules/mod-minimum-brightness-t2993161/amp/
Another option is to use app called Brightness Tweak, which does its job somewhat but the result is not exactly desirable. The problem is that it makes the brightness curve not smooth and setting semi-bright values is impossible. It is however able to set the value to 1. https://forum.xda-developers.com/android/apps-games/app-brightness-tweak-t3339579
By the way, I find screen filter apps in adequate because they reduce contrast and add complexity to setting the brightness. Setting minimum brightness affects swipe status bar and brightness sliders as well as auto brightness functionalities. In addition MX Player.
Click to expand...
Click to collapse
Try to use "ScreenDim" app
Thanks for the suggestion. I tried the app, but in my opinion the brightness adjustment method is very convenient. The is no slider in notification or sliding status bar. Also the min brightness is not adjusted globally so other brightness adjustment method are unaffected.
Hi, @wwwwe did you actually solve the problem?
Partha Dip said:
Hi, @wwwwe did you actually solve the problem?
Click to expand...
Click to collapse
No I did not.
wwwwe said:
No I did not.
Click to expand...
Click to collapse
Have you tried light control app?
No + the phone is broken already. It wont keep charge anymore.

Categories

Resources