yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] nathanchance:
Working fine here as well. Camera issues usually aren't kernel related, mostly vendor. Not sure how you flashed N but I recommend dirty flash the zip you used and reflashing the kernel.
[Nexus 6P Android Development] OmegaBlaze:
Oops. I'm still on MM.
[Nexus 6P Android Development] Ntress:
[MENTION=6842057]nathanchance[/MENTION]

are you using Xthermal fast charging or xthermal performance?
[Nexus 6P Android Development] nathanchance:
Well that would certainly explain that issue :silly:

I used performance. I went back to stock for a bit as [MENTION=4151089]xperator[/MENTION] seemed to think that it caused issues with displaying battery percentage (would hang while charging and not show any gain). I noticed this as well so I am testing to see if it still occurs.
[Nexus 6P Android Development] kantjer:
https://www.androidfilehost.com/?fid=24686680535466638
[Nexus 6P Android Development] xperator:
Thanks! :) Flashing in a minute
[Nexus 6P Android Development] kantjer:
Don't forget to restore your original thermal-engine.conf

Sent from my Nexus 6P
[Nexus 6P Android Development] xperator:
What do you mean ? I thought you used stock thermal conf in this build. Is it still on Xthermal ?
[Nexus 6P Android Development] nathanchance:
The new zip does not include a thermal-engine.conf file, it doesn't replace the Xthermal one that is already there. Navigate to /system/etc, you should see a thermal-engine.conf.bck file. Delete the current thermal-engine.conf file, rename that file to thermal-engine.conf, and reboot your phone.
[Nexus 6P Android Development] Prattham:
I use the xthermal mod not the performance one but normal xthermal mod since it was posted and i have no issues

:)
[Nexus 6P Android Development] xperator:
Oh i see... Actually I did a clean flash. I didn't dirty flash cause I went to N earlier to test something and came back to M

So should I still do that step or leave it ?
[Nexus 6P Android Development] nathanchance:
If you clean installed then flashed that zip, you are fine. Otherwise, do that process.
[Nexus 6P Android Development] kheltek:
I may have botched things. I didn't see a .bck file after flashing 1.4.2 (coming from 1.4). The only thing I saw was the regular thermal-engine.conf file and deleted that. I reflashed 1.4.2. Nothing has happened, yet. I have everything set to Nathan's current settings.
[Nexus 6P Android Development] infernusdark:
No NTFS support?

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Android Development] kantjer:
coming from 1.4 to 1.4.2 you didn't have to do anything.

You have now removed the stock thermal-engine.conf file.

flash this and you will have your stock thermal-engine.conf back
[Nexus 6P Android Development] kheltek:
Thank you!
[Nexus 6P Android Development] Vangelis13:
First of all, many thanks for all the variations of the kernel; solid!

[MENTION=3306843]kantjer[/MENTION], flashing the 1.4.1 on top of the 1.4 made the @#&£¢®§ banking app I use not functioning anymore because it saw root - am on Pure Nexus with no root.. Any idea how I can "undo" that?
[Nexus 6P Android Development] kantjer:
yes I know why, I forgot to revert SELinux permissive (I use that in my own build)

It's fixed in 1.4.2, sorry for that.

kernel download

Changelog 1.4.1 -1.4.2

SELinux back to enforcing

Removed Xthermal Mod
[Nexus 6P Android Development] Vangelis13:
Many thanks!! :)
[Nexus 6P Android Development] masri1987:
should i get the 1.4.2 if i have root?
[Nexus 6P Android Development] nathanchance:
It's up to you. If you are fine with forced permissive, stick with 1.4.1. If you want the option to be enforcing, use 1.4.2. Root is not a factor in this.
[Nexus 6P Android Development] Pollie81:
[MENTION=6842057]nathanchance[/MENTION] you are on nougat? I wanted to give it a shot as well but I'm reading about some issues and problems reverting back to marshmallow.
[Nexus 6P Android Development] xflowy:
when is it up ;)
[Nexus 6P Android Development] nathanchance:
SoonTM (probably like fifteen minutes if I don't get sidetracked lol).
[Nexus 6P Android Development] xflowy:
yeeey :)
[Nexus 6P Android Development] Juzman:
Jump across to Ninja! ^_^ Also for those interested in "profiles", I took the awesome AmanuensisOne_6P script and have (hopefully) got it sorted. I was aiming for being more conservative / battery friendly with not too much lag/stutter.

