yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] eep2378:
Rgb colors are in sys/devices/platform/kcal_ctrl.0/kcal :)

Sent from the Nodes of Ranvier
[Nexus 4 General] Elchemist:
The RGB colors are done on separate lines and not with the gamma.

_motley provides the best explanation in post #2 in his kernel thread linked below.

http://xdaforums.com/showpost.php?p=34825979&postcount=2
[Nexus 4 General] danslecarton:
I changed from Sebacestmoi's (line 42) to undercover's settings (line 28). I actually can't see a clear difference, but my imagination tells me that undercover's are more vibrant :good:
[Nexus 4 General] laba86:
Tried a view different lines of the spreadsheet, atm I like undercovers (line28) the most!
[Nexus 4 General] eep2378:
Wow this undercover guy seems to know what he's talking bout!! :p:D
[Nexus 4 General] undercover:
*kicks eep in the bottom*

:D

_________________________________________

Sent from my fridge. Make : LG Model : N4
[Nexus 4 General] alcurtis93:
You still working on the colours for perfection? Greys are dodgy using your settings but my god the screen looks better
[Nexus 4 General] undercover:
Not really. I'm fairly happy with those. I will play around some more once I'm back on a kernel that supports gamma.

_________________________________________

Sent from my fridge. Make : LG Model : N4
[Nexus 4 General] alcurtis93:
Not on faux?
[Nexus 4 General] cobyman7035:
Can't install fauxclock. No space error lol

via my NeXus⁴ using XDA Premium
[Nexus 4 General] Guto ViP:
My gamma with @Undercover settings is:

Grey: 2.6

Red: 2.2

Green: 2.1

Blue: 2.2

Yellow: 2.3

Cyan: 2.3

Magenta: 2.1
[Nexus 4 General] undercover:
Try 20,20,19

_________________________________________

Sent from my fridge. Make : LG Model : N4
[Nexus 4 General] Guto ViP:
Let's try! I come back i few minutes...

EDIT: With this new value i got G 2.4 / R 2.2 / G 2.2 / B 2.2 / Y 2.4 / C 2.3 / M 2.1
[Nexus 4 General] delf0s:
I was wondering if someone can help me get the nexus 4 display apk. I currently do not have a credit card, so I cannot purchase it via play store.
[Nexus 4 General] Guto ViP:
How?

Anyway you need Fauxclock to set Gamma and RGB and Display Test to get Gamma Info.
[Nexus 4 General] undercover:
Yellow is up a bit.... Well, see for yourself which you prefer more.

Also try

Amp0 20,20,19

Amp1 0,1,0

_________________________________________

Sent from my fridge. Make : LG Model : N4
[Nexus 4 General] Guto ViP:
Now is G 2.4 / R 2.2 / G 2.1 / B 2.2 / Y 2.4 / C 2.3 / M 2.0

Another one (0, 0, 0) is better.
[Nexus 4 General] msmith1991:
I personally only use it for the screen calibration lol... I don't wanna tinker to much.
[Nexus 4 General] Guto ViP:
I'm using Fauxclock for all.

Enviado de meu Nexus 4 usando o Tapatalk 2
[Nexus 4 General] tvdang7:
cant it requires license validating some how. smart man.
[Nexus 4 General] iPwn_:
I'm really liking idividebyzero's values (line 33).

The colors and gamma values are solid without ruining the grays at all.
[Nexus 4 General] IAmAN00bie:
With Motleys kernel you can set gamma values using scripts, no need for Faux's app.
[Nexus 4 General] Mash87:
I like chenthechens setting (line 51)

R 255 G 255 B 255 , Amp0 R 31 G 31 B31, Amp1 R 14 G 10 B 12

He commented:

