yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] kyzn:
Hate to add to your sorrow but mine's running well too. Ninja 1.3 with BlackPepper V2.
[Nexus 6P Android Development] gborgert:
Great kernel and sleep like a baby...
[Nexus 6P Android Development] DJMartini:
[MENTION=6842057]nathanchance[/MENTION] I too am having the same WiFi drop issue. I have a hidden router at home that uses WPA2 along with a non-hidden router at work that uses WPA2 and running into the same WiFi drop problems as [MENTION=5438911]evilryry[/MENTION] ... Other kernels do not have this problem that I have used and it just started happening on DU10.4 with your rebuild kernels of [MENTION=467570]aks[/MENTION].

Anyone else use DU having same problem?
[Nexus 6P Android Development] evilryry:
I don't think it's du specific because it's happened to me on every rom I ran ak/ninja on pn mod/Official, du etc
[Nexus 6P Android Development] DJMartini:
Good to know. I saw that [MENTION=6842057]nathanchance[/MENTION] mentioned DU wasn't getting much more comments and I wasn't sure if that might of impacted this.
[Nexus 6P Android Development] shadowstep:
Count me in. Flashed the last weekly a few hours back with this kernel. I was just reading your post when the WiFi dropped. :p Talk about crazy coincidences! The kernel is sweet though, sleeps like a baby.

ROM: DU 10.5 Latest Weekly (08/12) with the August Security Patches

Kernel: Ninja Kernel 1.3
[Nexus 6P Android Development] sandman1234:
Getting Screen overlay issue, anyone else?

Using RR and Ninja.
[Nexus 6P Android Development] justin1221:
The theme is Magpie substratum, the font is Caviar dreams, which comes with the theme. :good:
[Nexus 6P Android Development] minhgi:
No problem here with wifi. I have a 3 band router and two band at work, seem it connect fine
[Nexus 6P Android Development] fystrified:
what do you mean by clean flash and dirty flash ?
[Nexus 6P Android Development] AzraelsKiss:
No offense... But I think you forgot the part where you formatted userdata in fastboot...

Have a good one!
[Nexus 6P Android Development] mukesh22584:
No !

After flashing factory image I'd formatted userdata...

I've not forgot to format I just forget to mention this...[emoji4]
[Nexus 6P Android Development] AzraelsKiss:
fastboot format userdata after installing kernel, if you want to decrypt... YMMV...

Have a good one!
[Nexus 6P Android Development] mukesh22584:
Oh ! Here I've made mistake [emoji16]

Thanks Bro[emoji106]
[Nexus 6P Android Development] Arzee08:
Think the problem may be when uve booted back into two before flashing superSu if you definitely did format user data
[Nexus 6P Android Development] mukesh22584:
Will you please write here correct process[emoji120]
[Nexus 6P Android Development] Arzee08:
What I did was :

Flash new twrp

Flash dp

Wiped user data

Flash SuperSU

Booted up decrypted

Back on topic.... This kernel wasn't built for the dev preview and will bork camera etc...
[Nexus 6P Android Development] mukesh22584:
For me camera works fine... Only problem is Encryption...

Thanks mate...
[Nexus 6P Android Development] arunkr:
Anyone facing heating and lesser battery with the latest ninja?..i felt the device was hot to touch after 5 mins of looking at photos with quickpic with data and wifi at off condition and in a good network coverage area.
[Nexus 6P Android Development] weazie:
Hi [MENTION=6842057]The Flash[/MENTION]! There's definitely something wonky how the last iteration of the kernel reads the battery level. I've been closely reading this thread and a couple of members have mentioned this too, but found no definitive answer. The phone shut down suddenly when the battery level was at 20%. I'm still scrubbing on PN MM, and the only thing I have recently changed is the Flash kernel. So before that, the battery level worked normally. I don't think it's about battery weariness or calibration problems, since before the change everything worked.

At the moment I'm depleting my battery to 0% in bootloader mode, where it has sat for 2 hours now. When the phone shuts down, I'm charging it to 100% and trying one more round with this kernel before changing to the one before this.

Thank You for the kernel, otherwise everything's great! :)
[Nexus 6P Android Development] nathanchance:
Pretty sure Google Play Services has been running rampant as nothing I have done recently would contribute to that.

I don't touch anything with the battery but who knows, it could be a bunch of things. Unfortunately I threw the kernel release together pretty quickly and I am no longer on M so there's not much I can do.
[Nexus 6P Android Development] HesThatGuy:
If you want to get rid of encryption follow these steps:

1.) boot into fastboot mode and plug your phone into your computer

2.) open the adb/fastboot terminal on your computer and enter these commands:

fastboot devices (to id that your phone is in fastboot mode)

fastboot erase boot

fastboot format userdata

fastboot reboot-bootloader

3.) flash the stock kernel for the rom you are currently running

4.) boot into twrp recovery and flash SuperSU if you want root then flash the Flash Kernel
[Nexus 6P Android Development] arunkr:
One more thing i forgot to say, i am running everything with stock kernel settings except changed according to your setup for advanced I/O settings in EXKM. Will that make any difference?..Whatever changes are present is more inclined for performance or battery?. ..Just for my info.
[Nexus 6P Android Development] nathanchance:
It shouldn't. It's geared more towards battery life I think.
[Nexus 6P Android Development] Shockz:
I had this issue once. Cleared my battery stats and cache and didn't see it again. I should note this was on a previous version too so nothing in the latest version caused this.
[Nexus 6P Android Development] Lord. Tech:
Where can we clear stats and battery cache from? Are u talking about twrp cache wipe?
[Nexus 6P Android Development] Shockz:
For the cache yes. Battery I just drained it to 0 and then fully charged it back up.
[Nexus 6P Android Development] Prattham:
By draining to 0 you mean

Kept using your phone until it itself turned off?

And by charging to full you mean charging it with phone on or off?

Cheers
[Nexus 6P Android Development] FairZ33:
Just flashed the new version (from 3.12 to 3.14), sweep to wake seems to have stopped working. Any suggestions?
[Nexus 6P Android Development] mkos86:
For me it works. Have you rechecked ex kernel manager settings?
[Nexus 6P Android Development] jayjay1234:
Try setting it again
[Nexus 6P Android Development] Prey521:
I have the same problem. Toggling the gestures off and then back on works temporarily, but eventually, it stops working again.
[Nexus 6P Android Development] FairZ33:
Resetting it worked, odd. I'll check back if it stops after some time.
[Nexus 6P Android Development] mrjake1970:
UPDATE: I tried all flash kernels (.11/.12/.13 and current .14) and was getting horrible battery.. I couldn't figure it out.. nothing had changed..

so this afternoon I flashed the new PN and flash kernel v.14 again, and I see after a few hours that my android system and android OS are killing me in battery again.. so I start fiddling around in settings to see what I may have missed.. then I saw it.. by default I assume, here is a new setting toggled on in developer options called "update automatically" I toggled it off, rebooted, and I'm suddenly sipping battery slower than I sip my whiskey..

for me - that may be what is causing many of the battery drain issues.. maybe that dang toggle means it constantly is pinging Google for system or god knows what update type of updates.. I cleared battery stats and since then android system has been at 8? (vs 20%+ before untoggling) and no entry for "android OS" at all shows in battery stats for the first time in 2 weeks..

I'd love to know if anyone else with battery drain issues can confirm/replicate..
[Nexus 6P Android Development] nathanchance:
Hmm good point I recall seeing that on Reddit and XDA at one point. I clean flashed a few days ago and forgot to turn it off so I'm going to test now. Thanks for the heads up again .
[Nexus 6P Android Development] RyTekk:
Where did you get the linaro toolchain for android kernel? And have you done something to make your device boot? My device didn't boot in the past with linaro toolchain, dunno if I got wrong toolchain or something else.
[Nexus 6P Android Development] nathanchance:
It build mine from source but I previously used the prebuilts from DespairFactor's Bitbucket: https://bitbucket.org/DespairFactor/
[Nexus 6P Android Development] tcat007:
I've always gotten 5-6 hrs sot with Weta ROM and all versions of this kernel.
[Nexus 6P Android Development] thuggn16315:
I was also having battery issues my system was using more juice then my scream on time turned updates off hopefully it works also my phone has been dying with battery left
[Nexus 6P Android Development] kyle_el:
Duuuuude. Mine was toggled on too, been dealing with this for weeks. Mad props to you if this improves my situation at all :highfive:
[Nexus 6P Android Development] mrjake1970:
hope it does.. don't forget to reboot after toggling off.. would love to hear this solved all our issues..
[Nexus 6P Android Development] kyle_el:
I hope it does too. I'll let you know if it changes anything for me!
[Nexus 6P Android Development] Wimmme:
I had the same. 2 weeks ago i disabled automatic updates and got rid of the facebook app. Bang, battery improved instantly.

I do use Greenify with the aggressive doze function, and when i started using this kernel my battery life became even better, almost acceptable, thanks for that.

