yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Kel Ghu:
It looks good for all I can say. I could recreate what I had before and I even improved it with this framework. Thanks!

So my latest settings, 2.2 RGB gamma, no banding, balanced white/black saturation and constrast for my device (212 rev.11)

RGB 255

Greys: 0

Mids: 0

Blacks: 71

Contrast: 3

Brightness: 0

Saturation: 71

Whites: 0

I don't do anything based on aesthetic nor preference. I confront all settings to standard screen test, I use Display Tester but there are others. You can even find online display calibration test for your PC, but I can't use those as the browser will resize images and corrupt the calibration test. Display tester has the advantage to be adequate for phones. Though, and this is important, I DO NOT do colors calibration as one need a sensor for that. This is only calibration gamma, contrast, white/black saturation, color banding which is easily doable with on-screen tests. And calibration is always made at 50% brightness, so gamma leans toward 2.1 (brightness < 50%) and 2.3 (> 50%).

Again, if these setting don't work for you then Obsanity's setting might work. If they don't get your gamma to 2.2, TELL US! It means there are more than 2 different screens and we really need to know! Thank you!
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I can understand that certain bits aren't used, but in trying to translate old to new values I am struggling.

Is the first (lower) nibble always set to 0111 if anything in the second (top) is used? So you can't have a value like 01010101? What happened when we tried to use that value, or just assumed the real value was 01010111?

Sent from my Nexus 4

---------- Post added at 11:02 AM ---------- Previous post was at 10:58 AM ----------

What RGB settings?

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

Great settings, on my screen this and the recommended of obsanity look identical
[Nexus 4 Original Android Development] Kel Ghu:
RGB 255. Edited my previous post. Thanks

---------- Post added at 12:10 PM ---------- Previous post was at 12:07 PM ----------

Thanks. But please, use Display tester to control. They may look alike, but they really are not. One of those two will give you non-2.2 gamma or banding and bad saturation. But you can't see it until you test it.
[Nexus 4 Original Android Development] kin24173493:
How about the brightness level?
[Nexus 4 Original Android Development] elk2210:
The gamma-sliders do not work on my device. Do we need r83? I'm still on r72.
[Nexus 4 Original Android Development] kenkiller:
Gamma settings ain't saving for me. Everytime I change the values, leave and return it resets back to either the recommended or default values depending on which one I clicked aka they changed when using recommended/default values, but not when I wish to enter my own.
[Nexus 4 Original Android Development] Hanny:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

woops, returning kernel defaults with r83+newest app = washed out colors. (excessive white-ish compared to the default values before) most probably because of the abandoned values which makes some of the sliders go 0.

franco will you make the next kernel default back to somewhere "near stock" after some fixing of values done by calculations? i love the recommended ones by obsanity, they are perfect for viewing photos etc. but in terms of UI my eyes were already got used to the less contrasted colors (greyish blacks) and feel irritated after a few minutes of usage.... lol hope you dont mind but i believe default colors as close-to-stock would be your preference too :good: thanks much
[Nexus 4 Original Android Development] kaiowas82:
I get gamma between 2.4 and 2.6 with display tester with both kel ghu and the raccomended settings within the app... different screen?
[Nexus 4 Original Android Development] Kel Ghu:
It's always calibrated at 50%, so gamma leans toward 2.1 (brightness < 50%) and 2.3 (> 50%). Edited the post.
[Nexus 4 Original Android Development] brian88:
hi guys, should I decrease the Read Ahead Buffer Size in I/O Control from 2432 (default) to 2048, I remember in r72 its default is 2048 and actually I dont know exactly what it's and what it's for. In additional, whenever I check the CPU, just 2 cores in using, I dont know when I play game or running heavy apps, 2 others run or not? Thanks
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

My gamma is at around 2.8 with these settings. 212K, rev10.

Sent from my Nexus 4
[Nexus 4 Original Android Development] kin24173493:
Only blue is 2.2 in display tester. Also how to know my device rev no.
[Nexus 4 Original Android Development] Joga5000:
Apparently there are a lot of them because neither yours nor Obsanity's settings show 2.2 for me on the gray test in Color Calibrator. (50% brightness)