Now I'm trying to "remove" a bit of that blue. Can someone give me an advice how to achieve that? Trying for half an hour now, every time I change a value the result is different from what I've expected :(

Appreciate any help.
[Nexus 4 General] jhericurls:
Try these settings

https://www.box.com/shared/q54se37oodo98nx7w01v

I tweaked it for ages to get the white's white.

LG preset and all zero for Amp1.
[Nexus 4 General] meangreenie:
Anyone else having trouble with the darker blues looking purple?

can't find any settings that get rid of it :( ..example the first G in the google logo looks distinctly purple, checking on my pc monitor it's blue.
[Nexus 4 General] DynamicRam:
Increase the Green value or reduce Red & blue
[Nexus 4 General] meangreenie:
tried it, it still not right

I just checked on friends nexus 4 that has never has gamma tweaks done to it and his is the same!!! he never noticed until i pointed it out and now he can't stop seeing it.
[Nexus 4 General] Mash87:
Thanks! But this makes everything look much darker, as if back light is turned off. At least on my display.

Since day two of having the phone I'm using acer73s settings R 248 G 248 B 248, Amp0 R 10 G 7 B 5, Amp1 R 4 G 4 B 1

But recently I got the feeling that this is a little bit undersaturated. So I'm looking now for the sweetspot between accuracy and that "I like looking at it" feeling.

And since I have quasi no understanding of colors formation I'm having a hard time with this
[Nexus 4 General] gandharv.aiims:
hi guys just needed to ask a small question here... i hope i am not disrupting the thread

will the faux display calibration work if i am using franco's kernel or does it have to be faux's or stock kernel only...
[Nexus 4 General] undercover:
Try only lowering the red.

What are your settings again?
[Nexus 4 General] meangreenie:
I've tried everthing, even going back to stock kernel, my darker blues are distinctly purple, and it's the same on my friends nexus 4 too.
[Nexus 4 General] deezid:
AW: Nexus 4 Color Settings [spreadsheet]

Do you use LG presets?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 General] meangreenie:
I'm guessing from the comments all yours are not purple. Oh well lucky you lot :P, i've got 2 nexus 4 here, don't matter what the settings.. even on stock kernel with no adjustments the darker blues are purple :(

I've tried hundreds of settings on my personal N4 ...google/lg presets, turn up down every what colour and amp 0 or 1 values in every which way.. nothing helps.

thx for trying to help though. the reality is if yours are not the same then i have got 2 broken nexus 4 here... as unlucky as that is.

rma time
[Nexus 4 General] jpde:
So, I don't know if this fits in here, does the franco kernel updater allow for the same options that fauxclock offers (gamma control)?
[Nexus 4 General] resynx:
Not currently.
[Nexus 4 General] tvdang7:
playing around with the controls and honestly no matter what i try, i am never satisfied.:confused:
[Nexus 4 General] resynx:
Added, thanks! :good:

The kernel has to support gamma control, Franco's doesn't as of right now.
[Nexus 4 General] Chad_Petree:
So ive wasted my time trying to calibrate the screen using the stock (rooted ) kernel ? Then why do I see a difference everytime I change the values ?
[Nexus 4 General] deezid:
AW: Nexus 4 Color Settings [spreadsheet]

You have to turn off your screen and turn it on again to see a difference.

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 General] cobyman7035:
I hope franco puts in gamma control in his next kernel update app
[Nexus 4 General] laba86:
With the stock kernel it is also possible to change color and gamma with FauxClock afaik.

But with franco's kernel it isn't at the moment.
[Nexus 4 General] Mash87:
what values did you change where?

Color settings can be changed on every kernel with various apps AFAIK.

Color gamma can be changed with faux kernel + app and trinity kernel + app
[Nexus 4 General] eep2378:
Gamma can also be configured with harsh kernel via init.d script(no need for any app) :D
[Nexus 4 General] AlRokayan:
+1 Column

I would suggest to add a vote (+1/Like) column so the views can see which config is the most popular :)
[Nexus 4 General] undercover:
Good idea. Or just add a poll here with 50+ entries :eek:

I think 50 is a max. I'd do it op :D
[Nexus 4 General] SleemLDJ:
Question guys.

Do these screen colour runnings affect screen on battery life?

