yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] Prattham:
Okay so at 51%

With hotplug on and using deus ex profile by [MENTION=4151089]xperator[/MENTION] i can say is i got approx 25 mins extra sot that is 3hr 16 min with lag here and there but not in typing as i text alot so thats okay with me

Let's see then how it goes

Great work [MENTION=6842057]nathanchance[/MENTION]

Cheers :highfive:
[Nexus 6P Android Development] Rahhfue:
It is indeed :silly:

Sorry, got confused by this description in kernel adiutor .
[Nexus 6P Android Development] weazie:
With the same setup I went all the way down to 1% battery and SOT was 6h 2 min. Now charged and armed with saber v2 :D haha, let's see.
[Nexus 6P Android Development] ahoslc:
What's the best way to do this hot plugging thing?
[Nexus 6P Android Development] snoprosledneck88:
Just enable in settings. Use exkm app
[Nexus 6P Android Development] Prattham:
Lol i also charged it and running it with saberv2

Looks like we are connected:silly:
[Nexus 6P Android Development] nardow:
I also don't have LED notifications. Whatsapp, missed calls, charging, etc.
[Nexus 6P Android Development] murphyjasonc:
LED notifications didn't work for me either until I installed light flow. It was the same on stock Kernel as well as Ninja 3.41.
[Nexus 6P Android Development] nardow:
Damn Google

EDIT: LED is disabled by default (don't know why). You can enable it in Settings > Notifications > Tap the gear icon at the top right > Pulse Notification Light

EDIT2: LED apparently does not work with Ninja. It works, hehe :)
[Nexus 6P Android Development] shuckeru:
Deus ex performed better than that when I was testing it without hotplug on kylo. That doesn't really sound like an improvement imo. You're A light user right? No games, or gps navigation etc, heavy stuff?
[Nexus 6P Android Development] winxuser:
It does work for me, using latest N ninja :/ maybe it doesn't work for some and works for others
[Nexus 6P Android Development] tibere86:
[MENTION=6842057]nathanchance[/MENTION] , any plans to release an N version with hot plugging enabled out of the box for us non-rooting Android Pay users? :p
[Nexus 6P Android Development] nathanchance:
Sorry, no, I can't be doing multiple builds as it becomes way too complicated for me. I already maintain three branches (N, upstream Linux, and my personal branch). If you really want it, compile the kernel yourself and create a line in anykernel/ramdisk/init.ninja.rc that enables it using the guide in the second post.
[Nexus 6P Android Development] nathanchance:
Update!

