[APP DEV] Auto Dynamic color control - Samsung Galaxy Nexus

I think one of the issues here is that we can adjust the color, but it isn't universal to all brightness levels. My proposition is to design an application that can dynamically adjust the color based on brightness levels. We could probably set up a base level at 10% brightness and then set up another level at 50% brightness, and finally at 100% brightness - the application would then auto adjust the color for brightness levels in between dynamically.
Would anyone want to start the development of this application with me?
Sent from my Galaxy Nexus using Tapatalk 2

Wrong section!!!

akira02rex said:
I think one of the issues here is that we can adjust the color, but it isn't universal to all brightness levels. My proposition is to design an application that can dynamically adjust the color based on brightness levels. We could probably set up a base level at 10% brightness and then set up another level at 50% brightness, and finally at 100% brightness - the application would then auto adjust the color for brightness levels in between dynamically.
Would anyone want to start the development of this application with me?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
if u ask me this application that ur planning to do will cause some serious problems !! it'd have to check for % of brightness of the screen every few seconds when its awake causing battery drain ..and u should hav posted in q & a section since u havent really started the development all the best with it though nothings impossible

No, it must be connected with the brightness. Only every time the auto-brightness sensor (or the user) changes the brightness the new calibration should be applied.

mpokwsths said:
No, it must be connected with the brightness. Only every time the auto-brightness sensor (or the user) changes the brightness the new calibration should be applied.
Click to expand...
Click to collapse
Correct. It would be tied with the brightness control. I'm thinking it should be tied to CMs own existing automatic brightness settings but allow an extension for color control.
And no this is the right section. since when do I have to physically build something before I'm allowed to post in here? Applications are developed from discussion to final product...
Sent from my Galaxy Nexus using Tapatalk 2

Well the title appears as an app in development when in reality it is just a question.

LibertyMonger said:
Well the title appears as an app in development when in reality it is just a question.
Click to expand...
Click to collapse
If no one would like to contribute then go ahead and delete this. Thanks.
Sent from my Galaxy Nexus using Tapatalk 2

akira02rex said:
If no one would like to contribute then go ahead and delete this. Thanks.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
great idea. Never done any android dev before but Welling to help and get up to speed

Related

adjusting auto-brightness level

