yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Conversion between old values isn't all that simple. Its because the sequence doesn't follow the usual binary logic. The first nibble must be at 0111 for the second nibble to have effect on screen. So if the 2nd nibble is 0111 but first 0000 than your value is back to 0.

FYI, nibble is half of a byte or 4 bits. You can use windows 7 calculator in a scientific programmer mode. It will show binary values right below where all the 0s are.

I'm not sure how else to explain this but if you don't get it I would suggest you start from scratch and use the sliders to setup your new settings. Also, this logic does not apply to contrast and brightness. Those two are just 0-31 using normal binary. If you had something above 31 it is now just 31.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Arstoien:
What isn't in the first post is 4) – no, there are no bugs. If I were you, I would read through the changelog for all the differences with stock. No one will give you more detailed information, and after all you want to know what you're putting on your device, no?
[Nexus 4 Original Android Development] Soilbreaker:
Are there any chances to see the new Gamma settings in an updated Nexus 4 Display Control App? I've searched the thread about this, but couldn't find an answer to this.
[Nexus 4 Original Android Development] Arstoien:
So basically you're saying that anything that isn't any of the newly allowed values (the first nimble is different than 0111), just acts as 0? I.e. if I had 198 dec = 1100 0110, the first nimble (0110) isn't equal to 0111, so it matches 0?

OR instead of 0, it just matches 0110 (6 in dec)?
[Nexus 4 Original Android Development] Euler MD:
Quick question, I recently saw thracemerin's thread about the msm_hsc_host wakelock fix. Was this, or any other sort of fix implemented in franco's kernel? I checked franco's changelogs, and the notes on thracemerin's thread, and found no flashable zip, nor any indication of the change.

Link: http://xdaforums.com/showthread.php?t=2102986

Thank you for your time
[Nexus 4 Original Android Development] elk2210:
Just me?
[Nexus 4 Original Android Development] kin24173493:
Please proceed to r83.
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Yes. In a nut shell.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Arstoien:
So 198 would match 6 in my example?
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Yes.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Archmag3:
What are the optimal slider values for amoled like configuration without banding that you are using ? :confused:
[Nexus 4 Original Android Development] scream4cheese:
Well duh
[Nexus 4 Original Android Development] redmamoth:
1. ) Yes, r82 onwards I believe.

2. ) Better battery life, better performance, more control over your display

3. ) There isn't one. Somewhere like this might be a good place to start though.

http://www.shetalksandroid.com/2012/07/android-faqs-what-is-custom-kernel.html

4. ) I'm not seeing any bugs.
[Nexus 4 Original Android Development] Arstoien:
Then what about 135 (1000 0111), 151 (1001 0111), etc up to 247 (1111 0111)? I assume it's capped at 119 (0111 0111)? And what if I want to use the previous value of, say 75 (0100 1011)? The value 1st nibble is higher than 0111 so what would 75 match?

I realise I'm asking a lot of questions, sorry :)
[Nexus 4 Original Android Development] scandalousk:
Man playing with these gamma settings is time consuming. None of the settings that have been posted until now give me anything close to 2.2. So I had to start playing with it on my own.

This post put me on the right track since he isn't having any luck with the posted settings either.

I tweaked this and got around 2,1/2,2 on all the colors except grey, which is ~2.3.

I have to note that I think it's funny how changing one digit can make so much difference when calibrating your screen.

I changed it to:

rgb - 255

grays - 0

mids - 3

black - 119

contrast - 1

brightness - 0

saturation - 6

whites - 1
[Nexus 4 Original Android Development] vomer:
Using the recommended settings for gamma - anyone notice the "glow" when you tap on an icon looks weird?

Hopefully someone posts the updated amoled-like settings for the new app sliders :good: Those looked best for me.
[Nexus 4 Original Android Development] yokuyuki:
Whoa. Previously, I got 2.3 grey gamma on yours, but now it's 2.8.
[Nexus 4 Original Android Development] CrimsonSmear:
I have updated my init.d script to include updated and converted profiles > here <.

Hidden below is relevant information and photos for tweaking.

Here are the most sought converted:

4th Revision/HALFBREED - molesarecoming