For me:

Kel Ghu: ~2.6 gamma

Obsanity: ~2.4 gamma

VisceralPsyche (first version), restored from a backup since you can't manually put in those values anymore): ~2.1 gamma

Visceral's continue to be the closest/best looking for me. If it helps at all, I have batch 212K, revision 11.
[Nexus 4 Original Android Development] kin24173493:
How to restore visceral setting
[Nexus 4 Original Android Development] Bluewall:
I'm not sure to understand, with stock settings, does the kernel uses only 2 core or still uses 4 if needed ? (heavy load like games)
[Nexus 4 Original Android Development] Kel Ghu:
That's bad news. Maybe it's just standard variation between units. But thanks, it is very informative. It seems you guys have the exact same screen. Some people have been reporting that my settings are too dark, but apparently it's because my screen is brighter than Obsanity's and VisceralPsyche's.

VisceralPsyche will probably give us new settings based on the new value limits.

The screen count so far is 3.
[Nexus 4 Original Android Development] syncopy:
Yes. Hotplugging. Switches to 4 cores when required depending on the load. Screen on - two cores are always online.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Go back to an earlier version of Franco's app and put the values in. Or wait to see if he gets a chance to update his values for the latest app version.

Sent from my Nexus 4
[Nexus 4 Original Android Development] kin24173493:
Probably no way to find the previous version. Have you got a backup
[Nexus 4 Original Android Development] Joga5000:
I just restored them from a backup I made in Franco's app, but you can also use Arstoien's app which lets you directly set VisceralPsyche's settings (plus a few others like Halfbreed), though you have to manually do the RGB values to 175 yourself.

Edit: Also note that if you manually force Visceral's settings, the Franco app will crash at the gamma selection screen unless you reset them to default. Just something to be aware of.

Edit 2: Here is an updated version with full gamma/RGB control (though without the presets).
[Nexus 4 Original Android Development] TylerDurden1999:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Franco thanks for listening my problem and added the hotplug settings on boot in 8.8. Much appreciated.
[Nexus 4 Original Android Development] Arstoien:
My observations with Display Tester on Obsanity, Kel Ghu and Visceralpsyche's (1st version, not currently compatible until properly matched to the new values) settings, all on brightness 50% and their respective recommended rgb values:

average:

Obsanity: 2.17

Kel Ghu: 2.3

Visceralpsyche: 1.99

detailed (Obsanity / Kel Ghu / Visceralpsyche):

2.4 / 2.6 / 2.2 – grey

2.0 / 2.1 / 1.8 – red

2.1 / 2.2 / 2.0 – green

2.1 / 2.2 / 1.8 – blue

2.3 / 2.4 / 2.2 – yellow

2.3 / 2.4 / 2.1 – cyan

2.2 / 2.2 / 1.8 – magenta

little colour banding issues / slightly less banding / no banding issues

---------- Post added at 12:54 PM ---------- Previous post was at 12:51 PM ----------

This is updated version including RGB settings: http://xdaforums.com/showthread.php?p=37989396#post37989396
[Nexus 4 Original Android Development] Kel Ghu:
Thanks. It looks like you have the same screen as mine. But your screen responds differently to settings. I get 1.7 gamma for RGB with Obsanity's setting.

Screen count is still 3, but we have something new. Screen response to settings are also different (in-unit variation) it seems.

I only calibrate RGB gamma, because they are the pixels on our screens and the only relevant gamma. The other ones are not important in the sense that we have no control over them and yellow, cyan and magenta being the results of the mix of RGB 2 by 2. Do only the average of RGB if you have to do it.

Franco, do you plan on doing gamma for each color channel like Faux? I don't need it, but it looks like some people could use it.
[Nexus 4 Original Android Development] scandalousk:
I'm guessing that I'm in the same boat as them. I'm getting similar values. Altho' some are close to 2.3. But most of them are around 2.4/2.6. This is with your and obsanity's settings.

I'm hoping someone will figure out the correct values for our type of screens:(
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