For those that want to test it (AmanuensisOne_6P_C_v1.2.sh), it is available here: https://drive.google.com/drive/u/1/folders/0BxNg1CsHZMjFNHdjZlhyUi00MDg

It works fine with Ninja Kernel, and can tweak it in EXKM if need be. :)
[Nexus 6P Android Development] xflowy:
where do i find this original amanuensisone_6p thing everybody is talking about? :)
[Nexus 6P Android Development] resynx:
Can't wait! :D
[Nexus 6P Android Development] xflowy:
i guess the 1.1.1 version in ur downloads is what we're talking about? :)
[Nexus 6P Android Development] nathanchance:
Update for M and N!

Not too many new features, just a lot of optimization. I have merged Qualcomm's idle governor, should make sleep drain less. I've tested this for a few days and experienced no issues but as always, if you do, please follow the steps in the OP.

Downloads: v1.1.1 for M and v2.1.1 for N

Changelog: (see Github for full list of commits)

v1.1.1 and v2.1.1

Added CDG congestion algorithm

v1.1 and v2.1

QCOM idle governor (replaces nop)

Interactive governor patches from Franco

A bunch of minor bug fix and optimization patches from upstream CAF

Latest Linaro 6.1 source
[Nexus 6P Android Development] Juzman:
Quick Google would have brought you to this post: http://xdaforums.com/showpost.php?p=67127126&postcount=3544
[Nexus 6P Android Development] xflowy:
thanks man. will test the throttling now.

just one thing: do u recommend using zzmoove gov? is even it designed for big.little respectively still updated?
[Nexus 6P Android Development] nathanchance:
zzmoove is updated for big.LITTLE but I am not sure how optimized it is. It was a little laggy for me when I used it.
[Nexus 6P Android Development] xflowy:
ok, then ill stick to interactive and tripndroid :)

i just realized that ak was the kernel without touchboost. as im coming from ex kernel and smoothness is nr1 priority: do u consider implementing touch boost feature?

or is there anything i can do with input boost to manage the lack of it?
[Nexus 6P Android Development] nathanchance:
No, I won't be adding touchboost back in. If you want better performance, change input boost on little to 1555 and on big to 633 for any where between 100 to 300 ms, that should be good enough. Play with the values and see what works for you.
[Nexus 6P Android Development] xflowy:
is there a reason u left it out? whats the difference between touch and input boost anyway?
[Nexus 6P Android Development] nathanchance:
AK removed it and I just went with it. Personally, I disable it right off the bat so it's one less step for me.

Difference between touch boost and input boost: http://xdaforums.com/showpost.php?p=65150902&postcount=3348
[Nexus 6P Android Development] Tylog:
Great job Nathan. Kernel works very well, use it with N since release and it's fine. Good night.:)
[Nexus 6P Android Development] theesotericone:
For the first time in a long time I'm about to build with a kernel inline that is not Ex. Looking forward to it. Thanks man.:cool:
[Nexus 6P Android Development] jedsada18:
Thank you Nathan,i just use your kernel for N.

Works very good. What is recommended for I/O?

:)
[Nexus 6P Android Development] nathanchance:
Glad to hear it! I personally like sioplus 1536. That's what it should be by default but I think N had it at noop 1536 for some reason. Haven't dived into it yet.