Again, M is dead (though commits are still viewable/buildable here), this update is only for N (if you flash this on M and complain, I'll lose my mind). Added some commits for the chill governor and msm_hotplug. Also merged some upstream CAF patches and switched the default I/O scheduler to zen and default readahead to 128 (both are changeable, I just think it is a little better as the default).

Download: v3.5 for N

Changelog: (also on Github)

Updated chill governor (thanks [MENTION=5051294]frap129[/MENTION])

Updated msm_hotplug to 2.2 (thanks [MENTION=2033478]Yank555[/MENTION])

Merge upstream CAF patches

Switch default I/O scheduler and readahead to zen 128kb
[Nexus 6P Android Development] eduardozeassesme:
Wooo you are fast thanks man
[Nexus 6P Android Development] Prattham:
Yup

Mainly texting xda g+ youtube
[Nexus 6P Android Development] redskinsfan:
I noticed with 3.5 that with hotplugging enabled, instead of 3 little cores, we now have 2 little and 1 big (at 633 MHz). Is this as intended for the default settings (I realize I can change it back)?
[Nexus 6P Android Development] JamFan05:
Could someone please point me to the stock kernel source for Nougat? i want to try to build my first kernel.
[Nexus 6P Android Development] nathanchance:
Yes.

https://android.googlesource.com/kernel/msm/
[Nexus 6P Android Development] bsg411:
I'm on PN rom MM which is has the latest August patch.... So can I use ninja kernel 1.8 if that has the latest September patches or should I use an old kernel version?
[Nexus 6P Android Development] AzraelsKiss:
https://source.android.com/source/building-kernels.html

Have a good one!
[Nexus 6P Android Development] halkoliiteri:
Yes you can. No problems with V1.8 and latest PN.
[Nexus 6P Android Development] Az Biker:
Well crap!

I only got 9 hrs into testing the battery on Ninja 1.1 and 1.2 is up?!

Guess who's flashing 1.2? :D

Thanks Nathan for the hard work!
[Nexus 6P Android Development] resynx:
Just flashed the update, excellent work!
[Nexus 6P Android Development] slipmeknot:
Wow updates are stealthy and fast like a Ninja! Thank you for your hard work :good:
[Nexus 6P Android Development] jedsada18:
thank you for v.2.2 and have a nice day.:p:p
[Nexus 6P Android Development] mickyw1980:
Flashed latest MM kernel and it is very fast and very smooth, in fact, the smoothest my 6p has been since purchasing it. Excellent work [MENTION=6842057]nathanchance[/MENTION]
[Nexus 6P Android Development] kyzn:
Way ahead of you. Lol. :silly:

Thanks Nathan. Flashed.
[Nexus 6P Android Development] nathanchance:
The second and third posts have been updated!

The second post contains a compilation guide. This will show you how to compile manually (so you learn the process properly) then provide a script to automatically do it in the future. I did it in a 2-core, 4GB of RAM virtual machine in 22 minutes from a completely clean install so you don't need a super beefy computer do this.

The third post contains a beginner's/crash course in Git and shows you how to add patches to the kernel. I will be adding sections for how to add features from other kernels and how to fix merge conflicts tomorrow but it is 3am so it's bedtime for me.

Happy building/modding! :good:
[Nexus 6P Android Development] Prattham:
Thanks for the git tut

Thanks so much man

Cheers
[Nexus 6P Android Development] DaveHTC200:
Awesome kernel!! Rocking it on N and extremely happy! Thank you ??
[Nexus 6P Android Development] atrix2man:
Deep Sleep working better than ever, slightly underclocked. Very pleased :good:
[Nexus 6P Android Development] JaylanPHNX:
I just updated to the latest Ninja from the last ak prior to opening this thread. I had to give it a bit to convince myself it wasn't placebo, but I can't deny this kernel is snappier under the same settings and same ROM version. Good job, Nathan.

From my Tab Pro 8.4
[Nexus 6P Android Development] TJ_bab:
Can anyone confirm if this is working on latest PA build or not?
[Nexus 6P Android Development] indian84:
Does work.
[Nexus 6P Android Development] Mikulec:
[MENTION=6842057]nathanchance[/MENTION] - regarding your settings, which thermal setting you have now? Because BlackPepper has different setting than what you have stated in the first post.
[Nexus 6P Android Development] nathanchance:
What you see is what I use. I override some of the governor defaults (like overclocking max frequencies).
[Nexus 6P Android Development] Geezer000:
I'm having a brain fart.......where do I put the black pepper file? It says experementalx/gov-profiles but I don't have that directory.
[Nexus 6P Android Development] Prattham:
Maybe because you don't have exkm app
[Nexus 6P Android Development] Toutatis_:
Do you have the ElementalX Kernel Manager app installed? if so, you should also have these folders.
[Nexus 6P Android Development] Geezer000:
I do have the app. Still don't see it. Weird.......

---------- Post added at 04:41 PM ---------- Previous post was at 04:35 PM ----------

NVM, after I rebooted the second time after installing exkm and Ninja it showed up. Thanks
[Nexus 6P Android Development] Nekromantik:
Sorry for offtopic, what ROM is that?
[Nexus 6P Android Development] BIGWORM:
I may have to give N a shot. [MENTION=6842057]nathanchance[/MENTION], are you running N stock or any personal build? I wanna keep up to date on your kernel. =)
[Nexus 6P Android Development] nathanchance:
I'm running a personal PureNexus N build. It is basically stock at this point though. Flash NRD90U then Ninja, you'll love it.
[Nexus 6P Android Development] BIGWORM:
I may just do that. Would you happen to know if there's any update on getting Xposed working for N? I think that was the only thing that kept me from flashing N back during the developer previews.
[Nexus 6P Android Development] indian84:
I'm am running NRD90U and Ninja. And I'm loving it. Yesterday I was at more than 5 hours of SOT with more than 15? battery remaining.

