Modify Camera White Balance (Rooted) - Verizon Droid Incredible 2

Hi anyone know how one would go about modifying the following:
public void setWhiteBalance (String value)
Added in API level 5
Sets the white balance. Changing the setting will release the auto-white balance lock. It is recommended not to change white balance and AWB lock at the same time.
Parameters
value new white balance.
See Also
getWhiteBalance()
setAutoWhiteBalanceLock(boolean)
cos the 'daylight' white balalnce just makes every thing yellow,and auto is hit and miss
my phone is rooted

anyone? if someone could point me to how one would modify the camera thingy to modify white balance?
i mean the 'daylight' has an overly yellow cast, and 'fluorescent' is too white. i would like to know how to fix this please
i have root

Related

[APP/EXPERIMENT] Yellow tint test

Ok so I just wanted some1 to test something for me. I want to know if the yellow tint can be cancelled with a gradient overlay. So done an little app to test this.
Need some1 who has this yellow tint really bad and can see it very easily.
Again this is just a test and may amount to nothing, I need volunteers as I don't have this defect enough to see it accurately at 20% brightness.
The app is safe as there is no burn in mode yet. Just the ability to custom create a 3 point gradient from left to right with variable pixel widths for each segment.
So if anyone can test that has this really bad, that would be great.
IMPORTANT:
This little app has no burn in method yet so completely safe.
THIS IS NOT A THREAD TO ***** OR COMPLAIN AT SAMSUNG!!!
All I want to know is does this cancelling gradient help.
Start, Mid, End buttons set the settings panel to control the points (LEFT to RIGHT)
P = position
R = red
G = green
B = blue
A = alpha
So if you have a yellow tint, then you want to start with blue and alpha etc!
Updated the app to default all 3 points to 119,119,119 a 255 so the starting points are the same col as the bg
UPDATED
Not ment to be that user friendly at the moment
If it does actually do something, then I will probably have nice sliders and ability to save setting etc. Just cant be arsed doing that if it's a none starter.
Sent from my GT-I9100 using XDA Premium App
Mine has the yellow tint on the left side but I'm having trouble figuring out how to use this app. It does seem to be changing gradients.
I should have made the gradients to default to gray, will alter and put new version up later today, may do a little vid on how to use also
Sent from my GT-I9100 using XDA Premium App
updated and put in 2 lines to make it easier to show you where to look
Cool app. Seems to help if you tweak it right. What exactly does the "BURN" button do?
dinan said:
Cool app. Seems to help if you tweak it right. What exactly does the "BURN" button do?
Click to expand...
Click to collapse
Well, if some1 can manage to do an inverse gradient to their yellow tint, then I would enable saving in the app, and enable burn-in, that does just that, full brightness pixel values for extended periods of time to tint the display inversely to the yellow tint, thus attempting to lessen the effect.
Ideally I want some1 with a bad example tint who also has no way to return their phone to try it

[FIX] Optimum Color Control Values for Purple Screen/Grain Issue [JB]

