yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] CrimsonSmear:
I prefer init.d for color/gamma as it is a cleaner implementation and will never be lost due to everybody's fail-safe "delete franco app data" mantra.

init.d gamma control only causes bootloops, not reboots. Your issues are with kernel panic... not only are you aware of that but you also know that it's being looked into.

Use of init.d is not indicative of non-support and does not "solve" anything... only defers attention from a problem.
[Nexus 4 Original Android Development] St4hli:
Really, really love visceralpsyche's colours, I would recommend to make the values "sticky" in the opening post, so that everyone can find them. :P
[Nexus 4 Original Android Development] tkalli:
Franco already answered this, just two pages ago:

Please use the forum search.
[Nexus 4 Original Android Development] Kel Ghu:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

My 2.2 gamma calibration with max contrast. It's the way our screen should have been calibrated from the start imho. Combinations to get 2.2 are endless. All the settings are linked together, even color settings. I don't remember that happening with Faux's code. Still, I get better results with Franco's.

All color: 255

Whites: 0

Mids: 0

Blacks:255

Contrast: 255

Brightness: 0

Saturation: 202

Greys: 1

This has been done at medium brightness. Gamma will lean toward 2.1 at minimum brightness and 2.3 at max. Blacks are really good and colors punchy. Though, people will find it dark at first. Give it time, it's almost like AMOLED.
[Nexus 4 Original Android Development] jmudrick:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

It looks good but I'm thinking battery will take a hit.I had to crank brightness way up to get even passable black saturation results in Display Tester.
[Nexus 4 Original Android Development] renf:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

His response was in reference to making the colors default for the kernel. The post you quoted was suggesting that visceralpsyche's post be stickied in the OP.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Tito2007:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Can also reproduce what an earlier member posted about the colors resetting back to normal while making a call.

1 call someone

2 cover proximity sensor

3 uncover sensor

4 colors reset

4 screen off /back on changes color back to user values.
[Nexus 4 Original Android Development] trillo69:
Can anyone point me to any tutorial or advice on how to undervolt this kernel? I mean how much milivolts (mV) and which cpu speeds, and how to know if I've undervolted too much (what issues will I see to identify that?).

Awesome kernel, I've reached 5+ screen hours with normal usage. Can't figure something better than this kernel.
[Nexus 4 Original Android Development] KestrelX:
who wants to post some calibrated settings for around 20% screen brightness :p
[Nexus 4 Original Android Development] cruizgaray:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

In order to make things easier Arstoien made this apk http://xdaforums.com/showthread.php?p=37903251 that includes visceral psyche configuration.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] Vanhoud:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Does anybody know the gamma values for the stock Google kernel?
[Nexus 4 Original Android Development] AshtonTS:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

If you're on cm just reflash the nightly then reflash the kernel -> problem solved

Sent from my Nexus 4
[Nexus 4 Original Android Development] St4hli:
AW: [KERNEL][GPL][N4] franco.Kernel - r72

I have already read his posting before. He doesn't have to mess with the defaults, but he could just mention it in the opening post so that one can find calibrated values easier. Was just a suggestion...
[Nexus 4 Original Android Development] jtwlbz:
Does that app change rgb values as well?
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Delete
[Nexus 4 Original Android Development] jpde:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Yeah, I'd be interested in that as well. I don't really need a bright screen unless I'm outside so indoors I'm usually at somewhere around 15-25% brightness and most configurations are just a bit too dark in those circumstances.

Edit: I think the PA 2nd rev colors are working fairly well for me at lower settings.
[Nexus 4 Original Android Development] pyr0sphere:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Yeah I'd be interested as well
[Nexus 4 Original Android Development] jtwlbz:
What do you mean?
[Nexus 4 Original Android Development] rrubio999:
It's sick dude works pretty good.. Thanks "I'd already press Thanks";)
[Nexus 4 Original Android Development] germanj:
As others have said, calling somebody and turning the screen off via proximity sensor resets the loaded gamma settings.
[Nexus 4 Original Android Development] ruzkay:
AW: [KERNEL][GPL][N4] franco.Kernel - r72

