yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] nathanchance:
Can you guys go into the user settings, hit the plus FAB, navigate to /sys/kernel/sound_control, and show me the options?.

I mean I've added a lot of patches aimed to optimize the very core of the kernel. It will be a good experience. If you don't like it, flash the boot image since I don't modify system.

My settings out the box are pretty conservative but you can modify them to be aggressive for performance, either with a profile like Dragonfly or simply raising input boost.
[Nexus 6P Android Development] Prattham:
I am in hurry lol

Sorry for double posting
[Nexus 6P Android Development] Sheetzie03:
Along with not having the speaker optimization under sound, I also noticed none of the Governor or color profiles were there for me to select, when they've always been there in the past, so something was def going on.

So after trying a few other things, I uninstalled Exkm, and reinstalled it, same result. After hearing it was happening with someone else as well, and waiting to hear from you, I tried once more to reinstall exkm and rebooted and now things are good. Crazy.

Sorry to bother you [MENTION=6842057]The Flash[/MENTION] Great kernel man.

Thank you for everything you do!
[Nexus 6P Android Development] nathanchance:
Sounds like EXKM was having issues writing to the internal storage. Glad you got it sorted :)
[Nexus 6P Android Development] holigan360:
Do any performance profile?
[Nexus 6P Android Development] nathanchance:
I would recommend Dragonfly for performance (located at xperator's link in the OP)
[Nexus 6P Android Development] Nekromantik:
running 3.11 fine on tesla n.

using msm hotplug and rezero
[Nexus 6P Android Development] holigan360:
excuse me but I'm clumsy in these looks can you pass me a link, thank you.
[Nexus 6P Android Development] nathanchance:
http://xdaforums.com/showthread.php?p=68070450
[Nexus 6P Android Development] bonusax:
thanks, until now i used elementalx for its smoothmess, i think i'll will give a try to your kernel!
[Nexus 6P Android Development] Subhojit:
I have used Saber v2 earlier, but it made ARISE sound very bad.
[Nexus 6P Android Development] kyzn:
Life pro tip. Don't use battery focused profiles if you are running ARISE. Deadpool is the bare minimum you can get away with.
[Nexus 6P Android Development] Evolutionmods:
[MENTION=6842057]The Flash[/MENTION] amazing thread. and tuts, you really went the extra mile
[Nexus 6P Android Development] Subhojit:
Yes, stopped using profiles. Deadpool is really that great a profile for battery saving from my experience.
[Nexus 6P Android Development] thrgk:
Are the profiles in the op? I'm on mobile so might be missing them. Wanted to try a few different battery and performance profiles , currently on this kernel and pure nexus
[Nexus 6P Android Development] nathanchance:
Seems XDA Labs screws them up. Here they are:

From [MENTION=5886947]soniCron[/MENTION] - HawkTail, GlassFish, and FairPark

From [MENTION=4752299]Alcolawl[/MENTION] - list of profiles

From [MENTION=4151089]xperator[/MENTION] - list of profiles

From [MENTION=1892392].hEiMDaLL.[/MENTION] - list of profiles
[Nexus 6P Android Development] bgboii:
Hey flash do you use greenify or Naptime?
[Nexus 6P Android Development] bgboii:
Alright cool thanks!
[Nexus 6P Android Development] Craxx:
best regards

Craxx

Sent from my Nexus 6p

---------- Post added at 06:09 AM ---------- Previous post was at 06:07 AM ----------

governor and color profiles i have only in sound control the options are missing.

best regards

Craxx

Sent from my Nexus 6p
[Nexus 6P Android Development] psychomaniac189:
how do i enable/disable gestures? i just want dt2w
[Nexus 6P Android Development] nathanchance:
Like any other kernel, with an app like EX Kernel Manager or Kernel Adiutor.
[Nexus 6P Android Development] Craxx:
[MENTION=5196311]flash[/MENTION] you see my sound control? And i test your rezero settings and ther is always a 2 after.. so i set 550 and get 552..

best regards

Craxx

Sent from my Nexus 6p
[Nexus 6P Android Development] nathanchance:
Hmmm the sys path is there so I don't know why it isn't reading it. Did you try what Sheetzie tired?

That's fine, I disable a constant tick rate so the values will be a little wonky in places but it will work properly.
[Nexus 6P Android Development] Craxx:
i deinstall ex kernel manager, install new and reboot, but sound settings are still same...

best regards

Craxx

Sent from my Nexus 6p
[Nexus 6P Android Development] Wimmme:
Dude, just try it. I flashed yesterday and I think I like it. Too soon to tell but with standard settings it's smooth and battery friendly.

First kernel I flashed on this device, was able to keep it for 10 days stock [emoji56]

Great Job Flash, tnx !

Verstuurd vanaf mijn Nexus 6P met Tapatalk
[Nexus 6P Android Development] flunk03:
Deus ex works well with arise even though it is a battery oriented profile.
[Nexus 6P Android Development] thrgk:
Most were for the 5x, is that ok to flash when using this kernel and the 6p? Just flash the zip correct?

Thanks!
[Nexus 6P Android Development] Sheetzie03:
Try to reflash kernel and then uninstall exkm and install again, maybe even twice, see if that works
[Nexus 6P Android Development] weazie:
Use the ones that are made for 6P. Usually they are not flashables unless said so, but exkm profiles or .sh scripts (same function)

Copy file to sdcard\ElementalX\gov_ profiles\

Remove the file extension.

Ex kernel manager -> CPU -> Governor options -> load

Apply on boot

CPU boost options: enable four 'blue circles' from top to down. (Sets them on boot.)
[Nexus 6P Android Development] Craxx:
Thanks,

tried in several ways... no success... with speaker settings.. they didn't display...

Now i do it like this... hope this is same?

best regards

Craxx

Sent from my Nexus 6p
[Nexus 6P Android Development] Dhanabalan:
Which governor is effective on battery backup without compromising performance? :)
[Nexus 6P Android Development] mitchdickson:
Interactive.
[Nexus 6P Android Development] Vaseag:
Is it Exkm problem or Flash kernel ?

