yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] buckmarble:
Okay, so here's a new kernel build. Here is the change log since last test build:

-added elementalx governor

-added nightmare governor

-added high performance audio toggle(this is for head phones only)

-kernel is back to selling permissive (fixes sysui and other fc issues related to bouncing between permissive and enforcing)

-default to cfq scheduler

-removed depreciated faux sound

https://www.androidfilehost.com/?fid=24415232478678021

I will update OP with this build in the morning.
[Nexus 6 Android Development] wrongway213:
Give the man a hand... this is a winner right here :good:

The audio is awesome with this kernel... Viper/Atmos users hit up that thread for more info on that, don't wanna clutter this thread but awesome work all around for sure!
[Nexus 6 Android Development] adm1jtg:
Newest build same issue for me as test one. Screen stays dark and wont wake. If i hold power button i can get the power menu but thats it. Gonna try to capture a logcat and post it

Edit: adb just says waiting in device so cant get logs
[Nexus 6 Android Development] buckmarble:
If the ROM has native double tap to wake, disable it and see if it still happens
[Nexus 6 Android Development] adm1jtg:
Disabled tape to wake in cm13 and no go same thing still wont wake up unless you long press power then you get the power menu. 2-8 version doesn't have this issue.

Ok moved back to pure nexus 2-3 version and kernel loads just fine, However, the elite.sh seems to be ignored/broken. Never did get the governor to set properly but on newest version now settings that worked before are being ignored.

Io scheduler

io scheduler read ahead

all the screen profile parameters

all ignored now.

If log would help just let me know which ones to pull for you.

Also a request... with you adding all these great governors would it be possible to add in yankactive. He currently has his own unofficial rom and kernel and sources for his current kernel are available so could we add in his governor?
[Nexus 6 Android Development] buckmarble:
Since cm does all kinds of funky weird stuff with their builds and ramdisks, I'll have to dig deeper into it to see if I can find anything. There aren't any wake issues on non-cm roms, so I think it is directly related to cm.

On PN, I'm assuming you rebooted and still didn't work? I'm on PN now and its running without a problem. Did you restore a backup or flash clean?
[Nexus 6 Android Development] Phrodini:
Thanks for the newest version.. excited to test out the high performance sound and glad it's back to permissive.. Should be great with viper mod
[Nexus 6 Android Development] Freak07:
[MENTION=2967322]buckmarble[/MENTION]

I flashed the new version you posted. Totally forgot about high perf mode, plugged the aux cable from my car in and could tell the difference right away. Much clearer output and less distortion on my car’s speakers.

Thank you very much for adding it!
[Nexus 6 Android Development] buckmarble:
You're very welcome. Happy it's working so well!!
[Nexus 6 Android Development] derdjango:
Just flashed this. Runs stable, I'm out of town for the next three days so good to test it for stability. Where can I activate the high performance audio? There's no sound option on EX Kernel Manager anymore. Can I activate it through the script?

Also any reasons for changing to cfq for default? Any recommendations for the new governors?
[Nexus 6 Android Development] nodnarb91:
It shows it in Kernel Adiutor.
[Nexus 6 Android Development] buckmarble:
Option is available in the sound tab in KA. I switched to cfq because I added a patch to it for optimization on ssd type memory. I don't have any recommendations on the governor's because I haven't messed with them much. Maybe someone else can pitch in on those.
[Nexus 6 Android Development] derdjango:
Alright, thanks mate. Bought you a beer.
[Nexus 6 Android Development] Phrodini:
With the newest update as far as viper goes, do you still need the change the frequency for the static?
[Nexus 6 Android Development] Samuel Holland:
Absolutely amazing results over here.

I don't won't to clutter your thread but wanted to let you know that this sure is a blessing for me. Thank you for your dedication and sharing and may God bless you & family. Shamu #1.:o
[Nexus 6 Android Development] ZionFreak:
Sorry if this is a noob question or if it's already been answered because I haven't had the time to read all the thread comments. Is there an application I can install to tweak the kernel settings? I ask because I'm not rooted and all apps I searched say (need root). Thanks for your time and work!
[Nexus 6 Android Development] Phrodini:
You will need root.. One popular app is kernel auditor
[Nexus 6 Android Development] Freak07:
You can try to edit the file Elite.sh found in system/elite in your recovery.