Viscerals settings look great might be ever so slightly on the cold side. Out of all the settings I tried it gives off the most "reference" feeling.

But the strange thing is that both this one and halfbreed are way off gamma for me? Lowest value is 2.8 and grey is beyond 3 and not even on the scale. Is it only my screen or is it normal to be that far off with these settings?
[Nexus 4 Original Android Development] jmudrick:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I get completely different results , 1.8 to 2.2 range, grey 2.2. My only issue with it is the brightness required to get proper black saturation gives me whites that hurt my eyes.
[Nexus 4 Original Android Development] richteralan:
The thing is you have to calibrate LCD screen with maximum brightness.

And about the N4 screen itself, the grey gamma is always 0.3 higher than RGB gamma. e.g. if your RGB gamma is around 1.9, then your grey gamma will be like 2.2 and there's no way getting them close.

Moles/Franco mentioned there are a few more calibration parameters we can't adjust (yet?).
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

No where near 2.2 for me.. More around the 2.6 range.
[Nexus 4 Original Android Development] abjexstallion:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I thought this was ROM related... Yup. Happens to me. But if I turn screen off/on, comes back to my settings. Not presets. What I'm using.

Sent from my Swaggin R71 MAKO!!!
[Nexus 4 Original Android Development] Haomuch:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Question: Can we now update to Android 4.2.2 rom first?
[Nexus 4 Original Android Development] wsnnwa:
I actually like your settings. Using them at about 50% brightness, it seems pretty good. I will test it out all day tomorrow.
[Nexus 4 Original Android Development] ruzkay:
AW: [KERNEL][GPL][N4] franco.Kernel - r72

Hmm maybe the screen of each phone differs more than we thought... we need some kind of guide that shows how to adjust the screen from scratch and what values we have to change how in which situations...
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

No. No one with a N4 has it yet. Google is still rolling it out.
[Nexus 4 Original Android Development] FKNtrashbag:
I've ran r72 all day today, and I'm finding that it's the same as or better than r71.

21 hours with ~5 hours SOT and ~16 hours idle. Most of it on Wifi and very little data, very low brightness, and (I don't know if this has anything to do with it really) UV'd by 10% on all speeds running Half-Breed gamma settings.

Also, I don't know if he's changed anything with how the cores operate in this iteration, but it seems to run at a noticeable cooler temperature (idling at 24 Celsius vs ~29 Celsius).
[Nexus 4 Original Android Development] vomer:
These look awesome!

R 175

G 175

B 175

Whites 20

Mids 100

Blacks 255

Contrast 0

Brightness 0

Saturation 200

Grays 0

Thanks to visceral for sharing :highfive:
[Nexus 4 Original Android Development] bmbanker:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I like these settings, but they're just a little too dark for me... I find that with brightness around 6 they're a bit more bearable.
[Nexus 4 Original Android Development] franciscofranco:
:confused::confused::confused:
[Nexus 4 Original Android Development] richteralan:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I think he means an explanation of what those gamma settings do to the screen.

I might write something up.
[Nexus 4 Original Android Development] necksis:
I'd say the screens probably don't differ as much as our eyes do. What looks good to one person may not look good to another person simply because our eyes are so different from each other.
[Nexus 4 Original Android Development] Dimatchka:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Sorry if I sound like a noon nexus threads move fast and hard to keep up. I'm running paranoid android with frankos 72. My question is does 72 release contain the default color settings or are they modified in some way that everyone seems to like?
[Nexus 4 Original Android Development] thatlonedude:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

It uses stock colors
[Nexus 4 Original Android Development] ASSMO:
Wow that looks great thanks for sharing!
[Nexus 4 Original Android Development] cruizgaray:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I don't think so; I ran Trickster and there were the default rgb values (255, 255, 255). But still with these values the display looks amazing to me.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] zeus_chingon:
Does anyone knows where are the files with the custom voltages saved?

I was undervolting and after a couple crash due to low voltage now I'm stuck in a bootloop. I don't recall enabling set voltage on boot.

The phone stays on the X bootanimation indefinitely. ADB logcat still works, ADB shell still works.

Worst case scenario, factory reset and restore from titaniumbackups.
[Nexus 4 Original Android Development] dark_ente:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

System/etc/init.d, i think

Sent from my Nexus 4
[Nexus 4 Original Android Development] cruizgaray:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Perhaps you could install a kernel without UV like the stock's or and old Franco's kernel with CWM or ADB.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] ruzkay:
AW: [KERNEL][GPL][N4] franco.Kernel - r72