Heads up to all, assuming that the feedback is good on 1.1.1/2.1.1, I'll be releasing 1.2/2.2 tomorrow. I've merged quite a few commits and I have them sectioned off for versions already, just want to make sure there is not a regression anywhere along the way!
[Nexus 6P Android Development] nathanchance:
Yes I am on Nougat. I have no intentions of going back to Marshmallow so I can't comment on that but I am really enjoying it so far.
[Nexus 6P Android Development] Pollie81:
That's good to know, which build are you on? On one of the custom ones available over here or stock?
[Nexus 6P Android Development] nathanchance:
Stock currently. Pure Nexus and AOSiP are getting fairly close to stable so I'll hope on over to one of those in a few days when blobs are out.
[Nexus 6P Android Development] Pollie81:
One more question if you dont mind.

Are there some things that doesn't work yet on nougat? I've read something about the camera. (like to know upfront because i really need the camera).

besides that, what's the best way to get upgraded? i'm reading about the beta program which should get you the full image/upgrade. But google says my device isn't supported, i gues that is because i'm on a custom rom.. should i flash mtc20f and then opt for beta program?

thanks for your help, i know there's already a lot of info out there but i'm reading many different things/opinions..

never mind, i was to soon.. i see now that heisenberg made a special instruction for nougat.
[Nexus 6P Android Development] jmtjr278:
Delete please
[Nexus 6P Android Development] nathanchance:
Camera works fine.

I just flashed the OTA in TWRP, flashed the kernel, then SuperSU and rebooted. Zero issues.

1. You already asked this within the past 24 hours, it's against the forum rules to do this.

2. NTFS support is enabled in my defconfig but I don't use it so who knows if it works. Sounds like a great thing for you to try.
[Nexus 6P Android Development] resynx:
PN and AOSiP 7.0 dropping in a few days confirmed ?[emoji14]
[Nexus 6P Android Development] nathanchance:
Soon :D
[Nexus 6P Android Development] snoprosledneck88:
When you say soon, do you mean sooner than a few days as stated above? [emoji2] lol That's not an eta request...... Right?
[Nexus 6P Android Development] nathanchance:
Lol if everything goes well, I'll shoot for a release tomorrow. Gotta abuse my phone to see what issues there are. Wi-Fi, cellular, camera, and proximity sensor all work but there may be other things underneath that are unstable.
[Nexus 6P Android Development] snoprosledneck88:
Nice so that will be your release or the official PN release. Either way it will be sweet. Maybe the details don't matter
[Nexus 6P Android Development] nathanchance:
This is for the new Linux kernel version that came out today. I'm not going to be releasing homemade PureNexus builds anymore as I feel it is unfair to Beans.
[Nexus 6P Android Development] chachin:
damn took them way too long to update to .103 wont ask what's new until you let us know what's new btw you're awesome thanks for all the work you been doing while [MENTION=3685904]ak[/MENTION] is afk
[Nexus 6P Android Development] ariefabuzaky:
Anyone have latest android N stock kernel ? Please share...
[Nexus 6P Android Development] eduardozeassesme:
https://drive.google.com/file/d/0B2bzgXnjYs1eMlV3TldxaURZeEE/view?usp=drivesdk

Flash on fastboot or twrp
[Nexus 6P Android Development] weazie:
I had to clean flash pn mm recently and I took the opportunity to test stock pure kernel against ninja 1.4.1. On pn kernel SOT 3h 40min on light usage. On ninja I got 4h 44min SOT on similar usage. No modifications to default settings / no battery saving apps.
[Nexus 6P Android Development] Nekromantik:
[MENTION=6842057]nathanchance[/MENTION] your N build will be stock correct? No OMS or additions like battery text or smartbar?
[Nexus 6P Android Development] jussaren:
Rooted Nougat

Ex elemental Kernel

Nexus 6p