You may also want to search the thread for changing that file via recovery. There are examples for adding tweaks that arent already covered in the existing config file.
[Nexus 6 Android Development] ZionFreak:
Okay. In that case, I might just root. Thank you to you two guys who responded. I'm just amazed at all one can do these days without root. I mean, I always thought you needed root to even flash a custom recovery.
[Nexus 6 Android Development] adm1jtg:
[MENTION=2967322]buckmarble[/MENTION] have to many issues listed so figured I would list here so I can keep focused:

CM13 doesn't work with newest kernel - I gave up on cm13 as it still has major LTE issues

Cannot set governor in elite.sh script - sys/devices/system/CPU/cpu0/scaling_governor doesn't exist (no scaling_governor) under cpu0 so just need the correct command line to make this work. Got the rest of the scripting working with a clean install.

Didn't see an answer about possibly implementing yankactive
[Nexus 6 Android Development] buckmarble:
Thank you for putting them all in one place. I think I found the CM issue and I added yankactive. I haven't had a change to look at the script stuff yet though. I will post build as soon as it gets done and uploaded.
[Nexus 6 Android Development] adm1jtg:
Damn your good I was only asking for an answer as to IF you would implement yankactive. LOL
[Nexus 6 Android Development] buckmarble:
Another test build.

-removed sepolicy from zip(should fix cm issue)

https://www.androidfilehost.com/?fid=24421527759880975
[Nexus 6 Android Development] miguelito18:
Any chance to add umbrella_core? That's my fav governor.

Thanks
[Nexus 6 Android Development] buckmarble:
Link updated in previous post. Had to remove yankactive. Put my phone directly into a constant Google logo loop.
[Nexus 6 Android Development] adm1jtg:
Man... no yank love.... geez that didnt sound right :D
[Nexus 6 Android Development] ZionFreak:
Hey guys. One more question. Would the new systemless root be okay for Kernel auditor and xposed? Any downfalls? Not sure I'll be using Android pay but just wanted to check here.
[Nexus 6 Android Development] adm1jtg:


Systemless doesn't work with Android pay anymore
[Nexus 6 Android Development] buckmarble:
Sorry man, I did try though. But it should work on cm now though[emoji106] [emoji106]
[Nexus 6 Android Development] ZionFreak:
So is it best to leave the kernel as is and not worry about tweaking? I'm using it with tupacs ROM and Guitarheros V4a/Dolby Atmos! Feeling amazing thus far. I flashed the file you guys uploaded this morning. Running great. Just let it be?
[Nexus 6 Android Development] buckmarble:
Honestly thats what I do. The default settings is what we use, that's why we made them default[emoji3]
[Nexus 6 Android Development] Phrodini:
You downloaded the custom that guitardedhero made?
[Nexus 6 Android Development] Zubaser:
This is the perfect kernel. Thanks for your work. It works very well toggl high performance audio. But now you can not adjust the volume on your own. Is it possible to raise the volume on this Kernel. Sorry for my English.
[Nexus 6 Android Development] harlekein:
Yesterday I flashed the latest 15/2 release of this kernel on Pure Nexus ROM and found very fast battery drain. I went back to the 8/2 version which has been doing very well.
[Nexus 6 Android Development] mikeprius:
I turned off the sweep wake gestures but aside from that the default settings work great!
[Nexus 6 Android Development] Phrodini:
No, its not possible since the changes removed and replaced that feature. You can however use an older version of the kernel

Or flash Dolby atmos sound mod
[Nexus 6 Android Development] modernbummer:
Is the camera gesture working for everyone on the latest version? I'm using KA and can't get it to work.

EDIT: Disregard. Didn't have power button twice enabled in settings.
[Nexus 6 Android Development] enzoevo:
It's working for me.
[Nexus 6 Android Development] nodnarb91:
Ditto.

I might add however, that in the description of KA, it says to draw a circle on the screen but it works best if you just draw a straight line down the middle of the screen and your camera pops up. [emoji106]
[Nexus 6 Android Development] enzoevo:
I'm running the latest kernel and have noticed slightly higher battery drain. I always give it a couple of days to settle in before making a final judgement. My phone always uses a bit more juice though because of my android watch. I think I may have an app that misbehaving, but haven't been able to isolate it thus far.

More importantly the kernel is as stable as ever.

---------- Post added at 10:18 AM ---------- Previous post was at 10:16 AM ----------

Make sure you have swipe down to wake gesture enabled.. Also you have to enable press power button twice to activate camera option.
[Nexus 6 Android Development] Droidphilev:
Hi Buckmarble,