I 've never used this device on MM, Nougat was on it when i bought it, so i cannot compare, but i am still not that happy with the results. Even my LG G3 did better.

I had one problem after (i know) dirty flashing latest PN build + dynamic gapps + root + flash 3.14.

Slow charging + heating device.

Dirty flashed ROM again to see if the issue remains. If ok then i'll test again with this kernel, because I like it !

Will report back.
[Nexus 6P Android Development] winxuser:
Ot, but you have the g3 as well?? I have the g3 and I'm running aosp nougat rom, it's so smooth.. kinda suck eliminator left the g3 forums, he was the best kernel dev ever. Porting about 70% of the g4 stuff to the g3 one the old kernel before it was rebased to caf
[Nexus 6P Android Development] weazie:
I wrote earlier about the phone turning itself off @20℅ battery.

Now it doesn't happen anymore on the second round. The old method of resetting battery stats was to delete /data/system batterystats.bin when the phone was fully charged, but that method was debunked by Google employee as meaningless.

I have used this method and it's now fixed: After the device turns off, boot into bootloader and let the battery drain completely. Then reload with phone turned off. After booting, it might not still show 100%. Just let it charge until full. This method is not to be used regularly, going all the way down to 0% is hard on the battery. Sorry for off topic.
[Nexus 6P Android Development] leondestiny:
i been using Flash kernel for nearly over 2 weeks now , 0 issues with it.

mostly super amazing, keep up the good work.
[Nexus 6P Android Development] C.H.T.J.:
This kernel was worth it selling my Op3 and come back to the Nexus 6P.
[Nexus 6P Android Development] ViperXvenom8888:
how to clear battery stats?:confused:
[Nexus 6P Android Development] Wimmme:
Make sure you are rooted, download an app like BatteryCalibration and follow the instructions :)
[Nexus 6P Android Development] kantjer:
There have been posts, even from Google devs, that clearing battery stats is completely useless.
[Nexus 6P Android Development] Shockz:
I'm pretty sure it's useless for improving battery life, but if the percentage is reading incorrectly, it could help. I'm not too sure though.
[Nexus 6P Android Development] Az Biker:
After flashing 3.14 I have noticed much better battery life, especially in the overnight drain area. Was getting 3-5% overnight drain with everything prior to 3.14, woke up this morning to 0% overnight drain. And by overnight, I mean about 5.5-6 hrs.

