yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] rajendra82:
Yorici:

Your interface is good, except you need 3 properties for each color to a do a full adjustment. What your spreadsheet does is multiply each value by a fixed number. This is good, but If you look at the mag01 post I linked a couple posts back, there is a link to an image. What you provide is called gain control. There are two other controls needed. One is gamma, where the middle of the curve is changed by a multiplier while the ends are kept the same, and the third control is offset, where the entire curve is moved up and down. Those three values will give the user an adequate control.
[Nexus 5 Original Android Development] yorici:
Hi there! Check out this post for the original post (http://xdaforums.com/showpost.php?p=49423273&postcount=878)

It contains an excelsheet, but ill reupload it here!

Basically I rearranged the 23 values, multiplied them by a factor and put them in one cell for import.

You can customise the factors K, i recommend setting them on 0,95 and see them change. Then slowly reduce them. (Unless you want to remove a certain tint, I recommend leaving the factors for each colour the same.)

The importready cell is down below.

1) Open app and save a preset

2) Connect nexus to pc

3) Open the preset (sdcard/franco.kernel_updater/color_profiles)

4) You need to open empty files with Word

5) Copy the cell (Ctrl+C) and paste it in Word, save word

6) Load preset

7) Done
[Nexus 5 Original Android Development] rajendra82:
Currently we can't do it. FKU adjusts a few of those values, not all.

The rows and columns are how the gamma app presents the register values. They are listed in six rows of five and another row with three values. That doesn't matter, because what you actually have are 23 values for each color, starting at the most intense, and going down to least. The values for the first 12 registers are subtracted from 255 to get strength of the color that the panel will display with decreasing intensity, and the last 11 are added to zero to the same. When adjusting row 1 column 1, faux123 is adjusting the full intensity value, and when adjusting row 2 column 5, he is adjusting value 10, which is just a little than 50% intensity. This is what FKU provides control over for now.
[Nexus 5 Original Android Development] droid@xda:
Hope its possible soon. I still can't get satisfactory results. Tried many values in gamma app thread.
[Nexus 5 Original Android Development] trailblazerz11:
Stock colors are great for me. All I need to do is drop the white point to 28/29 and I get 2.2 across the board.
[Nexus 5 Original Android Development] chikimonke:
Hey [MENTION=3292224]franciscofranco[/MENTION], quick question. Will the color control functionality in FKU be the same as your stand alone display app, or will the display app have additional functionality? I bought the display app after you announced you'd be updating it shortly, and I currently own FKU. Do I need both for display calibration? If not, consider it a small donation and thanks for your work. :D
[Nexus 5 Original Android Development] yorici:
One is gamma, Third is offset, what is second?

About the offset: If you add to all the stock values 5, it will lead to distortions... Really try it out for yourself: Banding occurs
[Nexus 5 Original Android Development] CDeviant:
Looks totally normal to me, just 1.4 gamma
[Nexus 5 Original Android Development] droid@xda:
That makes color vibrant but brings yellow tinge if its not there or increases it if already present.
[Nexus 5 Original Android Development] :
What do you mean with 2.2? I never dealt with gamma settings before (first Nexus).
[Nexus 5 Original Android Development] CDeviant:
Gamma affects how a computer generates images. Colors viewed on a computer with "uncorrected" gamma will appear different from those viewed with a corrected gamma. Compare the differences in the images below.
[Nexus 5 Original Android Development] yorici:
1.4 and no banding? Let me raise it by 15 then xD

Can you see now that controlling the offset is not beneficial to the curve and the display?
[Nexus 5 Original Android Development] droid@xda:
Is it possible to have separate thread to discuss and share color presets? Right now, its becoming increasingly difficult to catch up with this thread.
[Nexus 5 Original Android Development] JassyNL:
I was on Franco for a long time on the Nexus 4 but habe returned to Stock. Now i am on Franco again on the Nexus 5. Let's see if the Franco magic is working on this device!
[Nexus 5 Original Android Development] chikimonke:
It is.
[Nexus 5 Original Android Development] yorici:
Mag01 Settings for the FKU app:

Make sure to remove .txt ;)

Enjoy!
[Nexus 5 Original Android Development] rajendra82:
Gain or Multiply

