[APP] Different auto-brightness - Nexus One Themes and Apps

I was tired with the stock autobrightness sensor always setting screen too bright for my eyes - i read in the darkness at night. So i wrote this little thing (thanks to britoso).
Right now it has 4 different brightness settings depending on the ambient light.
as always - created for NEXUS One, tested on FroYo. Needs ROOT
Known issues - not smooth brightness change..
Donno how it will affect the battery life, i may change the sensor sensitivity in the future.
pre-alpha
Comments welcome.
p.s. remember to disable system auto-brightness in settings.

Just installed, I'll report back!

Sounds awesome! Will check it out after work

I will also give it a try

I have te opposit feeling i don't like auto-brightness because it's always to low for me (next to the ipod my screen is lot darker in same light condition)...
I will look into your app later today but maybe an idea to have a slider for adjusting it higher or lower by yourself to fit everyones needs
Will try later, but sounds good to me!

jaapschaap said:
I have te opposit feeling i don't like auto-brightness because it's always to low for me (next to the ipod my screen is lot darker in same light condition)...
I will look into your app later today but maybe an idea to have a slider for adjusting it higher or lower by yourself to fit everyones needs
Will try later, but sounds good to me!
Click to expand...
Click to collapse
hm ye i think ill add some customization so u can select preferred brightness for different lights.. its not hard just need time..
also i still havent decided on how much "steps" should it have..
right now its 4 - full daylight, in-home light, dark-room light, full darkness..
i can set it to a max of 255 steps.. but i guess its not needed + i think that the more sensitive the sensor is the more battery it consumes.. although im not sure

Great idea. Runs fine.
some suggestions:
1) add a progress bar (0..max_value) set to the current sensor value. Alongside the digital value.
2)show the current brightness setting next to or below the sensor value. A progress bar with 4 stops will look good here too.
Its nice to see my android react to its surroundings

Alright unfortunately doesn't work on CM 5.0.8 which is also written above
Can it be customized for it or not?

britoso said:
Great idea. Runs fine.
some suggestions:
1) add a progress bar (0..max_value) set to the current sensor value. Alongside the digital value.
2)show the current brightness setting next to or below the sensor value. A progress bar with 4 stops will look good here too.
Its nice to see my android react to its surroundings
Click to expand...
Click to collapse
does it works ok with ur led app? 2 programs abusing shell at a same time
can u also check if desire got the same path that i PMed you?
Paraglider1982 said:
Alright unfortunately doesn't work on CM 5.0.8 which is also written above
Can it be customized for it or not?
Click to expand...
Click to collapse
ill take a look tomorrow..

t0ol said:
does it works ok with ur led app? 2 programs abusing shell at a same time
can u also check if desire got the same path that i PMed you?
Click to expand...
Click to collapse
I've not been successful with the max_brightness setting for the led yet.
Does not matter how many apps open their own shell, its important that the shell is reused though.
The desire path should be similar to the path for LEDs. /sys/devices/platform/leds-microp/....

britoso said:
Does not matter how many apps open their own shell, its important that the shell is reused though.
Click to expand...
Click to collapse
guess thats why i receive random FCs sometimes with my app..

hi,
just ran across your app.
Do you think there is a way to lower the brightness below androids default low setting? It is still to bright for me at night, so would be great to have something like a "night-mode". i do not want to disable auto-brightness, that works fine for me, it is just the minimum setting that bothers me.

this might end up being very nice after a few updates....brightness level on Android NEVER goes to minimum level even at night which results in useless battery drain.

hm, so who can do this? A simple widget that sets brightness to the absolute minimum...

you can use scripter (needs root,busybox) to run a simple command that does it.
Code:
echo 0 > /sys/devices/virtual/leds/lcd-backlight/brightness
max brightness is 255
Above script as a qr-code thats scannable in "scripter"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

watercool said:
hm, so who can do this? A simple widget that sets brightness to the absolute minimum...
Click to expand...
Click to collapse
There is a widget light that. I am personally looking for Automatic solution with possibly adjustable light sensor sensitivity