Sorry I'm not good at phrasing things I'm saying the same settings are way off gamma on my screen (2.8-3.1) not talking about personal preference. So since we have the same settings it must be the screen that is different.
[Nexus 4 Original Android Development] zeus_chingon:
I tried with the stock kernel and wipe cache, didn't fix it.

---------- Post added at 11:38 PM ---------- Previous post was at 11:35 PM ----------

I don't see a init.d on system/etc.
[Nexus 4 Original Android Development] jassycliq:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Could be that you borked your data partition. Especially if FSync is off. Never turn it off while messing with UV.

Edit: borked as in it'll need a wipe.
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

After playing around with the gamma values,

I've come to the conclusion that the limits of brightness/contrast/saturation are in the 0 to 31 value range, and then wraps. Ie. 32 is the same as 0, and so forth. Not sure of the limits to the other properties.

Thought I'd share in case this helps some from wasting their time calibrating with values they've already tried.
[Nexus 4 Original Android Development] zeus_chingon:
FSync was on (the default one). It just crashed during the stability test (antutu) and rebooted on it's own.

Edit: Yeah, probably I'll need to reflash everything.
[Nexus 4 Original Android Development] I2IEAILiiTY:
The curiosity was killing me, so I bought the app just to try this. This is bleeping awesome. Thanks my man.
[Nexus 4 Original Android Development] drawde40599:
It uses francos colors that have been here since build 14 or 15

---------- Post added at 09:15 PM ---------- Previous post was at 09:08 PM ----------

Used stock ROM and kernel all day today , ya I won't be doing that agn , such a MAJOR MAJOR difference in phone performance and not in good way .

Thanks for your time Franco !!
[Nexus 4 Original Android Development] n00b3r:
This one looks pretty much exactly like my calibrated monitor as well! It rocks! Thanks for sharing :)

P.S. I'm using PA, so the auto-brightness is corrected so the screen doesn't look dark.
[Nexus 4 Original Android Development] Arstoien:
Guys, I'm happy to share an app I made with Tasker for quick comparing up to three different gamma settings. It's app for installing, don't flash. See the attached screenshots.

You can set up the values and then you are allowed to browse through your phone, apps, pictures, and hit the test buttons to change the presets on the fly. You can also "minimize" the app – it leaves a button on the screen for "restore". When you hit the "Close" button it asks if you want to save the profiles to a txt file that is loaded the next time the app opens. The txt file is saved to the root dir on your "sdcard". You can also give names to your presets.

I've done some safety restrictions on the values entered (should be only whole numbers between 0-255), otherwise it gives error, so it should be safe, but don't test it too much (entering invalid values) – I'm still very new at these stuff :P

It might be slightly slow at times but not very much. I hope you guys like it :)

Here's also the Tasker xml project if anyone's already using it. Just import (make sure you've got the Projects tab visible) Gamma_Tester Download

PS: Reduced the font size by 1pt, to correct a letter cutting off, and fixed a small bug with naming the first preset.
[Nexus 4 Original Android Development] jayeshrc:
i wish everyone used only one app, i cant keep buying apps to check.. or can someone post equivalent settings for visceral's in fauxdisplay?
[Nexus 4 Original Android Development] franciscofranco:
fauxdisplay is not supported here, he uses his own interface.

You can run the terminal commands to set the values posted above in my kernel, you don't need any app for that.
[Nexus 4 Original Android Development] lightosx:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

What are you using to check the gamma levels?
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Correction: saturation's limit range is even smaller... 0 to 7, beyond that, it starts to wrap.
[Nexus 4 Original Android Development] lordlad:
just wondering is the color calibration even possible for the nexus 7 (wrong forum i know but i just gotta ask)...the Nexus 4's default value is still pretty alright unlike the nexus 7's, whose color saturation and contrast are just way 'off'....it'll be cool if we can re-calibrate the settings in Nexus 7 as well via Franco's kernel...
[Nexus 4 Original Android Development] yoyoz808:
Just reflash the kernel
[Nexus 4 Original Android Development] franciscofranco:
Yep, I just added the sanity checks on my local build :) thanks for letting me know saturation max is 7, I didn't know!
[Nexus 4 Original Android Development] I2IEAILiiTY:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