http://www.qvolabs.com/images/Nuke_basic_CC_Gamma_GainMultiply_Offset .jpg.jpeg
[Nexus 5 Original Android Development] franciscofranco:
Great! Can you explain the function in "english" my math skills are, undoubtedly awful, "factor of K" is the same as Chinese to me.

The feature will be exactly the same. I provided the app for users who did not wish to buy FKU but wanted something simple for color stuff only.
[Nexus 5 Original Android Development] neriamarillo:
What I did was I had the old calibration app and had my mix of mag01 color setup for my screen and I opened fku and it was showing the changed numbers so I created a profile there. I uninstalled the old calibration app, rebooted. Loaded the profile on fku an now I have the setup again and according to display tester I'm getting 2.2 as I was with the old calibration app. No banding and no tint.

Btw [MENTION=4809179]yorici[/MENTION] those mag01 settings you shared give me 2.2 in almost all the colors except cyan which is at 2.1. :thumbup:
[Nexus 5 Original Android Development] yorici:
Okay I get it. Second picture and third picture result in this: ax + b

I already got the second picture covered. +b is not a problem, although I doubt if it's functional.

But how would you mathematically succeed in picture one (and picture 2 and 3)?
[Nexus 5 Original Android Development] :
So I guess 2.2 is the ideal value for our devices? I would ask how you can calculate it but I will just wait couple of days and download a preset of someone who really knows what he is doing.

Thanks for working on it guys :good:
[Nexus 5 Original Android Development] PhantomGamers:
2.2 is the ideal value for all devices, and you can't just simply download a preset for gamma values because out of the box all of our displays are different. So a preset that gets someone 2.2s across the board might get you 1.8s or something else.

You can see what values your display hits using the gamma calibration test in the app Display Tester(https://play.google.com/store/apps/details?id=com.gombosdev.displaytester).
[Nexus 5 Original Android Development] yorici:
Okay, ill give it a shot:)

If you have a look at this picture: http://www.qvolabs.com/images/Nuke_basic_CC_Gamma_GainMultiply_Offset .jpg.jpeg

You notice in the second one, that the red line is steeper.

In math the 'untouched' line is drawn by the formula: y=x

If we were to make it steeper, we would need the formula y=a*x

This is basically the same as y=x, but in y=x, a equals 1.

Now I used K instead of a, so the formula would be y=K*x

Let's say K = 1,1. The formula becomes: y= 1,1 * x

This means that every y is increased with 1,1. To put it this way: every y is increased with 10%. This is what I call proportionally.

Though in my spreadsheet K > 1 results in negative numbers. This is because I multiply the changed order (mag01's post) and then convert it. (e.g. Red first value is 0. Reversed that becomes 255. Multiplied by 1,1 gives my 281. In normal order: 255-281 = -26)

Zeffie?

To offset the curve, (like in the 3rd picture), one must add a value to every y.

The formula becomes: K*x + b (usually mathbooks take y=a*x + b)
[Nexus 5 Original Android Development] FAdrums:
Howcome everybody's going all colour n' stuff and I still don't have it? Am I missing something?

Sent from my Franco Powered Nexus 5
[Nexus 5 Original Android Development] neriamarillo:
Are you signed up in the beta program? Only then will you get the Beta fku that has the color control.
[Nexus 5 Original Android Development] :
Okay sweet, thanks for explaining it to me. I'll use the app to get 2.2.
[Nexus 5 Original Android Development] FAdrums:
Ah! Ok that's what I missed. Nope I'm not. Only got FKU pro. No worries I'll wait. Thanks for the heads up!

Sent from my Franco Powered Nexus 5
[Nexus 5 Original Android Development] nexusmaniac:
Hi, Here are my settings, they're pretty much 2.2 gamma but they aren't as red tinted as other settings I've used (might just be my display though :) )

Remember to remove the .txt
[Nexus 5 Original Android Development] DryEagle:
Franco, I agree that the idea a few pages back about having sliders for multiple colour register is a good idea, but I just want to add an additional thing here. If you have a slider, can you put a box next to it so you can type in a precise value? like 0.00 to 1.00 because personally I find sliders hard to get precise, what can I say, I have big hands...
[Nexus 5 Original Android Development] droid@xda:
First few minutes of color control in fku and i already have 5 different presets downloaded from here and 2 of my own. None gives cooler colors like r14 of fk did. I guess I have to wait and keep trying.
[Nexus 5 Original Android Development] Mestibals:
Gosh I don't want to sound too of topic or annoying since I follow this thread almost daily but I got lost in the gamma /color thing. What app do you use to do that ?
[Nexus 5 Original Android Development] yorici:
I figured the formula. It would be a*x^c + b. The problem is that if you want y(23) to be 255, you will either have to adjust a or b...
[Nexus 5 Original Android Development] ZacksBuilds:
Is there a different app to adjust the colors? And also are there settings that are better than stock? Sorry for my ignorance my new to this color thing lol...

Device: Nexus 5 16GB

ROM: Cataclysm w/ Franco r28
[Nexus 5 Original Android Development] myfluxi:
Franco: I'd remove the distinction between positive/negative and make it a kernel default (copy value in kernel). Now that the old app is broken anyways, it's time for a cleanup. Waddaya think?

The slider-per-section or even apply-factor-for-a-good-default options are nice.

And Steve has BALLS OF STEEL :)
[Nexus 5 Original Android Development] jordirpz:
[MENTION=470754]Franco[/MENTION]