do you guys know how to or what apps can change the auto adjust level? and please dont say just manually change it, i like to use the auto feature, its there so i can be lazy.
Settings > display > brightness
Sent from my SGH-T989
You can go to settings> display> brightness and set it to auto brightness, or you can get the app "Quick Settings" it has a bunch of toggles
Sent from my SGH-T989 using Tapatalk
I think the OP wants something similar to what's in Cyanogen roms. I think he wants to adjust how bright or dim it gets on certain light conditions. I think I saw an app called Luminous or something. Now I'm drawing a blank.
Sistum Id said:
I think the OP wants something similar to what's in Cyanogen roms. I think he wants to adjust how bright or dim it gets on certain light conditions. I think I saw an app called Luminous or something. Now I'm drawing a blank.
Click to expand...
Click to collapse
I'm looking for something like this also.
I'm just sayin!
Sistum Id said:
I think the OP wants something similar to what's in Cyanogen roms. I think he wants to adjust how bright or dim it gets on certain light conditions. I think I saw an app called Luminous or something. Now I'm drawing a blank.
Click to expand...
Click to collapse
yea...thanks
http://android.modaco.com/topic/341706-custom-autobrightness-values-cm7/
Maybe if you found the file that holds the values, you could pull and push the file till you find what you like?
EDIT:
Try this, maybe this will work. I think this is what I saw once.
Lux Auto Brightness
https://market.android.com/details?id=com.vito.lux&hl=en
I think I might give it a try later on.
Juice defender has an option to set the brightness all the way from -80% to +150%. So autobrightness would have a larger (or smaller, if you prefer) range.
Sistum Id said:
http://android.modaco.com/topic/341706-custom-autobrightness-values-cm7/
Maybe if you found the file that holds the values, you could pull and push the file till you find what you like?
EDIT:
Try this, maybe this will work. I think this is what I saw once.
Lux Auto Brightness
https://market.android.com/details?id=com.vito.lux&hl=en
I think I might give it a try later on.
Click to expand...
Click to collapse
Have it. Recommend it. Slick app from a great responsive developer.
just use the notification bar
Hey guys
I found out that if you tap the notification bar on the top and slide your finger left or right, you can adjust brightness as you like. I think that is the easiest and quickest tip I found on this forum. not sure where I found it.. hope that helps..
^^ only works if the brightness toggle is off.. Awesome feature on sammys..
.
.
Galaxy S2 on TapaTalk
There is an app i am using that allows you to adjust the levels that the auto brightness use.
Called: LogGraph
it gives you a graph divided by roughly 12 steps of the brightness sensor so 0-12.
you can set the brightness level at each step the default (which i am using) is roughly:
Sensor% - Brightness level%
0-0
10-5
20-10
30-15
40-20
50-25
60-30
70-40
80-60
90-80
100-100
PMG 705 said:
^^ only works if the brightness toggle is off.. Awesome feature on sammys..
.
.
Galaxy S2 on TapaTalk
Click to expand...
Click to collapse
Thanks I was wondering why it didn't work.
Sent from my Hercules using XDA App
Reviving a slightly older thread here for some feedback.
Lux is a great and well designed app; I've been having issues with it - it doesn't seem to sample from the sensor (light or camera) when it wakes up, even though that is how I set it. I sent an e-mail to the developer, so hoping he can help me out. I also found it hard to understand the "levels" both in basic mode, and the lux/luma in advanced mode. I came from Cyanogenmod (on an Evo 4g) so I understand how the sensor works, but for some reason, whether it be the GS2 or Lux, the sensor does not seem to pick up a lot of variation in ambient light. I can cover up the sensor with my finger and the value that is getting doesn't seem to go below 2.
So I'm still struggling to get the auto-brightness (with an app or with the factory algorithm) to work properly compared to what I was able to get on my Evo 4g w/ Cyanogenmod (which was perfect by the way - once I have it all set up, absolutely perfect auto-brightness).
Actually I edited the framework-res.apk file and that did the trick. I tried lux before but it still didn't work like the default auto brightness.
I'm just sayin!
princeasi said:
Actually I edited the framework-res.apk file and that did the trick. I tried lux before but it still didn't work like the default auto brightness.
I'm just sayin!
Click to expand...
Click to collapse
I'm guessing this is something that can't be edited live or on the fly? It's got to be signed and flashed?
If that works, cool, but I'm totally hoping for an edit I can make live to system files from Root Explorer for instance.
davidemartindale said:
I'm guessing this is something that can't be edited live or on the fly? It's got to be signed and flashed?
If that works, cool, but I'm totally hoping for an edit I can make live to system files from Root Explorer for instance.
Click to expand...
Click to collapse
Yes, currently this is the only way to achieve this. Supercurio mentioned in one of his post earlier that he was working on an app that would allow us to make these type of adjustments.
I'm just sayin!
princeasi said:
Actually I edited the framework-res.apk file and that did the trick. I tried lux before but it still didn't work like the default auto brightness.
I'm just sayin!
Click to expand...
Click to collapse
I believe you that Lux doesn't work like the factory auto-adjust...no matter what an app. developer does, you can't replicate the responsiveness of what would be in the framework.
Could you explain further the edits you did and what it corrected? I am a software developer and I can figure out the basics, just was looking for an idea of what you edited in there and the specifics to get me going.
Thanks in advance!
onyx00 said:
I believe you that Lux doesn't work like the factory auto-adjust...no matter what an app. developer does, you can't replicate the responsiveness of what would be in the framework.
Could you explain further the edits you did and what it corrected? I am a software developer and I can figure out the basics, just was looking for an idea of what you edited in there and the specifics to get me going.
Thanks in advance!
Click to expand...
Click to collapse
I basically followed what they did here http://forum.xda-developers.com/showthread.php?t=1235212 to decompile the apk. I made adjustments to the value that represents the brightness under the lowest lighting conditions. I slightly increased the brightness under that value to help mask the blobs under low lit conditions. Hope this helps.
I'm just sayin!
princeasi said:
I basically followed what they did here http://forum.xda-developers.com/showthread.php?t=1235212 to decompile the apk. I made adjustments to the value that represents the brightness under the lowest lighting conditions. I slightly increased the brightness under that value to help mask the blobs under low lit conditions. Hope this helps.
I'm just sayin!
Click to expand...
Click to collapse
Yeah, saw that last night and just finished. Will probably need to dial in the values a bit to find what is optimal for me.
I'll post a Framework for others to use once I get mine all set. This is definitely the way to go for adjusting autobrightness.