If you don't know what it is do not mess with it. Leave it as it is. Franco changed it for a reason. You can download a app called "perfmon" from the play store to see if the CPU cores are running.
[Nexus 4 Original Android Development] wildbizzar:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Hi Franco, does it mean I don't need to back up any kernel setting that I configured in your updater app before flashing newer kernel but still can preserve the previous setting?
[Nexus 4 Original Android Development] SleemLDJ:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I noticed that on the new kernel app, the sliders are awesome but.

I can no longer set values beyond 255.

It also won't let me enter the value of "12". It slides to "23"

My previous gamma values were:

Grays 0

Mids 255

Blacks 255

Contrast 0

Brightness 0

Saturation 7

Whites 12

The new slider app won't let me enter these anymore as they were very awesome.

Is there a way to roll back to 8.7.1?
[Nexus 4 Original Android Development] ryanytchan:
so can anyone tell me what roms you guys are using? Is CM good for N4?
[Nexus 4 Original Android Development] richteralan:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Misconception here:

The screen brightness does not affect the gamma. And calibration should always done with 100% brightness.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I'm using Paranoidandroid 3+ latest build. CM is constantly being updated with nightlies. CM 10.1 is neither bad or good for the Nexus 4.
[Nexus 4 Original Android Development] ryanytchan:
Thanks, I'l try that as my first rom then
[Nexus 4 Original Android Development] Mikk36:
When checking out the new "Recommended" vs "Default" gamma profile, I tried it out with this image:

http://asukabook.com/downloads/AB_CalibrationJPEG_2010.jpg

The nature image looks fine with both, but the "Recommended" profile messes up the human skins. They have a very distinct banding/overburning, whereas the default profile doesn't have any of that.

Edit: I compared those to a calibrated 5000K Samsung 214T with a S-PVA panel.

The rest of the colors looked rather good.

Edit: reduced the saturation to 23 and the faces aren't overburnt any more, while still retaining the general good picture.

Hopefully with the seperated controls for each color we can tune the color temperature a bit better.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I am pretty sure he said he was planning on it. I will link to his post if I can find it.

Edit - see http://xdaforums.com/showthread.php?p=38118630#post38118630

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

I believe that screens are usually calibrated for a certain brightness, I believe its it's around 200 nits
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Check back a few dozen posts, this was all explained recently. Only certain values are valid.

Edit - see http://xdaforums.com/showthread.php?p=38175567

Sent from my Nexus 4
[Nexus 4 Original Android Development] tsiftsism:
When Wi-Fi is enabled and the phone in deep sleep, notifications concerning new emails or rss feeds are delayed.

Do you know if this is kernel related?
[Nexus 4 Original Android Development] Arstoien:
No, it's Google's fault.
[Nexus 4 Original Android Development] SleemLDJ:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Anyone....
[Nexus 4 Original Android Development] eyronic:
http://xdaforums.com/showpost.php?p=38190806&postcount=14237

Btw, what is the default gamma settings of LG?
[Nexus 4 Original Android Development] Kel Ghu:
It's true, brightness should not influence gamma. But it's simplistic just to say that, because that's for a perfect screen. Even prosumer monitor are not perfect, the only way to have it almost perfect is to have software to help compensate (custom color profile). The problem is the LCD backlight that changes the saturation, so perceived luminance and gamma changes over the different brightness levels. And no, calibration shouldn't always be done at 100% brightness because most LCD screens have saturation problem at extreme brightness. At the end, calibration at brightness should be done where saturation is optimal or, in our case, where the median value is because our screen changes brightness all the time, not like a home LCD monitor.
[Nexus 4 Original Android Development] SleemLDJ:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Thanks for pointing that out.

