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?
Related
Hello,
are there any solution on lower brightness in jp6 like voodoo 4 on 2.1?
The screen is too much bright at night!
Anybody knows this comes with one of the next releases of voodoo5?
g ehmi
Come one, am i the only one who love's this great setting in voodoo4?
Supercurio said already it's planned. Don't know when.
Till then Rayban can help
hacksome said:
Supercurio said already it's planned. Don't know when.
Till then Rayban can help
Click to expand...
Click to collapse
damn I'm just a oacley.
anyone know a other tool who makes same effect?
HOPE SUPERCURIO BRINGS IT ON FROYO!
Take a look at Exzended Controlls, with the widget for brightnes i am able to set it to 2% which is 'dark' enough for me
Sent from my GT-I9000 using XDA App
Tanis64 said:
Take a look at Exzended Controlls, with the widget for brightnes i am able to set it to 2% which is 'dark' enough for me
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Im using extended widgets too, mine goes as low as 1% but i think thats still the systems native low brightness Voodoo goes even lower...
Just slide your finger along the notification bar.
app called "brightness level"
set to 0%
Interested in this as well.
I think we are actually looking for something lower than 0%
It is probably the amoled screen vs backlit one, the way they operate. 20% on lcd is much lower than 0% on amoled.
Maybe there is some kind of overlay that can act as Rayban? Like ie when you do Titanium backup, you can see the rest of the application being much darker than the notification that pops up. Probably some overlay being used.
Maybe some of you asking yourself why, but try using it in complete darkness for awhile and you'll see what I mean.
Billus said:
Just slide your finger along the notification bar.
Click to expand...
Click to collapse
Nice one even if it set it only min to 12% nice "hidden" function
encho said:
Maybe some of you asking yourself why, but try using it in complete darkness for awhile and you'll see what I mean.
Click to expand...
Click to collapse
Thats what i mean like a torch in the night.
I had tested all brightness apps in market but no one goes lower.
Thanks for help.
Mybe a dev or supercurio can help to explain
Yes, the lowest stock level is already quite bright, too bright of course for night use in bed.
You'll also notice that the colors & contrast looks quite dull on the lowest stock brightness settings, with a color deviation in the red shadow colors.
With the revamped Voodoo color which will be released step by step during the next weeks, you'll be able to go so "dark" (if chosen) that you'll be almost not able to see it in the dark even when on
All that, preserving color accuracy and color temperature (which goes more red when you lower the brightness on stock)
yaocheng said:
app called "brightness level"
set to 0%
Click to expand...
Click to collapse
does this app go lower than "Dimmer - Night mode" ?
Dimmer shows it goes from 30 (lowest stock) to 10...
moved this is not a Dev topic
supercurio said:
Yes, the lowest stock level is already quite bright, too bright of course for night use in bed.
You'll also notice that the colors & contrast looks quite dull on the lowest stock brightness settings, with a color deviation in the red shadow colors.
With the revamped Voodoo color which will be released step by step during the next weeks, you'll be able to go so "dark" (if chosen) that you'll be almost not able to see it in the dark even when on
All that, preserving color accuracy and color temperature (which goes more red when you lower the brightness on stock)
Click to expand...
Click to collapse
Thank you i'm happy to read this!!!
supercurio said:
With the revamped Voodoo color which will be released step by step during the next weeks, you'll be able to go so "dark" (if chosen) that you'll be almost not able to see it in the dark even when on
All that, preserving color accuracy and color temperature (which goes more red when you lower the brightness on stock)
Click to expand...
Click to collapse
Can't wait, thanks for the info.
Sent from my GT-I9000 using XDA App
Go to this key: [HKEY_LOCAL_MACHINE\Software\OEM\KeyState]
Then add this value: "application_btn_vibrate3"=dword:1
to add the value, go to settings in registry editor in the described directory and choose "new value"
valuename: application_btn_vibrate3
value data: 1
value type: Dword
This will disable the vibration for the three touch keys ( back,home,search) and increase the battery life significantly.... If u want the vibration back then just change the value to 0
known long ago....
Thanks for the info!! I did not know long time ago!!! I'll have to give it a try and see if it helps me out.
it definitely does....im testing this and a few other reg tweaks and seeing how long my battery will last...ill post the results with some screenshots soon
Thanks vor this tweak. I'm glad to get ride of this anoying vibration. If this saves measurable power that would be perfect
Sent from my HD7 T9292
Im using custom Intrinsic ROM now....will post the battery life pics in some time.....
Searching for other tweaks too
Using Intrinsic rom apply it. Switch off and on my Hd7 thought my understanding the 3 button deactivated but it still vibrate.
Edit: delete it and apply new ones(dword)string b4. And now it work.
i have this tweak applied in my custom evolution 7 rom
u will see a battery life increase in standby time
Thanks...will try...
Is there a reg tweak to make the automatic brightness levels range from
0-10.
The HD7 is considerably bright even in a pitch dark room. But if you change the brightness from Auto to Low. Its significantly low.
Can anyone please look into this. Thanks.
backlashsid said:
Thanks...will try...
Is there a reg tweak to make the automatic brightness levels range from
0-10.
The HD7 is considerably bright even in a pitch dark room. But if you change the brightness from Auto to Low. Its significantly low.
Can anyone please look into this. Thanks.
Click to expand...
Click to collapse
i guess the auto brightness doesn't work :/
Been searching for that tweak since so long.....even the SMS Led notification....so far no success.....i cant even find where the LED registry's are.....
sirajgoku said:
i guess the auto brightness doesn't work :/
Been searching for that tweak since so long.....even the SMS Led notification....so far no success.....i cant even find where the LED registry's are.....
Click to expand...
Click to collapse
well it sucks for the auto brightness to not work then..my old Hd2 with Windows Mobile 6.5 did a better job at it..there has to be a way !!
sirajgoku said:
i guess the auto brightness doesn't work :/
Been searching for that tweak since so long.....even the SMS Led notification....so far no success.....i cant even find where the LED registry's are.....
Click to expand...
Click to collapse
the HD7 auto brightness needs a complete overhaul. it does get brighter dynamically but does not lower down the same way.
the samsung omnia 7 auto brightness works correctly
Magpir said:
the HD7 auto brightness needs a complete overhaul. it does get brighter dynamically but does not lower down the same way.
the samsung omnia 7 auto brightness works correctly
Click to expand...
Click to collapse
PLEASE!!!! someone find a way....to make it work !! Its a big battery life killer !
backlashsid said:
PLEASE!!!! someone find a way....to make it work !! Its a big battery life killer !
Click to expand...
Click to collapse
basically the HD7 can up the brightness under direct sunlight. but when come into the shade , the brightness does not go down.
need to press and awake the phone for the sensor to adjust to the shade
Magpir said:
basically the HD7 can up the brightness under direct sunlight. but when come into the shade , the brightness does not go down.
need to press and awake the phone for the sensor to adjust to the shade
Click to expand...
Click to collapse
wait !! how is that ??
how can it up the brightness but not lower it down..
the hd7 was almost build on the same hardware as the hd2...and hd2 could do it..i know the OS was different...but still...i assume it works well on other phones !!! and how is it smart..if its not auto...
Yup that's the major defect!!
You can see the display when outdoors cuz the brightness automatically adjusts itself...but when u come back indoors the screen still remains bright....
I looked into the brightness registries and I didn't find anything to change to make it work properly :/
I guess that's it with brightness of hd7 :/
IF HD2 can do it , why not HD7 which is newer?
Maybe someone can find something in the registry to modify auto brightness to work like HD2 ?
---------- Post added at 07:41 AM ---------- Previous post was at 07:39 AM ----------
sirajgoku said:
Yup that's the major defect!!
You can see the display when outdoors cuz the brightness automatically adjusts itself...but when u come back indoors the screen still remains bright....
I looked into the brightness registries and I didn't find anything to change to make it work properly :/
I guess that's it with brightness of hd7 :/
Click to expand...
Click to collapse
yes, when it adjusts itself to the ourdoot brightness, it does it quite well too, like 2-3 step increment ( u can see the brightness going up 2 steps depending on the ambient sunlight). THis means the sensor is on and running all the time when u have the screen turned on
but go back to indoors, it doesnt adjust down.
still pondering how is that they make it this way? Does not make sense
Ya even was searching for the LED for the SMS notification....no success!!
Magpir said:
IF HD2 can do it , why not HD7 which is newer?
Maybe someone can find something in the registry to modify auto brightness to work like HD2 ?
---------- Post added at 07:41 AM ---------- Previous post was at 07:39 AM ----------
yes, when it adjusts itself to the ourdoot brightness, it does it quite well too, like 2-3 step increment ( u can see the brightness going up 2 steps depending on the ambient sunlight). THis means the sensor is on and running all the time when u have the screen turned on
but go back to indoors, it doesnt adjust down.
still pondering how is that they make it this way? Does not make sense
Click to expand...
Click to collapse
+1 !!!
sirajgoku said:
Go to this key: [HKEY_LOCAL_MACHINE\Software\OEM\KeyState]
Then add this value: "application_btn_vibrate3"=dword:1
to add the value, go to settings in registry editor in the described directory and choose "new value"
valuename: application_btn_vibrate3
value data: 1
value type: Dword
This will disable the vibration for the three touch keys ( back,home,search) and increase the battery life significantly.... If u want the vibration back then just change the value to 0
Click to expand...
Click to collapse
How can i access registry files of hd7
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
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
Hello,
A happy owner of this phone, that said, can we via some homebrew apk change the screen refresh rate and screen resolution? get the phone on a just 1080p @ 24 fps, think how much then the massive bat, would last, if there is a dev out there, i could (and most likely others) donate a beer to be able to use it +<3
edit: what do you know.. it does exist on s20 video, think its easier, can someone get that pkg for us ?
edit2 : found this app unfortunately, still cant change resolution, and refresh rate cant go below 60hz..
Cheers
We can change resolution
Remove OneUI Lags/Slowness
1. Download Easy DPI Changer (Play Store)
2. Set DPI to 340
3. Set Resolution to 775x1680
4. Download Termux
5. Enter commands
5.1. su (Accept Magisk Pop-up)
5.2. settings put secure sysuiroundedsize 1
6. Set smaller font size in Settings
7. Enjoy!
For more join Telegram group
@Sagarking Ty so much for the reply,
Btw i posted a request for the dev of the the tweak linked above in edit 2
and he replied :
"
Atrosincity said:
Can you add support for Galaxy m21, only quick dose mod working for now, it does have a FHD+ resolution, if u can manage the ability to change resolution to HD+, less than the locked 60hz refresh rate would be a bonus, ill be glad to support
Click to expand...
Click to collapse
Added. Try to clear app data and open while connected to the internet.
Hoowee, Ty so much matey, i can confirm resolution change to HD+ working.. definitely getting the full version asap. i posted a question/request bout this in the galaxy m21 forum, I ll update the post there to make sure more ppl using M21 know bout this fabulous tweak. thx again <3 from morocco. "
Since i promised tribalfs to support his app, Ill do.
Tll try Easy DPI Changer + your method for 1st half of ramadan, and update here which method is best for more battery life, ty again for the help.
Back from a good away time, paid the homebrew galaxy max hz, as promised, his latest version, does not unfortunately support screen refresh rate, of our M21, but offer a quick switch between 2 resolution:
1560px X 720px @ 280dpi (fps fixed @60)Hz
2340px X 1080px @420 dpi (fps fixed @60)Hz
personally i dont see much of a difference, @ lower resolution for my 44 old years eyes.. but not much battery saving on the other hand
The app, offer a quick doze mod on screen off with 3 presets (base, plus, max)
Thats it ,
up to you if you want those funtions enough to support the dev..
Cheers !!
@Sagarking "settings put secure sysuiroundedsize 1"
think this messed up the roundness of my display.., can i have undo it, or get the default setting?