yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] omvir:
Omfg dude. I'm so amazed ATM with how my screen looks right now with semi2. For anyone who is wondering, I have no yellow or any colored tints on my stock color values so I pretty much had a perfect looking screen with no imperfections, and this profile just makes it a million times better. I'm saying this just in case people are wondering if this profile is for them, cause I know not everyone has a similar screen. Thanks a lot rajendra.
[Nexus 5 Original Android Development] Notechis:
))) archieved 2.2 nearly with all IAreKyle
[Nexus 5 Original Android Development] :
Sammy2 is like an unicorn orgy on my display ^^
[Nexus 5 Original Android Development] RL_ka:
Hello!

I tried to read last pages, but there are too many useless posts.

I tried r32 and beta_r33 kernel, with Display Control, but when i change anything there i see no difference.

Does it work at all with last kernel? Or maybe I have to reboot my phone after changes?

Sorry for dumb question, if it is :D
[Nexus 5 Original Android Development] Notechis:
Turn Display on and off
[Nexus 5 Original Android Development] yorici:
Search before you post please.

http://xdaforums.com/showpost.php?p=49561443&postcount=13757

Answers all of your questions
[Nexus 5 Original Android Development] rsa 329:
Relax, I was simply making a statement. No sense in bringing babies into it.

EDIT:

I did make a pretty sweet profile that works really well for my screen from this though.
[Nexus 5 Original Android Development] IAreKyleW00t:
Tweaked my previous profile a lot more. Got nearly perfect Whites and 2.2 across the board. No banding or odd discoloration either.

IAreKyleW00t_2 - http://d-h.st/6yo
[Nexus 5 Original Android Development] bknightt:
Semi2, OMFG. loved the reduced saturation, it's even more perfect, thanks again [MENTION=2752629]rajendra82[/MENTION] !
[Nexus 5 Original Android Development] jtwlbz:
Where did you get that.info 445 dpi is true. Is dpi same as ppi?
[Nexus 5 Original Android Development] mitchdickson:
Google.com

Sent from my Nexus 7
[Nexus 5 Original Android Development] fbf2201:
dot or pixel

I would say is the same ;)
[Nexus 5 Original Android Development] rajendra82:
If you reread the [MENTION=5543250]mag01[/MENTION] posts in one of them he explains it in a way. He says you never want to set any register to be much higher or lower than its neighbors, because if you do the values controlled by the neighboring registers will give a large negative analog response in the opposite direction. If you remember correctly increasing registers 1 through 7 decreases brightness. When you set 1 to 255, you are telling the system to display pure red, green, blue, and white as black. When you do this the values of colors just below this increase in the opposite direction, so you get a band that goes to the halfway point. This doesn't mean that register 1 controls those colors, but it does affect them. On my Sammie's and Sons, register 1 is set to zero so colors are at most intense, but the register 2 is a small number too, so you have a slightly less intense color for the next level. There is no band spread halfway across the screen, because the changes are gradual. You can even load the uncorrected insanity 2 profile and in the display tester app load the banding and contrast patterns and go to the fifth screen. There are 32 rectangles for each color. Register 1 for red, green, and blue affect all the full color rectangles on the right side of the screen. Keep going left and the next ones should be affected by both 1 and 2 and so on until the 16th one which is at the midpoint and is affected by registers 6 and 7. When you get to the 32nd set of rectangles, that one will always stay black no matter what profile you load. This is because that one is affected by the 24th value of always 0. This pattern is the one that will show you the effect of the registers most directly. Gradual steps in register values will show gradual steps here, and abrupt changes will reveal abrupt steps, and/or unintended consequences.

Like I indicated earlier the math is the equations of straight lines passing through the following points. I suppose one could fit a curve instead of three straight lines, but it would not much make that much of a difference.

Line 1 between (1, 255) and (6.5, 127).

Line 2 between (6.5, 127) and (12, 63).

Line 3 between (12, 63) and (24, 0).