You can tell as download beta. I am a follower on g+ and buy fku

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] yorici:
But does that mean people have to buy the app to change their colors? Or can they change the colors in a file? Btw reverting the diversion between negative and positive is great!
[Nexus 5 Original Android Development] AGiLiT:
This would imply Franco is in fact storing all 23 values for each color's positive and negative gamma curve; no?

Never mind: Dumb question. Looked at the saved profile and all values are there.
[Nexus 5 Original Android Development] Enddo:
the BETA version of FKU. you need to be following his google+ page and then opt into a beta program. i'm not really worried about color correction, at least not enough to deal with it while it's in beta

so thank you everyone for beta testing this feature for us xD i look forward to it when it goes live :good:
[Nexus 5 Original Android Development] myfluxi:
If the "formula" is as easy as it is now, I'd might as well calculate it in the kernel (all integer, no float). I could even set default profiles in the kernel, that's an easy task and very script friendly.

faux promised to keep the "old" free app updated. But I know he has more serious things to do atm. Franco's app would be the icing on the cake, though. Sliders are what I wanted in the first place, guess I mentioned it, when it started.
[Nexus 5 Original Android Development] yorici:
Haha the "formula" xd Ehm well I can try to incorporate three variables controlling: gamma, offset, gain (http://www.qvolabs.com/images/Nuke_basic_CC_Gamma_GainMultiply_Offset .jpg.jpeg)

But I'm not sure if that would work out properly. I do know that the current formula, just gain, works.

So you tell me? Should I try?
[Nexus 5 Original Android Development] absoluterebirth:
does anyone know why faux's sound control app doesn't work with Franco's kernel, even though it used to?
[Nexus 5 Original Android Development] franciscofranco:
Sure, go for it :)

:)
[Nexus 5 Original Android Development] franciscofranco:
No, it never worked here.
[Nexus 5 Original Android Development] Batfink33:
It works with the Franco linaro kernel in the N5 Android development forum if you really want it.
[Nexus 5 Original Android Development] jordirpz:
Solved

vía N5
[Nexus 5 Original Android Development] P.Mobile:
hey guys been running r32 for a bit any test builds out?? or we still on 32 :) build r32 is beast by the way!!
[Nexus 5 Original Android Development] chikimonke:
r32 for now, though [MENTION=3292224]franciscofranco[/MENTION] has been teasing a r33 release for a while now. :p I'm sure at least a test build will come out soon, though I have a feeling he's focusing more on the Color control aspect of FKU right now.
[Nexus 5 Original Android Development] yorici:
Okay, I got it. The second (gain) and third (offset) are easy: they follow the formula y=a*x+b

The third is more difficult: If you would do x^c, you would get results > 255

What I did is adding a factor that is value dependent (so value 1 has another factor then value 20). So I added "weight"

