yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] franciscofranco:
It's most likely calibration from what I can gather. I was reading them commits and one of them was specially interesting:

power: max17042: Enable Empty Learning feature.
Battery aging reduces system runtime in two ways, one by reduced
chemical capacity and another by increased cell resistance.
To have good SOC accuracy especially on a battery whose cell
resistance has increased by a significant amount, the QRTable
need to be updated. The Empty Learning feature of ModelGauge m3
allows QRTable to be learned to the correct value.

This patch Enable Empty Learning feature and set lavg_empty
register to Battery_capacity/4.
[Nexus 6  Original Android Development] Nocturnal86:
So does that mean that a few cycles of 100-0 would fix the weird battery reporting?
[Nexus 6  Original Android Development] Tzfardaya:
Most likely.
[Nexus 6  Original Android Development] suku_patel_22:
Is this the same thing from the Android M kernels?

Android M preview 2 has been draining very much and the battery stays at 1% for almost an hour is not more. Also battery keeps charging (as per battery monitor widget even after it reads 100%). Phonec harges for almost 2 hrs after it reads 100%.

More details here
[Nexus 6  Original Android Development] Nocturnal86:
Yea Ive been at 1% for a long time trying to drain the battery. Even turned up max brightness and just now trying to throw some intensive stuff at it and it hasn't died yet... How weird. I hope this gets sorted out by cycling or other ways.
[Nexus 6  Original Android Development] hellsgod:
I reverted "power: max17042: Force POR on Bad FCC", "power: max17042 : Configure SOC & VLT thresholds for POR" and "power: max17042: Support Alert INTR testing in factory" which seemed to "fix" the issue. I have more and more doubts its only a calibration error. I've looked through some pages in a "M" discussion thread, where the battery didn't calibrate itself in 4 cycles or more. No idea, if that would happen after every time you flash something new, its not really beneficial. Where should it save what it "learned"?

hells
[Nexus 6  Original Android Development] eng.stk:
This is the commit needed to revert in order to fix the bat readings

https://github.com/android/kernel_msm/commit/d8edab9e8eac6e4532255e8775ccbea07263de23
[Nexus 6  Original Android Development] franciscofranco:
Yes, it's what I said a couple posts up, seems kinda obvious after reading the commits :)
[Nexus 6  Original Android Development] eng.stk:
Yes, I actually tested that yesterday so it really is that.

Even in M that gauge feature doesn't work very well.
[Nexus 6  Original Android Development] hellsgod:
Kinda funny, I reverted the ones I mentioned above and it seemed also fixed... But whatever, thanks for the second heads up, I'll give it a go.

hells
[Nexus 6  Original Android Development] eng.stk:
Because without the others that one is not doing nothing really. Thresholds and init levels stuff it seems.

Also there's no mainline upstream commits for max17042 like that, those are from moto only.

Playing with the thresholds and limits maybe can fix it too, let's see what moto does on M preview 3.
[Nexus 6  Original Android Development] blueren:
...So apart from the alleged weird battery readings, everything is hunky-dory with r30?
[Nexus 6  Original Android Development] Tzfardaya:
No, it's more okilie dokilie, than hunky dory...
[Nexus 6  Original Android Development] suku_patel_22:
Yeah, it's some battery calibration wizardry that Google has built into the kernel to help with worn out batteries. Sadly it isn't working as it should.
[Nexus 6  Original Android Development] franciscofranco:
Confirmed that reverting that patch fixes the issue. I charged my N6, and played Motorsport Manager until the battery ran out (roughly 4hrs screen on time with 65% brightness). Recovery battery level was the same as on the OS. r31 here we go.
[Nexus 6  Original Android Development] franciscofranco:
Pushed. Update asap.
[Nexus 6  Original Android Development] daniel84cs:
[MENTION=3292224]franciscofranco[/MENTION] thanks for the fast fix, great work....:)

Inviato dal mio Nexus 6 utilizzando Tapatalk
[Nexus 6  Original Android Development] Mervingio:
Jenga Jenga!
[Nexus 6  Original Android Development] jtwlbz:
I'm glad Franco is active now :)
[Nexus 6  Original Android Development] pantmunu:
Wait, Franco is back .. Damn need to get my cat outta the dungeon .. Was acting weird latley ... ??
[Nexus 6  Original Android Development] blueren:
Of course. Dev preview is all but perfect :)
[Nexus 6  Original Android Development] SubwayJrd:
Updated to r31, apparently I actually had 10% points more battery than was being reported (77% rather than 67%).