Great job Nathan!
[Nexus 6P Android Development] Citizen_Snips:
The idle drain on this kernel is insane. I built Flash on my PC 2 days ago (48hrs+, I'd have to check the timestamp on my post). I've only lost 25% since then. Then again I haven't touched it at all since I sort of still use my N5 as a daily. All my apps are on it, it's rooted, etc. 6P is just unlocked with TWRP and this kernel. Cellular data is also off, but it is connected to WiFi. Also says I still have 4 days to go. That's it's first cycle after flashing as well. I think I'll use it until it dies and then charge it and see how long it lasts untouched. Should be fun seeing how far it gets.

Edit: timestamp says 3 days ago, so yeah. Awesome. :cool:
[Nexus 6P Android Development] FairZ33:
OK, seems I need to reset the option, each time I reboot. Not sure if a kernel issue or the kernel manager (EXKM).
[Nexus 6P Android Development] nathanchance:
My commits are straight from flar2 so not a kernel issue. I'll add something to the ramdisk next update to try and alleviate this.
[Nexus 6P Android Development] xperator:
I have a weird issue with latest mm update. The phone keeps turning off Wifi and switch to Data during sleep ( or basically when phone is locked )

How do I address this issue ?
[Nexus 6P Android Development] Nekromantik:
I had good battery till I flashed google assistant. Now I cant get more then 70% deep sleep when before I got 80-85% while at work.

Removing it for now.
[Nexus 6P Android Development] Kappa Lamda:
Battery stats are resetting after unplugging your phone when fully charged. As [MENTION=3306843]kantjer[/MENTION] said there are posts confirming this.

Cannot recall where I have read them.

So I don't think if it would help. But how do you know battery percentage showing is wrong?

If we are referring to 2% drop instead of 1% this is a known bug on 6P
[Nexus 6P Android Development] xsidex:
Hey huys so I've been meaning to ask this for a couple of days but have been keeping to my own.

My question is this, I have updated to DP 7.1.1 and have been getting some ok results battery wise and great results in terms of performance. But given that we don't have the kernel source there are no custom kernels (yet) done for this preview.

What are the main issues with flashing the latest Flash Kernel without changing the Vendor.img to the 7.0 version? And also does changing the vendor back to that help with any of those issues?

I think I am going to experiment with this regardless mostly because of the wakelock controls in EKM, (wlan_rx and Bluesleep) and see if I get better battery with those two blocked.

My standby has been great but whilst using the phone I've ended most days with less than 4h screen on time.

Thanks for the help!
[Nexus 6P Android Development] nathanchance:
Camera takes cruddy shots. People have said reverting vendor to 7.0 fixes it but that just doesn't seem to wise to me. Other people are free to comment but I'd just wait for source.
[Nexus 6P Android Development] xsidex:
Is there any other way of blocking the wakelocks I talked about without a custom Kernel?

Thanks for the help!
[Nexus 6P Android Development] nathanchance:
I don't think so. Those toggles are written into the source code.
[Nexus 6P Android Development] dhalham:
Loving the kernel, quick question, how do I gain headphone volume?
[Nexus 6P Android Development] dhalham:
What app is that?
[Nexus 6P Android Development] eduardozeassesme:
EX Kernel Manager
[Nexus 6P Android Development] xsidex:
Also another thing that came across my mind, I found out that like you would expect you can change interactive Governor settings in EKM even in the stock kernel, but am I crazy or is touch boost always on and there is no way of turning it of?
[Nexus 6P Android Development] kyzn:
It's always off.
[Nexus 6P Android Development] Shockz:
touchboost is completely removed from this kernel.
[Nexus 6P Android Development] jesssiii:
I have sweep to wake set with a script in system/su.d and it works flawlessly every time. Don't like using a kernel manager. So perhaps it's the manager?

NeXus 6P
[Nexus 6P Android Development] Mikulec:
In case anybody needs it, here is a .sh script for the convenience (just rename the pdf to sh).
[Nexus 6P Android Development] weazie:
If I remember the post from the Google employee correctly, the batterystats.bin file keeps learning the battery capacity from multiple battery rounds and she recommended not deleting it, because then all the learning would just start over.

That said,

For example, if the phone turns off at 20℅, as mine did, and then trying regular boot shows that the battery is empty.

Quoting my previous post.
[Nexus 6P Android Development] xperator:
Very nice! Good to see Flash getting into governor settings :highfive:

You have a small typo, you added 1 extra zero for the clock 1555200

1 thing I learned from messing around with target loads is that if you use same target load for different clocks, they will not be used effectively and It's not a good idea to do this. For example, I see in your target loads you have 50 used for 384 and 460. This doesn't help the governor to understand how it should use these 2 clocks.

Basically you're telling it to use the 384 clock when the load is 50, and from that again use 460 clock for same load. This doesn't make any sense. The CPU will jump between these 2 clocks. This hurts your idle time, temperature and battery life in general. Even if you can increment that by 5 do that. For instance use 50 for 384 and 55 for 460.

There are also other things to mention.

I'm just sharing what I learned from my experiments I don't want anyone to do the wrong steps I did.
[Nexus 6P Android Development] C.H.T.J.:
Stupid noob question. How can i download the Profile?
[Nexus 6P Android Development] frost_nz:
If you're on mobile, open this thread in Chrome, long Press On the link to download, and select Download Link
[Nexus 6P Android Development] xsidex:
I was actually talking about the stock kernel on 7.1.1 DP
[Nexus 6P Android Development] kantjer:
Then you are in the wrong thread
[Nexus 6P Android Development] xsidex:
That's not it, I was asking some opinions to [MENTION=1751716]theflash[/MENTION] about using his kernel with the new DP, and my question about the stock kernel came in the sequence of that I still thought it was relevant to the thread, I imagine there's more people thinking about the same things
[Nexus 6P Android Development] Dbj.Dhaval:
How to do with script
[Nexus 6P Android Development] jesssiii:
https://drive.google.com/file/d/0B-GunN2lc0vMc1FwNU5HcFhLaWM/view?usp=drivesdk

Unzip and place the file in /system/su.d folder (if you don't have one, make it). Set permissions and reboot or execute. It's sweep up to wake and sweep both ways to sleep. Must be rooted for it to work I think.

NeXus 6P
[Nexus 6P Android Development] Augustin79:
Very noob but I don't understand how to download the new governor profile... When choosing download it takes me to a page with a lot of text/scripts. Please help
[Nexus 6P Android Development] chikimonke:
On desktop, right-click and save as. On mobile, long press and save.
[Nexus 6P Android Development] jesssiii:
There's a couple no-encrypt kernels out there fur 7.1, how difficult would it be to disable that unlocked bootloader flag in one? I don't care about root, and I love 7.1, but I need some mods lol. Tried to live with it locked up. Twice ??

NeXus 6P
[Nexus 6P Android Development] nathanchance:
It can't be done without source as the mod comes from the source, it can't be done otherwise. Honestly, I don't know why people care so much about the dev preview, a few people I know tried it and instantly came back to 7.0.
[Nexus 6P Android Development] 1Ishara:
First this dev is the most helpful dev i ever saw... Not only he help this thread but also in other threads... Big salute for that... ???????????????????

2nd if i dont use any kernel manager app can i get good battery life and performance??? I dont like to change default setings though.. ????????????????????????
[Nexus 6P Android Development] jesssiii:
Thanks for explaining, sorry for beating the dead horse too. But, IMO, 7.1 is pretty awesome. Why I've been constantly switching back and forth, it's good enough to consider running bone stock.

Maybe it's just a flaw in me, I long for finding the perfect setup so I can leave my phone alone, but when I find that setup, I inevitably find something else better, or some tweek to try. Sigh.

NeXus 6P
[Nexus 6P Android Development] nathanchance:
Appreciate the kind words lol.

No, you don't have to tweak for good battery life, it should be good right out of the box.
[Nexus 6P Android Development] codygs83:
Just wanted to say that is to the dev for this awesome kernel. Just installed your profile and it's banging like a champ.

Thank you for sharing!

I can't repay you with much but if you use Kodi then gimme a hollar, I have a build that'll fix you up nice
[Nexus 6P Android Development] xsidex:
Hey [MENTION=1751716]theflash[/MENTION] have you seen the 7.1 source drop? (https://android.googlesource.com/device/huawei/angler-kernel/+/android-7.1.0_r4)

Not if it's relevant for you or for the development of this kernel but thought about sharing it here
[Nexus 6P Android Development] nathanchance:
That's not source, that's just the prebuilt kernel.

Honestly, I don't anticipate source being out until the next security update relesse cycle and even then it still may not drop.
[Nexus 6P Android Development] Hussainally:
Has anyone tried this kernel with 7.1.1 dev preview ?seems to work on Franco but tethering is broken..really wanna rock this kernel
[Nexus 6P Android Development] JediSooner:
It's there anything in your Flash 1.0 profile to keep it from performing just as well in M as in N?
[Nexus 6P Android Development] nathanchance:
Both OSs should perform the same.
[Nexus 6P Android Development] weazie:
Just read back a few pages..

Sent from the Agents of R.E.A.D. HQ
[Nexus 6P Android Development] arunkr:
This maybe a dumb question, but just wanna know if by telling to keep the input boost for small cluster, do u mean only one core or the entire small cluster. And one more doubt is, if we keep boost for 1 core and 4 core will the difference be 4 times that of just one core boost ?...forgive me if it's too noobish..:D...coz when I put silverfish profile, I found 1.4ghz on all 4 small cluster..thus the doubt
[Nexus 6P Android Development] nathanchance:
No. Input boost on the first core (#0) is the same as boosting on all four cores as if you only specify a value for the first core, it will apply it to the other three.
[Nexus 6P Android Development] shadowstep:
EDIT: Deleted, wrong thread, sorry! :rolleyes:
[Nexus 6P Android Development] FR34K-B1B0:
That cpu profile rocks!

11 hours of usage and still at 37%

I only get this battery usage when I downgrade resolution to 750x1334 (iPhone resolution)
[Nexus 6P Android Development] SixFourSix:
We're there any custom kernels for any of the dev previews before N? Why should this dev preview be different? People are even making ROMs with 7.1. It's cool and all for us users. But why?

It's like building a house on a rock which is held together with a bunch of sticks and barely standing.

?
[Nexus 6P Android Development] raymondoliviero:
Is this kernel compatible with 7.1 roms?
[Nexus 6P Android Development] dhalham:
After installing this kernel, I noticed that I receive my whatsapp messages much later than usual. After a while, I go into WhatsApp, and then it somewhat refreshes and all my messages pop up. Anyone else have this?
[Nexus 6P Android Development] flunk03:
[MENTION=6842057]The Flash[/MENTION] initial impressions of your profile are impressive on the idle drain front. Will test heavily over the weekend and give you an update by Monday hopefully.
[Nexus 6P Android Development] Prattham:
Not a kernel issue

Its whatsapp issue that's called doze

Turn off battery optimization for it

If you restored it via TB then uninstall and re install from Google play that will definitely fix the issue

Cheers :)