I wanna flash this Kernel but I need stock boot image. Where can I get it?
[Nexus 6P Android Development] mitchdickson:
You could look three posts before yours.....................
[Nexus 6P Android Development] Toutatis_:
The answer or the file could be one post above, doesn't matter, guys will still ask :victory:
[Nexus 6P Android Development] jussaren:
Is that boot IMG for nexus 6p
[Nexus 6P Android Development] kyzn:
^^^ Lol. ^^^
[Nexus 6P Android Development] nathanchance:
I'm all for asking questions but why would someone post a boot image for another device in my thread? You have to use a little bit of common sense sometimes. But yes, that is the official release's boot image, grab it, flash it, then flash the kernel.
[Nexus 6P Android Development] dephsone:
[MENTION=6842057]nathanchance[/MENTION] I give a try for your kernel?

Did the settings about your performance tips and hope the best!

Anyway, your current setting is for what?? Performance, battery life?

Thanks.
[Nexus 6P Android Development] frost_nz:
I personally find that the settings posted give me the perfect balance between performance and battery life. Can't ask for more than that :)

Thanks [MENTION=6842057]nathanchance[/MENTION] !
[Nexus 6P Android Development] dephsone:
Which settings?

The balanced or Nathan's current settings?
[Nexus 6P Android Development] frost_nz:
Nathan's current settings, but there's absolutely nothing wrong with the stock settings either. Try both and see which works best for you.
[Nexus 6P Android Development] HTC_Phone:
I've actually been getting really good results (both battery and performance) using Nathan's current settings with the chill governor.
[Nexus 6P Android Development] RepGS2ol:
For those who are like me asking themselves if they should try this : I tried this kernel and it's the best so far. I tried others but this with Deadpool it gives me bests results.

Sorry for my english I'm french ;)
[Nexus 6P Android Development] jsminnis:
Is the N kernel system mode or systemless?
[Nexus 6P Android Development] nathanchance:
The kernel doesn't modify sepolicy as it is an AnyKernel zip and not a boot.img. So it is whatever your ROM or stock allows. Stock Android 6.0+ is systemless, you cannot use system root without a modified boot.img.
[Nexus 6P Android Development] bobbarker2:
Hey I see lots of cool commits in your git.. ninja v3.1.1. Where's it at you lazy bum? :sarcasm:

No but really they are interesting and can't wait for you to have a stable build to release :)
[Nexus 6P Android Development] nathanchance:
Update for M and N!

Download: v3.1 for Nougat and v1.5 for Marshmallow

Changelog for N: (feel free to check out Github for a more in-depth view)

Version 3.1

Linux version 3.10.103

Updated zen scheduler

Disable add_random in block

Changelog for M: (feel free to check out Github for a more in-depth view)

Version 1.5

Linux version 3.10.103

Updated zen scheduler

Disable add_random in block

Changed toolchain from Linaro 6.1 to Linaro 4.9 (slightly more stable)

Removed Maple I/O scheduler (had some issues with lockups, I am sure Joe will iron them out)

Adreno Idler

Power Suspend

Rebased (code clean up) on latest DR1.6-1 source

Added an init.rc file to set some settings at startup (specifically, sioplus at 256kb and stock frequencies)

I decided to bring back full M support until the majority of users switch over to N (hopefully within the next couple of weeks). If you experience any issues, follow the instructions in the OP. Thanks to [MENTION=2357893]scafroglia93[/MENTION] for pointing out the couple of scheduling patches I merged.

I have also update my current settings, I have been trying out GlassFish 1.2 by [MENTION=5886947]soniCron[/MENTION] and it has been pretty great in terms of performance and battery.
[Nexus 6P Android Development] bobbarker2:
damn that was fast
[Nexus 6P Android Development] nathanchance:
That's the goal ;)
[Nexus 6P Android Development] whatthehckeric:
That's why he's The Flash ;) thanks as always for your awesome work and continuing for us M users [MENTION=6842057]nathanchance[/MENTION]
[Nexus 6P Android Development] :
[MENTION=6842057]nathanchance[/MENTION] :laugh:
[Nexus 6P Android Development] snoprosledneck88:
[MENTION=6842057]nathanchance[/MENTION] I have been holding off on updating because I'm waiting for PN N. I'm still on one of your older ak builds. If I wanted to upgrade to your latest mm build can I just flash that or will that cause issues going from your ak to your ninja? If so I will wait for PN N to drop.
[Nexus 6P Android Development] nathanchance:
Should be okay to flash on top of, just make sure to clear out any kernel manager settings you have,
[Nexus 6P Android Development] bobbarker2:
Edit: I'm dumb.
[Nexus 6P Android Development] nathanchance:
0_0