Thanks Franco.
[Nexus 6  Original Android Development] TonikJDK:
I have been using 31 almost as soon as it dropped. No issues, cats are fine.
[Nexus 6  Original Android Development] franciscofranco:
Very gud.

New FKUpdater release is on the way too. Stay sharp on your Play Store updates list.
[Nexus 6  Original Android Development] SubwayJrd:
Again, Franco proves that he's the bomb.
[Nexus 6  Original Android Development] Tzfardaya:
Bomb? Noooo I don't want him to blow up! Who will build kernels for my phones then?
[Nexus 6  Original Android Development] franciscofranco:
New FKUpdater release is out! Let me know how you feel about it and if you find any issue that slipped through.
[Nexus 6  Original Android Development] Tzfardaya:
Custom tunable paths in fku again? (per app modes)
[Nexus 6  Original Android Development] franciscofranco:
Next version, I didn't work out any new major features, was mostly design/layout/ui.
[Nexus 6  Original Android Development] stas333:
It looks good.
[Nexus 6  Original Android Development] Tzfardaya:
No biggie.. I'm almost entirely switched over to tasker for that now anyways..

Oh, is the stand alone Pam getting an update too?
[Nexus 6  Original Android Development] :
Nice work , as always Franco. :)
[Nexus 6  Original Android Development] abjexstallion:
Tried it on an AOSP Rom, doesn't boot up
[Nexus 6  Original Android Development] justibasa:
Well that's a lot of information. Tried what? Which rom?
[Nexus 6  Original Android Development] abjexstallion:
:o sorry i was irresponsibly driving when i was posting. Tried both clean and dirty flash on Euphoria OS. It boots, but once it tries to show the lockscreen, it soft reboots.

Procedure:

Clean wipe

Flash Rom

Flash kernel

Gapps

SuperSu

Dirty Flash

Wipe Dalvik Cache

Wipe System

Wipe cache

Flash Rom

Flash Kernel

Gapps

SuperSu

Is that sufficient?
[Nexus 6  Original Android Development] franciscofranco:
I have no idea what kind of "magic" euphoria did this time. Maybe a logcat of that soft reboot would help, I don't use non-stock roms.
[Nexus 6  Original Android Development] feedhead:
Thanks again for continued support.

Donated for a beer through the app. :highfive:
[Nexus 6  Original Android Development] anuraj1:
I've been afraid to switch kernels since I joined Project Fi. Has anyone tested this new release with Fi?

I'd love to be back on Franco Kernel!
[Nexus 6  Original Android Development] Tzfardaya:
Try it.. If it works, great, if not, flash back..
[Nexus 6  Original Android Development] bioan:
[MENTION=3292224]franciscofranco[/MENTION] - Any chance of implementing High Brightness option in FKupdater? As an option, or as a profile maybe? It is much needed in these sunny days. Thank you!
[Nexus 6  Original Android Development] Prack:
Widget still doesn't match the dark theme :(

WTB dark theme donation as soon as the widget is fixed :)
[Nexus 6  Original Android Development] jamaniek:
From my experience Euphoria OS always had and still has major issues working with Franco kernel. I just moved on to another ROM. :)
[Nexus 6  Original Android Development] rasengan82:
Are the default settings in the kernel comparable to the stock kernel? Haven't bought the app yet so I was thinking on testing the kernel with default settings first.
[Nexus 6  Original Android Development] frontlyna:
After flashing latest on Pure Nexus Rom and then when I tried to switch to another kernel, phone gets stuck at Google Boot Screen. Wipe caches and still does it. Tried to flash Hells and also Despair, neither would boot. So i flashed back R31 and viola, the ROM booted. What could be causing this issue?
[Nexus 6  Original Android Development] Tzfardaya:
Dirty flash your rom when switching kernels... Usually good practice anyways.
[Nexus 6  Original Android Development] frontlyna:
I must say that I have never heard that recommended, and on top of it seems like a hassle to set up layers and whatnot every time I want to switch kernels. Still doesn't explain why it only happens with Franco. I have switched effortlessly before from different kernels with no problem in sight.
[Nexus 6  Original Android Development] Tzfardaya:
It's been recommended numerous times in this thread, and other Franco threads...
[Nexus 6  Original Android Development] hellsgod:
When you flash a kernel, you should know how its shipped and what it modifies. franco is a boot.img. Most roms have modification in the boot.img for their own stuff. franco tries to merge most of the stuff to have a bootable kernel on most roms. I've chosen to use anykernel. It uses the roms boot.img - takes it apart and changes the compiled kernel image. Some files in the ramdisk are getting modified on the fly and a new boot.img will be generated and flashed. So, both ways have its upsides and downsides.