Did reset wiped data , same ...
[Nexus 6P Android Development] nathanchance:
That's an EXKM issue, the kernel doesn't control that.
[Nexus 6P Android Development] treIII:


Why is my ram so low? I have no open apps when I took the screenshot. Thanks
[Nexus 6P Android Development] c_86:
What do you mean low? You have 1.5GB left.

If you mean why is it 2797 GB it's because 320ish mb of the ram is dedicated to system and graphics that cannot be used by system
[Nexus 6P Android Development] treIII:
So 1.5 is normal with no apps open? Thanks for responding
[Nexus 6P Android Development] c_86:
yea im around there on a fresh reboot as well... dont forgot there are apps open, apps you may not have opened but the system will open them, like gmail, calendar, etc etc all those will run in the background on a reboot
[Nexus 6P Android Development] nathanchance:
N has been using more memory lately. Don't know why though it doesn't really bother me lol.
[Nexus 6P Android Development] treIII:
Is it a memory leak?
[Nexus 6P Android Development] nathanchance:
Considering it happens on stock, probably not, unless Google screwed something up.
[Nexus 6P Android Development] sandman1234:
So right now there's pn for nougat but only using stock kernel not ninja?

How's the battery life like when comparing to ninja and pn combo on MM? I'm still a beginner so everytime I make the jump it takes me forever to back up photos and such then commit to the flashing sequence
[Nexus 6P Android Development] clambert11:
Ninja is now Flash Kernel and it is available for N and works extremely well.

Battery is so subjective. It really depends on the individual environment you're in. For me it seemed like it was a little worse on N with the stock kernel and latest radio. After I rode that for a few days I install Flash Kernel using ReZero. My battery life seems to be back.

