yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] saa1618:
Great kernel to use with Stock Nougat ROM

Dear Devs.,

I'd like to congratulate you on the awesome job you did with this kernel. I have tried several kernels but the Elite kernel works just perfect for me. Cheers for making me glad I own a Nexus and have such cool developers who contribute for my device. I'm a little drunk and have nothing to do this first day of 2017 so I decided to write up a short and sweet review of this Elite kernel.

I would like to describe my setup and what this Elite kernel lets me achieve. I'm running the official 7.0.0 (NBD91U, Dec 2016) Google factory image on my Nexus 6 (shamu). The Google's stock kernel along with the factory image are awesome to start with but I like to make my phone better than the stock users have. What's the use of buying a Nexus if you don't root it and show off the performance spike to my other Android enthusiast friends?

So I flashed the Google's image and then rooted my dear shamu using the Nexus Root Toolkit. I choose to install the TWRP custom recovery too as it makes this easier for me when I want to flash any additional files later using just my phone. Next I flash the Elite kernel and BOOM wait for the device to boot up. I must say the Elite kernels are pre-configured for speed-battery balance but I install the Kernel Adiutor-Mod [V15] from here. I use the CPU and GPU tabs to set it up the way I want it to perform and voila my shamu is in God-mode!!! The tweaks I use are Viper4Android for audio and AdAway for block the annoying ads in general apps and games.

I follow the same procedure whenever Google released a new factory image for the shamu and I must say the Elite kernel does amazing on benchmarks and is my daily driver. There were no bootloops, no reboots, no lag, no stutters in games ever. So I guess this kernel is my swiss-army knife when it comes to being as close to stock and allowing me to tweak the performance of my shamu. Honestly I stopped experimenting other ROM/Kernel combinations after I found the sweet spot with this setup.

Thank you again developers for your contribution and keep up the fantastic job! Wishing you all a happy new year :victory:

Love,

Syed
[Nexus 6 Android Development] Johnny_B:
Could we do this ourselves? Or does it need to be in the kernel build?
[Nexus 6 Android Development] nathanchance:
It needs to be done before compilation.
[Nexus 6 Android Development] buckmarble:
I'll see if I can find some time to rebuild it for you guys today. I haven't built a kernel in weeks. Lol
[Nexus 6 Android Development] Johnny_B:
Great! Thanks in advance!
[Nexus 6 Android Development] buckmarble:
Try this build.

https://www.dropbox.com/s/qd8750b982f3qei/Elite_Shamu_N-01_02_2017.zip?dl=0
[Nexus 6 Android Development] Johnny_B:
Confirmed working! Wifi hotspot now enables without error, and connecting to it is tested and working. Thanks very much for the new build! :good:

Just a side note; I had to reset my carriers APN settings, don't know why but Internet started working again after that.
[Nexus 6 Android Development] H4X0R46:
7.1.1 build was released today for the shamu, has anyone tried the latest Elite build on it yet? Confirmed working?
[Nexus 6 Android Development] buckmarble:
Kernel source was pushed. There are no updates to it for 7.1.1(mr1.2) so everything should be good to go.
[Nexus 6 Android Development] H4X0R46:
Thanks buckmarble! :D
[Nexus 6 Android Development] buckmarble:
No problem. I just added the latest build to the OP also.
[Nexus 6 Android Development] H4X0R46:
Hey buck, think I found an issue. With Elite installed on 7.1.1, I get absolutely no sound out of my N6. It was fine with stock kernel, but after flashing Elite, no sound, not even in calls. Is this a kernel issue? Like I said, I was thinking it was just because it only happened after flashing Elite kernel. Thanks again man!
[Nexus 6 Android Development] buckmarble:
I'll have to get [MENTION=4428185]brymaster5000[/MENTION] involved at this point since he is the one with the device and I cannot test. I'll get with him.
[Nexus 6 Android Development] H4X0R46:
Cool! Thanks! Also, small bit of info, elementalX does the same thing I'm noticing, there must have been something changed to the kernel that involves sound. Thanks buck!
[Nexus 6 Android Development] guitardoc64:
I apologise if it derails current version discussion but I'm running the last 5.1.1 build on the last 5.1.1 PureNexus. So far I've had very good results. Thanks for keeping the old versions available.
[Nexus 6 Android Development] H4X0R46:
ElementalX was just updated and it has the sound working again, flar seems to have figured what it was, sharing this here just as a tip. Definitely going back to Elite once the bug is fixed, thanks devs for all your hard work!
[Nexus 6 Android Development] buckmarble:
You're still running lollipop? Why? Lol

---------- Post added at 10:29 AM ---------- Previous post was at 10:20 AM ----------