The x axis for this geometry is the register space we are working in and the y axis is the color space that it applies to.
[Nexus 5 Original Android Development] Enddo:
such a welcoming community we have here. . .i bet you're such a joy to be around
[Nexus 5 Original Android Development] rajendra82:
Based on testing by mag01, the white point control is a combination gamma and brightness control. Dropping the white point number bellow the default 32 will raise overall gamma but reduce overall brightness while raising the white point will reduce gamma but increase brightness. There are however consequences to this. Our displays are red limited at the high end (saturated reds can't get any more intense), and blue limited at the low end (near black blues are limited in how low they can go). Changing overall white point will therefore affect color temperature, and non uniformly. White point, therefore has a limited range of values within which it's useful. Since we have full control over the color curves, it's probably best to leave white point at 32 and adjust individual curves.
[Nexus 5 Original Android Development] pa.pn2:
Looks awesome on my screen. Thx
[Nexus 5 Original Android Development] rajendra82:
That's exactly why I made the baby analogy. The insanity2 preset is meant to be for the x axis for the color curve, along which we have 23 points of control. The y axis is the values of display intensity obtained from the register contents in the profile. No sane person would want to use this as is, but it is a good tool for profile builders.
[Nexus 5 Original Android Development] droid@xda:
New profiles by [MENTION=2752629]rajendra82[/MENTION] don't look good on my display. Kind of washed off effect on darker shades. So far, original insanity profile has been best for me. Good whites and darks are fine. Colors pop out to extent they should. But even that doesn't give gamma of 2.2 on my display. Its just 1.8. Right now using it with white point 30.
[Nexus 5 Original Android Development] neriamarillo:
I was just about to say this. Watching a movie I found this to me more prominent. However tuning from settings based off of mag01's this doesn't happen (happens with v1 of your profiles too).

I have an example here in a screenshot of the movie. Notice the star in the background with the glow around it. It looks like it should (a light with glow) but when I apply any of the other profiles it becomes really washed out with pixelation and weird grays.
[Nexus 5 Original Android Development] droid@xda:
Does your phone's display have gamma of 1.8 and yellowish/reddish tinge on stock profile?
[Nexus 5 Original Android Development] ChazzMatt:
NO. PPI can't be changed. It's hardware. This phone display has 445 ppi. The stock dpi is 480 on this Nexus 5 and can be changed via software. Makes things look smaller.
[Nexus 5 Original Android Development] neriamarillo:
It is at 1.8 but a very very small amount of tint. Nothing I would complain about.
[Nexus 5 Original Android Development] imageMaster:
Looks like 2.3 with blue cast for me, and shadows are black.

Отправлено с моего Nexus 5 через Tapatalk
[Nexus 5 Original Android Development] ChazzMatt:
You are confusing dpi with ppi. Two completely different things.
[Nexus 5 Original Android Development] ZacksBuilds:
Applied and instantly noticed a red tint... On stock mine is fine. All these profiles for me are ethier to dark or discolored xD

Device: Nexus 5 16GB

ROM: Purity w/ Franco r32
[Nexus 5 Original Android Development] droid@xda:
I find it to be irritating on mine. Maybe because I have more of it or I have lumia 820 to compare which I believe has perfect white and overall color reproduction (no over saturation) despite being AMOLED.
[Nexus 5 Original Android Development] ChazzMatt:
That's great. True gamma starts at 2.22 and is in a range to about 2.4. It's more a blend than a hard number. Everyone who shoots for "2.2" is going for the minimum which really is 2.22. Unless you have your

display hooked to a professional colorimeter

, how do you know it's not 2.19 in instead of 2.22? :silly: It's like being told passing grade is 72 - 100, and you hit 70. Ooops.

So, you are doing it right.

There's a reason blu-ray discs are mastered at 2.4 gamma. (And yes, that's simplistic. It's 2.4 on one end but ends up being a little less on the other end)
[Nexus 5 Original Android Development] martinezma99:
My new favorite! Looks perfect on my screen. Thank you.
[Nexus 5 Original Android Development] yorici:
So I read mag01's post again and I have some mathematical prove perhaps for 6.5 value:

This might be complete rubbish, but it is quite coincidental..

http://www.chromapure.com/colorscience-gamma.asp

Output for 50% = 0,72974005 (0,72974005^2,2 = 0,5)

Our register contains 24 numbers. So we should do 24*0,72974005 =17,51

And 24-17,51= 6,49

As for the math, that does give you a 2.2 exponential curve. Do you use your spreadsheets like colorv2 for insanity1/2? Because you don't seem too. You should try my newest spreadsheet though, it makes testing way quicker.

But can you link me or give me directions how to view this. You mentioned 32 rectangles, but I couldn't find it in the DPapp.
[Nexus 5 Original Android Development] carlese:
Guys, mods, [MENTION=3292224]franciscofranco[/MENTION], it possible to make an official thread for this color thing? I think it's really going out of hand now.. Every dumb second there is a new topic about color profiles, white here, red there, 2.1, 2.2.. I understand this is a kernel feature, and I really like it, but maybe keeping it separated for the other questions might be more convenient.. Of someone posts a problem it gets immediately covered with other 10 color posts.. But that's just my opinion.. Your choice ;) Btw r33 and latest fku (11.3b) working great together :)
[Nexus 5 Original Android Development] detdett:
No one is forcing you to be here.
[Nexus 5 Original Android Development] carlese:
No one is forcing you either with your stupid answers.. Did you even read what I wrote? Too many fanboys here.. I am a regular user too, purchased fku and I am a happy user.. I don't think I shouldn't be here telling what IN MY OPINION could be better for this thread..
[Nexus 5 Original Android Development] detdett:
Did you even read what the op wrote. Why should you care if Franco is fine with the way this thread is going