Doze does not seem to work for me. It struggled on M too. I think it has something to do with BT and Android Wear. I chose not to install Greenify on my clean install of N. I'm sure the fact that doze isn't working for me is adding to some of my battery woes but ReZero and Flash Kernel are serving me very well at the moment.

You mentioned backing up photos. While it is smart to do a backup in general, don't wipe internal storage when you clean flash. The photos should be just fine. Back those suckers up with Google Photos anyway and have some piece of mind.
[Nexus 6P Android Development] hh11bbaacchh11:
Hey, Flash. So, I flashed the kernel and had no problems with it. Good job with the kernel! Battery and responsiveness is better.

Just a quick question. I tried to use your settings using EXKM. However, when I change the settings under "Advance I/O" on the Misc. settings, it won't stick. Excuse my ignorance. Is that normal or is there an issue? I hope you can help me out. Thanks again!
[Nexus 6P Android Development] Kappa Lamda:
Did you activate the Apply on Boot icon next to them?
[Nexus 6P Android Development] hh11bbaacchh11:
Yes, I did.
[Nexus 6P Android Development] dohzboy:
<rant>DAMN THIS BATTERY DRAIN. DAMN IT TO HELL! </rant>

It has been driving me crazy, although I have nothing turned on. WiFi and BT is off. I am also using the settings that Nathan has recommended for the PN users. I saw a mention about the memory leak and that can be a possible reason for battery drainage but where exactly it's happening, I have no clue. I hope it gets figured out.
[Nexus 6P Android Development] kyzn:
Eh.. Mine just fixed itself after a week.
[Nexus 6P Android Development] dohzboy:
Yeah I'm hoping mine does the same. Thanks for the input though. Helps to see some people seeing a difference after a while.
[Nexus 6P Android Development] babtron:
Sorry for the noob question, but I'd like to try msm_hotplug since the best idle drain I've gotten is around 1.3-1.5% since upgrading to PN N. I'm sure it's because of touchy service and WiFi. Can I run hotplugging with core_control, or should I be using it with msm_thermal?

Also, for those running Excalibur v2, Deus Ex, or ReZero, what are your idle times like on N? Currently trying Deus Ex after running Excalibur for quite some time. I have gotten better idle drain with Excalibur than ReZero but loving the snappiness of ReZero. Not too big on SOT since I usually have a charger on hand if I'm using my phone a lot for things other than texting. I'd just really like to get idle drain as low as I can.
[Nexus 6P Android Development] shadowstep:
msm_hotplug is not depending on what thermal driver you use (msm_thermal or core_control). It is independent and will run absolutely fine with both.

Also, regarding comparisons of different interactive governor profiles, have a look at this post. Might be of some help. :)
[Nexus 6P Android Development] sandman1234:
You're right, my files should be intact since I only wipe cache during clean install.

What's rezero?
[Nexus 6P Android Development] shadowstep:
Give this and this a read. :)
[Nexus 6P Android Development] lovemachine35:
A screen shot after two days being on PN7 and Flash 3.11. Battery stats look pretty good. Thanks Beans and Flash.

Edit: Forgot to mention that I'm using Flash's newest settings in the OP.
[Nexus 6P Android Development] treIII:
What is rezero? Thanks
[Nexus 6P Android Development] mitchdickson:
Are you serious?
[Nexus 6P Android Development] treIII:
Yes. And if it bothers you for any reason please don't respond. Thanks
[Nexus 6P Android Development] mitchdickson:
Senior member with 3,000 posts, but can't read two posts before his to see the answer to his question.
[Nexus 6P Android Development] treIII:
Hey flash instead of communicating with this other person would you chime in when you have time. Appears to be a governor option but is not in my list of profiles for governor. Thanks. Yep senior member.
[Nexus 6P Android Development] mitchdickson:
Read harder. The second link in the post two before yours has a section called "Instructions". I wonder if there are instructions inside of there.
[Nexus 6P Android Development] nathanchance:
I provide a direct link for you to download it in my personal settings section in the OP
[Nexus 6P Android Development] aostrom:
My experience with Excalibur_v2