Well, after 5 months of looking out for the best values, I've experimented and all and found out these to be the best. Even at lowest brightness, the screen is crisp and clear just like it's supposed to be.
People who have the Purple Screen issue, I highly recommend you use these values.
Requirements -
1. Franco Kernel Updater (TKT wouldn't give that much brightness/crispyness to the screen)
2. ICS Gradient Fix (Check Signature)
3. Franco Kernel
First up, flash Franco's latest kernel.
Secondly, make sure you don't have any 2 or more applications which have Color Control options (Like, Franco Kernel Updater and TKT - Remove TKT and stay with Franco). If you do have 2 or more installed, please set all values to default on all applications including Franco's. (In TKT, click on menu and select reset preferences and reboot).
Third, fire up Franco Kernel Updater and get to the CC options and set these :
Color Multipliers -
Red - 280
Green - 292
Blue - 350
Gamma -
Red - 4
Green - 0
Blue - 9
Disable Contrast Adaptive Brightness - Yes (Tick)
Contrast Control : -24
OMAP Gamma - 1.2
These values work BEST with MoDaCo's JB Build. Tested on Jr1, Jr.1.1, Jr2.
Please note : This is simply a band aid, not a total fix. The purple screen and grain issue is probably a hardware issue. This settings are extremely crisp on my device. You need to get adapted to them.
Thanks to -
1. Franco for his amazing kernel and application.
2. Morfic for introducing contrast control into the kernel world and of course for his kindness. (You're the sweetest developer I've talked to).
Best of luck with these settings guys!
Please, don't forget to click "Thanks"!
It made everything look over-saturated for me.. plus, is it safe to jack up the settings like this?
It did improve the grainy screen on low brightness problem, though.
Well, i think the best values i've EVER Seen.
Oh dear, so f****ng awesome.
via Google Galaxy Nexus
Made my eyes hurt.. Too cold.. I'm trying to get my screen as close to 6500k as possible.
Sent from my Galaxy Nexus using Tapatalk 2
Thank you for this! By far the best optimization of colors I've ever seen. Maybe colors are a bit over-saturated but thats how Super AMOLED should produce.
Doesn't lacking the values up that high create burn in???
Sent from my Galaxy Nexus using xda premium
craigbailey1986 said:
Doesn't lacking the values up that high create burn in???
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Try reducing every multiplier value by 40. 280 to 240, 292 to 252 and 300 to 260.
This can never be an all-in-one "fix" because of the way screen technology works. Everyone's screen will have different degrees of the problem itself (purple tint & grain), on top of that they will all have a slightly different color temperature, contrast level, saturation etc. By providing the values that worked for you, you're just going to have a thread where half the people think it looks great, half think it looks awful, and everyone thinks everyone else is crazy.
A better idea might be to describe the steps you took to arrive at your own numbers, things you looked for, how you tweaked them to get to the best values.
Look Excellent to me - Screen absolutely Pops, so vivid and the gradient issues are not visible.
Thanks so much!
Those high values are gonna kill your screen
OP settings work well for me (similar to my 200 215 280, -2 0 10, -23, CAB off), but OMAP always makes things worse IMO. With OMAP at 1.2 I instantly see banding again where with it off the gradients are smooth. OP settings with OMAP 1.0 are excellent however, reducing the magenta and yellowing I was seeing with my others. I am worried about the burn-in though..
What's this about burn in? Do these settings cause it?
I sort-of mispoke. Burn-in is possible, but high multipliers are more worried to wear out those pixels/degrade them faster.
Edit: I'm going for more of a "Trinity Blue" sort of solution now: 215 235 280, -2 0 15, -24, CAD off, OMAP unset. Still trying to find that balance that gets rid of the magenta/yellow at all points.
Okay guys try out 180,192 and 250 as the color multipliers. No burn issues then. I'm on it right now. Its great!
I'm using Trinity kernel, TKT, and Display Tester Pro for calibration. The gamma test shows that my particular settings should be red=2, green=3, blue=2. The color gamma settings are not relative to one another and are not "mixed together" for adjusting color. Each one is a separate adjustment for that color's correct level of brightness for midtones, relative to darkest and lightest levels. Together, the three settings add up to correct gray brightness levels, not to correct gray colorlessness.
If you look at a chart containing only black, 50% gray, and white, the color multipliers should be adjusted to remove any trace of color tint from the gray. The easiest way to do it is set the weakest color to 200 and reduce the other two colors until the gray has no color tint at all. The properly set color gamma settings, on the other hand, should make the 50% gray have the correct lightness level.
If you have yellow tint, there's not enough blue. Magenta tint means not enough green. Cyan tint, not enough red.
The color multipliers, unlike the gamma settings, are relative to one another. Once you have them set correctly relative to one another, moving them all up or all down together pnly changes the overall brightness of the display. The wrong overall brightness level will remove detail from either the black end or the white end. Too much brightness is also bad for the screen, not to mention battery drain.
So anyway I'll shut up now and I hope everyone gets their screens looking perfect.
gsm gnex / cm9 / trinity / 1420 MHz
for whatever reason trinity seems to be giving me better screen color, but im sure I could do the same with franco, anyways, my gamma settings are untouched, I found that modifying the color to these values makes the purple tint go away for me:
Red:135
Green:135
Blue:190
Trinity Contrast -15 to -25
Have you tried adjusting it for 18% gray? I can nail it pretty close with 180,150,190 and 8,0,8 but gamma is a complete ***** on this display...
strumcat said:
I'm using Trinity kernel, TKT, and Display Tester Pro for calibration. The gamma test shows that my particular settings should be red=2, green=3, blue=2. The color gamma settings are not relative to one another and are not "mixed together" for adjusting color. Each one is a separate adjustment for that color's correct level of brightness for midtones, relative to darkest and lightest levels. Together, the three settings add up to correct gray brightness levels, not to correct gray colorlessness.
If you look at a chart containing only black, 50% gray, and white, the color multipliers should be adjusted to remove any trace of color tint from the gray. The easiest way to do it is set the weakest color to 200 and reduce the other two colors until the gray has no color tint at all. The properly set color gamma settings, on the other hand, should make the 50% gray have the correct lightness level.
If you have yellow tint, there's not enough blue. Magenta tint means not enough green. Cyan tint, not enough red.
The color multipliers, unlike the gamma settings, are relative to one another. Once you have them set correctly relative to one another, moving them all up or all down together pnly changes the overall brightness of the display. The wrong overall brightness level will remove detail from either the black end or the white end. Too much brightness is also bad for the screen, not to mention battery drain.
So anyway I'll shut up now and I hope everyone gets their screens looking perfect.
gsm gnex / cm9 / trinity / 1420 MHz
Click to expand...
Click to collapse
arzbhatia said:
Okay guys try out 180,192 and 250 as the color multipliers. No burn issues then. I'm on it right now. Its great!
Click to expand...
Click to collapse
It's been discussed few times already - going above 200 can lead to screen burn in. On SAMOLED screens blue color wear out first and peeps really shouldn't touch this setting. Better set lower red/green values. Screen will look a bit darker so don't cranck up contrast too much, -10 should be good enough.
herzzreh said:
Made my eyes hurt.. Too cold.. I'm trying to get my screen as close to 6500k as possible.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
look at the graphs.
http://forum.xda-developers.com/showpost.php?p=29037317&postcount=1
herzzreh said:
Have you tried adjusting it for 18% gray? I can nail it pretty close with 180,150,190 and 8,0,8 but gamma is a complete ***** on this display...
Click to expand...
Click to collapse
You can see where your gamma should by by installing the free version of Display Tester from the Play Store. Go to Color, Gamma, and slide the gray screen to the left to see the red page. Find the vertical bar that most closely matches the red bacground. The number on that bar is where your gamma should be set for that color. Mine is spot on at 2.3. Then slide to green page and do the same. Then the blue page. My green gamma reading is 2.8, meaning it isn't quite as bright as the red or blue, so I have to turn it up a hair. My blue is good at 2.3. The adjustment sliders in TKT only give me whole-number choices, so I get as close as possible with 2, 3, 2. I'm just guessing there, since TKT doesn't have normal gamma increments. Anyway good luck taming your gamma.
galaxy nexus (gsm) / cm9 / trinity @ 1.4GHz

Yellowish tint by default? anyway to fix the color?

This is apparently NOT a problem. However, I would like to have some color fix on this.
I don't know if anyone knows what I meant
The One X screen compares to S3 or any other phone side by side, the one x had a slight warmer color tone, in other words, it's kinda yellowish.
it's truely visible on white screen.
I find this very disturbing, is there a way to fix this? I prefer a more natural and realistic color tone.
If you're gonna recommend an color fix app, can you tell me the input for primary color values to correctly fix it? I'm too lazy to fix it little by little lol.
dustin4vn said:
This is apparently NOT a problem. However, I would like to have some color fix on this.
I don't know if anyone knows what I meant
The One X screen compares to S3 or any other phone side by side, the one x had a slight warmer color tone, in other words, it's kinda yellowish.
it's truely visible on white screen.
I find this very disturbing, is there a way to fix this? I prefer a more natural and realistic color tone.
If you're gonna recommend an color fix app, can you tell me the input for primary color values to correctly fix it? I'm too lazy to fix it little by little lol.
Click to expand...
Click to collapse
It is going to be a colour fix app, but everybody has their own settings my cooler temp colour may be to warm for you or to cold. So you have to fiddle with it ti find your own settings that you like.
Give this one a try and see how it works: My Settings are alpha set to 8 and blue set to around 80ish or so.
https://play.google.com/store/apps/details?id=com.kovit.p.filteryourscreen&hl=en
It will go as the day pass
Sent from my HTC One X using Tapatalk 2

[Q] Screen color correction in CM10?

I'm thinking of getting the SGSIII now that it's out in black. I had the white version earlier in the year but returned it as I wanted to wait for black
I keep looking on the internet to see and find out if the latest version of Cyanogenmod includes settings to calibrate the screen but haven't really found any evidence to support or confirm this. I know there is sometimes confusion when using the word "calibration" when it comes to android, as users want to calibrate the accuracy of the touch sensors more so than the display.
In iOS, there's a fantastic tweak in Cydia called "Color Profiles" which allows the user to calibrate the colour of the display (system-wide, that includes gaming, video, apps etc). You get white balance, gamma, temperature and black level control
Is there any such option in Cyanogen mod; now or in the future? It would be great to have full access to RGB controls to calibrate an OLED screen

The color accuracy of my display fluctuates. Is there anything I can do to fix this?

So I just bought a 10 again after my previous one died. I've noticed that the colors on this display actually fluctuate in terms of accuracy/richness.
For example, on the homescreen - icons like WhatsApp, Hangouts etc are all very light green, instead of the dark green logo they originally have. Similarly, the Quora app (originally deep red/burgundy) is actually very light red.
I know this is an issue because the display corrects itself and renders colors correctly if I open apps. For example, on opening WhatsApp - i can see the colors transition from light green to dark green over the course of a few seconds. The color reproduction is fluctuating again and again.
Since it is fluctuating, I don't think changing/tweaking settings from the Display menu will help. But is there anything else I can do? Maybe turn some settings off?
Or should I return the device?
Better return a device
Gpu may be corrupted
You may try elemental X kernel and change colour settings to check wheter it stays
jhakjhuk1853 said:
Better return a device
Gpu may be corrupted
You may try elemental X kernel and change colour settings to check wheter it stays
Click to expand...
Click to collapse
It is actually a 10 Lifestyle, so the kernel will not work. I'll just return it/take it to the service center then.

Categories

Resources