rgb 255

whites 0

mids 4

blacks 6

contrast 25

brightness 4

saturation 2

grays 0

slimldj

rgb 255

whites 4

mids 119

blacks 119

contrast 0

brightness 0

saturation 7

grays 0

Spyder2 Express (v1) - visceralpsyche

rgb 175

whites 4

mids 4

blacks 119

contrast 0

brightness 0

saturation 0

grays 0

Spyder4 Elite (v2) - visceralpsyche

r 175

g 155

b 145

whites 4

mids 4

blacks 119

contrast 0

brightness 3

saturation 7

grays 0
[Nexus 4 Original Android Development] ap1618:
I'm about to take the plunge and flash r72 on my stock rooted 4.2.1 ROM.

I looked through to find any potential issues, but 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] i860:
Today i was most of the day out on 3g i got 9h on battery and 45m screen on now only 22% battery. I went for my run and the battery drop 30%. In the past with 4.2.1 and r72 the battery will drop about 5% during my run. Not sure if is something to do with r83 ( my phone on 3g was felling warm like i was playing a game or something , battery showing 36 C on idle ) or with the new 4.2.2 cm feb 18. I didn't update the boot loader and the baseband to 4.2.2. Any one has problem with the battery on 3g and r83.
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Update to 4.2.2..?

I seriously don't understand people wanting to stay on 4.2.1. LTE, is that it?

No offence, not addressed to you personally either.

(no, no other steps)
[Nexus 4 Original Android Development] Lownita:
Is this the reason why franco limited the gamma values to 119 in his app? Does this mean that anything ahead of 119 does not have any impact on gamma?
[Nexus 4 Original Android Development] mjehan:
Nope... still waiting for MiNCO v7 (with 4.2.2) :fingers-crossed:
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

3g in ideal conditions will massacre your battery. If low coverage & you moving around town so that it constantly tries to find a connection, then yes, what you saw could happen..
[Nexus 4 Original Android Development] ap1618:
I thought there is no hurry to update since it's just minor.

Do you see any major advantages in upgrading to 4.2.2?

thanks
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

If I see any advantages? That is irrelevant.

Google & all rom / kernel developers do. That is relevant.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

So does 255 (11111111) map to zero because of the 1s in the fourth and eighth bits? Does the presence of a 1 in either of those two bits mean a number (e.g.01011010) will be treated as zero? Or does it treat those bits as zero but still use the rest?

Sent from my Nexus 4
[Nexus 4 Original Android Development] rxmxsh:
Can we stay on topic, please?
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

First question, yes. Second question, it's complicated - see the ongoing discussion with obsanity.

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

It is on topic, we're discussing franco kernels & updates. And we're probably done.
[Nexus 4 Original Android Development] jlear3:
Okay I know this is probably a dumb question but I can't figure it out to save my life. How is everyone changing all of the display values? I bought franco's mexus 4 display control app and have his kernel but I only have 3 sliders... How do I change all of the other values? TIA
[Nexus 4 Original Android Development] rxmxsh:
Why someone should upgrade to 4.2.2 over 4.2.1 b/c they thought the update is minor is off-topic.

Color control, screen gamma settings, clicky for gamma.
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Are you on r83..?
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Not sure if the display app has all this stuff in, his kernel app certainly does.

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

Use some logic. It's all been described so you should be able to figure it out :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] stankyou:
You probably need the kernel app not the display app.
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

No, the 4th bit in each nibble is ignored so 1111-1111 = 0111-0111.

But again that's for 255 value only. Other values between 119 and 255 could mean 0 depending on bits turned on.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Archmag3:
can you please respond to my previous query ? :)
[Nexus 4 Original Android Development] KyraOfFire:
Did I just "burn" my screen or something?

Previously my screen works fine, I changed the gamma values a lot and nothings brook. Then I updated kernel updater, slides thing around a little bit, and BAM!

The mostly black and white wallpaper suddenly has gray blocks on it. Changes gamma values around doesn't fix it, default values and recommend values doesn't fix it.

Edit: wipe cache doesn't fix :(
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

The best thing for everyone is to forget those values and just start from scratch and use the sliders to come up with new settings.