Sent from my NeXus⁴
[Nexus 4 General] resynx:
Edit: Will get on that.

Edit2: Although a poll is not an option. With a 50 entry limit I would have to hand pick which settings to add to the poll and I do not feel that would be fair.

Edit3: Added a 'Votes / Likes" column. If you want to '+1' a certain line to recommend it then please post it here clearly so I know to add a count to that line of settings. I have also bolded the line that I personally use, which is #44.

They do not as far as I know.
[Nexus 4 General] AlRokayan:
+1

+1 for #43

BTW, you have bolded #43, not #44 as you mentioned in the OP.
[Nexus 4 General] meangreenie:
Settled for this..

200,200,200

15,15,15

4,4,4
[Nexus 4 General] SleemLDJ:
Doesn't that make your screen less bright. Or dull like?

Sent from my NeXus⁴
[Nexus 4 General] meangreenie:
Not really, seems better to me... clearer.. should of mentioned I have lg presets set first if that makes a difference.
[Nexus 4 General] nic85:
R: Nexus 4 Color Settings [spreadsheet]

I have two nexus 4 rev 11 and they really have a different screen.. one much warmer and the other much cooler! so these setting are not good for all the screens ;)

Inviato dal mio Nexus 4
[Nexus 4 General] DirkBelig:
These were posted in the Faux123 kernel thread as being the default settings for Paranoid Android at the moment.

Kernel: Faux 006b05

ROM: Stock

App: FauxClock

Presets: LG

Color: R 255, G 253, B 247

Gamma Amp 0: R 18, G 16, B 19

Gamma Amp 1: R 0, G 0, B 1

Comment: Gamma - Gray: 2.6 R: 2.1 G: 2.1 B: 2.2 Y: 2.4 C: 2.3 M: 2.1

I'm liking this so far. Rev. 11 screen that came with substantial yellow cast
[Nexus 4 General] resynx:
Line #44 is bolded, not #43?

Added :cyclops:

Thank you, just added these ;)

Edit: Can you link me to that post?
[Nexus 4 General] Tones1971:
Tried lots of different ones from the spreadsheet and quite like the settings by jhericuls. 234, 225, 234. 26, 26, 25. 0, 0, 0.

Really deep colours. Much happier with the screen now.
[Nexus 4 General] beren:
wanted to thank you for the thread, was very disappointed by N4 display (coming from Gnex)..now it's a lot better

btw i'm using preset #61
[Nexus 4 General] SamdungSpambot:
Whoops left that out... using lg presets... Google ones make it blue
[Nexus 4 General] yethz:
Here's my favorite from Harsh Kernel ;)

LG Presets

Color Adjustments:

R: 255

G: 255

B: 255

Gamma Amp Adjust 0:

R: 4

G: 0

B: 26

Gamma Amp Adjust 1:

R: 2

G: 0

B: 16

Thanks to our great developers and contributors without them its like we are using an iPhone, but they are here so we can really enjoy a real phone, an Android.

I use Samsung Galaxy S3 (GT-I9300) but found

the real phone > Google Nexus 4 (LG-E960)
[Nexus 4 General] graffixnyc:
OP, Maybe you can add to the OP that various init.d scripts scattered everywhere on the board that are for adjusting the colors as well. Have this thread be the one stop shop for color tweaks.

And Kangi26 thanks for sticking this for me. I felt it really needed to be stickied :)
[Nexus 4 General] mattdub1:
Hey guys, just wondering if there's a way to control the gamma and other color settings without being rooted? I really want to tweak my display but don't want to go through all the flashing of roms and keeping up with every change. thanks
[Nexus 4 General] DynamicRam:
My Settings

LG presets

Color adjustments: 255 255 255

Gamma Amp Adjust 0: 29 29 29

Gamma Amp Adjust 1: 0 0 0