boot.img = you don't have to worry about your settings not getting applied, unless there are other modifications like init.d scripts. you can flash it via fastboot, so no recovery is needed. some risk of incompatibilities with custom roms, but you can't point into one directon and say its HIS fault.

anykernel = compatible with all roms without any need to worry about their changes on the boot.img, unless there are some past boot scripts in the ramdisk, init.d or other symlinks. Most of the time they are harmless, like changing an i/o scheduler, governor, or min/max values etc. needs a custom recovery.

I could go much deeper with an explanation when a reflash is needed, or only the boot.img from your current rom. In general, to avoid anny issues its the best to reflash your rom. all mods in the userspace and boot.img are back to roms default. A good way to start "dirty clean" If you want to know which kernel needs what, aks in the thread or try to find the anwer with looking into the zip and understand what it does :) It depends on how much time you have ;)

hells
[Nexus 6  Original Android Development] 4L3xN3t:
Something that happened even on my old N4...I open FKU, set the maximum CPU freq to a different value than the default, close and reopen and the value is set to a different value too...not the default nor the one i decided...and apparently, from the sys monitor, the freq is set to the one autonomously decided...what can I do?

Thanks all

Inviato dal mio Nexus 6 utilizzando Tapatalk
[Nexus 6  Original Android Development] Tzfardaya:
Possibly thermal throttling...
[Nexus 6  Original Android Development] BadFish79:
Since flashing this kernel yesterday ( first time using it on my n6), the screen splits itself. Not sure how to explain, but the right half is fine, the left half is offset half screen. I tried taking a screen shot, but it was captured normally. I can't replicate it as it happens randomly. By Turing the screen off then on again, it fixes it.

Not sure if there is a setting to change or look for. If so, what?

Fku is stock settings. Flashed kernel and that was all. Only turned per apps off.

Only change besides root is this kernel. Stock rom
[Nexus 6  Original Android Development] rivas741:
Did you change your DPI.....?
[Nexus 6  Original Android Development] BadFish79:
No changes to phone other than the kernel. Even then the kernel settings are stock.

Edit: Next time it happens, I'll try and take a pic with another phone since screen shot didn't work
[Nexus 6  Original Android Development] 4L3xN3t:
Hi,

after a couple of hours I imagined this too...but would like to know if what I set would come back when the phone becomes colder:confused:
[Nexus 6  Original Android Development] TheDarkDefender:
Is the ramdisk now compatible with cm's new theme engine?

It wasn't, the last time I tried (r29).

Anyone using it on a rom with TE?

Cheers,

D
[Nexus 6  Original Android Development] russlowe73:
This has happened to some people even on the stock kernel, its something that has to do with the phone. That being said, some kernels make it worse others eliminate it.

Sent from my PureNexus from Hellscore N6
[Nexus 6  Original Android Development] stas333:
Has anyone noticed on r31 charging the phone with the phone shut off the screen continuously displays the charging battery, it used to shut off before.
[Nexus 6  Original Android Development] Prack:
Yes same problem. I'm going to wipe caches and re-flash to see if it makes a difference but I think it's a bug that [MENTION=3292224]franciscofranco[/MENTION] is going to have to fix.
[Nexus 6  Original Android Development] stas333:
Let me know if that helps
[Nexus 6  Original Android Development] Prack:
Just tried it now, same result :(
[Nexus 6  Original Android Development] BadFish79:
I was unaware of this issue as it has never happened to me. I just wanted to be sure it wasn't a setting or something else.

Thanks for the info.
[Nexus 6  Original Android Development] pantmunu:
I have this issue for as long as I can remeber. Even flar2 has this problem. Best way to eliminate this is to be in stock DPI. Try using elemental or hellsgid kernel. I never get that issue in hellsgids kernel. Was havingvsevere issue on Franco .. The best way is to RMA your phn or do an warranty exchange.
[Nexus 6  Original Android Development] miketino:
Does anyone know where DT2W has gone in the latest FKUpdater update?
[Nexus 6  Original Android Development] franciscofranco:
Nowhere.
[Nexus 6  Original Android Development] :
r31 works great on Pure NeXuS rom and its AOSP. :)
[Nexus 6  Original Android Development] dipstik:
works with cyanideL with CM theme engine. r31.
[Nexus 6  Original Android Development] franciscofranco:
If you're enjoying the latest FKUpdater release and haven't left a review, I'd be immensely grateful if you'd take a moment to do so :)
[Nexus 6  Original Android Development] NOUFELP:
Same happens on AICP also. I was using R29 on upto early Jun builds of AICP. But later versions started rebooting after apps optimization with your kernel and restarts optimization. It becomes a never ending process. I thought it is a ROM issue.