How: (#/23)^c (So value 20 would be: (20/23)^c

This gets you a number between 0 and 1. We multiply this with the stock values.

Following the order of operation we should first do the exponents, then multiply, then substract/add:

Formula: a * stockvalues* (#/23)^c + b (where # is a value between 1 and 23)

I don't like the formula that much as the exponent is too aggressive, but I think this is a start.

In the spreadsheet there are for each color three blue boxes. They each represent a slider and alter the curve.

They can have any value as long as the final output doesn't contain < 0 or > 255

On the bottom is the cell with the complete inputvalues to import for franco's app. Don't use notepad. Use word or wordpad for copying these values.

Make sure you got the version after the edit:) that one has good roundings. It makes 17,5 18, not 17;)
[Nexus 5 Original Android Development] Alaris:
So how stable is r32? Just jumped into the world of Roms and know that Franco has a good rep as a kernal.
[Nexus 5 Original Android Development] silvan g:
Rock solid :)
[Nexus 5 Original Android Development] Alaris:
Awesome think I'm gonna take the plunge and give it a try
[Nexus 5 Original Android Development] shaker2k:
I already like you diesel lol. Welcome to the community! You can't go wrong with Franco. He treats novices with respect and values those that help him make his kernel...Well...Awesome!
[Nexus 5 Original Android Development] franciscofranco:
Actually I've been having random crashes on my HH the last days so I've been hunting the culprit, I think I finally nailed it to that commit that overclocks the slimbus. I already fixed a couple bugs that are present on r32, no major features incoming, just fixes etc, but I'm not in a rush, other devices need some work too.

Indeed :)
[Nexus 5 Original Android Development] Krunk83:
[MENTION=3292224]franciscofranco[/MENTION] Do you find that your kernel works better on the nexus 5 stock ROM or on a custom ROM? Or are they about the same? Or are there to many variables to make any decision?

I am currently on stock and using the kernel and it is great. Really increases my battery time. Not really the SOT but the overall battery length. I've also used it on a custom ROM which was a good experience too.

Keep up the good work.
[Nexus 5 Original Android Development] franciscofranco:
Stock always for me, I don't care about custom roms on my devices.
[Nexus 5 Original Android Development] chikimonke:
Like that pesky GNex :fingers-crossed:
[Nexus 5 Original Android Development] thesebastian:
Franco I think you said before that the next release will have a more aggressive CPU temp throttle.

Do you mind to tell me what value is going to have? :D

Inviato dal mio Nexus 5
[Nexus 5 Original Android Development] franciscofranco:
Same value as it is now.
[Nexus 5 Original Android Development] yorici:
Do you understand my previous post or is it Chinese to you? Or did you not fully understand the post where I tried to explain? I'm happy to explain it to you!
[Nexus 5 Original Android Development] vomer:
Just started a collection of color profiles - link is in my sig if you want to try some.

I will keep adding them there as I try more :good:
[Nexus 5 Original Android Development] afunyun:
SMS -> Weird.

Vibration -> I like it

Less buttery -> it seems to have settled in, probably just the usual slightly laggy feel I get in any android device after flashing something new

Otherwise it's great. Will report with battery life
[Nexus 5 Original Android Development] Langduscher:
[MENTION=3292224]franciscofranco[/MENTION] I have severe problems draining the battery. Even in this test build stage.

Now that you seem tot have the device - FIX PLOX :D
[Nexus 5 Original Android Development] brittonberkan:
Well i have to agree that fk stutters a little more when scrolling in g+, tapatalk and other apps compared to the stock kernel (both with stock rom) Went back To stock from kernel 07 and now i'm back on test0 8. It's pretty obvious imo, maybe I'll grab a video later.

Still, with all the improvements in terms of battery life and the great settings it's better than stock anyways.
[Nexus 5 Original Android Development] Warrimonk:
EDIT: Read that wrong
[Nexus 5 Original Android Development] mikejasonsmith:
Hi great kernal and ive purchased the app to show my support.

quick noob question - where do i change the DPI settings in the app?

Cheers mate - great job.
[Nexus 5 Original Android Development] mitchdickson:
Isn't it ironic to call someone an idiot when you're the one not getting the joke?

Sent from my Nexus 5
[Nexus 5 Original Android Development] bleuxeon:
On NEXUS 5, baseband handles WIFI drivers?