Hmmm are you flashing SuperSU after the kernel? You should see a Ninja logo when flashing as well, I changed that from AK's.
[Nexus 6P Android Development] bobbarker2:
yeah I meant Ninja but was too lazy to go back and edit.

And I worded my last post badly I didn't mean that there was something wrong with the kernel just that I'm doing something wrong but it's the same process I go through every time. Don't you need to flash SuperSU after the kernel so it applies the changes to the ramdisk?
[Nexus 6P Android Development] nathanchance:
Hmmmm well if you flash SuperSU over an already patched ramdisk, it restores the boot image it saved a copy of from its first flash then patches it. So if you flash the kernel then SuperSU, it's possible SuperSU is patching that saved kernel, overwriting the initial kernel flash.
[Nexus 6P Android Development] quantumqweef:
Thanks for the update!

are you using GlassFish 1.2 by [MENTION=1615252]sonico[/MENTION]n for the 5x? i didnt see a 6P variant on his afh page
[Nexus 6P Android Development] chikimonke:
GlassFish is for both.
[Nexus 6P Android Development] weazie:
Do you apply chili (oops!) on both or just one cluster? Thanks!
[Nexus 6P Android Development] nathanchance:
Both.
[Nexus 6P Android Development] chrisexv6:
This is exactly what happened to me when trying to change kernels one time. Was hard to catch but of you scroll back after flashing SuperSU you can see the log message saying it's restoring the boot image
[Nexus 6P Android Development] JaylanPHNX:
Dirty flashing your ROM should restore its default kernel, then flash ninja over that.

From my Tab Pro 8.4
[Nexus 6P Android Development] dephsone:
[MENTION=6842057]nathanchance[/MENTION]

I tried 3 types of your confings (chill, current, performance tip) but I see a lot of stuttering while I play Madden Mobile.

Is it me doing anything wrong or can you tell me some recommendations of config the kernel?

Thanks☺️
[Nexus 6P Android Development] snoprosledneck88:
You said that you use Chill on both cores but your "updated" setting in the op say interactive. Just wonder which one is true. I always thought these governor profiles like glassfish, hawktail and so on were for interactive only. Can we use them on other governors? Do you use profiles on other governors?
[Nexus 6P Android Development] Prattham:
He is currently using the GlassFish profile

He used chill before GlassFish

And below that are his tested and true settings

Yes profiles like that are only for interactive governor

And no you cannot apply those profiles to different governors for ex a profile called redhawk works only in intelliactive governor and etc

Cheers
[Nexus 6P Android Development] yung40oz84:
Pretty dang good if ya ask me! Stock settings except what stated, over clocked little and big to max, stock min frequencies, Zen at 128kb, backlight dimmer enabled, DT2W only. Ninja 1.5 latest Angler DU weekly official build, Arise Audio, Viper4Android, and I did browsing, YouTube, slot of music, all Bluetooth to car and headphones, play store updates, and Google plus and XDA browsing constantly. Haven't got this good time in awhile honestly. Could have went longer to ad I was at 15 or 14 percent, but I'm getting flash happy :D
[Nexus 6P Android Development] justin1221:
I need that battery circle man! Is that from a theme?
[Nexus 6P Android Development] yung40oz84:
Ya deep darkness, many Arcus variants, I am using black.octopus.
[Nexus 6P Android Development] justin1221:
I haven't used cmte in a while, might have to give it a go until N gets ironed out. Thanks bud :good:
[Nexus 6P Android Development] yung40oz84:
NP bud, CMTE is my go to, I am not a huge substratum or layers fan, to each their own though.
[Nexus 6P Android Development] Dhanabalan:
hello guys,