Just flashed 3.5 Ninja and loving it so far.
[Nexus 6P Android Development] nathanchance:
Nope, haven't heard anything but I don't use Xposed so I don't follow it.

Fantastic :highfive:
[Nexus 6P Android Development] BIGWORM:
System or systemless root? Trying to get the best possible setup before I bite the bullet.
[Nexus 6P Android Development] nathanchance:
Just flash the SuperSU zip. Stock can only be rooted with systemless root.
[Nexus 6P Android Development] senthilrameshjv:
Hey Buddy.. I always root my phone but I want to stay non rooted this time. I rooted only to change hot plug and the sweep to sleep settings. If we could turn it on by default, we may very well go without root. Pm me with ur telegram or hangouts id and we can start building our first kernel together
[Nexus 6P Android Development] Prattham:
Msm hotplug doing wonders

At 50% with 3h45min sot with saber v2 profile by [MENTION=4151089]xperator[/MENTION]

I have to say saber v2 is the profile you wanna use if you turn on msm hotplug

Great job [MENTION=6842057]nathanchance[/MENTION]

Will post my result and screenshot at the end of the day and its been 17 hour approx off the charger

Cheers :highfive:
[Nexus 6P Android Development] ariefabuzaky:
Are you in 3.6 rc1 beta kernel ?
[Nexus 6P Android Development] Prattham:
Nope

I'm still on MM so the latest 1.8 kernel
[Nexus 6P Android Development] SixFourSix:
Pretty sweet stats, I don't care how light your usage is, it is great stats. You must be on NRD90U right? I've noticed that battery is better on the "U".

Saber v2 was smooth enough when I tested, and worked well with hotplug. But some noticeable and constant lag and jitter was percieved when streaming music and scrolling in overview-view. Stock settings fixed that. And battery isn't that much better on Sv2.

Oh, and I didn't know recents is called overview until I flashed navbar tweaks zip.. : )
[Nexus 6P Android Development] Prattham:
As i have mentioned I'm still on MM using DU

Also my usage include

95% times texting on whatsapp using SwiftKey which according to the test takes alot of battery compared to Google keyboard

G+ xda youtube chrome

No gaming or such

Cheers
[Nexus 6P Android Development] SixFourSix:
I can see why the stats then. Sv2 is just perfectly made for your usage. No input boost rocks in texting it seems.
[Nexus 6P Android Development] nardow:
Hey mate, is this some kind of theme? Can you share?
[Nexus 6P Android Development] indian84:
I'm using layers manager and Elexium UI theme. It works flawlessly on Nougat.
[Nexus 6P Android Development] Houge_Langley:
Just follow the way to build my own one, just changed the TV to UBTC. Thanks you guys.
[Nexus 6P Android Development] bsg411:
I only see saber under governor profiles.... Where are you guys finding saber v2?
[Nexus 6P Android Development] mko000:
http://xdaforums.com/showpost.php?p=68070450&postcount=2760
[Nexus 6P Android Development] ahmd gomaa:
[MENTION=6842057]nathanchance[/MENTION] hi sir i am using ninga 3.5 with your customization as the post i am noticing lag when scrolling in recents and when scrolling in Google plus and Facebook