Attached a flashable zip (tested with Motley's Kernel)
[Nexus 4 General] molesarecoming:
guys, dunno if you have seen it: http://xdaforums.com/showthread.php?t=2136295

but its impossible to calibrate mako with just rgb and "amp0" and 1. each channel has 9 values, among these are white point, mids, blackpoint, saturation, etc. your rgb values are applied to googles crippled blue channel which they have cut in half and cranked gamma to max. you have virtually zero chance to get good results like this. most kernels expose all 9, use them and you get much better results. i could figure some of these out, some still remain a mystery

kcal_r = 245;
kcal_g = 244;
kcal_b = 240;

// R G B
#define g_white 0x39 //Whitepoint, LG=0x72, GOOG=0x40,40,20 Low values=extreme whites, risk of blown out highlights
#define g_mids 0x15 //Mids?, LG=0x15, GOOG=0x44,44,23
#define g_black 0x76 //Blackpoint, LG=0x76, GOOG=0x76,76,74 Low values=cut out, banding in the shadows
#define g_contrast 0x1F //Contrast, LG=0x00, GOOG=0x00,00,1F
#define g_brightness 0x09 //Brightness, LG=0x00, GOOG=0x00,00,10
#define g_saturation 0x48 //Saturation, LG=0x50, GOOG=0x30,30,50

static char p_gamma_r_setting[10] = {0xD0, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, 0x30, 0x02};
static char n_gamma_r_setting[10] = {0xD1, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, 0x30, 0x02};
static char p_gamma_g_setting[10] = {0xD2, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, 0x30, 0x02};
static char n_gamma_g_setting[10] = {0xD3, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, 0x30, 0x02};
static char p_gamma_b_setting[10] = {0xD4, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, 0x30, 0x02};
static char n_gamma_b_setting[10] = {0xD5, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, 0x30, 0x02};

thats whitepoint, mids, blackpoint, contrast (your "amp0"), brightness (your "amp1"), saturation. im not 100% sure about mids, the other values seem to give results but i cant make out what they mean. anyway, try the testkernels in that topic and you'll be blown away.

franco will allow tweaking all 9 values in his app soon he said. this is the moment we get real calibrations.

ps. as for the reason why calibration is impossible with just 2 values and rgb:

google cut bluechannel whitepoint in half, meaning they reduce the spectrum, they did the same to blackpoint. half of your blues are missing. they tweaked green and red in similar ways so whatever you apply to rgb is useless aslong the color channels carry these definitions. in the // comments inside the code box i have mapped out how googles settings differ from the original factory settings that LG uses with the ips panel. amp0 and 1 thats the 6th and 7th value - they brightness levels but not the color spectrum or the saturation.
[Nexus 4 General] DynamicRam:
Do you know the max and min value of the blackpoint/whitepoint ?
[Nexus 4 General] molesarecoming:
i was searching for a real documentation but havent been able to find real data. i have pushed these values up and down though, writing down changes.

whitepoint, low values decrease upper spectrum, the highlights. same as when you open levels in photoshop and move the rightmost slider to your left, that reduces the spectrum, whites are looking more stunning and bright but you loose detail. on the other hand, if wp sits to far whites turn grayish and have "too much" detail. to some degree blown out highlights are wanted, they must blow out by definition.

blackpoint, the same, just for black. low values gives you a pretty good cut out, gradients progress in large chunks or steps.

mids i'm not sure yet.

the other values are obvious. just dont crank contrast and brightness over 1F, that seems to be the limit. i had brightness over 1F once and he simply disregarded it. saturation saturates or desaturates.
[Nexus 4 General] DynamicRam:
it is just so hard to adjust white point based on how the eyes perceives it as you might be losing allot of details without noticing, the way i do it is open a completely white photo and put the phone beside any white paper and adjust accordingly, the LG presets on my n4 are very close just a little bit cooler
[Nexus 4 General] resynx:
Thank you.

Added :good:

I'm really clueless when it comes it scripts. How exactly are they applied and such? Copy / Paste into a system folder? Anyways, those scripts are floating in random posts in the kernel / PA threads right? Just want some understanding before I add them to the OP.

And the kernel devs will be adding the new color settings into their app's soon enough. But if you can link to me some of these posts I could try adding them to the OP for now. Sorry for my lack of knowledge on this :silly:

Wow! It's a sticky now ^_^

Thanks, already in #46. :cyclops:

Of course we've all seen it Moles! Everyone is going crazy over your work as usual :D

Always following your latest, I'm very excited to see your progression! :fingers-crossed:
[Nexus 4 General] 1031Vulcan:
With the franco.Kernel updator (w/ r53 installed) I used to Screen Tuning under Color Control. I have R and G set to 236 and B at default 255. Completely removes the urine-filter for me. Some others may like more or less though.
[Nexus 4 General] TonyHoyle:
Kernel: Stock

ROM: Stock

App: FauxClock

Presets: LG

Color: R 248, G 248, B 248

Gamma Amp 0: R 24, G 24, B 24

Gamma Amp 1: R 0, G 0, B 0

Comment: Grey: 2.5 Red 2.2 Green 2.2 Blue 2.2 Yellow 2.4 Cyan 2.4 Magenta 2.1

Closest I can get - anything >248 clips white and all settings seem to clip black, which will be why grey gamma is so off.
[Nexus 4 General] yethz:
By the way, i use aokp rom, harsh kernel and bought fauxclock app from GP... U can edit the entry on the spreadsheet for others referrence. Thanks to u...

I use Samsung Galaxy S3 (GT-I9300) but found

the real phone, a Google Nexus 4 (LG-E960)
[Nexus 4 General] Capt.PP:
+1 I'm on your boat man, but I don't think it's possible. Seeing all the color adjustment apps are rooted required. Gamma tweaking required even deeper kernal tweaked ROMs. Staying with stock ROM, you can't tweak gamma. :(
[Nexus 4 General] resynx:
Thanks everyone, updated :good:
[Nexus 4 General] dishguy05:
could someone answer this for me?

i use my personal phone for work also, and they don't allow rooted devices per the mobile policies. my question is, can i root my phone, apply the color settings and then unroot it so that 1) my color settings are like how i want it and 2) i satisfy the work mobile policy by staying unrooted.
[Nexus 4 General] chrisnk204:
No
[Nexus 4 General] Chad_Petree:
I think the stock ROM supports gamma tweaking ;) but you need to be rooted that's All , why are you so afraid to root your phone ?

---------- Post added at 11:17 AM ---------- Previous post was at 11:14 AM ----------

Thanks , the colors look more saturated indeed but then the screen becomes darker , now I have to turn the brightness all the way to the max otherwise I feel the screen looks too dark :(

By the way what did he mean with this comment gray thing ?
[Nexus 4 General] molesarecoming:
yes that works. but use the kernels in the calibration-thread in the troubleshooting subforum. then you unroot.
[Nexus 4 General] molesarecoming:
20-72 hex. 20 means highlights are extreme, but no detail. 72 means highlights are greyish but alot of detail. 40 seems to be the sweetspot. bp stays at 76, unless you change it for individual channels. i got cutouts and banding otherwise. 74 seems to be the sweetspot.
[Nexus 4 General] molesarecoming:
again. its impossible. you cant calibrate with that and you wont get good results no matter what you try. flash the testkernels and you see how bad it looks. this is still using the f*cked up base set, all you do there is change contrast and brightness, but the color spectrum is crippled. what faux really needs to do is allow for all 9 values in each color channel to be changed. that will be the day you get true calibration and a true factory preset. franco has already told me hes gonna do it for his app.

if you dont believe it, heres the darker, contrasty kernel: http://www.mediafire.com/?q3923x9hvtqyd2i just flash in cwm over any rom. after you did that tell me again these settings are even remotely close. and for those that like it brighter and less saturated (gamma more even): http://www.mediafire.com/?39248x6ueuoirrg but try the darker one first simply because its funny to what what IPS is really capable of. :)
[Nexus 4 General] ruzkay:
AW: Nexus 4 Color Settings [spreadsheet]

Your kernels are awesome I never imagined the display could look so good. The ugly banding is close to nonexistant now! Also I much prefer the hardcoded values over having to fiddle around myself since the average joe has no idea as to what exactly the specific values will effect.

Thanks a lot.
[Nexus 4 General] mattdub1:
Thanks for all your work moles... just want to make sure I understand this correctly....

first I root the phone and then flash one of your kernels listed in that thread, then I simply unroot and leave one of your modified stock kernels on there and the display settings will stick?
[Nexus 4 General] Michealtbh:
You don't even need to root. Just unlock the bootloader and use fastboot to flash the kernel.img
[Nexus 4 General] bleuiko:
I started with undercover's first calibrated setting and then gave it just a bit of pop but not as drastic as a lot of the other ones here; this is a more natural color feel with just a tad of vibrancy and neutral greys.

mine

color: 255 255 255

gamma amp 0: 16 13 29

gamma amp 1: 0 0 16

undercover original:

color: 255 255 255

gamma amp 0: 10 7 25

gamma amp 1: 0 0 16
[Nexus 4 General] mattdub1:
thanks for this, sounds even easier then. If I relock the bootloader then will it erase the modified kernel? and will I still be able to recieve stock updates or will this overwrite the kernel?
[Nexus 4 General] idividebyzero:
thats what I figured since it was literally impossible to get it calibrated for everything, youd get one area right then break another, thats why I said screw the apps like display tester and just calibrated by eye against a proper monitor going for saturation and hue accuracy while sacrificing brightness
[Nexus 4 General] ifti_a:
These look pretty cool, same rev 11 too

Might test them properly in the morning

Thanks
[Nexus 4 General] jawz101:
Night mode

The first thing I felt I was missing was night mode from CM7. This does it well enough for me RGB "255 125 0".

Night mode is supposed to be easier on the eyes at night (and circadian rhythm, etc.) as we typically get natural blue light from the sun.

These are quick settings I keyed in to get a night mode back. Have it turn off an on at night with Tasker. I'm thinking about making a task that does a fade-in/fade-out action though it's just more cpu cycles.
[Nexus 4 General] ifti_a:
In the spreadsheet, why is one in bold? Is that a good one?
[Nexus 4 General] eep2378:
Those are original factory values from Google/LG.

No its not a good one:D

Sent from the Nodes of Ranvier
[Nexus 4 General] faux123:
OP updated ;)
[Nexus 4 General] poveda30:
this is great thanks
[Nexus 4 General] 0.0:
some fauxdisplay features snuck in there eh? you sneaky guy :p
[Nexus 4 General] Malnoth:
Thanks, setting 44 seems to be the best for my screen :)
[Nexus 4 General] resynx:
Added :good:

What presets are you using with this setup?

Except for line #44, I bolded that one because it's the one I personally use :laugh:

Glad you enjoy it! :)
[Nexus 4 General] faux123:
Here's an explanation of FauxDisplay Settings in chart form. If some1 can update this to first or 2nd post, it will help people understand the color gamma calibrations...
[Nexus 4 General] resynx:
Will add it to the OP once I get home :good:
[Nexus 4 General] cpufreak3:
There are a lot of pages in the thread and a bunch of value in the spreadsheet...

Anyone have a recommendations to make it look like AMOLED (as close to the gnex as possible)? Thanks
[Nexus 4 General] Tones1971:
Flashing one of moles kernels gets the best results by far
[Nexus 4 General] nic85:
R: Nexus 4 Color Settings [spreadsheet]

my settings

255 255 255

16 16 15

1 1 2

Inviato dal mio Nexus 4
[Nexus 4 General] obsanity:
Franco has implemented gamma in his 71 kernel. The app is still not updated to control them but you can make changes manually. Here is my AMOLED version:

/sys/class/misc/gammacontrol/

Blacks 255

Brightness 0

Contrast 0

Grays 20

Mids 0

Saturation 255

Whites 0

Leave all RGB colors in Franco app at 255

Sent from my Nexus 4