So in other words, visceral's saturation setting "200" is really 4 according to your conclusion.

Appears so, as 7 is more saturated than 200.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I presume this is a performance issue rather than battery? Thanks for sharing.

Thanks for sharing your settings, and your very informative post.

Out of interest, what sort of gamma values do these settings give you on your N4 via an app such as Display Tester? I am wondering how important the "gamma 2.2" goal is for accurate colour reproduction.
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Not using his settings atm, but 201 mod 8 is 1.. Subtract 1 to compensate starting at 0.. should be 0 if I'm not mistaken. My math could be wrong, its late..
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I think you're right.
[Nexus 4 Original Android Development] Crenshaw-PCGH:
So since there a lot of people (like me who get random reboots and/ or sometimes screen doesn´t go on) but nobody has a clue what is going on I started "investigating" :D

The problem is that I have almost no idea from kernels etc..

But here is what I noticed:

If my screen didn´t turn on I allways had an led notification (sms, whatsapp or charging led).

So I uninstalled lightflow and during the deinstallation process the phone rebooted again so maybe it was really something with this app.. For now I didn´t had any of the issues again but I guss I´ll have to wait.

For everyone with the same Problems:

Do you use lightflow?
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

No prob.. Grays appears to be 0 to 7 as well.. Not sure about blacks and whites yet.

Edit: looks like everything is in the range 0 to 7, except for brightness and contrast. Well that just lowered the number of gamma combinations to try, Hehe.

Edit 2: Hmm.. I may have spoke too soon, especially with regards to blacks.. It seems as though the darkness does wrap, however some type of banding protection gets stronger the higher value you choose.. Weird.
[Nexus 4 Original Android Development] Roxxas049:
I use lightflow and have had no problems whatsoever.
[Nexus 4 Original Android Development] Lothaen:
good spot, the colors are very bright with 255/255/255 - just tweaked down to 175/175/175 and looks more normal

I did half wonder if its possible to add some 'custom' settings for colors/gamma to the app for particularly good/well known combinations so you can obviously set your own or pick from a list of pre-defined like the apk does?
[Nexus 4 Original Android Development] Kel Ghu:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I guess this is confirmed now. Screens are different. We had already noticed that for those of us who were trying to tweak gamma using Faux's method.

I will write down my approach to tweaking the screen. If we're are enough using the same calibrating method, maybe we will be able to identify the different screens.
[Nexus 4 Original Android Development] strikelight:
Using Display Tester to try and obtain as close to 2.2 rgb on our devices as possible, without sacrificing too much light and banding, I arrived at the following, given the new understanding of the gamma limit ranges:

Colours:

Red: 238

Green: 230

Blue: 238

Gamma:

Whites: 2

Mids: 7

Blacks: 56

Contrast: 31

Brightness: 5

Saturation: 5

Grays: 0

This gets me to about the 2.0/2.1 range for RGB.. as someone mentioned earlier, it's impossible to get 2.2 for grays with this setup...

It's still a little dark with auto-brightness, but better than anything I've tried so far. I use these values not necessarily as preference, but as a point of trying to get as close to the optimal 2.2 as possible.
[Nexus 4 Original Android Development] DesertVelo:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Yes, you are correct. The value should be changed (swapped) in IO scheduler as verified by Franco. These are for interactive/deadline settings.