I think I will stick with v8.7.1. Love my colours on it.
[Nexus 4 Original Android Development] Ballastatuz:
One more question. Where can I finded the backed up file?
[Nexus 4 Original Android Development] bubur_bewok:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Clicky for gamma FC..what iam suppossed to do?
[Nexus 4 Original Android Development] kin24173493:
dont load your old colour profile
[Nexus 4 Original Android Development] sumit29:
In the same folder, i.e., /system/lib/hw/
[Nexus 4 Original Android Development] syncopy:
Retry and it works as expected. :) At least, it did for me.
[Nexus 4 Original Android Development] juicyjones:
I wonder if there's a way to detect which screen the user has through the franco.kernel updater and show them choices between presets based on that?
[Nexus 4 Original Android Development] LuisLAN:
They are both in the same directory. Find the first then delete it, find the back up (in the same directory) rename it (remove the .bk from the file name so it's the same as the one you deleted before), set permissions and then reboot.
[Nexus 4 Original Android Development] Archmag3:
even me too.r83 + 8.7.1 = beauty :good:
[Nexus 4 Original Android Development] Kel Ghu:
For the moment, apparently, no. I wish we knew how to get the screen type. So far 3 screens, let's give them a type name to make it easier to talk about. A type based on which one gives us a RGB gamma of 2.2:

- Type O for Obsanity settings

- Type V (VisceralPsyche's)

- Type K (mine).

Let's hope we won't find any other screen. Maybe Franco can add this to his app, it would help us find our screen type.
[Nexus 4 Original Android Development] ap1618:
I'm about to take the plunge and flash r72 on my stock rooted 4.2.1 ROM.

There is too much to read.

I assume I just flash the zip in recovery right away... any other steps I need to do beforehand?

thanks
[Nexus 4 Original Android Development] elzafir:
Tap the 'Recommended Values' or load Default Values first, then try the 'Clicky for GAMMA' again.
[Nexus 4 Original Android Development] rxmxsh:
I missed your settings. Maybe you could add them to your signature, like Obsanity? :)
[Nexus 4 Original Android Development] iammudd:
Prob preaching to the choir here, but for others in this situation... if your UV settings were tested to be stable and then bootloops when trying a new rev, I've found that by simply connecting your charger might give you a second chance. (Sometimes your battery just can't cope with the surge needed during boot. Plugging in AC or USB would help sustain the level long enough for boot to complete so you can reset UV levels.)

Failing that, you can try to boot into recovery and delete franco's saved prefs using ADB before resorting to a factory reset. Other can correct me and you do this at your own risk of course, but you can try:

adb shell rm cat /data/data/com.franco.kernel/shared_prefs/com.franco.kernel_preferences.xml​
[Nexus 4 Original Android Development] bubur_bewok:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Yeah i clicked load default value..bam! Its work..:D
[Nexus 4 Original Android Development] dagaetch:
I was getting the same results as these guys (don't know my batch, box is at home). Playing around with the settings, I found the below settings give me a gamma of 2.2, and it looks very nice with photos and everything. So....I have no idea what I'm doing, just playing around with the numbers until it looked good! Using Xylon, r82.

rgb - 255

grays - 0

mids - 4

black - 119

contrast - 0

brightness - 0

saturation - 6

whites - 2

edit: so I guess this means I have Type V screen?
[Nexus 4 Original Android Development] italia0101:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I like the recommended settings :)
[Nexus 4 Original Android Development] rocklee80:
AW: [KERNEL][GPL][N4] franco.Kernel - r83