:facepalm:
[Nexus 5 Original Android Development] carlese:
Well, thank God his kernel isn't messy like this thread then :D
[Nexus 5 Original Android Development] sir*mez:
Problem solved. :silly:
[Nexus 5 Original Android Development] detdett:
There's nothing messy... if anything, this thread is more informative than anything
[Nexus 5 Original Android Development] neriamarillo:
Actually dude the thread is getting even better. We have a lot of community support and everyone is pitching in instead of posting battery stats and complaining about battery life or reboots. :confused:
[Nexus 5 Original Android Development] carlese:
That's true.. I just hope it won't get like the battery stats thing.. It's like a song on the radio, if you listen to it repeatedly you will hate it sooner or later ;)
[Nexus 5 Original Android Development] abdel12345:
No if you listen to it repeatedly you'll memorize it;)

Sent from my white LG Nexus 5
[Nexus 5 Original Android Development] Enddo:
the most honest thing ever said in this thread
[Nexus 5 Original Android Development] detdett:
And what's wrong with that?
[Nexus 5 Original Android Development] yorici:
Guys, Franco said it was ok/enjoying. It's his kernel and he is the OP of this thread. Can we stop it now?
[Nexus 5 Original Android Development] rajendra82:
The washed out look of my profiles version 2 bothered me, so I went back to the textbook. I realized I had made an error when applying gamma correction before. Gamma is applied as a power correction in the midtones and highlights area, but in the shadows, it is applied linearly, which I was not doing before. Fixed this, and now all issues are fixed. Here is my best shot at profiles.

1. Using full gamut but actually applying a gamma correction to overcome the 1.0 gamma and set a balanced midpoint near Register 12 and 13. The raw intensity values in insanity2 are in fact correct, but you apply this to restore order. Basically this is a mathematically correct first insanity I came up with. That looked good, but it was an accident. This looks good on purpose.

https://www.dropbox.com/s/ypy68fgc7ny3j2r/sanity

2. This is what you would get, if you took insanity2, and targeted gamma 2.2 (and applied correction correctly). Looks similar to a SAMOLED panel, as it is darker in the shadows than stock, and uses full gamut like sanity.

https://www.dropbox.com/s/vog3s473pg3eav8/Sammy3

3. This is Sammy3, corrected in the shadows to match stock. The tweaked shadows don't affect the 2.2 gamma of Sammy3 too much.

https://www.dropbox.com/s/9mjciii1m50rg6w/Son_of_Sammy3

4. This is Semi3, first brought halfway between Sammy3 and stock in midtones and up, and then recorrected to target gamma 2.2, and the rerecorrected to bring stock shadows back.

https://www.dropbox.com/s/5cdm4cyfjvkjyuc/Semi3

I used two spreadsheets to do these corrections, v2 is used to do a 5 point correction, and v3 is used to do a gamma correction. I had to go back and forth to get Semi3 to do what I really wanted.

https://www.dropbox.com/s/4z8babyczhc0q4i/Colorsv2.xlsm

https://www.dropbox.com/s/u4f67i852seeig5/Colorsv3.xlsm

I think they meet my targets, and won't need any further tweaking on my panel.
[Nexus 5 Original Android Development] dannyella:
Any plans to add more governors like ondemand and intellidemand in the future?
[Nexus 5 Original Android Development] monkey hung:
When are you going to receive your N5, Franco?
[Nexus 5 Original Android Development] franciscofranco:
Ask German postal services ;)
[Nexus 5 Original Android Development] 1stx2:
I've missed francos kernels while having my note 2. Feels good to finally be back. dont think I'll have to worry about that anymore tho finally getting away from verizon.:D
[Nexus 5 Original Android Development] Sultanxda:
Franco, how are you building the kernel? I can't even get the stock kernel source to boot :(
[Nexus 5 Original Android Development] oediv:
well i really want to test all kernels :) but when the kernel not start what i have to do to get the stock kernel back :/ ? if someone can explane me that i can test every test build, had my nexus since yesterday and cant wait for roms and good kernels :)
[Nexus 5 Original Android Development] danielvc:
You boot the kernel first, then (if it boots), you can flash it.