Merged in New branch and seems to have updated. Building now.
[Nexus 6 Android Development] Johnny_B:
Maybe change the build year to 2017 in OP? :victory:
[Nexus 6 Android Development] buckmarble:
Here's the new build. AFH is being a turd and I cannot get it uploaded to them. Once I can, i'll add it to the OP.

https://www.dropbox.com/s/k9c34866fk840iz/Elite_Shamu_N-01_06_2017.zip?dl=0#
[Nexus 6 Android Development] guitardoc64:
It's a long story. I have been working in Texas and I never had the opportunity to do a clean flash to M. I've been out in very poor coverage areas and life has kept me from having the time to flash and start over. The download of this kernel lasted almost an hour. I'm probably going to be able to move forward soon, and I can't wait. I'm happy to say that a ROM has lasted for over a year but I really need to catch up.
[Nexus 6 Android Development] H4X0R46:
Thanks! This worked great! :D
[Nexus 6 Android Development] goldflame09:
Your sound is working? Just flashed that build with the latest nitrogen OS and i don't have any sound.
[Nexus 6 Android Development] H4X0R46:
I tried this too and you're right. No sound. My guess would be that for Roms that aren't built from N6F26Q, you will probably have to use the last older build of elite, something's different in N6F26Q it seems, so it needs the new build for sound. I tried a few Roms and they didn't have sound. Try using the last build before this new one. Just my guess.
[Nexus 6 Android Development] buckmarble:
Bingo. Spot on my friend.
[Nexus 6 Android Development] brymaster5000:
New Kernel in the OP. Buck's merge of 7.1.1 and an update to the anykernel installer.
[Nexus 6 Android Development] H4X0R46:
Does this new kernel have sound working for both N6F26Q builds and others? Or does the same rule apply? Thanks bry!
[Nexus 6 Android Development] buckmarble:
Same rule.
[Nexus 6 Android Development] brymaster5000:
What a year! I was told that 33 is a time for great change and reflection... Never would have guessed so much to change. I wish I could have spent more time on this kernel, but here's what's been going on:

Got settled into new job. Gave two presentations. Closed out four deadlines for buildings of 16, 17, 21, & 27 stories. Got my wife pregnant with our second child (due any day). Sold our home of 7 years. Paid off student debt. Moved.

Insane. Looking forward to a more normal 2017... Thanks for the continued support and use everybody.
[Nexus 6 Android Development] Johnny_B:
Wow, and I thought my 2016 was a crazy ride. Yours was quite the rollercoaster too I see :silly: Good luck of course with the second child, mine is 5 months today so I know the chaos that awaits you :D

Cheers and thanks for the great work!
[Nexus 6 Android Development] H4X0R46:
So I'm noticing that the newest build of Elite has an issue with sound in other roms. If flashed with a custom ROM built from N6F26Q, sound works until you make a call, once you hang up, you have no system sounds at all until reboot. What could this be? Tried this with Cyanide and newest AICP build.
[Nexus 6 Android Development] raptoro07:
Man, I don't know. I haven't heard ANYONE discussing this issue in the forums.
[Nexus 6 Android Development] Johnny_B:
Hey there Elite! It seems like the elite.sh script is no longer executed at boot. Am I doing something wrong?
[Nexus 6 Android Development] buckmarble:
Are you using super su or a different su?
[Nexus 6 Android Development] Johnny_B:
I am using the inbuilt CM su. Or Lineage, I suppose it is now.
[Nexus 6 Android Development] buckmarble:
That's why it isn't running
[Nexus 6 Android Development] Johnny_B:
Ah okay... So I should install SuperSU and all will be fine?
[Nexus 6 Android Development] buckmarble:
Yessir
[Nexus 6 Android Development] H4X0R46:
I'm gonna guess my issue may not be kernel related?
[Nexus 6 Android Development] Johnny_B:
Works like a charm, thanks a bunch! :good:

---------- Post added at 01:28 PM ---------- Previous post was at 01:23 PM ----------

This is from [MENTION=4203241]Neo[/MENTION] 's RR thread:

It's way too technical stuff for me, but maybe it helps you.
[Nexus 6 Android Development] Neo:
Those other ROMs need their device trees updated. This part of the bringup: https://github.com/IAmTheOneTheyCal...73eee69#diff-570f8b8466646000f20b10840742f535

and this part: https://github.com/IAmTheOneTheyCal...mmit/6cbfc81e9a2b6bc210866954b307aa207bf42675