Now I am on AICP release 10 and tried R29 and R31 with no luck. Then I tried ZEN kernel to get only the same result. However, ZENY kernel worked (hellsgood's explanation 2 pages back strands good). Unfortunately, I don't see a Anykernel version of Franco?
[Nexus 6  Original Android Development] Ramone360:
How do I change profiles in the app? I see that I should use Tasker but idk how to set it
[Nexus 6  Original Android Development] TheDarkDefender:
Does not work with Euphoria OS.

Sent from my Nexus 6
[Nexus 6  Original Android Development] franciscofranco:
You click them.
[Nexus 6  Original Android Development] NLBeev:
Stop with this kind of answering.
[Nexus 6  Original Android Development] franciscofranco:
Why? It's the truth.
[Nexus 6  Original Android Development] NLBeev:
Yes it is the truth. And I can imaging you want t to keep answers short.

But you could consider to ignore the question instead of answering without info.
[Nexus 6  Original Android Development] franciscofranco:
??????????????????????

You're really suggesting I would simply ignore the users instead of giving a truthful short reply? If the option the he was asking about didn't move, what would you want me to say? Maigode.
[Nexus 6  Original Android Development] adame09:
You guys do know this is a development thread right? I think the reason he's answering like that is because your not giving him any logs or screenshots to go with your complaint. So if your not putting in the work. What makes him want to put in any work into typing a long response?

If you want to beta test, make a report like the beta tester you are.
[Nexus 6  Original Android Development] NLBeev:
My suggestion was wrong, sorry for that. What I wanted to make clear is the following:

'Nowhere' is true.

'Still in kernel settings' is information.
[Nexus 6  Original Android Development] Prack:
[MENTION=3292224]franciscofranco[/MENTION] have you had a chance to look at the charging icon being stuck on the screen when you power off the phone while it's plugged in? I usually power my phone off for the night and now I can't because ill image burn the charging icon on the screen :(
[Nexus 6  Original Android Development] franciscofranco:
I haven't yet, sorry. Why do you turn it off? Just leave it on while charging..
[Nexus 6  Original Android Development] wrongway213:
He said he was worried about image burn. Not sure if that concern has any merit or not, it just seemed from your reply that you missed the reason in his post as to why he wants this looked into.

Edit: Nevermind, I'm dumb
[Nexus 6  Original Android Development] pkgnex:
No. I'm sure Franco was asking why he is bothering to turn it off at night.

He is suggesting to just leave the phone on when charging. After all, if you don't want to be bothered / woken up, you can always just put it on silent mode!
[Nexus 6  Original Android Development] wrongway213:
Ohhhh man, appreciate that. It was one of those "too obvious so I overthought it" moments, just assumed Franco missed part of his post because the answer.. was just too obvious.
[Nexus 6  Original Android Development] pkgnex:
NP. Happens to all of us.

I'm just glad we didn't start arguing about the semantics of truth vs. information.
[Nexus 6  Original Android Development] rugal316:
I can confirm r3 is indeed snappier, was laagy before because of a rogue app, my apologies Franco, keep up the good work m8 :)
[Nexus 6  Original Android Development] cobyman7035:
Use trickster mod to set rgb.. I like 237.235.255..for iphone5 colors

Via my NeXus™ 7FHD on XDA Premium app
[Nexus 6  Original Android Development] trickster2369:
What's wrong with using the FK app? Works great with his kernel, and judging by the screen shot in his post, he's already bought it.

I use 237/235/252 for just a bit less blue.

Sent from my SinLess Shamu
[Nexus 6  Original Android Development] drawde40599:
Min is 300 you don't have to keep changing it . Google the word " touchboost" to learn why it looks like min is 1700 . also download prefmon , or system monitor apps to watch cpu in real time , and U'll c min is 300.
[Nexus 6  Original Android Development] ROiD_II_oJIPo:
I'm using better battery stats, and it doesn't drop below 1728 unless I manually reset the minimum back to 300, hence it idles at 1728...
[Nexus 6  Original Android Development] anuragvivek93:
But I want gamma n all... How to get that..?
[Nexus 6  Original Android Development] drawde40599:
Prob because u messed with it , Clear everything u have done , reboot. And use one of the apps I mentioned , watch it in real time .
[Nexus 6  Original Android Development] trickster2369:
I don't believe it's available for us as of yet. In due time though, I'm sure.

Sent from my SinLess Shamu
[Nexus 6  Original Android Development] noneabove:
Another random reboot while it was in my pocket. A lot of weird characters in this one, not sure what happened.. but here's the log anyways:

http://pastebin.com/9gQ8wG6z
[Nexus 6  Original Android Development] muntain:
There's a lot of 255 byte value in the log....it's look like corrupted
[Nexus 6  Original Android Development] noneabove:
yeah it's weird, that's what it looks like on the phone. the previous log file wasn't corrupted like that
[Nexus 6  Original Android Development] muntain:
Do you use logcat for getting log? Preview log was with r2 or r3 kernel?

What I'm think is the changelog about "cat smart" for r3...I don't know it's just a guess...
[Nexus 6  Original Android Development] noneabove:
No I was just navigating to the folder and pulling the file
[Nexus 6  Original Android Development] muntain:
Have you encryption on or off?
[Nexus 6  Original Android Development] noneabove:
encryption on. I've flashed back to R2 for now, I just need it to stay on over night, I'll probably flash back to R3 in the morning and keep collecting logs until there's a useful one to figure out what's going on :/
[Nexus 6  Original Android Development] suku_patel_22:
Adaptive brightness is causing PowerManagerService.Display kernel wakelock. Can something be done at kernel level?
[Nexus 6  Original Android Development] nexusmaniac:
I don't think anyone replied to your message?

So I'll answer it ^^ (I thought this seemed kind of important)

But after looking further into it, it seems that it's a ROM thing not a Kernel thing :) So Franco can't do anything with this :P
[Nexus 6  Original Android Development] eep2378:
I'm not having any issues with R3( or R2 for that matter). No random reboots ,no lag, except for the terrible Tapatalk app. Much better battery life than stock. Appreciate your efforts [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 6  Original Android Development] bkdodger:
Same here.. R3 is smooth for me.. Tapatalk gets jumpy in and out of some forums.. Definitely app as experienced with every kernel.. Best results for me with Franco.. Great stuff as always..

Tap'd by Big 6
[Nexus 6  Original Android Development] wrongway213:
Tapatalk is just out... I'd rather deal with XDA One bugs and occasionally open XDA in Chrome if need be than deal with Tapatalk at this point, lag city. R3 is buttery smooth for me, dunno what lag anyone is referring to, if you have lag on Tapatalk my best advice would be stop using it, Tapatalk is basically an apk compiled of lag
[Nexus 6  Original Android Development] lamjanus:
Hi,

Why does the updater tool show 2265mhz as a max speed? I did not change any settings except color profiles. Am i missing something?
[Nexus 6  Original Android Development] graydiggy:
If you are 40% or lower on battery life, it throttles. It happens on stock as well.
[Nexus 6  Original Android Development] lamjanus:
Thats is the case. Thanks a lot.
[Nexus 6  Original Android Development] YevOmega:
Hey all. Can I just wipe cache and flash this over Zen (I'm on Chroma, though I doubt that matters)? Thanks.
[Nexus 6  Original Android Development] Cyanandroid:
Yeah u can.
[Nexus 6  Original Android Development] franciscofranco:
Wiping caches is absolutely irrelevant.
[Nexus 6  Original Android Development] Prack:
I turn it off at night because its in a hot room and charging makes it even more warm. I usually just power down, plug it in and go to bed. I can leave it on for now. It's not a huge deal but was hoping it was a simple enough fix.
[Nexus 6  Original Android Development] Spl4tt:
Isn't that bad tho. I underclocked to 2ghz and it's still as smooth as with 2.7ghz. But it's way cooler as it's using whole 150mV less.
[Nexus 6  Original Android Development] YevOmega:
So how do you recommend I flash your kernel? Cause [MENTION=4684315]flar2[/MENTION] recommended dirty flashing my ROM to install his kernel over Zen.
[Nexus 6  Original Android Development] TheDarkDefender:
You don't need to wipe nothing. Flash the rom and flash the kernel over it. Its the same for all kernels. If you lose su, flash the zip over. That is all.

Sent from my Nexus 6
[Nexus 6  Original Android Development] YevOmega:
Do I have to reflash my ROM? I can't just flash the kernel?
[Nexus 6  Original Android Development] franciscofranco:
Just flash FK.
[Nexus 6  Original Android Development] nextelbuddy:
Is it normal for the nexus 6 to say charging via USB when plugged into the Motorola turbo charger and oem cable?

On fku and r31 and noticed my nexus 6 took 2 hours to charge from 22% to 64%. Looked at batter stats and it says charging via USB.

Looked in fku app but don't see any option for enable fast charging via USB. Am I missing something or are my eyes getting the best of me?