Edit : after restarting >no lag and in kernel app there are four cores online.. Then after five minutes lag starts again with two cores only online... does this explain any thing?! Or is this the normal behavior
[Nexus 6P Android Development] nathanchance:
What customization? My current settings? It sounds like you are being thermal throttled or you have hotplugging turned on since all eight of my cores are on.
[Nexus 6P Android Development] ahmd gomaa:
The settings in the OP

Yes hotplugging on core control off msm_ thermal on
[Nexus 6P Android Development] NBAPwns:
2 hours of SOT on saberv2 and 3.4 kernel @ 50% Stock rooted + nougat msm hit plug on. Is input boost suppose to be enabled?
[Nexus 6P Android Development] Prattham:
Saber doesn't use it and automatically disables it if applied via exkm atleast it did for me
[Nexus 6P Android Development] Prattham:
So here it is guys

Full 24 hours off the charger? Are you kidding me:D

Its been very long since i have got this and over 6h sot

Got that when device was brand new for first week then nothing.

So here it is

Msm hotplug on, what a job you have done [MENTION=6842057]nathanchance[/MENTION] it is amazing, kudos dude:highfive::cool: with saber v2 profile by [MENTION=4151089]xperator[/MENTION] great work man:highfive:

My usage - 95% of times texting on whatsapp using SwiftKey keyboard, Google+ xda youtube chrome and snapchat alot, damn snapchat sucks battery like a vampire sucks blood :D i think i may have got extra 30 min sot if i uninstall snapchat lol:silly:

Sio plus with 256 read ahead

Stock freq for both clusters that is 1.5 384 and 1.9 633

Backlight dimmer disabled

Anyways here are the screenshots;)
[Nexus 6P Android Development] kantjer:
Inputboost setting set by a profile aren't sticking for me, they are reset at every kernel flash and if I'm not mistaken even on every reboot (not 100% sure about that last one)

I fixed that by not only applying set on boot for the cpu profile but also for the inputboost settings.
[Nexus 6P Android Development] Prattham:
Haven't tested that since i don't apply it on boot :)
[Nexus 6P Android Development] nathanchance:
Lol yeah that's what hotplugging does, offlines cores when you aren't using them.
[Nexus 6P Android Development] kantjer:
I will be upgrading to N when I'm back home next weekend, then I will use my own Ninja kernel build with my setting in init.ninja.rc so I won't have to set anything. That will solve that once and for all.
[Nexus 6P Android Development] xperator:
I will stay on M for now till RR cm14 based come out.

Hopefully Nathan does keep M branch up to date for a little while
[Nexus 6P Android Development] New Rising:
Is there a way to install these profiles without ex kernel manager? I know it says you can use terminal emulator but im not sure how to. I've searched around and can't find anything, thanks. I just got the 6p the other day so I'm not to keen on it yet.
[Nexus 6P Android Development] kantjer:
You can run the .sh script using terminal emulator or easier a Script Manager, but it still won't be as easy as EXKM, why are you looking for an EXKM alternative.
[Nexus 6P Android Development] New Rising:
Cuz im being cheap and don't wanna spend $4 bucks [emoji1]. I probably will end up buying it though.
[Nexus 6P Android Development] snoprosledneck88:
He said he was done building it. Going to focus on N now
[Nexus 6P Android Development] nathanchance:
For right now I am done with M as it is kind of a pain to be maintaining multiple branches but I will see.

I can understand that mentality but you will not find a better bang for your buck. Not only are there consistent updates but [MENTION=4684315]flar2[/MENTION]'s support is top notch and the app just works. The battery monitor alone is worth it.
[Nexus 6P Android Development] rickysidhu_:
Recently installed this kernel and have the CPU Boost settings as shown in the attached screenshot. Just wondering if those settings are good for battery life, while not sacrificing too much performance!