The only reason why Franco left actual values next to the sliders is for script compatibility. Otherwise it should just be 0-15 and 0-31.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Archmag3:
undervolted by anychance ?
[Nexus 4 Original Android Development] CrimsonSmear:
x111-x111 may be a better representation.

If the first nibble < x111 the second nibble is ignored and the value will be 0-7.
[Nexus 4 Original Android Development] Archmag3:
well your previous values on 8.7.1 worked flawlessly and so it would be nice if you give some starting point after which i can tweak to my liking :)
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

In some cases depending on your settings excessive contrast or grays can do that. Click the default settings and it should be fixed.

Sent from my Nexus 4
[Nexus 4 Original Android Development] KyraOfFire:
Yes, UV'd.

Returned to normal values. Still see gray blocks on the normally fine picture. What the... :(

Default settings does removes the gray blocks. But if I go to recommended values, or any values that were previously fine, gray blocks come back.
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

The recommended settings in Franco's app is what I'm using (see my sig). If you are getting banding, back off contrast. Your screen might be different.

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

The picture you already took? Of course.. :p

Otherwise clear app data and flash kernel again.
[Nexus 4 Original Android Development] Archmag3:
get back to default values...might reboot and check again :rolleyes:

Thanks :)
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

With display tuner, can't get all colors to 2.2. If I get gray to 2.2, rest of the colors are 1.8, and vice versa. I might just forget this and just roll with what looks good lol
[Nexus 4 Original Android Development] jarjar124:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

+1 on this.

This is what looks nice for me. I like xda more white than orange.
[Nexus 4 Original Android Development] KyraOfFire:
So the story so far:

I updated franco updater, slides the gamma values around a little bit. Suddenly my previously fine black and white wallpaper has block of grays on it.

Return to stock values sure fix the banding, that's what Google did to the screen. But any other values, like recommended values, and I see those blocks of gray.

Cleared franco app data, wiped cache, wiped dalvik, flashed reset kernel, flashed franco again, tried all of that.

Any idea?