Anyone who has Or knows somebody who has a Optimus G could do gamma values that look like the optimus G screen? Its The same IPS screen but LG has done more color calobration on the optimus G :(
[Nexus 4 Original Android Development] ian577416:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

These got me 2.2 gray and 1.8 for red, green, blue and purple. 2.1 for yellow, cyan.

Grays-0

Mids-119

Blacks-119

Contrast-15

Brightness-6

Saturation-119

Whites-119

RGB-255

Hope it helps!
[Nexus 4 Original Android Development] shrubbery:
Are you guys using auto brightness or setting to say 50% permanently?
[Nexus 4 Original Android Development] Ballastatuz:
Is it the one that was like .fabak or something like that. I didn't see one that just had bk. I'm trying to flash 4.2.2 but keep getting error 7.
[Nexus 4 Original Android Development] yokuyuki:
If you use unsafe values in terminal, it should still be fine, right?

I think they're only setting to 50% for the purposes of testing.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

This is my attempt to convert visceralpsyche's V2 settings to be compatible with Franco's app v8.8, i.e. with the new restrictions on some of the game values :

My conversion :

R 175

G 155

B 145

Whites 23

Mids 103

Blacks 119

Contrast 0

Brightness 3

Saturation 7

Grays 0

Please note that this is a purely numerical conversion, hopefully visceralpsyche will get a chance to have a try with the new app at some point.

Edit - please also note that the order these are listed are not exactly the same as those in the app.

Sent from my Nexus 4
[Nexus 4 Original Android Development] dagaetch:
ooh, I like your settings better then mine. I get the exact same gamma readings as you did, so we have the same screen. Whats your revision?
[Nexus 4 Original Android Development] yokuyuki:
Think I have a type O screen then. I get about 2.3 on Obsanity's and the gamma is so far off on Kel Ghu's and visceralpsyche's that I can't even tell what gamma it is.
[Nexus 4 Original Android Development] dagaetch:
I leave my screen on 50% brightness all the time. never liked the auto brightness, it doesn't play well with the fluorescent lights at work.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I get the same too, I have 212K rev10.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Kel Ghu:
I made a thread in Q&A about screen type to unclutter this thread: http://xdaforums.com/showthread.php?p=38195968#post38195968

If someone could post Obsanity and VisceralPsyche settings there. Thx!
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

These look great!
[Nexus 4 Original Android Development] Hanny:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

correction:

again, reboot fixes things, although it seems that reboot is not needed anymore when setting to default, but the first time you update the app / restore default gamma you need to reboot the phone for once for it to clean things up, then the default gamma should become the one before :)

update app -> reset to default -> washed out default colors -> reboot -> seems the color is better -> press on clicky gamma button, FC (the report was sent by me), -> press on reset default again -> screen color goes *a little bit darker for blacks* -> clicky gamma -> things working fine

EDIT: after another reboot, again clicky gamma gives FC until "reset to default" is pressed again and the black on the screen goes darker. (reproduced and sent u a report) so something is up with the default values - there are two versions - one before the "unavailable value fix" that comes from the kernel after reboot, and one "fixed, darker blacks" version given by the newest version of the app's "return to default" option. the first version will make the new app FC. However, i prefer the first version as i believe stock comes with lighter blacks :) hope it can be calculated to remain current colors and be compatible with the "fixed values", thanks!
[Nexus 4 Original Android Development] Kel Ghu:
Done!
[Nexus 4 Original Android Development] kin24173493:
how to check my device revision? thx
[Nexus 4 Original Android Development] kaiowas82:
I got 2.1 gamma on this, but getting a lot of artifacts in photos, especially on skin tones...
[Nexus 4 Original Android Development] dagaetch:
Pretty sure its on the box the phone came in.
[Nexus 4 Original Android Development] Bar81:
Same here.
[Nexus 4 Original Android Development] mrfrag1337:
¿The default gamma is the stock kernel gamma?
[Nexus 4 Original Android Development] Kel Ghu:
[INFO] LG Nexus 4 Production Date and Place Identification: http://xdaforums.com/showthread.php?t=2055351
[Nexus 4 Original Android Development] dagaetch:
Hmm, I just looked at a few images and didn't notice anything. Have a test pic you can share?

---------- Post added at 10:51 AM ---------- Previous post was at 10:50 AM ----------

I think you need at least r82 for the gamma sliders to work.
[Nexus 4 Original Android Development] ian577416:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Rev 10 I was an early adopter. First week release:)
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Reboot into the bootloader to see if you have rev 10 or 11.

Sent from my Nexus 4
[Nexus 4 Original Android Development] TheUnknownCopy:
Hi,

I have a few questions that I would like to ask:

1) Is this kernel comptaible with the new 4.2.2 stock update?

2) What are the pros and cons of this kernel over the stock kernel?

3) Can someone show me a detailed guide on how to install this?

4) Is there any bugs that users currently face?

Please take it easy on me, I am a complete noob and am trying to learn more about Android.

Thanks.
[Nexus 4 Original Android Development] chrisgtl:
It's all in the 1st post on this thread. Take your time to read through and good luck!!