Automatic brightness?

Hi!,
Since I buy the Yphone I've always wondered, The automatic brightness works?, cuz in the stock rom the energy control widget don't give the automatic brightness option, and if I install a custom rom and use the AB Option I don't see the difference about the most brightest option.
So I have two questions:
1) The automatic brightness option works?
2) If not : It's possible to make it work?
Thanks for all.
Charlie
what?automatic brightness?I don't see any option which mentioned automatic brightness in my device. are you sure about this?
I think we don't have light sensors
premolikeshtc said:
I think we don't have light sensors
Click to expand...
Click to collapse
I thought that so (lol)
Yep. Auto brightness is impossible because SGY doesn't have light sensors. Best you could hope for is to automate it based on time.
Sent from my GT-S5360 using xda premium
i thought they have already have one. with high brightness setting, our screen's brightness will decreased if we set our screen timeout long.
Galaxy Y does have an ambient light sensor. So it DOES adjust the brightness. But you probably wont notice it because the brightness is set even if the screen is turned off. It will be brightest when you are in the sun. So its difficult to notice the change.
Really? Mine has never adjusted or anything. I have to adjust it myself.
Sent from my GT-S5360 using xda premium
kurotsugi said:
i thought they have already have one. with high brightness setting, our screen's brightness will decreased if we set our screen timeout long.
Click to expand...
Click to collapse
that happens if youre on less 15 percent juice
Sent from my GT-S5360 using XDA
Oh!, so the 2 little sensors in the front are just one aproximity sensor? So bad...

[Q] How to lower minimum screen brightness?

I know this is possible in CM9's display settings, but I'm currently running AOKP. Is there any other way to lower the minimum screen brightness?
I've given Tasker root permissions, approved it as a device administrator, and approved it as an accessibility service. Still, when I use a task to lower the brightness to very low levels, the brightness will only hold for a fraction of a second before it ramps up to the factory minimum.
So is there some system component I can modify to allow lower brightness, or is this only available as a ROM control like in CM9?
byrong said:
So is there some system component I can modify to allow lower brightness, or is this only available as a ROM control like in CM9?
Click to expand...
Click to collapse
FWIW the lowest possible brightness setting can't be altered via the CM9 settings, only the auto brightness levels, both sensor input levels ("bins") and the brightness level associated with that input/bin. The minimum value of 19 for the lowest slot can't be lowered further. There are other display parameters (related to brightness) that can also be altered in the CM9 settings, but it won't accept a value less than 19.
Edit: I see from a link in your sig that you're familiar with the custom levels
Yes we can do it in the frameworks to go lower than 19. I did it on other phones. I'm not sure why it hasnt been done yet for nexus, and ive been too lazy myself.
But we can even take it down to zero or 4-5 etc so its much dimmer at night. Its on my to do list.
Also i posted some kernel code in a similar thread where this question was already asked. But mod the framework is much quicker.
RogerPodacter said:
Yes we can do it in the frameworks to go lower than 19. I did it on other phones. I'm not sure why it hasnt been done yet for nexus, and ive been too lazy myself.
But we can even take it down to zero or 4-5 etc so its much dimmer at night. Its on my to do list.
Also i posted some kernel code in a similar thread where this question was already asked. But mod the framework is much quicker.
Click to expand...
Click to collapse
I should have clarified more clearly that my post above was regarding doing it via the CM settings.
I'll mod mine...at some point...but like you, too lazy for something that won't blow me away.
You want this app, works great https://play.google.com/store/apps/...yZy5wcm9qZWN0dm9vZG9vLmRpc3BsYXlmaWx0ZXIiXQ..
Sent from my Galaxy Nexus GSM using Tapatalk expect possible typos
I'm an idiot; I just found it in AOKP. It's in the custom backlight settings.
My experience does not mirror you guys. When I decrease the "screen dim level" in the custom brightness settings, it applies globally. I just did it in AOKP the same way I used to in CM9 and now with Tasker I've taken the screen all the way down to 1
Is there any way to decrease the minimum brightness on stock?
aidanbree said:
Is there any way to decrease the minimum brightness on stock?
Click to expand...
Click to collapse
Yes with above linked app. I confirm it works on stock
Sent from my Galaxy Nexus using Tapatalk
I've used a similar app called Screen Filter. My only problem with these types of apps is that I find the black/gray filter they use greatly decreases contrast at low brightness levels (more so than a "true" brightness level at an equivalent setting). Still, if you are running a setup in which they are your only option, they certainly beat having nothing.
The problem with using a screen filter is that it limits the maximum brightness when in sunlight.
I only want to affect the minimum as it is too bright.
Has anyone been able to do this on a stock rom? I too think that the minimum brightness is too high, but I don't want to use the above linked program because it also affects the maximum brightness too. I would like to be able to set custom light levels as per cm9/cm10 and pretty much any custom ROM right now, albeit with my stock ROM. Any flashable zips out there?
Cheers,
Dan