I've learned quite a bit in the past year of owning my first Android device, but little things such as this, are still beyond my knowledge. Thank you in advance! :)
[Nexus 6P Android Development] snoprosledneck88:
Looks as though you have all input boost disabled which would in turn provide better battery life. You said that you didn't want to sacrifice to much performance and depending on what governor profile you have active you may be fine as is. If you notice some lag you can put your input boost to something like 40ms and give core 0 or 0 and 1 a set frequency to boost to like 768 or so and you should still get pretty good battery life.
[Nexus 6P Android Development] rickysidhu_:
Awesome, this is exactly the type of answer I was looking for, thanks a ton :D

I'm on the interactive governor and I'll give those settings you mentioned a shot, thanks again :)
[Nexus 6P Android Development] snoprosledneck88:
You will see a lot of people using governor profiles. Like you said the governor your using is interactive but you can select different profiles for that governor. The easiest way is EXKM ( search in play store) some profiles I would recommend trying is Saber V2, Deusex, glass fish 1.2, dragonfly, dragonX. This should give you a good start. Search advanced interactive governor profiles here on XDA and you will be opened up to a whole new world.

Added a link for you

http://xdaforums.com/nexus-6p/general/guide-advanced-interactive-governor-t3290605/page363
[Nexus 6P Android Development] rickysidhu_:
I used to have the EXKM app before, and I have seen some of these profiles but never tried applying them since I didn't know what they did. But I will check that link out, educate myself on this and I'll give a couple of the ones you recommended a shot! Thanks for helping out:good::D
[Nexus 6P Android Development] snoprosledneck88:
Sure thing
[Nexus 6P Android Development] bgboii:
Is anyone having data issues with the latest security update. I keep having bars without LTE. In order to fix it I have to reboot it. Sometimes it happens again sometime it doesnt.
[Nexus 6P Android Development] bsg411:
This is exactly what I was looking for too. Running PN latest MM build with ninja and saber v2 profile and hotplugging ....I immediately noticed only 3 cores active, a cooler battery and device (thank goodness) but also noticed some considerable lag. So I will tweak the CPU boost options like u mentioned to see if that helps with lag.

---------- Post added at 09:43 PM ---------- Previous post was at 09:30 PM ----------

Is there any way to tell if the offline cores get activated when needed because every time I go into exkm I only see 2 or 3 cores online.
[Nexus 6P Android Development] nathanchance:
While I was testing the addition, I used flar2's DevCheck. The pro version has floating monitors that allow you to see what your cores are doing in real time.
[Nexus 6P Android Development] New Rising:
So I purchased ex kernel manager, and when I go to governor options a lot of those listed in the link with the .txt are already in the options. Do I have still have to download them and move them to the ex kernel folder and remove the .txt? Thanks
[Nexus 6P Android Development] snoprosledneck88:
The app comes with some profiles. If you want to try a different one that is not listed you will need to download it, move it to the EXKM profiles folder, and remove the .txt The ones you see preloaded are ready to apply.
[Nexus 6P Android Development] Juzman:
Flashed v3.5 on PN7. Working beautifully.

Enabled hotplugging, disabled zRam and UKSM. :)

What are your thoughts on Chill vs Interactive (with Saber_V2) [MENTION=6842057]nathanchance[/MENTION] -- I'm getting good battery with interactive/saber_v2 however Chill being conservative, it should be even better, right?
[Nexus 6P Android Development] Guidorio:
Just want to share with you guys my 3rd cycle with this fantastic kernel.

I'm on android 7.0.

Ninja kernel 3.5

No interactive profiles

Hot Plug off

And the rest is default settings
[Nexus 6P Android Development] Kappa Lamda:
Imagine if the fix the Adroid OS drain when you are on Wifi. That's why you have a flat line when Wifi is off.
[Nexus 6P Android Development] Ofthecats:
Give chill governor a few cycles
[Nexus 6P Android Development] nathanchance:
Chill is solid, should be a little bit better with the couple of patches I merged from Joe.