I'm really surprised to hear you say that you have idle drain issues with Excallibur_V2 (or are you not using V2?). I've been running it for several weeks, both on MM, and since PN 7 dropped. My phone shows 1.48% per hour idle drain while screen off, 9.2% per hour screen on. That's over 25:46 while on battery, 24:15 screen off, so it's a decent sample size. I haven't run ReZero enough to have a fair comparison, but I have no complaints about performance for Excalibur_V2, though my use is largely email, web, wikipedia, facebook, etc.; my "gaming" is limited to card games, backgammon, chess, things like that, not FPS or other highly interactive ones.
[Nexus 6P Android Development] babtron:
I get the same as you actually with Excalibur v2. I just wanted to make it lower :P

My phone reacts better battery wise with Excalibur, but ReZero does feel a little more fluid.
[Nexus 6P Android Development] sandman1234:
I'm so sorry.. but before I perform a major f-up.. in order to install PN7 do I need to do anything besides just clean installing from MM ? Is there any extra step I need to take to change from MM to Nougat first?
[Nexus 6P Android Development] AzraelsKiss:
I would read the OP, FAQ and installation guides in the PN thread.

Have a good one!
[Nexus 6P Android Development] sandman1234:
Awesome.

Last question, does the TWRP still have bugs on nougat? Is the TWRP version you're using 3.0.2-3?
[Nexus 6P Android Development] hh11bbaacchh11:
Using the 3.0.2-3 on Nougat. Just root after flashing to make it stick.
[Nexus 6P Android Development] sandman1234:
what do you mean by making it stick?
[Nexus 6P Android Development] hh11bbaacchh11:
I read on Heisenberg's guide that if you flash TWRP and not root it, it will not stick, or the stock recovery will overwrite it. So, once you flash TWRP, you have to also flash SuperSU so that when you go to recovery, it will be TWRP and not be the stock.
[Nexus 6P Android Development] clambert11:
Look two posts above yours. :) The gist is that it's a kernel profile. There are different profiles depending on if you want battery savings / performance / or a balance of both. THIS thread goes into discussion about many of the different profiles people are using.

See the OP of this thread for more details. You'll also find Nathan's (The Flash) EXKM settings in there that are not controlled by the kernel profiles. It's also a good place to start.
[Nexus 6P Android Development] rchtk:
If I understand correctly (..) the current kernel should be sufficient to make twrp stick if in twrp you allow system modification: upon twrp reboot it will rename the stock recovery so that twrp is not overwritten. For the modification in system to stick you need to have a kernel with dm-verity disabled. So strictly speaking root is not required in that case.
[Nexus 6P Android Development] hh11bbaacchh11:
Thank you for that info. I did the guide because I was hesitant at first. Thanks again.
[Nexus 6P Android Development] rchtk:
oom test :)

Just got an OOM storm. Not saying that I would help but I'll read it later from a computer..

maybe not linked to the kernel (pbly oom is just doing its job) but in case that's interesting I post it. Logcat was truncated unfortunatly.
[Nexus 6P Android Development] AzraelsKiss:
Actually... If you flash TWRP on stock, then boot into system, Android will overwrite recovery with stock... If you are staying on stock, you'll either have to manually edit some files to keep Android from overwriting recovery, or flash SuperSU, which contains a script to disable the overwrite. If you are going to a custom ROM (or already on a custom ROM) all you have to do is reboot into TWRP without booting into stock, and flash the ROM and other bits that you want to run and you should be fine.