should get it working fine. Honestly, they just need to update their device tree by mirroring the changes made to LineageOS's shamu device
[Nexus 6 Android Development] starcms:
The sound works perfectly fine using the latest version of Elite kernel and the stock 7.1.1 January image (N6F26Q) from Google. So if you are having an issue with an aftermarket ROM that is N6F26Q, they haven't merged all the changes needed to bring it fully in line with the official N6F26Q.
[Nexus 6 Android Development] H4X0R46:
Thanks starcms and Neo! That's most likely the case because stock Android N6F26Q works just fine! :)
[Nexus 6 Android Development] Johnny_B:
Hey there [MENTION=2967322]buckmarble[/MENTION] and [MENTION=4428185]brymaster5000[/MENTION]! I have a very frustrating issue, and I hope you can help me. Whenever my battery drops below 30%, Google camera HDR processing shuts down the phone. No warning, just poof, gone. It turns out that every app that uses much processing power, has the same effect. I tried lots of things, but debugging is tedious because I have to change a kernel setting, try it out, start phone again, etc. I tried disabling hotplugging, thermal module, changing I/O scheduler. All the same result. Only thing that seems to help is to manually disable 2 cores. But, of course the phone becomes horribly slow. I am pulling out my hair, do you have any suggestions? I tried other kernels but I really like Elite because it really is the fastest and smoothest.
[Nexus 6 Android Development] raptoro07:
I was having a similar issue on different ROMs and kernels while playing pokemon go. At less than 40% the phone sometimes would just turn off. I believe if you are on a kernel that disables BCL the load of heavy processing will cause the phone to cut off. Try a kernel that doesn't disable BCL.
[Nexus 6 Android Development] Johnny_B:
Thanks for the tip! I did some research on BCL, couldn't quite figure out what it is. But I did find this: https://xdaforums.com/nexus-6/themes-apps/mod-disable-bcl-10-1-15-t3290402. Flashed it, but all that did was permanently disable 2 cores, and miraculously fix the problem. But once again, the phone became horribly slow. It should be possible to let the phone run at full throttle until the battery is empty, right? On the subject of other kernels, I really like this one so I'm hoping to figure out the problem so I can keep using Elite.
[Nexus 6 Android Development] starcms:
Please undo that patch. If you do that, you will disable turbo charging (QuickCharge 2.0) and your phone will take 3x longer or more to charge, amongst other bad things. To undo the patch, go to /system/su.d or /system/etc/init.d and delete the 00DisableBCL file.

This kernel automatically disables BCL the proper way (as not to interfere with turbo charging). So you don't need to worry about BCL at all.

What you need to do is this:

https://xdaforums.com/nexus-6/development/mod-disable-throttling-battery-low-t3440814

which will disabling throttling (of CPU and GPU) and remove the limitation of only 2 cores being active at low battery levels. If you use the settings in the OP of that thread, it will be able to throttle up to full speed and leave all 4 cores enabled all the way down to 1%. And since this kernel has BCL disabled, nothing will interfere with the settings you put in that file. So once you do that, then you can use Kernel Audtior or a similar kernel tweaking program normally if you wish to set your governor and hotplugging method and max and min CPU's speeds, and nothing will interfere with them.

So its not kernel settings you are modifying; it's android settings that are in place to kick in when the battery is below 35 or 40% (I forget what the default was).

Any questions, please feel free to ask.

---------- Post added at 21:10 ---------- Previous post was at 21:10 ----------

If your phone is randomly shutting off at 40%, your battery is toast. End of story.
[Nexus 6 Android Development] raptoro07:
Nope, ever since moving to a different kernel I've not had the issue.
[Nexus 6 Android Development] Johnny_B:
Thanks for the response! I undid the patch, I did not realize all the bad things that would happen. So I am now back to the stock kernel, that is the kernel that comes with RR. Runs fine, no problems whatsoever. Maybe in the future I will return to Elite and figure out this problem.
[Nexus 6 Android Development] starcms:
Did the link I posted not help with the problem you were experiencing?
[Nexus 6 Android Development] Johnny_B:
I am sorry, I forgot to mention that I tried the zip provided in the link, but it also does not fix the problem. Thanks for the help anyway!
[Nexus 6 Android Development] brymaster5000:
Feb patch uploaded to the OP. Thanks for the patience everybody - just had baby number 2...
[Nexus 6 Android Development] Shadow Death:
Get all the sleep you can. Lol
[Nexus 6 Android Development] MrBrady:
Running great so far! Thank you and congrats on #2!

---------- Post added at 05:26 AM ---------- Previous post was at 05:21 AM ----------