(or you download the 4.4-image, extract the boot.img and flash it if you want stock)
[Nexus 5 Original Android Development] nexusmaniac:
Nexus 5 should be here Monday or Tuesday :D
[Nexus 5 Original Android Development] patriotaus:
My device shall be delivered on Tuesday. I expect you will have an influx of testers very soon.
[Nexus 5 Original Android Development] :
Will we get Linux Kernel > 3.4?
[Nexus 5 Original Android Development] oediv:
Well with cmd command i need :/?
[Nexus 5 Original Android Development] danielvc:
Search and find will you, young padawan
[Nexus 5 Original Android Development] Striatum_bdr:
Same as procedure in OP.
[Nexus 5 Original Android Development] oediv:
ok and wenn i flash it for ever i should take

fastboot flash boot-testX-img

right?
[Nexus 5 Original Android Development] mrgold2505:
I think i made history.......my fu.....nexus is bricked. is it possible???

Power amd volume up and down not working. Any help please???
[Nexus 5 Original Android Development] danielvc:
Ok, and what did you do exactly? It's really hard to brick a Nexus...
[Nexus 5 Original Android Development] mrgold2505:
I used the franco updater for nexus 4 to flash the kernel.in the moment i flashed it completly black screen
[Nexus 5 Original Android Development] Michealtbh:
It's possibly bricked then. Why did you flash a N4 kernel to your N5?
[Nexus 5 Original Android Development] mrgold2505:
I only used the franco updater, the kernel was for nexus 5

---------- Post added at 03:49 PM ---------- Previous post was at 03:43 PM ----------

I just bought 2 days ago in carphone warehouse. do you think they will replace it. i dont have insurance, but because is completly dead they can not check what is the problem.

---------- Post added at 03:49 PM ---------- Previous post was at 03:49 PM ----------

:confused:I just bought 2 days ago in carphone warehouse. do you think they will replace it. i dont have insurance, but because is completly dead they can not check what is the problem.
[Nexus 5 Original Android Development] The Gingerbread Man:
You should have a 14 day return period from there. You have to lie and tell them it ran out and won't charge and now is dead. Go for exchange option rather than refund and I hope you will learn your lesson for next time although its unfortunate you learnt the hard (brick) way.
[Nexus 5 Original Android Development] mrgold2505:
thank you
[Nexus 5 Original Android Development] pkelly517:
I don't even have a /proc/last_ksmg.

That's weird.

edit: Oops. Didn't use the Quick Reboot app. Just powered off/on. Quick Reboot gave me a file.
[Nexus 5 Original Android Development] barondebxl:
I'm having some issues accessing my gallery and camera. I can't provide screenshots cause I can't access the gallery but it says " No storage" " no external storage available".
[Nexus 5 Original Android Development] Apolyxon:
How many cores are online in default stock when screen is on?
[Nexus 5 Original Android Development] anthonyh90:
for those having issues with hardlocks did you flash the stock kernel first.i was experiencing the same coming from test 8 but flashing the stock kernel before r9 seems to have cured them for now.
[Nexus 5 Original Android Development] highend01:
How do you get screen online times like 6 hours or more? I'm on r9, 1:15 screen on and have lost 30% ;) A bit of surfing, music and the youtube app for 30 minutes...
[Nexus 5 Original Android Development] zephiK:
I flashed from faux 002b04 and don't have any problems. I'm still on the same battery cycle but it's very smooth and stable on battery life. Running how the phone is meant to be run, 300-2266
[Nexus 5 Original Android Development] pkelly517:
Fully charge. Read an e-book in airplane mode. BAM! Hours.
[Nexus 5 Original Android Development] JNewms:
You'll need to go through a charging cycle or do before you start to get a true feel for battery. The settings Franco ships with are the recommended value.
[Nexus 5 Original Android Development] franciscofranco:
That's only a benchmark, and it increased because I fixed the thermal control.

USB Audio is enabled and added by default.

Nothing is missing, I simply disabled options that I don't want to be there.

I see what you mean but on the current setup of my thermal driver doesn't throttle the GPU.