britoso said:
you can use scripter (needs root,busybox) to run a simple command that does it.
Code:
echo 0 > /sys/devices/virtual/leds/lcd-backlight/brightness
max brightness is 255
Above script as a qr-code thats scannable in "scripter"
Click to expand...
Click to collapse
.. thanks! just found out i can do this with tasker too
tasker has been released today to the market
edit: hm, ok.. screen is still to bright with value = 1

make sure auto brightness is off.

There's an app that was posted in this forum which I just found free in the Market
App Title: Dimmer (Night Mode)
Dev: geekyouup
Nothing automatic about it. Opening the app sets brightness to 10. Open again and it says brightness=90.
Sorry if this doesn't help, but seemed relevant.

This app definitely has potential. Would love the ability to fully customize the levels and cut off points (let the user define the number of brightness levels, the brighness %, and the light sensor ranges). Would be PERFECT if it also integrated with settings profiles or simply had a low battery brightness default option. Because right now I use settings profiles to lower the brightness when I reach low battery and unfortunately right now it looks like your app overrides that.

Related

[HOW TO] Custom Backlight Settings Improvement & Info - Updated 10/16

Using Automatic Brightness on ROMs is a nice feature. But don't you hate when you go outside and you can't see anything on your screen because it's to dim and it seems like it takes forever to get brighter.
Here is a post that has lots of detailed information on what all these settings mean.
http://forum.xda-developers.com/showthread.php?t=1689860
I have played around with the Custom Backlight Settings and have had good results with the following settings...
This works on UNi-yuma-PoRN, CM10, Paranoid Android and should work on some other ROMs that have this feature...
To get to the options... go to System Settings > Display > Custom Backlight Settings
Make sure Light Sensor Filter is checked.
Now set the following...
Window Length > 2 s
Reset Threshold > 400 lux
Sample Interval > 1 s (lower # uses more CPU, so if you think you notice performance lag, change this value to 2s)
Make sure Light Levels: Use Custom is checked.
Screen Dim Level > 10 (you can set this at anything, this controls how much the screen dims before it turns off)
Make sure Allow Light Decrease is checked.
Decrease Hysteresis > 0%
Now for the good stuff...
Go to Edit Other Levels
At the bottom you can set the number of levels... set this to 6
For some reason our phone does not recognize levels beyond 6... so this is the max levels we have to work with
Now set the levels up like so..
Lower - Upper..........Screen........Buttons
0 - 99........................25...........255
100 - 300.................40...........0
301 - 500.................80...........0
501 - 999................150...........0
1000 - 1999.............210...........0
2000 - oo.................240...........0
(If you are unhappy with the above levels, you can always use the option to go back to the default settings by clicking Load Defaults)
You can play around with these settings, but I feel these are A LOT better than the stock settings. Not much delay when going from dark to light or light to dark.. and not much flicker.
I also feel I have gotten slightly better battery life with these settings! This is because the screen is not as bright in low light and is quicker to transition to lower light levels.
Hope you enjoy these settings, post your results and let me know if you find any improvements!!!
Thanks for looking.
NOTE: The below screenshots are old and do not show the above updated settings. I will update the screenshots ASAP
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
anyone give this a try?
I recently flashed JellyBean Unofficial CM10 and it does not have this feature
maybe it can be added in one of the future builds...
anyone know if it's possible to extract the feature from a build and get it into JB?
On task650 and ktoonez aokp rom has the feature to plug in custom backlight settings. They work well. Set and forget. Screen screen always at the right brightness.
Jelly bean it in it's early stages. I'm sure all these features and more will come in time. Just need to be cool and give the dev some time.
I'm about to try these settings. Will test for a day or two and report back.
Sent from my SGH-I777
This settings work nicely. Can't compare battery cause my phone seems to discharge at a high rate once I'm using it no matter the rom or kernel.
Only difference is the settings I was using before where 20 steps and not just 10.
These are a good start and to the job fine.
Sent from my SGH-I777
I always left this setting off because I feared that it would drain my battery...
So I just struggle with the impossible to see screen during sunlight.
But now that I've stumbled across this post, I figure I'd give it a try.
Running ParanoidAndroid, just saved the settings.
Thank you very much, and I'll let you know how I like it after I play the day with it tomorrow!
These will now work on the new Jelly Bean Paranoid Android ROM
Sent from my SGH-I997 using xda app-developers app
hollywood528 said:
These will now work on the new Jelly Bean Paranoid Android ROM
Click to expand...
Click to collapse
I noticed that once I dug through the settings of Scott's 2.00 build!
I'm excited!
...but I've been lazy, and haven't gotten around to putting the settings back in yet.
(I'm gonna say "busy". It sounds more important. =P)
The current builds of CM10 have all these features, and I was just about to ask someone to explain all this nerd stuff since even I don't get it (not that in to sensors/light or something to know what all the terms mean I guess!).
I've just copied your settings, and I noticed after applying the "other levels" stuff that the brightness was a bit lower than default, so that would mean better battery life by a little bit (though back in the day when I was stock, I used to run on manual brightness at minimum to conserve battery, and I found that auto made such a difference that the very minimal battery drain wasn't anything to complain about).
I'm curious to see how the flicker is when it dims, and I may play with those levels a bit, though it would be nice if there were a little "walkthrough" of what the different settings do and how changing their values can impact stuff. Could you explain?
http://forum.xda-developers.com/showthread.php?t=1689860
Sent from my SGH-I997 using xda app-developers app
hollywood528 said:
http://forum.xda-developers.com/showthread.php?t=1689860
Click to expand...
Click to collapse
Oh wow. That is extremely helpful!
Thanks for the find!
Thanks, that's very interesting info.
I haven’t done much with these custom Rom’s, so not familiar with those settings.
I did spend some time earlier exploring the light sensor capabilities for stock Froyo and stock GB Roms /Kernels using Tasker. The light sensor in that configuration (stock Froyo and GB) only puts out 5 discrete values:
10 100 1000 10,000 16,000 (the units are lumens).
i.e. it jumps directly from 10 to 100 (never outputs a value of 50).
Since you can only sense 5 different levels of light, you can only logically set 5 custom brightness levels with the stock GB and Froyo.
The settings above give 10. I wonder if the increased number of levels posted earlier in the thread are a result of:
A – increased capabilities from the custom ROM’s
or
B – using a program designed for another device which has more levels?
(I’m speaking from complete ignorance of those custom backlight settings in custom ROMs like UNi-yuma-PoRN, just curious)
Random additional info related to brightness
1 - The last post (8/12/12) in the following thread gives my Tasker profile for customizeable auto-brightness (tested on my Infuse in both stock Froyo and stock GB):
https://groups.google.com/forum/?fromgroups=#!topic/tasker/w95qKGXt4Vo
It is customizeable only with respect to the screen brightness used for each of the 5 above light levels, not in the other settings used to control how fast it responds and avoid flicker as provided by the custom roms above.
2 - Another small tidbit about using custom kernels with stock Froyo and GB Roms:
The light sensor works fine with the stock GB ROM and custom kernels (entropy DD and zen’s Infusion-Z).
But the light sensor does’t work with stock Froyo ROM and custom kernels (Diffuse, and bedwa’s Infusion)... for these kernels the light sensor always outputs 10 regardless of ambient light level (I posted about that somewhere).
http://forum.xda-developers.com/showthread.php?t=1839541
Updated settings. Further investigation showed our phones only recognize up to six levels. Correct me if I am mistaken. But after further to testing I could not get mine to read anything past the sixth level.
I edited the levels a bit to make up for this in the original post.
Sent from my SGH-I997 using xda app-developers app
Thanks for the heads up on the max number of levels. I had what I thought was a nice profile setup with 10+ levels and could not figure out why it wasn't working like I thought it would.
Robby1870 said:
Thanks for the heads up on the max number of levels. I had what I thought was a nice profile setup with 10+ levels and could not figure out why it wasn't working like thought it would.
Click to expand...
Click to collapse
Same here. I was holding my phone directly in the sun trying to get to the higher values with no luck. That's when I did some reading and trial and error and figured it out.
Sent from my SGH-I997 using xda app-developers app

[APP] Simple Auto Brightness

Hi,
I was not satisfied with how Android system auto-brightness work. It just don't allow me, nor us to setup maximum screen brightness level for auto-brightness just like iOS did. This problem is really bugging me about my Nexus S battery usage which is bad because of screen is just too bright while i just need maybe just half of it since i spend most of days indoor.
Then i started to learn Android development (this is my first Android app) and here is my simple app to configure my Nexus S auto-brightness. Currently app feature are:
Save battery! Service implementation is really battery friendly (not even shown on Android battery stats)
Custom maximum screen brightness level (in %) (require modify system settings permission)
Custom screen brightness threshold to apply new brightness level (in %)
Allow to use smooth screen brightness level transition
Custom ambiance level pool interval (in seconds). But when screen is awake, brightness level is calculated as soon as possible
Auto-start service on boot completed (require run at startup permission)
Auto-start service when destroyed by Android OS because of system low memory
Display live current screen brightness level (in %)
Display live current light sensor levels (in lx)
FREE!
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Known issues:
On my Nexus S (CyanogenMod 10.1 nightly) maximum light sensor value is 3.6 million (wow!). Each device could provide different sensor value and steps. Example, Nexus 4 Stock would provide 10.000 for maximum sensor value.
Currently using this and this as calculation method
Because of above issues, i still looking for best implementation to normalize light sensor values. Maybe anyone can help about this?
Download and try it from here
UPDATE
20120212 - Check if device has any Light Sensors
Hey! I like the idea of your app. However, I haven't found the issue of auto brightness being set at too high of a maximum value in my usage. What I have found is that auto brightness does not kick it down enough when in low light/dark situations. Are you planning on adding the feature of setting a minimum screen brightness level as well?
crashed when i start the service on my xperia active ics
kino1122 said:
Hey! I like the idea of your app. However, I haven't found the issue of auto brightness being set at too high of a maximum value in my usage.
Click to expand...
Click to collapse
Hi, sorry for my bad english, the issue is not the screen auto brightness being too high above Android maximum brightness setting (on manual brightness). But, its the same as the problem you described below
kino1122 said:
What I have found is that auto brightness does not kick it down enough when in low light/dark situations. Are you planning on adding the feature of setting a minimum screen brightness level as well?
Click to expand...
Click to collapse
To tackle this problem, auto brightness setting is mimicking how iOS implementing its auto-brightness.
By configuring maximum brightness allowed to certain amount (by %). For example, in dim indoors (light sensor lux values ranging from 201 to 400), the default Android auto-brightness will be 30% to 40% (based on this formula, which is log10(lux)/5), then in this app, I configure maximum brightness to 50%, then screen brightness will be 50% of this Android default 30%-40%, which is 15% to 20%. Exactly how iOS device did with its screen auto-brightness.
About minimum screen brightness, it always will be 0%-3%. Android system use 0 to 255 brightness value. By configuring maximum brightness to 50% (it will be 127), then your device screen brightness will be half lower than standard Android auto-brightness. Since the most battery draining items is screen, by cutting its brightness to half or more, i think it will be longer my battery cycle, as i posted above.
oldsap said:
crashed when i start the service on my xperia active ics
Click to expand...
Click to collapse
Oops sorry for that, i did not test it on other device than my Nexus S with CM 10.1 yet, would you send me your logcat? This link will show you how to get logcat
oldsap said:
crashed when i start the service on my xperia active ics
Click to expand...
Click to collapse
i just updated apk with light sensor checking. i suspect Android could not find any light sensor on your device.
the service was trying to start, check if there is no any light sensor, since it found no light sensor, service is not registering screen on/off broadcast. then when service stopped, service try to un-register a never registered screen on/off broadcast resulting a Force Close/crash.
please try to update it. thanks
Just what I was looking for. Thanks!

[For Everyone] [Ideas] games and apps

http://feedproxy.google.com/~r/Techcrunch/~3/71CymwAbA7A/
I was reading the article. And he said tamagochi. Now. When I was a kid this was awesome. But as a phone app. It kinda sucks.... But a watch is totally the right form factor. I would totally use it. Maybe something like digimon where they battle... Yeah super wrist watch fun.
What other cool things would you guys want to see? There are so many cool things these watches could do, but I haven't seen many people talking about any cool ideas. Actually, info has been only trickling.
What is a digimon?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://en.m.wikipedia.org/wiki/Digital_Monster_(virtual_pet)
I'd like to see an app that automatically controls the the brightness of my watch, depending on what my phone's auto brightness setting is.
Since both these devices (LG and Samsung) don't have an ambient light sensor, a simple app like that would be genius. The other, simpler option, is to have an Android Wear app, that from 8am-8pm, full brightness, 8pm-8am (or whatever time windows you choose), lowest brightness. Simple workaround hack/app until ambient light sensors are built in.
Thoughts?
schmanke said:
I'd like to see an app that automatically controls the the brightness of my watch, depending on what my phone's auto brightness setting is.
Since both these devices (LG and Samsung) don't have an ambient light sensor, a simple app like that would be genius. The other, simpler option, is to have an Android Wear app, that from 8am-8pm, full brightness, 8pm-8am (or whatever time windows you choose), lowest brightness. Simple workaround hack/app until ambient light sensors are built in.
Thoughts?
Click to expand...
Click to collapse
Brilliant idea!
+1
schmanke said:
I'd like to see an app that automatically controls the the brightness of my watch, depending on what my phone's auto brightness setting is.
Since both these devices (LG and Samsung) don't have an ambient light sensor, a simple app like that would be genius.
Click to expand...
Click to collapse
I'm not sure what the point would be. If you're using your watch... It's probably because your phone is in your pocket or somewhere lying idle, correct? If your phone is in your pocket, the lighting conditions would be different. Not to mention for this to work, your phone would need to leave the ambient light sensor on all the time, causing an additional unnecessary battery drain. Unless of course you're actively using your phone... But then that leads us back to... Why are you using the watch?
johnus said:
I'm not sure what the point would be. If you're using your watch... It's probably because your phone is in your pocket or somewhere lying idle, correct? If your phone is in your pocket, the lighting conditions would be different. Not to mention for this to work, your phone would need to leave the ambient light sensor on all the time, causing an additional unnecessary battery drain. Unless of course you're actively using your phone... But then that leads us back to... Why are you using the watch?
Click to expand...
Click to collapse
You still get your phone out every now and then. It's not like you don't need it anymore when you have the watch. And every time you turn the phone on it could push the brightness over to the watch. Turn down brightness when in the cinema, turn it up when it's sunny outside etc. Would be quite useful
spiderflash said:
You still get your phone out every now and then. It's not like you don't need it anymore when you have the watch. And every time you turn the phone on it could push the brightness over to the watch. Turn down brightness when in the cinema, turn it up when it's sunny outside etc. Would be quite useful
Click to expand...
Click to collapse
Sure, but the brightness levels will change more often than you get your phone out. Doing this will put more of a reliance on the phone. Say you're in a theater, you pull out your phone and the watch dims. Now the movie is over and you head outside into the super bright sun. The watch will still be at minimum brightness until you either manually adjust it or pull out your phone to correct it again. That goes against everything Android Wear is aiming for.
Somewhat true... but I don't know about you, I'm pulling my phone out after a movie at least once before I head outside.. check all those messages and emails I received during that 1.5 hours because I'm really popular..
Again, the app idea is a BAND-AID.. not a true solution, as an ambient light sensor is, but a temporary solution. As @spiderflash says, I'd like it to remember the last brightness state of my phone, and push that over to watch, until a new status pushes over. It'd work fine about 80% of the time.
johnus said:
Sure, but the brightness levels will change more often than you get your phone out. Doing this will put more of a reliance on the phone. Say you're in a theater, you pull out your phone and the watch dims. Now the movie is over and you head outside into the super bright sun. The watch will still be at minimum brightness until you either manually adjust it or pull out your phone to correct it again. That goes against everything Android Wear is aiming for.
Click to expand...
Click to collapse
schmanke said:
Somewhat true... but I don't know about you, I'm pulling my phone out after a movie at least once before I head outside.. check all those messages and emails I received during that 1.5 hours because I'm really popular..
Again, the app idea is a BAND-AID.. not a true solution, as an ambient light sensor is, but a temporary solution. As @spiderflash says, I'd like it to remember the last brightness state of my phone, and push that over to watch, until a new status pushes over. It'd work fine about 80% of the time.
Click to expand...
Click to collapse
Better Band-Aid: Get a Moto360 (It has an ambient light sensor) Hopefully the thing doesn't cost $500 when it's finally released...they keep leaking all these goodies and it's starting to sound too good to be true. :|
I do think the tamagochi idea would be a winner...people seemed to go nuts over it when one was released for the Pebble. And we all know the Wear version could be awesome.
I'm trying to get back into development, and perhaps I'll end up making it myself...but I think Wear is a perfect platform for a nice car finder app. I already have one I love on my phone, but if I could navigate back to the stored parking space without taking my phone out? Perfect. Have it tie in to Google Maps (but start with ped navigation). Maybe incorporate a radar function, since these have pretty decent magnetometers.
I'd suggest a "share your current location with someone" app, but I just noticed Glympse has already taken care of that.
EDIT: for auto brightness, I just found this - https://play.google.com/store/apps/details?id=com.danvelazco.wear.displaybrightness
It uses a combination of activity detection and local sun rise/set times to adjust brightness.
Good find for the brightness. O crank it during the day. And turn it down when I go to bed

Auto Brightness not as good...until now!

So I was messing around with my phone after installing Action Launcher. I always like to go into the "Launcher Activities" and see what's in there to tweak. On this phone I found an activity called: Content Adaptive Backlight Settings
When you assign this to a gesture (Multi Finger Swipe Down, for example) it opens up a menu for this option. There is a check box to "Enable Content Adaptive Backlight". I guess by default, this box is checked which REadjusts your backlight for your screen based on the content being displayed on your phone. This is completely separate from the Auto Brightness feature (so unchecking/disabling this feature does NOT disable Auto Brightness...just FYI).
Now, there is options to adjust the "Visual Quality Level" of the Content Adaptive Brightness (ex: Low, Medium, High, Auto). It appears mine was set to "Auto" by default when it was enabled.
However, I completely disabled this option and tested the backlight settings/function. For me it seemed to auto-adjust the brightness much more efficiently and quicker. I was having issues with the auto-brightness not working at times, or showing it was at the minimum brightness but the damn screen was still blinding me. This seems to have fixed that issue so I thought I would share my findings.
Let me know how it works for you.
where is this 'launcher activities' found? I can't find in any settings in Action Launcher
jabbermacy said:
where is this 'launcher activities' found? I can't find in any settings in Action Launcher
Click to expand...
Click to collapse
Open Action Launcher Settings
Go to Shortcuts (Gestures & Actions) option
I chose the "Swipe Down" > Multi-Finger Gesture
Tap on "Shortcut" at the top of the screen
Click on "Activities"
Scroll down till you see "Content Adaptive Brightness Settings"
Let me know if you run into any issues. I'm sure there's another way to access these options without having to go through the gesture settings but that's how I did it on my phone.
dude that's pretty sweet, I had no idea about this launcher, insta bought PRO, thanks!
I know this from Nexus 6p days. It's also working with Nova launcher.
Edit: you didn't even need the pro version.
Did anyone notice any difference?
jabbermacy said:
dude that's pretty sweet, I had no idea about this launcher, insta bought PRO, thanks!
Click to expand...
Click to collapse
It's a great launcher definitely worth the PRO version!
Kollachi said:
I know this from Nexus 6p days. It's also working with Nova launcher.
Edit: you didn't even need the pro version.
Click to expand...
Click to collapse
This is true. Nova Launcher does have the "activities" option as well (just like Action Launcher). Seeing as Nova is my go-to launcher of choice, I've been aware of this option for quite some time as well. But since I was using Action Launcher at the time of discovery I figured I'd just post that info.
mad1111 said:
This is true. Nova Launcher does have the "activities" option as well (just like Action Launcher). Seeing as Nova is my go-to launcher of choice, I've been aware of this option for quite some time as well. But since I was using Action Launcher at the time of discovery I figured I'd just post that info.
Click to expand...
Click to collapse
I'm unable to locate the correct activity to assign to the gesture in Nova Launcher. I've scrolled the 15 available Nova Activities but found nothing related with Adaptive Brightness.
Would you be so nice to point me to the correct activity to assign to the gesture?
Cheers!
You can also add this activity to the quick tiles bar with the app Tiles, which is free today. So no need for a second launcher.
Thanks for this tip, I hope my auto brightness will work again like the 5t which had a much better auto brightness.
Sent from my ONEPLUS A6003 using Tapatalk
ca110475 said:
I'm unable to locate the correct activity to assign to the gesture in Nova Launcher. I've scrolled the 15 available Nova Activities but found nothing related with Adaptive Brightness.
Would you be so nice to point me to the correct activity to assign to the gesture?
Cheers!
Click to expand...
Click to collapse
Here
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
rmaathuis said:
You can also add this activity to the quick tiles bar with the app Tiles, which is free today. So no need for a second launcher.
Thanks for this tip, I hope my auto brightness will work again like the 5t which had a much better auto brightness.
Sent from my ONEPLUS A6003 using Tapatalk
Click to expand...
Click to collapse
Good to know! Gonna go check out that app right now...Thanks!
tWoBrO said:
HereView attachment 4536896
Click to expand...
Click to collapse
Yup...that's it!
Found the option and unchecked it, but how did you test it? I don't really notice much difference.
craznazn said:
Found the option and unchecked it, but how did you test it? I don't really notice much difference.
Click to expand...
Click to collapse
I've been using my phone for the past couple days with this option unchecked. It's most noticeable at night if you use your phone in a low light environment. Another way you can "sort of" test it is to shine a light on the light sensor. You'll notice it gets brighter quicker and dims right back to where it was when the light is removed. For me, with the option checked the auto-brightness was slow to react to changes in light and it wouldn't always go back to the dimmest setting, or where it was prior to getting brighter.
All-in-all, it seems to be faster now, now that the screen doesn't have to auto adjust the brightness based on ambient light levels as well as readjust the brightness based on what the screen is displaying.
I guess the activity you are mentioned "Enable Content Adaptive Backlight" is some sort of API (sorry if thats wrong , I dont know anything about andriod programming) , and used in couple of apps where the brightness gets cranked to maximum for viewing. Many apps which generate QR codes use this like Xender, OnePlus contacts app , Shareit etc. Even QuickPic gallery has option of turning maximum when viewing pictures.
Interesting how it works with auto brightness function though.
It does say backlight as that is for LCD screens as they have a backlight but the OP6 is an Amoled screen which has no backlight but each pixel powers on and off so maybe that is why there really isn't much difference when using that option on an Amoled screen.
I'm just using High Brightness Mode from flar2 in the play store. It increases the max brightness by 42% over the max brightness that OnePlus as set for this phone. Though you will need to install his EX kernel I believe to take advantage of it.
After i disabled that option, my display goes crazy in sun! It's flickering all the time. Changed back to stock now.
Kollachi said:
After i disabled that option, my display goes crazy in sun! It's flickering all the time. Changed back to stock now.
Click to expand...
Click to collapse
Wow, really? I haven't had that issue. Are you using any brightness mods on your phone to increase the brightness level like @Eric214 has?
Thanks for the tip ! I'll test that right now.
Good find, auto-brightness much more stable now
Kollachi said:
After i disabled that option, my display goes crazy in sun! It's flickering all the time. Changed back to stock now.
Click to expand...
Click to collapse
That's the opposite for me. Used to go crazy in the sun now it's off it seems better.

[APP] AMOLED PWMfree

Summary:
A simple application that uses a transparent overlay to dim the device brightness, effectively removing PWM.
Download PWMfree
More Information:
Why PWM is such a headache
Brief explanation about PWM
Default brightness control:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PWMfree brightness control:
Thanks, runs on my S9 on AOSP 8.1. Affects auto-brightness a bit but seems to work as intended. Great work!
Wrong section man
Can someone explain to me what this app on s9 does?
Its suspicious
@amakuramio
Not sure why the installation is prevented.
The application itself just creates an accessibility overlay and changes the permission for /sys/class/backlight/panel/brightness to prevent access from liblights.
Edit:
Seems like this is the common behaviour for non-playstore apps: disable Google Play Protect
The brightness does not change while sliding the slider, only after releasing the slider. Please fix, thx.
Can this work on other models (like my Galaxy A3 2017 AMOLED) ?
vratnik said:
The brightness does not change while sliding the slider, only after releasing the slider. Please fix, thx.
Click to expand...
Click to collapse
Unfortunately not possible.
victo24dord said:
Can this work on other models (like my Galaxy A3 2017 AMOLED) ?
Click to expand...
Click to collapse
The overlay itself should work on every device, only the brightness slider override that requires root is device dependent.
But this isn't particularly well-working, i will probably ditch this override and just add a widget slider so it can be used without root.
So is this root only? Cause I saw my screen change brightness immediately after turning accessibility access on, and I'm not rooted, stock rom.
@qb74
Root permission is used to prevent liblights (android system brightness handler) from accessing the kernel brightness path (/sys/class/backlight/panel/brightness).
The brightness slider on the notification bar then only modifies the transparency of the accessibility overlay, not the display (kernel) brightness.
Without root permission it controls both the overlay and kernel brightness, but this prevents the pwmfree usage as the kernel brightness needs to be at 100% to avoid pwm dimming.
Trying out on s8+. But weird thing is, when enabled, if you lower the brightness to 0% the screen becomes completely dark. It should not happen like this, I presume. The app has root access too.
@parser
The lights service might be different on the S8 and is not correctly halted by the application.
Here is a first version that works without root and only relies on the accessibility service: (link in the original post)
It locks the device brightness at 100% and uses it's own slider to control it.
Wootever said:
@parser
The lights service might be different on the S8 and is not correctly halted by the application.
Here is a first version that works without root and only relies on the accessibility service: pwmfree.apk
It locks the device brightness at 100% and uses it's own slider to control it.
Click to expand...
Click to collapse
So this version works with non-root? Great! Why does the brightness need to be 100%? From the looks of your graph, all brightness levels seem more consistent?
Wootever said:
@parser
The lights service might be different on the S8 and is not correctly halted by the application.
Here is a first version that works without root and only relies on the accessibility service: pwmfree.apk
It locks the device brightness at 100% and uses it's own slider to control it.
Click to expand...
Click to collapse
Hmm, well than I hope you make this wonderful app s8/+ compatible too
Thanks for your work mate. Would love to use it :good:
qb74 said:
So this version works with non-root? Great! Why does the brightness need to be 100%? From the looks of your graph, all brightness levels seem more consistent?
Click to expand...
Click to collapse
Only the device (kernel) brightness needs to be set at 100%, at this stage the amoled panel only uses a short 59hz vsync signal (this is the small amplitude on the graph).
Anything below ~95% uses the amoled typical 240hz pwm dimming.
The pwmfree overlay now dims the full kernel brightness by decreasing it's transparency, this is somehow similar to lcd contrast dimming.
@parser
The new version should work on all amoled devices, although the widget type brightness slider is a bit less comfortable than the android system one.
Wootever said:
Only the device (kernel) brightness needs to be set at 100%, at this stage the amoled panel only uses a short 59hz vsync signal (this is the small amplitude on the graph).
Anything below ~95% uses the amoled typical 240hz pwm dimming.
The pwmfree overlay now dims the full kernel brightness by decreasing it's transparency, this is somehow similar to lcd contrast dimming.
@parser
The new version should work on all amoled devices, although the widget type brightness slider is a bit less comfortable than the android system one.
Click to expand...
Click to collapse
Trying it atm, the only down side is, as u said, adjusting the brightness by hand. If I am in a game and need brighter screen, have to go desktop and adjust it :/
Would it have an effect on battery efficiency too?
@parser
The overlay is managed by SurfaceFlinger and shouldn't cause any impact. The amoled panel seems to work identical with the contrast dimming and i would guess the battery usage is similar, but i can't tell for sure yet.
As for the brightness slider, i think this can be placed on the notification bar instead, which should increase the usability.
Wootever, you're BEST!
P.S. I sold my Note 8
I installed it but it won't run, s7 stock rooted.

Categories

Resources