[Q] AOKP Screen Brightness

The lowest brightness setting is not dim enough for me in low light conditions so I've been looking to alter it.
After reading around the capabilities of some apps it seems that they only add an overlay which reduces contrast. I would much prefer to do it natively.
I then realised that the AOKP ROM has this functionality!
However, I can't seem to get it to work.
Settings>Display>Custom backlight settings
Changing the screen dim level doesn't seem to change anything for me.
Can anyone offer some tips or advice?
Thanks
Works fine for me. I know it doesn't help your problem any...
danger-rat said:
Works fine for me. I know it doesn't help your problem any...
Click to expand...
Click to collapse
Does your display dim more when you select a lower than default value or did you have to change something else?
Did you change the corresponding value in "Edit Other Levels" as well (if you're on auto brightness)? Not on AOKP, but mine is fully functional both on manual, and auto.
Their implementation is the same as CM9 (which is nearly identical, if not the same as the CM7 implementation).
Edit: just a thought, not sure if the AOKP status bar brightness slider is hardcoded to a certain minimum level? Are the results the same if you adjust your brightness via the Settings>Display>Brightness slider?
Settings>Rom Control>Performance>color multipliers.
Drag the three bars all the way down.
As far as your problem...
Are you on auto brightness?
And have you adjusted the "Dim Level" prior to adjusting the screen levels?
(Dim Level is the level your screen dims to after not touching it for 15 seconds or whatever).
Jubakuba said:
And have you adjusted the "Dim Level" prior to adjusting the screen levels?
(Dim Level is the level your screen dims to after not touching it for 15 seconds or whatever).
Click to expand...
Click to collapse
Screen dim level is the minimum brightness value attainable (I lower mine to 12 so I can enter a screen value of 12 in my custom levels), but also does correspond to what you mentioned.
Another AOKP user expressed similar concerns but found an app called Root Dim or something that solved his problem.
OpusX11 said:
Another AOKP user expressed similar concerns but found an app called Root Dim or something that solved his problem.
Click to expand...
Click to collapse
The implementation must be still broken then; haven't tested the latest AOKP releases. Root dim apps tend to create lag.
Implementation works perfectly here.
Jubakuba said:
Implementation works perfectly here.
Click to expand...
Click to collapse
Same.
Jubakuba said:
Implementation works perfectly here.
Click to expand...
Click to collapse
Attaining an altered screen dim level when on auto as well?
Edit: comment wasn't an indictment; just remembering issues that were there on b35 or b36 (?).
Sent from my Galaxy Nexus
Yep.
Microwave. said:
Does your display dim more when you select a lower than default value or did you have to change something else?
Click to expand...
Click to collapse
I select a lower than normal default brightness, and it appears to just work. The auto brightness decreases, which is what i was looking for at night, and also the overall min brightness decreases. The max brightness seems unaffected...
remember when making these changes you do have to save and apply. many people forget that step.
tspderek said:
remember when making these changes you do have to save and apply. many people forget that step.
Click to expand...
Click to collapse
That's an especially annoying mis-step after entering 23 custom levels.
CMNein said:
That's an especially annoying mis-step after entering 23 custom levels.
Click to expand...
Click to collapse
Lol.
And no offense taken at all, man.
And me personally, I just use 5 levels.
One that goes all the way to 600[whateverambientlightismeasuredby] and a screen level of 5.
This keeps my phone from dicking about with it's brightness when I'm indoors...and I have no problem reading it. I don't mind a super-dim screen in general.
The remaining levels I ramp up fairly aggressively for two "by a window" scenarios...
And outside.
And OMGSUNNY outside.
Jubakuba said:
Lol.
And no offense taken at all, man.
And me personally, I just use 5 levels.
One that goes all the way to 600[whateverambientlightismeasuredby] and a screen level of 5.
This keeps my phone from dicking about with it's brightness when I'm indoors...and I have no problem reading it. I don't mind a super-dim screen in general.
The remaining levels I ramp up fairly aggressively for two "by a window" scenarios...
And outside.
And OMGSUNNY outside.
Click to expand...
Click to collapse
I add 2 levels for the high end, and reduce the other brightness levels considerably. Ultimately I usually end up with the perfect'ish level for most scenarios. I hate having to adjust brightness the old fashioned way
Sent from my Galaxy Nexus
CMNein said:
Screen dim level is the minimum brightness value attainable (I lower mine to 12 so I can enter a screen value of 12 in my custom levels), but also does correspond to what you mentioned.
Click to expand...
Click to collapse
Which values do you change in the custom levels?
OpusX11 said:
Another AOKP user expressed similar concerns but found an app called Root Dim or something that solved his problem.
Click to expand...
Click to collapse
Yeah, I know an app could potentially solve the problem but I don't like using 3rd party apps when the solution can be more elegantly achieved using native tweaks.
Jubakuba said:
Lol.
And no offense taken at all, man.
And me personally, I just use 5 levels.
One that goes all the way to 600[whateverambientlightismeasuredby] and a screen level of 5.
This keeps my phone from dicking about with it's brightness when I'm indoors...and I have no problem reading it. I don't mind a super-dim screen in general.
The remaining levels I ramp up fairly aggressively for two "by a window" scenarios...
And outside.
And OMGSUNNY outside.
Click to expand...
Click to collapse
Could you send me a screenshot of your custom levels, that sounds like the exact thing I'm after - a dimmer screen in general, and having a lower min brightness.
So am I correct in thinking that you need to lower the dim value in order to set lower values in the custom levels?

S Note Brightness

Whenever I use S Note, the brightness always seems to go up and I can't change it, anyone know how to adjust it.?
Sent from my SM-P600 using Tapatalk 4
Same here. Really annoying. For now I'm using an app called screen filter to dim the screen when using s note in the evenings. Sammy should fix this though.
Sent from my SM-P600 using Tapatalk 4
Mine starts with reduced intensity, if I selected reduced intensity as a general setting. Do you use (intensity) auto-settings of any kind in the general / Touchwiz settings? Or reading mode?
Ettepetje said:
Mine starts with reduced intensity, if I selected reduced intensity as a general setting. Do you use (intensity) auto-settings of any kind in the general / Touchwiz settings? Or reading mode?
Click to expand...
Click to collapse
That is actually a great suggestion. It does not switch to full brightness when system auto brightness is disabled.
Sent from my SM-P600 using Tapatalk 4
uiterlix said:
That is actually a great suggestion. It does not switch to full brightness when system auto brightness is disabled
Click to expand...
Click to collapse
I always disable those 'helpful' features. Just include the brightness control in your status bar, set Adapt display to off, Screen mode to "Movie", switch off Reading mode, all Smart screen features to "off" etc. (unless you prefer otherwise)
I still get a very bright screen that doesn't respond to the brightness slider. Any fix for this or are all users of S Note using it at this brightness?
I use Lux Auto Brightness (there is also a free version), to overwrite Samsung control. It allows different settings for different apps.
Thanks. Will check that out.
Sent from my GT-N7100 using Tapatalk
kempas said:
I still get a very bright screen that doesn't respond to the brightness slider. Any fix for this or are all users of S Note using it at this brightness?
Click to expand...
Click to collapse
I think it works only if you turn off automatic brightness first and then start Snote
Sent from my SM-P600 using XDA Premium 4 mobile app
ddavtian said:
I use Lux Auto Brightness (there is also a free version), to overwrite Samsung control. It allows different settings for different apps.
Click to expand...
Click to collapse
Tried the free version, bought the pad version. Works great and solves the problem.
Turn off auto brightness.
kempas said:
I still get a very bright screen that doesn't respond to the brightness slider. Any fix for this or are all users of S Note using it at this brightness?
Click to expand...
Click to collapse
I had same issue. First I turned off auto brightness before starting s note. Adjust brightness, then run s note should keep the brightness the same.
It help the situation but not a permanent solution. Hope Samsung can fix it ASAP.

Categories

Resources