Are you both undervolting? I had the same thing happen to me once, but I was undervolting too much.

I can't add those links to the OP, against the rules.

You were using ART weren't you?

Depends, it uses 1 for the most part, but when you touch the screen it onlines the second core and if you swipe it will online every core.
[Nexus 5 Original Android Development] GHOSTIVVI:
I just bought the fku app too!! So awesome, one of the best kernel apps I've ever seen. I've signed up for the g+ beta page but I can't see r11 kernel
[Nexus 5 Original Android Development] sluflyer06:
No undervolting :(
[Nexus 5 Original Android Development] ChazzMatt:
Because we are only up to r9.

_______

Sent from my Nexus 5 (LG-D820)
[Nexus 5 Original Android Development] Warrimonk:
I tried to replicate the call crashing bug. It works fine for me. No crash. Same with the camera gallery bug.

Battery life seems good. A substantial improvement over T8. I flashed using flashify directly over t8, not that it should matter.
[Nexus 5 Original Android Development] srps:
With or without undervolting. I can still access the device through MTP / fastboot / adb scratch that, looked like I could but it gets stuck on "waiting for device", but the screen doesn't turn back on so it is inoperable. LED light still flashes, but calling the device doesn't work.

I have attached a kmsg from after a forced reboot (holding down power button).
[Nexus 5 Original Android Development] GHOSTIVVI:
I thought r11 was in beta currently?
[Nexus 5 Original Android Development] Savant:
LIES!!!
[Nexus 5 Original Android Development] franciscofranco:
Ok, thanks for the info!
[Nexus 5 Original Android Development] jackie_jagger:
Hey guys, I'm running r9 and I'm having an issue with the phone waking up when playing music. The screen refuses to turn on while the music keeps playing. Can anyone try replicating this issue and see if it happens or is it just me.

Stock r9 settings, I didn't change anything.
[Nexus 5 Original Android Development] zephiK:
I just got home listening to music playing the whole time (~1 hour). UV'd -75 and the screen turns on just fine. No problems.
[Nexus 5 Original Android Development] JNewms:
Are you using ART or undervolting?
[Nexus 5 Original Android Development] blackt5:
When Franco says he merges patches from CAF, what and who are they?

Mr. Google didn't help. Too many things use the abbreviations CAF.
[Nexus 5 Original Android Development] thesebastian:
Code Aurora Forum

Inviato dal mio Nexus 5
[Nexus 5 Original Android Development] blackt5:
Just as I found it you replied. Thank you.
[Nexus 5 Original Android Development] rajendra82:
Code Aurora Forum
[Nexus 5 Original Android Development] franciscofranco:
No.

CAF is Qualcomms open source git. They push patches to their BSP/platforms almost daily. If the patches do not butcher userspace libs (like CM did on the N4/N7) then its mostly fine to merge them in, specially since this msm8974 is still in great development.
[Nexus 5 Original Android Development] yorici:
Ehm just a note here: Gamma correction follows a power law of 2.2. It's not linear but the values are small in the beginning making it look like linear. Same applies for ends, but just reversed (1-x).

And gamma correction is done because of the way our eyes perceive color and the spectrum we see.

Can you confirm the following summary:

You had a base curve(sanity), then you did the following steps:

1) Target gamma, use gamma correction (spreadsheet v3)

2) Target shadows (spreadsheet v2)

3) Target midtones (spreadsheet v2)

What were your objectives for the shadows and midtones and how did you test it? Furthermore, not targeting the highlights?
[Nexus 5 Original Android Development] rajendra82:
Not quite correct: Source Wikipedia

Unlike most other RGB color spaces, the sRGB gamma cannot be expressed as a single numerical value. The overall gamma is approximately 2.2, consisting of a linear (gamma 1.0) section near black, and a non-linear section elsewhere involving a 2.4 exponent and a gamma (slope of log output versus log input) changing from 1.0 through about 2.3.

I made the same mistake as you and did not apply the linear section for registers 13-23 first, Then I got the washed out look of version 2 profiles when I targeted a higher gamma. Putting in the near black linear section, which is what registers 13-23 are, is the key to avoid that washed out look. This is the biggest difference in going from version 2 to version 3 of my profiles, the rest is minor tweaking.
[Nexus 5 Original Android Development] InfectedSoap:
Semi3 is perfectly between 2.2-2.3 with whitepoint of 31 for me :D :thumbup:

Thanks a lot man! Your profile is the first one to replace mag01 for me which I've been using for two months.