Any recommended settings for smooth UI with good battery? Just use the kernel as it out of the box?
[Nexus 6 Android Development] Poojan Patel:
No Problemo :o And Congratulation for second baby :):angel:
[Nexus 6 Android Development] DonQuixote77:
Congratulations dude! Our #2 is due in about 5 weeks. Exciting!
[Nexus 6 Android Development] H4X0R46:
Just tried with today's March image. Same sound issue as before, kernel probably needs to be updated. In due time, congrats with baby number 2 bry! :D
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Sound issue? I've been running Elite w/PN and Arise and haven't noticed a sound issue..

Unless your ROM and kernel both have the March updates, you may have sound issues I suppose
[Nexus 6 Android Development] brymaster5000:
I'll probably get to the March update this week if not tomorrow. Anybody else experience random reboots? I had one today just sitting there... Haven't dug into the ramoops yet.
[Nexus 6 Android Development] Poojan Patel:
Hey brymaster5000,

This kernel is great but having small problem. I am unable to receive any message,mails(WhatsApp, gmail .etc) in background when phone's screen is off. Also take sometime to receive any message after turning on the screen. It seems like msm_hsic wakelock is causing problem. I am using kernel audiutor app to edit kernel settings. I have flashed this kernel on different rom but no luck. Any solution???
[Nexus 6 Android Development] brymaster5000:
Not sure tbh. I really haven't done much kernel work besides updating the monthly google patches lately. msm_hsic has been known to cause us issues in the past. I still have yet to look through my reboot logs, but will look into the msm_hsic if I get time...no promises though.

Have you tried wiping everything and starting fresh?

Oh - and March update is in the OP.
[Nexus 6 Android Development] Poojan Patel:
Yes, I always wipe cache and Dalvik cache after flashing kernel. Is it possible to remove an option to modify msm_hsic value and set a default like stock kernel?? Because i have flashed ElementalX on stock/PN rom and it does not have an option to modify the msm_hsic value and it is not causing this problem at all.

Thanks for March security update. :fingers-crossed:
[Nexus 6 Android Development] starcms:
Been using this Kernel for easily well over a year now. Love it, wouldn't want to go anywhere else.

Thanks for continuing to update the kernel for the monthly updates! Keep up the great work!!
[Nexus 6 Android Development] brymaster5000:
Thanks for the kind words. I'll probably try and get to April tomorrow.
[Nexus 6 Android Development] brymaster5000:
April goodies in OP.
[Nexus 6 Android Development] H4X0R46:
Thanks again Bry! The link to AFH keeps giving a corrupt file, it also says on AFH that it's a 0B file for some reason.
[Nexus 6 Android Development] HueyT:
Confirmed, 4/17 AFH file is corrupted.
[Nexus 6 Android Development] starcms:
Unfortunately as others have posted, the file on AFH is shown to be 0Bytes. Looks like a bad upload unfortunately.
[Nexus 6 Android Development] II_DiE_4:
Its not. Its the AFH having problems. Read the system announcement​
[Nexus 6 Android Development] brymaster5000:
Thanks everyone. Last night was bad for both the upload then and my commits to GitHub... That didn't work either... Trying to attach the file here with the app... I'll upload in a bit of this doesn't work
[Nexus 6 Android Development] brymaster5000:
Just curious if you have battery optimizations on?

Also - rebuilt the kernel and reposted link to AFH in OP.
[Nexus 6 Android Development] Poojan Patel:
Yes, Its ON.

Is it Doze causing the problem??

Thanks for the update. :fingers-crossed:
[Nexus 6 Android Development] imarq24:
Recommend setup for performance and battery life... Suggestions?
[Nexus 6 Android Development] nodnarb91:
Leave everything as is. All I change is the color profile.
[Nexus 6 Android Development] starcms:
I'd recommend zzmoove for the cpu govenor. Also (if using zzmoove) go into govenor tunables, and change the profile_number from 7 to 5. Zzmoove has lots of differ presets/profiles for customizability, 7 is best for pure performance. 5 gets slightly more battery without hurting performance. (You can Google zzmoove for a description of each, they are in no specific numerical order, but I'd highly recommend 5)

Also, go into CPU hotplug and disable mpPrecision and enable Zen.

Lastly, for the GPU, enable the simple gpu algorithm.

I highly recommend Kernel Auditor (from the play store) for making these and other mods.

I've been using these settings with this kernel for over a year. I get 6-7 hours Screen On time, and approx 0.4%/hr drain with screen off. Also, performance is excellent. No lags anywhere.
[Nexus 6 Android Development] S0UTHPAWK1LLA:
Love Zzmoove... Always a goto, but I don't use zen or mp.
[Nexus 6 Android Development] Johnny_B:
Poof