Because on Galaxy S2 baseband had nothing to do with wifi.
[Nexus 5 Original Android Development] zephiK:
his app doesnt control dpi. its a kernel config editor. dpi settings is changed via rom.

change it in build.prop, edit

ro.sf.lcd_density=480 to whatever # u want
[Nexus 5 Original Android Development] mikejasonsmith:
Thanks.

Where would i find that? - sorry...first nexus...been using a HTC but never done this bit before...
[Nexus 5 Original Android Development] zephiK:
/system/build.prop

theres different ways of modifying it. easiest way is to use a file explorer with root priviledges and open the file and modify it yourself, save it and then reboot.
[Nexus 5 Original Android Development] 75markus:
texdroider works like a charm :)

no need to edit build.prop manually !

https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi&hl=de
[Nexus 5 Original Android Development] mikejasonsmith:
Appreciate the help mate. found the line, downloaded es file ex to mod it but it wont let me save the change :(
[Nexus 5 Original Android Development] 75markus:
you need to mount rw in file explorer ...

give texdroider a try, no need to do that manually anymore
[Nexus 5 Original Android Development] vomer:
great app indeed! :good:
[Nexus 5 Original Android Development] ChazzMatt:
Need to update the op, no? :) You finally got your beautiful Nexus 5.

_______

Sent from my Nexus 5 (LG-D820)
[Nexus 5 Original Android Development] 75markus:
Francisco is undercover now :p
[Nexus 5 Original Android Development] JNewms:
Yes he is, but from what he's been telling me, things are moving along. He's definitely in his zone right now.
[Nexus 5 Original Android Development] dannstarr:
I appreciate the crowded wifi thing... But the battery drain that I note has nothing to do with wifi. When this happens my wifi is off, and it is not scanning etc...

Im back in the same situation now, and while my battery drain is not as bad as it was when i first tried test 8, its still noticeably worse than test 7... It seems that it might be in some way related to google+ but i dont have the auto backup feature enabled, and i have force stopped it too.

Please note, im not in any way moaning about this, im just trying to provide important feed back in the hope that it is of use to someone... I just find it weird that on test 7, i havn't noticed this

Probably all by the bye now anyway as you actually have your device :)
[Nexus 5 Original Android Development] franciscofranco:
No... you were talking about GSM signal right?

That's really odd... can you give me some more details? Is that drain during screen off?
[Nexus 5 Original Android Development] franciscofranco:
Ok progress so far:

* Nailed my Hotplug driver with proper handling;

* Fixed a couple of bugs in the my thermal driver

I'm pretty happy with the results so far :)
[Nexus 5 Original Android Development] graffix31:
looking forward to trying these out. my first nex so have played with colors all that much. makes me a little nervous to mess with something but nice that you included the stock values. running your kernel settings now and have been getting great battery life. do you have any kind of description of how the different profiles change the color?

thanks for your contributions
[Nexus 5 Original Android Development] franciscofranco:
I think I understand.

I have one request though, can you compile all the formulas in one page for me? I want to test it out until myfluxi does his Kernel magic and changes the gamma interface.
[Nexus 5 Original Android Development] ppog:
Delete
[Nexus 5 Original Android Development] pkelly517:
That's what I was thinking.

Welcome, diesel guy.
[Nexus 5 Original Android Development] yorici:
Good! What do you mean when you say compile? Because the spreadsheet is customisable. Or do you want to have a overview of the formulas? I only programmed in Visual Basic:D No compiling needed:p so please specify yourself as I don't fully understand you
[Nexus 5 Original Android Development] vomer:
Thanks :) I don't have it written now but I can add it later

Sent from my Nexus 7
[Nexus 5 Original Android Development] Bhonka:
How do I change the value of the vibration? All I seem to be able to so is enable or disable but not set any value so now I have no vibration at all.
[Nexus 5 Original Android Development] franciscofranco:
I mean write in a single post all the formulas you posted in several posts while researching ;)
[Nexus 5 Original Android Development] aburn95:
Good god the battery life with this is insane. Unplugged at 530a.m. still at 68%. Thank you.
[Nexus 5 Original Android Development] Dogboy53:
What are your settings?