Have a good one!
[Nexus 6P Android Development] hh11bbaacchh11:
I've done it already and running on PN N. I'm good already. Just shared my experience. Thanks for the info though. Cheers.
[Nexus 6P Android Development] nathanchance:
Hmmm interesting... Seems it is complaining a lot about GApps. I'll try to look into it more deeply after work and see if there is something with the kernel.
[Nexus 6P Android Development] nathanchance:
Update!

Just your standard update. Added some CAF/upstream Linux patches to help with scheduling and audio. Also disabled UKSM by default (can be enabled via EXKM or the sysfs path) as KSM is not enabled by Google by default (unlike zram). I also added some new governors: despair, blu_active, and ironactive. despair is based on conservative, blu_active is based on an older version of interactive (so I don't fully recommend it yet), and ironactive is based on a more updated interactive governor (around the same level as ours). I intend to look at backporting the blu_active governor found in [MENTION=3873953]eng.stk[/MENTION]'s OnePlus3 kernel; however, it has quite a few hooks in it due to CAF additions and a more updated Linux version (3.18) so it will take quite a bit of time (that I don't have much of at the moment) to sort through and unhook everything but I will try as soon as I can.

Download FLASH 3.12 for N: Main | Mirror

Changelog: (also on Github)

Add three governors: blu_active, despair, and ironactive

Some upstream scheduling commits

Some CAF audio commits

Disable UKSM by default

Disable some wakelocks by default
[Nexus 6P Android Development] hh11bbaacchh11:
Perfect. I'll update.
[Nexus 6P Android Development] winxuser:
Working great so far on cm 14.. but still have the bug that when I get a call it doesn't wake the device. So it's a black screen until I press the power button

Btw how can I disable hexacore mode permanently,, I turn it off with exkm but when I go to dashboard and come back it's enabled again
[Nexus 6P Android Development] nathanchance:
Don't think this is a kernel issue since it can be disabled/tweaked on a software level: https://github.com/DirtyUnicorns/an...mmit/8259be05babf2ca90a88d48303efd358014739e9

EDIT: Only way you would have hexacore mode enabled is if you have hotplugging enabled or you are being thermal throttled.
[Nexus 6P Android Development] kantjer:
I was having the exact same issue when using ReZero governor profile.

Now on Excalibur v2 the issue is fixed.
[Nexus 6P Android Development] Prattham:
Idle drain on the 1.13 is not good

My setup didn't changed nothing infact

Just the same it was before

And i am saying this after a thorough test so that there is no option of user error

The idle drain is high

I am talking about the MM version

1.9 was the best I'd say

I didn't flashed 11 and 12 but 13 instead so can't comment on them

Can you have a look?
[Nexus 6P Android Development] shadowstep:
Since ironactive is based on interactive, can we use the profiles meant for interactive governor with it? Or are the tuneables different than interactive?
[Nexus 6P Android Development] tcat007:
I've doing pretty good with Deadpool, are any of the new ones worth trying?
[Nexus 6P Android Development] flunk03:
On Deus ex just on Wi-Fi idle drain would be less than 1%. If I'm running on LTE and Bluetooth the idle drain would be around 2-3%. This is just for your reference because idle drain also depends on your system settings and background services that are running on your phone.
[Nexus 6P Android Development] Kappa Lamda:
Had this issue with both DeusEX and Rezero but with hotplugging on.

No problems without using hotplugging.
[Nexus 6P Android Development] SixFourSix:
Same here, didn't know it was ReZero causing it. On Excalibur 2 also now on pure coincidence..
[Nexus 6P Android Development] dohzboy:
Quick question: Thermal throttle limit: 48 <-- I cannot find this in EXKM. Is this just by default done for us? Or is there a command line that we need to input for it to work?
[Nexus 6P Android Development] sandman1234:
Is it worth it to buy EXKM ? I have only been using Kernel Adiutor

Also, I just installed PN7 and Flash 3.11 yesterday. 93%, 5 hours left. I'm going to assume it gets better over time?
[Nexus 6P Android Development] nathanchance:
I'm not supporting Marshmallow anymore.

You should be able to, a quick glance over the tunables shows they are the same.

At the bottom of the CPU screen.

I only support EX Kernel Manager and Kernel Adiutor-Mod. EXKM is the single best purchase I have made for this device.
[Nexus 6P Android Development] bgboii:
I'm safe then! Thanks I just wanted to make sure because I didn't know that it didn't actually check for vulnerabilities. Thanks for the new update as well just flashed it. Keep up the good work. :)
[Nexus 6P Android Development] HTC_Phone:
First of all, fan-freakin-tastic work on this kernel. This is purely incredible! Love it. :good:

Secondly, in regards to the comments on the 2016 nexus devices, I figured I'll throw my two cents into the ring. I think this is the first time in a long while that I haven't had a dying urge to get a new phone. The new Nexus devices just don't seem to grab my attention like the 6p, 6, 5, 4, etc. did beforehand. With a plateau in innovation being hit rapidly among phones, I just don't have that itch any longer to upgrade. The 6P is hands down the best phone I've ever used, and the development here is absolutely beautiful and highly active.

I'm thinking of coming out of Android development myself and learning to code hardcore (I spent a lot of time porting HTC Sense a few years back)

Either way, I think I'm here to stay for a while. Unless of course Google blindsides us all and makes these HTC Nexus devices something unheard of.
[Nexus 6P Android Development] minhgi:
Testing now with kernel 1.3. I'll let you know once it settle in. Seem to be working so far so good.
[Nexus 6P Android Development] elevatorguy:
[MENTION=6842057]nathanchance[/MENTION]. Which version of blackpepper do you use? There are two listed in the post you referenced. BPV2 and BPV2.sh
[Nexus 6P Android Development] HTC_Phone:
They're the same. The .sh file is executed through terminal, and the .txt file is applied through EX Manager. All in all they're the same setup!
[Nexus 6P Android Development] nathanchance:
One is an EXKM profile, the other is a script script (.sh). They both do the same thing, they are just applied differently.
[Nexus 6P Android Development] elevatorguy:
Sorry for the dumb question just wanted to be sure, like to follow instructions to the letter (less stuff gets borked up that way)
[Nexus 6P Android Development] nathanchance:
No worries at all haha, always good to ask questions before doing something, rather than after.
[Nexus 6P Android Development] Juzman:
[MENTION=6842057]nathanchance[/MENTION] I only use interactive governor. Would the kernel be better if I recompiled without all the "extra" governors etc (like a "slim" version) of Ninja? Or, having the extras doesn't really affect anything?
[Nexus 6P Android Development] nathanchance:
Most likely not. The governors don't add a ton of code that is invasive (as in if you don't use it, it doesn't affect much). You can see the chill governor commit here. But feel free to remove or change what you don't need, that's the whole point of the Linux kernel being open sourced :)
[Nexus 6P Android Development] chachin:
where do you guys find this blackpepper profile i go to cpu governors and only ones i can see are: Butterfly, CyanLionR6, DarkSpiceR7.5, GhostPepper HEIMDALL_6P_v4, HTCm9, LOKI_6P_V1, MadDog, SilverFish, Stock, VIDAR_6P_v1... where do i find the blackpepper o.O?
[Nexus 6P Android Development] desireaftergod:
http://xdaforums.com/nexus-6p/gener...e-governor-t3290605/post68070450#post68070450
[Nexus 6P Android Development] Juzman:
Guess I am going to have to read up on things regarding kernel compiling. Not sure if I CBF to do it, haha. Ninja works well as is.
[Nexus 6P Android Development] nathanchance:
In my OP lol.

Lucky for you it is all in the second post :good:
[Nexus 6P Android Development] kheltek:
Damn Nathan, this kernel is solid. Best battery life I've had on a phone hands down. Thank you for sharing.