Hey there everyone! I am back with my quest for help, here's my problem in short: whenever battery drops below 40%, all processor-heavy tasks (such as hdr+ processing and snapchat) make the phone power off. No warning, just poof. Hence, there is no error log or anything of the sort to go with this post. I have tried many things, including clean flashes of several roms (PureNexus, RR, Nitrogen) with only Google camera installed for testing. Also I leave the script in su.d untouched. I have also tried tweaking the settings in KA, all with the same results.

I have tried living with the kernels that came with the roms, which do not show this problem, but none of them even comes close to the smoothness and speed Elite is offering. So once again does anyone have any clue as to what is causing this behaviour? Thanks very much for any replies :good:
[Nexus 6 Android Development] raptoro07:
I've seen this on all ROMs. Have you tried going back to a 7.0 ROM. I think that is the issue and why there is no official 7.1+ for Shamu.
[Nexus 6 Android Development] S0UTHPAWK1LLA:
If it doesn't happen with stock and only with Elite, It could be something with BCL. Elite has it turned off by default. I've seen others to have weird issues at 40% with it active. Try enabling BCL and see how your phone acts. Worse case, your battery might be suspect.
[Nexus 6 Android Development] starcms:
Sorry to tell you, bit this is the sign of a bad battery.

At least one of the cells on your battery pack is shot. So under heavy load, it craps out, and the other 3 cells can't maintain the minimum required 3.2-3.3V and the SoC shuts off.

Only solution is to replace the battery. Mine exhibited the exact same symptoms about a year ago and a friend's 6P just a couple weeks ago. New batteries and they work like new.

A good name-brand battery can be had for $20, but please do your homework before attempting to replace it.

And if nothing is done, the problem will get worse and worse till eventually it'll be shutting off at 90% or above and the phone is useless.
[Nexus 6 Android Development] raptoro07:
While there may be some truth to this, I can tell you that I've experienced this and can fix it by running certain roms, kernels, governors, and/or hotplugs. So I think there is more to it than a bad battery.
[Nexus 6 Android Development] HueyT:
Try recalibrate the battery: 1) obtain root, 2) reboot into bootloader mode (reboot while holding vol- button or using root reboot app), 3) cycle through the modes til u hit "bootloader logs", 4) hold power button for 10sec until " google" logo comes up and reboots, 5) charge to full
[Nexus 6 Android Development] qaliza:
Which rom r u using?
[Nexus 6 Android Development] starcms:
He can try calibrating, different ROMs, kernels, etc. Nothing will fix it but a new battery.

---------- Post added at 16:56 ---------- Previous post was at 16:55 ----------

Stock Google April 7.1.1 Image/ROM
[Nexus 6 Android Development] Johnny_B:
Hi all! Thanks for all the replies on my battery issue post. Just to recap: I experience the problem on both 7.0 and 7.1.x roms. I haven't been on stock for a while, and I am not planning to either. Way too little customization options in my opinion. I could try it however for the sake of troubleshooting.

Also someone pointed out trying to enable BCL, but can anyone explain what it is and how to enable it?

Battery itself could of course be the culprit, but I am now on RR 7.1.2 with ElementalX without any problems. It goes full throttle until the very end without any sudden shutdown. So I am saved for the moment, but I would like very much to return to Elite again.

Again thanks for the tips and help everyone!
[Nexus 6 Android Development] starcms:
Can you update to May whenever you have the chance? Much thanks as always!!
[Nexus 6 Android Development] brymaster5000:
Haven't even had the chance to update my phone to the may update yet let alone the source... I'll try soon. It was a busy month.
[Nexus 6 Android Development] cujo6801:
I knew I shouldn't have sent you that case of "hand lotion" that you wanted..

Busy month indeed....

"Sent from the Dog Pound"
[Nexus 6 Android Development] brymaster5000:
Lol. Adjusting to the two kids and wife going back to work thing is tough. What I plan on doing in the near future is a complete rebase.
[Nexus 6 Android Development] cujo6801:
Sweet....

"Sent from the Dog Pound"
[Nexus 6 Android Development] brymaster5000:
OP updated with may update. and anykernel2 update
[Nexus 6 Android Development] cujo6801:
Thank you good sir....

"Sent from the Dog Pound"
[Nexus 6 Android Development] philseven:
With all you have going on thank you so much.
[Nexus 6 Android Development] brymaster5000:
June update in OP
[Nexus 6 Android Development] Thunderbolt69:
Get a error trying install on Dark Dom.
[Nexus 6 Android Development] cujo6801:
Hummmm.

No problem on S.I.X ROM

"Sent from the Dog Pound"
[Nexus 6 Android Development] cujo6801:
Wait a minute...

Does that say April 9?

"Sent from the Dog Pound"