Sent from the singletrack...
[Nexus 4 Original Android Development] mbolinao:
thank you for the color calibration app! really useful! helped me decide between the two kernels i have.

(sorry I cut the orig message, to save space :P)
[Nexus 4 Original Android Development] CptanPanic:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

The nexus 4 color calibration spreadsheet can be found at

http://xdaforums.com/showthread.php?t=2039607

Nexus 4 Color Settings [spreadsheet]
[Nexus 4 Original Android Development] CptanPanic:
Yes this would be good to document your method. Also maybe Franco, you could add to the gamma page, the various reference charts like you have on the RGB page, to make gamma calibrating a one-app process.

Thanks.
[Nexus 4 Original Android Development] cocchiararo:
If saturation has to be 0 to 7, why did LG/google use higher numbers ?

#Saturation, LG=0x50, GOOG=0x30,30,50

Supposing that moles read that right :P

would you mind sharing the task/scene/profile/whatever ?

I made "my own" for setting different "profiles" (just running the scripts really :P) but on faux kernel, and i would love to get this same functionality there :P
[Nexus 4 Original Android Development] g47:
Take a look at my post no. 12384, it was verified by Franco. :)

xdaforums.com/showpost.php?p=37905299&postcount=12384
[Nexus 4 Original Android Development] tr1cky1:
AW: [KERNEL][GPL][N4] franco.Kernel - r72

Can anyone post original voltages without Francos 1026mhz under volt.
[Nexus 4 Original Android Development] :
AW: [KERNEL][GPL][N4] franco.Kernel - r72

I think it's just +75
[Nexus 4 Original Android Development] Arstoien:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

My app doesn't overrite anything to the rgb – just the things you fill on the scene that first show up when you open it (first screenshot).

I've posted a link to the Tasker profile at the end of my post. For another kernel you can just change the echo commands in the three tasks "Preset 1/2/3 Apply" (careful with the variables). Everything else should work fine.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Bar81:
Same here. Try reinstalling light flow after clearing its data/cache. Light flow, while an amazing app, can be quirky at times; I had to recover from a titanium backup a while ago when I had an issue since reinstalling and clearing data/cache didn't fix the problem.
[Nexus 4 Original Android Development] cocchiararo:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

I see it now.

What icon pack did you use? I have many red exclamation marks because I don't have it xD

--

Tapatalk2
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

It doesn't appear this way Franco. Going between 7 and 255 there is a huge difference in saturation. You better check those limits again. I can see that it goes back on 8 but there is got to be something going on with higher numbers. Maybe it overflows to other values and that's why I see a change?

Sent from my Nexus 4
[Nexus 4 Original Android Development] cguru:
Perhaps the next 3 bits in that byte could be something completely different ?!
[Nexus 4 Original Android Development] drawde40599:
I've been using light flow and Franco kernel for months (since build 1 ) not one issue ever . never had a reboot like other guy either
[Nexus 4 Original Android Development] cocchiararo:
acording to molesarecomming's research (which got whites and grays mixed up xD) default values for saturation are 0x30 from LG, and higher from google.

all the options are higher (way higher) than 0 to 7
[Nexus 4 Original Android Development] drawde40599:
I seen same in Franco change log , what exactly dose " whites and grays mixed" mean ? Is default 72 colors the same as 71 , me messing with this screen color has totally screwed what I thought I liked , I want colors from build 68 and below is 72 them ? ( seriously can't tell anymore ). o_O ;)
[Nexus 4 Original Android Development] inzaghi75:
AW: [KERNEL][GPL][N4] franco.Kernel - r72

I want to flash this kernel. I come from trinity. Can i flash it over with wipe cache and dalvik?

Send from my Nexus 4 using Paranoid
[Nexus 4 Original Android Development] cguru:
0x30 = 110 000 could mean saturation 0 and something different at level 6

Isn't there any datasheet for that display?

Any chances to get some nice values from the Optimus G kernel?
[Nexus 4 Original Android Development] laverdure#1:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Flash it over, no need to wipe cache and dalvik. It's from Franco to anther kernel that you have to flash stock/reset kernel in between.