FYI: this is kinda weird. With the earlier build streaming worked fine with Chroma. Today a new Chroma was released and the app refused streaming again. Chroma and Lean kernel gave no problem. On a light stock rom the streaming problem is gone and last build works fine. It seems to be a combination of rom+kernel that breaks things?

(i'm not asking for a solution as i can still use the app with the stock rom and Elite.)
[Nexus 6 Android Development] buckmarble:
My guess is it is an issue with the ramdisk. Lean ships with a full boot img and replaces the ROM ramdisk completely. This is probably why it works. You could try flashing elite after flashing lean and see if streaming works.
[Nexus 6 Android Development] Droidphilev:
Ok, will do and report later on.

---------- Post added at 18:11 ---------- Previous post was at 17:39 ----------

Works!

I don't know enough of kernels but would this trick work with all kernels that don't have such ramdiskthing?
[Nexus 6 Android Development] djcsurf:
Must be invisible...
[Nexus 6 Android Development] Mr_S:
In my quick test I never noticed any improvement with high audio switched on or off...I was rushing and was just wondering, what exactly does it do.... I've been out of the loop a bit due to family circumstances but ATM seem to prefer the old headphone gain control.......can that still be set manually?

Will give it another go in the morning
[Nexus 6 Android Development] buckmarble:
Faux sound is far too depreciated at this point and I will not be putting it back in. You can achieve headset gain with viper if you need it to be louder. You will see the most difference with high performance audio at higher volumes. The sound doesn't get as distorted. Excellent for aux output to car or home stereos.
[Nexus 6 Android Development] olegausa:
But what about increasing volume of headset itself when it's not connected to anything?
[Nexus 6 Android Development] mantakos:
Hello, I would like to ask if you could include the caf audio patches like those in hydra kernel which development has stopped. I hope that this is not too complicated to do. If it is, nevermind. This is still the smoothest kernel around. ✌
[Nexus 6 Android Development] buckmarble:
If I may ask, what is the advantage you see to having them?
[Nexus 6 Android Development] adm1jtg:
According to the hydra thread before it closed it has vastly improved sound quality. Not sure I believe it.

Still hoping you might take another look at yankactive to its really just a lightly modded interactive so not sure why its giving you such issues.
[Nexus 6 Android Development] buckmarble:
Sorry about that guys, it was a bad upload. Re-uploaded it and it is showing 8mb on my end. Same link as before.
[Nexus 6 Android Development] ilpolpi65:
All OK !

Thanks !
[Nexus 6 Android Development] lotddragon:
[MENTION=2967322]buckmarble[/MENTION]

I'm having an issue where my phone will randomly freeze and sometimes reboot while running your latest 10JUN15 kernel and while running your 03JUN15 it was doing the same. I am on AOSiP, the latest one, and I have narrowed it down to the kernel causing the issues. I am running stock settings, tried changing from CFQ and Interactive to BFQ and OnDemand but to no avail.
[Nexus 6 Android Development] buckmarble:
OK. I think I know what needs to be done. Thank you
[Nexus 6 Android Development] lotddragon:
Also, just an FYI, I tried the testing kernel that you linked and it installed but it kept running something in the background and kept temp up at over 100 degrees. Let it sit in idle for about 15 min and still hot to the touch, flashed back down to the 10JUN build and phone cooled off in 5 min.
[Nexus 6 Android Development] buckmarble:
New Test builds:

LP: http://projectelite.net/buck/shamu/Elite_Shamu_LP-06_14_2015.zip

M: http://projectelite.net/buck/shamu/M/Elite_Shamu_M-06_14_2015.zip
[Nexus 6 Android Development] lotddragon:
Is there a possibility that this test version may also fix the freeze/reboot issue with AOSiP?
[Nexus 6 Android Development] buckmarble:
Yes. These test build are an attempt to fix the freezes
[Nexus 6 Android Development] lotddragon:
I will test it later today, during my lunch at work and report back
[Nexus 6 Android Development] buckmarble:
Sounds good. Thank you much!
[Nexus 6 Android Development] natemup:
What is the proper way to update the kernel after installing it? Just flash it like anything else? Along with SuperSU?
[Nexus 6 Android Development] lotddragon:
If you are coming from a previous version of Elite, just flash the update. If you are coming from another kernel, flash your rom's stock kernel, clear cache/dalvik, flash new kernel, reboot and profit. That is how I usually do it, but Buck may correct me.
[Nexus 6 Android Development] buckmarble:
Procedure is correct.
[Nexus 6 Android Development] lotddragon:
Okay Buck,

The heat issue was fixed and the test kernel cooled down like normal but the screen still froze 3 times and had 1 random reboot within the 3 hours I was running the test kernel.
[Nexus 6 Android Development] buckmarble:
Can you tell me how you made it freeze?

Also, can you get my the ramoops kernel log please?
[Nexus 6 Android Development] lotddragon:
The first time it was updating apps, browsing 9gag and trying to play a .gif in the app

The second time it was browsing facebook then trying to go back, using LMT

The third time, I was switching between apps using recent since I was updating Hearthstone and needed to put in my authenticator

Edit: How would I get the ramoops kernel log?
[Nexus 6 Android Development] buckmarble:
Can you get me a log? I haven't been able to pull one.

---------- Post added at 06:54 PM ---------- Previous post was at 06:49 PM ----------

adb shell su -c cat /sys/fs/pstore/console-ramoops*> kmsg.txt*
[Nexus 6 Android Development] lotddragon:
I'm not near my personal computer at the moment, is there a way to pull it right from the phone after doing a restore from backup before testing the kernel?
[Nexus 6 Android Development] buckmarble:
No, you have to pull it right after the panic and reboot.
[Nexus 6 Android Development] lotddragon:
Okay, is there a way to pull it without using adb? If so, I will reinstall test kernel and pull it right after first freeze
[Nexus 6 Android Development] buckmarble:
I'll look into them, but there's only so much you can do with the 4 year old wcd9320 audio chipset in our n6. The yankactive is the old interactive gov with different tunables set for default. You can get everything out of our current interactive that yankactive offered.
[Nexus 6 Android Development] adm1jtg:
Would i change tunables to get the yank experience or are you saying you basically tweaked the same in your default interactive thus your version of interactive=yankactive
[Nexus 6 Android Development] mantakos:
Well it gives the sound a warmer tone in general. It also helps a lot with distortion and clipping at higher volumes like your high power audio switch.
[Nexus 6 Android Development] Mr_S:
Yeah I got viper and got it loud as I need...not going to lie still never noticed a difference with my headphones.....I understand fauxsound is depreciated and this is your baby so respect your decision... Still using this as my daily driver kernel..

Thanks and good work
[Nexus 6 Android Development] carguy303:
Has adaptive lmk been considered for this kernel? It really helps out with performance while the system is under load or dealing with a poorly optimized app
[Nexus 6 Android Development] fjsferreira:
Wow, no more headphone volume control? :(

I hope this is not a trend setter.
[Nexus 6 Android Development] blanco2701:
Hello,

I just installed this kernel on my nexus 6 and I'm loving the performance and battery life balance.

There's a thing: I let my phone completely discharge late night, connected it and checked it after a while and one core was offline. Restarted the phone and all cores came online, but two of them were stuck in the highest frequency.

I went to sleep asuming it was because it was connected, so early in the morning I disconnect the phone and both cores didnt go back to normal until I restarted the phone again.

I have stock kernel settings by the way!

Thanks!!!
[Nexus 6 Android Development] Freak07:
it will because faux doesnâ??t really support his project any longer. And I think it was just digital gain on kernel level anyway. So nothing you couldnâ??t do with v4a if you really need it.

And you can increase the sound level in mixerpath file too.
[Nexus 6 Android Development] The Funky Pear:
speaker

Hey,what about speakers?? how to get them play louder?? [MENTION=2967322]buckmarble[/MENTION]
[Nexus 6 Android Development] enzoevo:
Edit the mixer_path.xml file. Google or XDA search will show you how.
[Nexus 6 Android Development] The Funky Pear:
oh come on,cant you tell me how?
[Nexus 6 Android Development] buckmarble:
There's a thread for it in the themes and apps section
[Nexus 6 Android Development] enzoevo:
I did a quick search on my phone so there might be a better post. This works though.

http://xdaforums.com/google-nexus-5/themes-apps/mod-headphone-speaker-volume-boost-t2532788

Follow this guide, except where it shows default values of 88 it's 84 for N6. I use 93.
[Nexus 6 Android Development] The Funky Pear:
well,what do you recommend? to go enchance loudness via mixer_path.xml OR via the custom Viper4android in themes and apps section?

thanks. :good:
[Nexus 6 Android Development] enzoevo:
Really depends on the level of control/features you want. mixer_path.xml is the quick and simple solution.

Personally speaking, there's only so much hi-fidelity sound I can get out of a smartphone/earbud/automobile-speaker setup. I invested quite a bit into high end pre-amps/amps/receivers and speakers many years ago, so relatively speaking all phone audio is pretty crappy.

I've tried all the sound mods, and always end up dumping them. There just isn't enought gain for me to deal with the hassles.

YMMV.
[Nexus 6 Android Development] IronicChloride:
Nightmare as in... alucard24's nightmare? As in my favorite gov from back in the day now running on my favorite device!?!?!

Seems like christmas came early this year :D
[Nexus 6 Android Development] ZionFreak:
Have a question guys. Has any one enabled fast charging for this kernel in KA? Can it harm the phone in any way? Is it just for standard USB 2.0/3.0 for a computer or standard car charger. Tried reading up on it but still a bit confused. Thanks!
[Nexus 6 Android Development] buckmarble:
It's only for USB charging on a computer. It is perfectly safe to use and won't interfere with the quick wall charger.
[Nexus 6 Android Development] rignfool:
Why would someone deprive you of such a wonderful learning experience...

This was your big chance... You could have use Google... And read on a forum... And began to learn exactly how powerful the piece of hardware in your hand is...

Instead... You ask to be spoon fed...

Depressing...

Editing those values... After reading on your own... Could have lead to ROM development...
[Nexus 6 Android Development] derdjango:
Can we activate high performace audio/cpu governor via the script? And does it work with bt headphones?
[Nexus 6 Android Development] buckmarble:
It's already on by default, but yes. I don't believe it works with BT, but someone else who's an audiophile should answer that instead.
[Nexus 6 Android Development] wrongway213:
I don't believe it does - only headphones.
[Nexus 6 Android Development] Phrodini:
Looked it up last night and it was pretty simple to do.. The search on the xda labs app to me is nice
[Nexus 6 Android Development] flyinj54:
Whatever you did with the touch boost on the interactive gov is great. Handles touch boost nicely compared to stock raising all four cores In unison to 1728mhz and dropping them together quickly down to 300. Great job! If switching to let's say elementalx gov just to give it a shot is the touch boost settings going to stay the same as they are with interactive gov? Just curious wanted to try to other gov's to compare bat life.
[Nexus 6 Android Development] buckmarble:
No, the touch boost driver has to be called by each individual governor. It is not built into elemental x governor
[Nexus 6 Android Development] H4X0R46:
Which was the last build for 6.0? Not 6.0.1? Thanks.
[Nexus 6 Android Development] brymaster5000:
Congrats to my partner [MENTION=2967322]buckmarble[/MENTION] for his XDA promotion!
[Nexus 6 Android Development] buckmarble:
Thank you good sir!!
[Nexus 6 Android Development] modernbummer:
Congrats! I must say, my shamu and this kernel play very nicely together. Thank you both for your work.
[Nexus 6 Android Development] crowsnestitsupport:
Congrats!!!
[Nexus 6 Android Development] guitardedhero:
:highfive:
[Nexus 6 Android Development] arifqur:
OOOH! A Forum Moderator.

We now have to be very careful about trolling here.

HaHa.

Great news.

In my opinion your Promotion should have been to a Super Duper Kernel Developer.

Elite! The best kernel out there. Period.
[Nexus 6 Android Development] Droidphilev:
congrats Buck!!!
[Nexus 6 Android Development] sruel3216:
is anyone getting crazy battery drain on wifi with this newest kernel? last two nights i went to bed with around 65% and woke up with 10%. tonight il go to bed with 4g on and see how that works.
[Nexus 6 Android Development] blanco2701:
It's been happening to me for the last couple of days. My case is not that bad compared to yours, but Wifi is definitely on the top of my battery usage chart.
[Nexus 6 Android Development] buckmarble:
This seems to be an up and down issue. We haven't messed with and wifi stuff in quite a long time.
[Nexus 6 Android Development] enzoevo:
I'm on the latest kernel and my phone sleeps like a baby at night with wifi enabled. I drop less than 10% over about 6 to 7 hours. I'm on the latest version of PureNexus CMTE if that helps.
[Nexus 6 Android Development] adm1jtg:
i drop 2% in 10 hours so I agree might be something with your router being chatty i had that in past as an issue.
[Nexus 6 Android Development] Freak07:
Could you maybe check your wakelocks especially kernel wakelocks?

For me event0 and event3 wakelocks are on top when I am connected to a wifi network which causes the issues.

For me it is definitely router related. But I am not able to nail down the issue unfortunately :(

As a workaround you may disable wlan when the phone is sleeping under settings, wifi, advanced. That is certainly not the best solution but the drain is gone for me.