One thing I will say is that disabling ZRAM and UKSM will most likely not gain you as much performance/battery as you would think. The whole point of UKSM is to be efficient and I lowered swappiness to 15 by default so that it will not use as much of the swap partition anymore. At the least, I'd recommend just switching to a swappiness value of 1 so that it uses whatever is necessary. N is a bit more memory intensive, making ZRAM a bit more desirable. Just wanted to throw that out there since a lot of people seem to think ZRAM uses a lot of the CPU but it doesn't (least in my opinion lol).
[Nexus 6P Android Development] Juzman:
Thanks for that info. Will enable zRam/UKSM and swap to Chill.
[Nexus 6P Android Development] xperator:
Please do post your results and tell how Chill compares to your previous profile setup (Saber V2)
[Nexus 6P Android Development] Ofthecats:
I always disable them both, but I'll yet your recommendations..

Nougat seems to be more aggressive with free RAM, as in more is available
[Nexus 6P Android Development] Prattham:
[MENTION=6842057]nathanchance[/MENTION] are you still using the settings mentioned in op that is GlassFish profile and maple io?
[Nexus 6P Android Development] masri1987:
so MM kernels are DOA now right?
[Nexus 6P Android Development] mushages:
getting around 20%/hr active drain on stock latest android N rom. is this normal? also still struggling with android system battery usage. with same setup i get 13%/hr in PN MM and 18% in DU MM.
[Nexus 6P Android Development] snoprosledneck88:
Yes, most likely. Nathan said there is a very very slim chance he may maintain it. Don't hold you breath. Let's move forward to N and embrace it.
[Nexus 6P Android Development] bigknowz:
Custom Kernel

Is there a no forced encryption NRD90U boot.img? Haven't found anything myself, interested in switching to ninja, thanks in advance.
[Nexus 6P Android Development] nathanchance:
Forced encryption is disabled here, if you flash a normal stock boot.img and flash Ninja before booting up, you won't get encrypted.
[Nexus 6P Android Development] masri1987:
going overseas for 2 months so , unless PureNexus N gets released and there isn't major issues i'm sticking with MM for a while
[Nexus 6P Android Development] nathanchance:
I'm not experiencing this. One thing I will say is that Android optimizes apps in the background now so that usage may be high for a few days but it will settle back down eventually.

Yes.
[Nexus 6P Android Development] snoprosledneck88:
The only thing that I have seen from Nate is on Google plus saying that he may push a build out the first part of this week. Naturally things change and we all know it's not polite to ask for ETA's but you may get lucky before you leave. We will all have to wait and see. People have compiled his N rom on their own for their own personal use and have said nothing but good things about it so far so I'm content waiting for him to finish when he feels it is ready.
[Nexus 6P Android Development] Nervousfreak:
Just the idea owning a nexus and not willing to have the latest software is dazzling for me.
[Nexus 6P Android Development] Badger50:
Hahahahahaha...your screen name is perfect then [emoji1] [emoji106]
[Nexus 6P Android Development] nathanchance:
Well for some, features > latest and greatest lol. That's how I was with the transition from Lollipop to Marshmallow. My friend jumped to M the first day and I waited for the first PN build. I've gotten a lot more used to clean installs, which is why I jumped to N the first day but not everyone is like that haha. Different strokes for different folks.
[Nexus 6P Android Development] masri1987:
You know the whole being overseas for 2 months thing should balance your bedazzle.
[Nexus 6P Android Development] Juzman:
The idle drain is good on PN7 + Chill governor. Same apps as when I had M, but under 1%!
[Nexus 6P Android Development] Nekromantik:
I compiled a 7.0 AOSIP rom and its stock like most N ROMs.

So went back to beltz MM until more features get added :)

Im not someone who can go back to stock.

[MENTION=4049833]Juzman[/MENTION]

Are you using chill on both clusters?
[Nexus 6P Android Development] Juzman:
Yeah, using Chill for big/little. :)