i'm on stock android N (rooted) with twrp recovery, can i flash this kernel?

pls temme that which governors give more SOT..
[Nexus 6P Android Development] nathanchance:
I can't imagine a game could lag that much on a high input boost but have you tried a profile like Butterfly?

Yes just flash the kernel and reboot. Interactive is really the best governor for this device but chill is solid as well. You are going to have to play with it to see what options give you the best battery while keeping performance up to par.
[Nexus 6P Android Development] sandman1234:
Future reference for people: don't flash ninja twice. Getting lags that I didn't get the first time.
[Nexus 6P Android Development] mitchdickson:
Sounds scientific.
[Nexus 6P Android Development] kantjer:
Sorry to be blunt but that's a silly advise, specially without context. If I flash the kernel 10 times in row it wouldn't make any difference.

Sent from my Nexus 6P
[Nexus 6P Android Development] SlyUK:
Of interest with regards to Nexus devices:

http://www.androidcentral.com/end-nexus-2016-google-phones-forge-new-path
[Nexus 6P Android Development] sandman1234:
Fk takes 2 flashes for some reason in order to work.

Are you sure about that? The only thing I did differently this time was flash ninja twice, and had terrible lags.
[Nexus 6P Android Development] mitchdickson:
Correlation != causation.

I'd bet you were being thermal throttled when it was lagging. But that's just me thinking about it for two seconds instead of assuming that multiple flashes (of all things) was causing lags.
[Nexus 6P Android Development] sandman1234:
Maybe haha. I usually do things systematically which is why I say it confidently. Could be different reasons for sure. But felt the need to say that in case someone had the same problem
[Nexus 6P Android Development] mitchdickson:
What if you flash the kernel while sitting on the toilet and your phone lags? Would you post that flashing while crapping causes lags?
[Nexus 6P Android Development] sandman1234:
Somebody needs ice cream
[Nexus 6P Android Development] nathanchance:
Here's what happens when you flash my AnyKernel zip:

The update-binary calls anykernel.sh

anykernel.sh duplicates the boot.img into /tmp/anykernel

anykernel.sh calls the binary unpackbootimg to dump the content of this boot.img

anykernel.sh modifies the ramdisk (in my case, it copies my init.ninja.rc into the ramdisk directory and adds a line to init.angler.rc to call this during boot)

anykernel.sh calls the binary mkbootimg to recreate the boot.img with my zImage and modified ramdisk files

The update-binary flashes this boot.img

Your phone reboots

I flash my kernel multiple different times over itself and have zero issues with lag. Within that process, there is just not a place for something like lag to get introduced. It's most likely thermal throttling.
[Nexus 6P Android Development] sandman1234:
Thank you for that, instead of stupid bashing

What do you do to fix thermal throttling ?
[Nexus 6P Android Development] nathanchance:
Well generally, I just let the phone boot up and just let it sit for two to three minutes.
[Nexus 6P Android Development] sandman1234:
I see

Thanks!
[Nexus 6P Android Development] xflowy:
dude did u upload your custom thermal file somewhere? :)
[Nexus 6P Android Development] xperator:
Input Boost doesn't show in EXKM. Does it mean its force-enabled by default and can't be disabled or its just EXKM that doesn't support it for Ninja kernel?
[Nexus 6P Android Development] nathanchance:
Do you mean touchboost? Touchboost has been fully disabled. Input boost is still visible for me. If you want to disable input boost, just set the duration to 0 (I'll look and see if I can add the toggle for it though).
[Nexus 6P Android Development] kyzn:
Forced disabled Touch boost. Input boost is visible.

Edit: Ninja'd
[Nexus 6P Android Development] NBAPwns:
So do I just flash over updated kernels over the old ones?
[Nexus 6P Android Development] nathanchance:
Yes, updated kernels can be flash directly over old ones.