Thanksm
[Nexus 4 Original Android Development] Archmag3:
flash google stock kernel and check again ? :(
[Nexus 4 Original Android Development] KyraOfFire:
Well, I don't trust my own eyes (and screens) anymore. Can anyone please check and see if this picture has visual artifacts?

Thanks,
[Nexus 4 Original Android Development] strobolus:
I actually think this could very well be an r83 issue.

Since I installed it my battery goes more than twice as fast then before flashing franco kernel (I was on stock)

I am going to try r82 and see if it makes any difference
[Nexus 4 Original Android Development] Archmag3:
yes it has :laugh:

http://snag.gy/T1eD1.jpg < check
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Yes, compression artifacts are visible. They will become more apparent as you increase contrast. Its very typical with compressed pictures. You need to find an uncompressed or relatively high quality photo to adjust settings to.

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

So why do you think its r83? Makes 0 sense.
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

How are u guys testing 2.2 gamma? Is there a certain app being used?
[Nexus 4 Original Android Development] gianton:
Display Tester https://play.google.com/store/apps/details?id=com.gombosdev.displaytester&hl=el
[Nexus 4 Original Android Development] KyraOfFire:
Thank you for your help.

While I am pretty sure I see heavier artifacts then before, but since nothing else is affected.... oh well, since nothing else is affected, may be my screen was just "burnt in" and I got a more accurate screen then before :D

I'll just return to stock, flash franco and see what happen. Maybe time to move on to a new wallpaper.

Thank your again for your help.
[Nexus 4 Original Android Development] sga999:
Gosh, I have no idea how this happened. I was on r82. I updated Franco's app and was looking at Gamma values, etc. Then I saw there was r83, so I flashed it through Franco's app. Now, after boot, the lock screen stays lit only for a few seconds, then goes dark...not completely black. If I hit power, it will go completely black, just as it normally would when when sleeping. I can hit power, and the lock screen will show for a fraction of a second, then go dark again.

I tried flashing an earlier kernel, but the result is the same.

Does this behavior seem familiar to anyone?
[Nexus 4 Original Android Development] obsanity:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I think your previous gamma settings now make the screen way dark.

Go into a dark closet and see if you can tell where stuff is. Navigate to Franco's app and bump brightness.

Edit: I just lowered RBG values about half way and got gamma all the way to dark and sure enough... black screen LOL

Also, try putting your phone to a light source. I'm thinking the auto brightness might show more details so you can navigate.

Sent from my Nexus 4
[Nexus 4 Original Android Development] KyraOfFire:
I got some news here:

The story:

I updated franco kernel updater (with r83 on PA Feb 18), played around a little bit, then suddenly notice my wallpaper has more visual artifacts then usual. Like 10x10 px^2 chunks of gray in between black and white.

I wiped, wiped again, wipe franco data, flashed franco again, flash reset kernel, etc. None seemed to work.

What's new:

I thought it happened after I updated franco kernel updater, and what I want is PA contrasty gamma settings. So I uninstalled franco kernel updater, then flashed PA contrasty kernel 4.2.2. And BAM! My screen is cured.

While I am not sure what happened, a combination of franco kernel updater, franco r83, PA Feb 18, and *messing around with gamma slider* might bring weird things :-/

Edit: So I installed franco kernel updater and put recommended settings on again. Definitely increased the amount of visual artifacts (on my heavily compressed jpg)
[Nexus 4 Original Android Development] wngmv:
Moles worked for me.
[Nexus 4 Original Android Development] sga999:
Once it goes dark, I can't see anything, closet or bright light or anywhere. When the lock screen comes on for the very brief moment that I hit power, I can see that it says Jan. 1. So something has messed up the date.

If the RGB values are the problem, does it make sense that I can see the lock screen briefly and then it goes dark? If so, any other ideas on how to get these RGB values changed? I flashed the stock kernel, and it's the same problem. Does that indicate it's something other than RGB values?

Thanks for your help.
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
I thought halfbreed had grays at 32? Not sure why you changed to 0? I personally changed my Halfbreed settings to 0 because it helped with the gamma on grays personally... but I mean not to confuse other readers

Edit: My head is a mess. Seems like a lot changed from yesterday afternoon. Lots of reading to catch up on.... My questoin is how do these new valid values affect me if I'm using init.d scripts? I have some set at "255" still and while the App is updated, what about my init.d settings?
[Nexus 4 Original Android Development] CrimsonSmear:
32 = x010-x000 which converts to 0 in relation to franco.Kernel Updater v8.8.

Edit: You'll be fine until you use Updater to view gamma.

I have updated my init.d script to include updated and converted profiles > here <.

Common requested converted profile values > here <.
[Nexus 4 Original Android Development] Archmag3:
My settings.working flawlessly on my screen :

RGB 255

Grays 0

Mids 119

Black 119

Contrast 28

Saturation 119

Whites 87

No banding

Getting deep colors.
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
Kel Ghu

Gray: 2.6

Red: 2.2

Green: 2.2

Blue: 2.2

Yellow: 2.4?

Cyan: 2.4

Magenta: 2.2-2.3

Obsanity

Gray: OFF THE CHARTS

Red: 2.1

Green: 2.1

Blue: 2.1

Yellow: 2.4

Cyan: 2.3

Magenta: 2.2

Visceral v1

Gray: 1.4

Red: 1.2

Cyan: 1.2

Blue: 1.2

Yellow: 1.4

Cyan: 1.4

Magenta: 1.2
[Nexus 4 Original Android Development] meangreenie:
It's a relief that I found someone else who notices them. I'm running stock 4.2.2 now because of this, it present on all 4.2.2 custom kernels i have tried.
[Nexus 4 Original Android Development] i860:
This is my screen, i can see that the signal was poor in some areas close to nothing ( when red is present ). But where i run the signal is stable, not sure why a 30% drop in one hour...

Ps

may be because i was listening to my Favorited song ( i am sarcastic )

http://www.youtube.com/watch?v=kfVsfOSbJY0
[Nexus 4 Original Android Development] :
Re: [KERNEL][GPL][N4] franco.Kernel - r83

On r83 the battery life seems to be down to 3 hrs screen-on, from a bit over 5 hours with the same usage. This is compared to r72.

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

I get the best battery life and screen on time I've ever had on this device! Mostly on wifi and I don't game, but I get 6 hours screen on (and I don't read ebooks either).
[Nexus 4 Original Android Development] vinnyutd6899:
Have great batterylife with r83

Main use

Sms 80 send and revived.

Web browsing

Facebook

Twitter

15 mins of calls.
[Nexus 4 Original Android Development] Monkeybrew:
Yo. I too work with color as a professional :)

I want ALL my screens to display NATURAL colors, and I've got a lot of equipment to try to make sure I do.

Now, I've tried to match the Nexus 4 screen to my Spyder4-Calibrated Eizo Screen again, using the new app with gamma control.

This is the closest I got:

EizoNatural

r 182

g 162

b 162

whites 2

mids 4

blacks 119

contrast 0

brightness 0

saturation 4

grays 0

The Nexus 4 screen is VERY contrasty as it is, so keeping the RGB values close to 255 will easily clip the channels. I would actually like to lower the contrast even more, it's not easy to keep information in the higher register.(easy to get blown highlights for example) Like visceralpsyche pointed out earlier, you need to lower the values and balance them there. Then you can up the gamma settings to suit the screen.

I tried visceralpsyche's spyder settings, but they made my screen have too much contrast and some gradients, especially in skin tones, were broken. This was mainly due to the saturation setting of 7. I lowered it to 4, which fits my screen better.

I tried Obsainty's settings but they were way off for me.

All screens are different, try my settings if you want balanced colors and see if they fit your screen.

( My screen is rev_11, batch 212k )
[Nexus 4 Original Android Development] Arstoien:
You didn't change the rgb values to 175 for Visceralpsyche, did you?
[Nexus 4 Original Android Development] leets4uc3:
i love it. best one yet IMO. thank you! :cowboy:
[Nexus 4 Original Android Development] italia0101:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I like these but I put my saturation a lot higher .... I like the deeper colours it gives..

Try these settings with 255 on rgb and 119 on contrast
[Nexus 4 Original Android Development] dagaetch:
Interesting. I agree that this gives the most 'natural' look to the screen and the test images in Display Tester. If I were doing serious art/photo work on this phone, I would probably stick with these settings. However, the franco recommended settings just look better to me on most things. It is a very subjective thing, I guess - unless you're doing professional work! :)
[Nexus 4 Original Android Development] vinnyutd6899:
What are the best color setting for someone using auto brightness?
[Nexus 4 Original Android Development] Monkeybrew:
Yes, thank you. My settings is not meant to be for those who want a lot of contrast and "punch" in the colors. The settings were made specifically to give "correct" , natural colors. And to keep and display a maximum of tonality in the different channels. Raising the saturation like that will NOT give you a natural look, but you'll get rich, vivid colors - and there is nothing wrong with that, if it's what you are after! :)
[Nexus 4 Original Android Development] yokuyuki:
Kel Ghu

Gray: 3.0

Red: 2.6

Green: 2.6

Blue: 2.6

Yellow: 2.8

Cyan: 2.8

Magenta: 2.6-2.8

Obsanity

Gray: 2.8

Red: 2.3

Green: 2.3

Blue: 2.3

Yellow: 2.4-2.6

Cyan: 2.4-2.6

Magenta: 2.2

Sypder4 Visceralpsyche

Gray: 2.0

Red: 1.6

Green: 1.6-1.8

Blue: 1.6

Yellow: 1.8-2.0

Cyan: 1.8-2.0

Magenta: 1.6

Halfbreed

Gray: Off the charts

Red: 3.0

Green: 3.0

Blue: 3.0

Yellow: Off the charts

Cyan: Off the charts

Magenta: 2.6

Ian

Gray: 2.4-2.6

Red: 1.8-2.0

Green: 1.8-2.0

Blue: 1.8-2.0

Yellow: 2.1-2.2

Cyan: 2.1-2.2

Magenta: 1.8-2.0

Wow, I can't find one that works for me :(

The best was the old obsanity for me but I lost it when I changed to the new one.
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
I did change the RGB to 175... was I not supposed to?

There was some poster here who claimed RGB shouldn't affect Gamma, but what do I know anyway? lol