yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] brymaster5000:
Android N Kernel:

Elite_Shamu_N-03_11_2016

You will need to flash the unofficial SuperSU here first: http://xdaforums.com/apps/supersu/unofficial-supersu-v2-68-android-n-t3333423

Then flash our kernel and go to town.

PS - happy 311 day! Crank it up!
[Nexus 6 Android Development] arifqur:
You da Man.

You guys are positively maniacs.

Love you guys and this wonderful community
[Nexus 6 Android Development] Droidphilev:
Yes!!! Thank you both!!! Will start with N again!

flash twrp 3.0.0.1

flash system.img

flash rooted kernel

flash ELITE

flash MR twrp

flash mr.zip

restore backups to secondary slots

done :)
[Nexus 6 Android Development] Droidphilev:
Hi,

Elite N working fine as primary rom with Multirom. It fails as secondary though (which is not a problem for me as it is installed as primary). One small question though: should Elite boot without the rooting stuff (just flash system.img and Elite)? I would like to run an unrooted copy also.
[Nexus 6 Android Development] Formhault:
Anything impressive in there?
[Nexus 6 Android Development] Droidphilev:
Hi,

Elite N: i don't seem to have 'write' to system. Or am i doing something wrong?
[Nexus 6 Android Development] skhjpz:
Faux sound doesn't work on N
[Nexus 6 Android Development] christianpeso:
Take a look and see:D

https://source.android.com/security/bulletin/2016-03-01.html

That has ALL changes, including kernel and OS changes.
[Nexus 6 Android Development] Phrodini:
Did you flash the noverity root by phh?
[Nexus 6 Android Development] Droidphilev:
No, i did it like brymaster wrote. i know the phh way, i had 'write' with that one.
[Nexus 6 Android Development] Phrodini:
Faux sound hasn't been in the newer releases of the kernel for awhile.

---------- Post added at 09:13 AM ---------- Previous post was at 09:12 AM ----------

Ok
[Nexus 6 Android Development] buckmarble:
It will run fine unrooted, however our script will fail to execute. We are still working on a non-root solution.

Make sure you clear out some system space. Delete some apps from /system you can download from play store. This always seems to be an issue when users flash the system images and are unaware that the images take up the entire system partition. As a result of no space, it "appears" that you don't have write access.

We do not include faux sound in our kernels any more.
[Nexus 6 Android Development] crowsnestitsupport:
Layered, rooted, Elited Android "N"!!! I'm happy:)
[Nexus 6 Android Development] skhjpz:
So maybe you can use Franco sound interface?
[Nexus 6 Android Development] MrBrady:
What/which Layers are you using?
[Nexus 6 Android Development] vansaiyuki1:
omg!!!!nneeeed
[Nexus 6 Android Development] Lawlrus:
They will learn when they end up bricking a unit one of these days lol
[Nexus 6 Android Development] crowsnestitsupport:
I use a combination of inversion and textile OS. https://play.google.com/store/apps/details?id=com.danyfradika.textileos.layerstheme

https://play.google.com/store/apps/details?id=bitsykolayers.InversionFree

I set them up the way i wanted while on marshmallow and then copied the overlay folder located in system/vendor and used twrp to put it there in "N" since layers manger doesn't seem to work to well in "N". Didn't have any FC's or issues so far. :)
[Nexus 6 Android Development] AlkaliV2:
I know everyone right now is all about Android N, but I can tell you that I'm running the 03-09 version of your kernel and it is running really great.

Just wanted you to know I'm definitely enjoying the new release. Thanks for still sharing your work!
[Nexus 6 Android Development] golfgtiedition30:
As above. Elite kernel + Krexus rom is running as smooth as ever. No stutters just smoothness :)
[Nexus 6 Android Development] spevil07:
[MENTION=4985895]golfgtiedition30[/MENTION]

Krexus Rom? Can you please share the link? [MENTION=4428185]brymaster5000[/MENTION]

Elite + N is very solid!!!

Gesendet von meinem Nexus 6
[Nexus 6 Android Development] golfgtiedition30:
Yeah its not on XDA. But it can be found on G+. I will share the link if the op doesn't mind....

https://plus.google.com/communities/117603046007221302455
[Nexus 6 Android Development] buckmarble:
Well, after a day on N I have had a number of connectivity issues with both wifi and mobile. As a result, I am back on M.
[Nexus 6 Android Development] jcrompton:
Yep ..... Your kernel seems fine with N but the OS still has some issues. I think maybe mainly compatibility with apps cause a lot

So soon it'll be great

I like the new notification layout
[Nexus 6 Android Development] MrBrady:
Ditto
[Nexus 6 Android Development] crowsnestitsupport:
I've been running it for 2 days now and on the exception of a few apps not working I really like it.. Haven't had any connectivity issues on Project Fi.. Did see some minor issues on WiFi but not enough to bother me.. Will stick it out for a while yet.. My shamu is backup to angler so its not as critical :) thanks for the kernel!! It rocks as usual .
[Nexus 6 Android Development] Poojan Patel:
op says kernel version 3.10.96 but in settings under kernel info it says 3.10.40 :confused:

build M 09-03-2016

why old version??
[Nexus 6 Android Development] buckmarble:
With the rebase, we opted to stick with the stock Linux revision. For a few reasons. First, we saw zero benefit with .99 on last base and .40 on current base. Two, .40 is smoother and better on battery. Three, it clutters up commit history like crazy.
[Nexus 6 Android Development] derdjango:
Anyone managed color control via the script with the rebased kernel?
[Nexus 6 Android Development] MrBrady:
If I want to keep all the standard setting that come with Elite, except lower the vibration strength, is there a way to do that without a kernel tuning app?
[Nexus 6 Android Development] buckmarble:
Yes, just figure out what the sysfs is and add it to our script.
[Nexus 6 Android Development] adm1jtg:
Just change the value in the elite.sh found under system/elite. It well documented inside that file
[Nexus 6 Android Development] :
I'm not on elite, but everyone used the same method to expose the vibrator.

It should be

/sys/vibrator/pwmvalue

Values are 0-127

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] StykerB:
Just wanted to post my guinea pig flashing of the N kernel. I saw it said to flash the "unofficial" SuperSU buuuuut there's 2.69 official so I used that instead.

Results:

- 2-3 reboots during bootup every boot.

- Always boots up in "Safe Mode"

It's late so I don't have a log or anything. Just wanna get my phone working for Monday.
[Nexus 6 Android Development] Droidphilev:
That's what i've tried to do with titanium without luck. Will do it from TWRP and try again, thanks!
[Nexus 6 Android Development] Freak07:
I have no problem running n preview, elite kernel and I am rooted with chainfires su 2.69.
[Nexus 6 Android Development] :
Paraphrased:

I see that there are directions, I did something different and have issues.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] killmastern3:
I do have the same problem. If you solved it, please let me know.

Update: Flashing the kernel after flashing the linked supersu 2.68 did the trick for me. Flashing elite after supersu 2.69 continuously boots into safe mode.
[Nexus 6 Android Development] StykerB:
Lol yea that's the first thing I thought when it didn't work as planned :P

---------- Post added at 02:47 PM ---------- Previous post was at 02:43 PM ----------

Interesting, what order did you flash things? Also did you use the Google image method or the twrp flashable to flash the N preview?
[Nexus 6 Android Development] brymaster5000:
I also noticed the "Safe Mode" after flashing Chainfire's official SuperSU. However, I attributed my bootup to a dirty flash of boot.img and system.img over an already running N on my phone. So I am sure there were some janky things going on. Notwithstanding, we need to look at what Chainfire is doing so that we can mimic the methods of our install. With enhanced security and selinux policies in the preview, our old methods are proving more difficult to get the job done. So stay tuned and we should have everything smoothed out soon enough. After all - this is a development forum :)
[Nexus 6 Android Development] buckmarble:
I think there is an app but I don't know the name. Maybe someone else can chime in on that.
[Nexus 6 Android Development] hellsgod:
Just move to sys/fs/pstore with a root explorer, copy the files you'll find in there and upload them.

hells
[Nexus 6 Android Development] lotddragon:
Okay, that is what I was thinking hells, but I wasn't sure. I will reinstall the new kernel and when it freezes, I will reboot and pull the log
[Nexus 6 Android Development] gamewarden234:
I'm on aosip. No freezes. All day. Test kernel is good to go. I think your gonna find it is not the kernel.
[Nexus 6 Android Development] mwebb34:
Any chance this will work on cyanide ROM 5.1.1?
[Nexus 6 Android Development] lotddragon:
https://drive.google.com/file/d/0B5m8WInvEXESazY5Z2JvaFgwT1E/edit?usp=docslist_api

[MENTION=2967322]buckmarble[/MENTION]

There is the link to the ramoops after a freeze while trying to make a call

---------- Post added at 05:19 PM ---------- Previous post was at 05:12 PM ----------

I've ran with Stock and Hellscore wlon AOSiP with no freezes or anything.

I know Buck makes amazing kernel's, been using it since it was lunar on the m8, but it could be a combination of something I have running with something in Elite, which is what we are trying to narrow down.
[Nexus 6 Android Development] hellsgod:
Unfortunately the log is completely unreadable. It seems it got corrupted during the freeze/crash.

hells
[Nexus 6 Android Development] lotddragon:
I have to get my phone back up to charge, then I will try to get another one and hopefully it will be readable.
[Nexus 6 Android Development] buckmarble:
This is the same issue I've had trying to pull one. Either its like this or one didn't exist. I haven't had another freeze since my build this afternoon.

---------- Post added at 09:25 PM ---------- Previous post was at 09:24 PM ----------

Thank you. Much appreciated!

---------- Post added at 09:26 PM ---------- Previous post was at 09:25 PM ----------

@hellsgod I very much appreciate you pitching in on the troubleshooting. We should hook up in hangouts.
[Nexus 6 Android Development] hellsgod:
Hangout message sent ;)

hells
[Nexus 6 Android Development] lotddragon:
I had three from the time I posted that log: One when I tried to pull the log up myself, one when I was trying to load up ES File Explorer and one when receiving a text message.

If I delete the ramoops file that I have currently in my system, then flash the kernel fresh or the existing one, would that be okay or would it mess it up?
[Nexus 6 Android Development] buckmarble:
Clearing it out is a good idea before flashing my kernel. That way we know the log is for my kernel.
[Nexus 6 Android Development] lotddragon:
Just cleared out the ramoops, did a dalvik/cache wipe and installed the test kernel. Will try putting up the ramoops when it freezes.
[Nexus 6 Android Development] buckmarble:
Thank you sir!
[Nexus 6 Android Development] lotddragon:
https://drive.google.com/file/d/0B5m8WInvEXESc1VwSDdIN0JqY0E/edit?usp=docslist_api

There is the new ramoops, that is after clearing and wiping cache. AOSiP did just release an update as well, so I will be testing out the update next for them.
[Nexus 6 Android Development] buckmarble:
Can you tell me what your complete setup is? I'm going to flash aosip and see if I can duplicate it.
[Nexus 6 Android Development] lotddragon:
Do you need to know what themes I'm using too or just my kernel settings
[Nexus 6 Android Development] buckmarble:
All of it.

---------- Post added at 07:27 AM ---------- Previous post was at 07:26 AM ----------

And the order of flashing
[Nexus 6 Android Development] lotddragon:
Okay, so the order I am doing it is: clear cache/dalvik, flash ROM (since I'm coming from previous version), flash kernel, flash this http://xdaforums.com/nexus-6/development/rom-aosip-apr-10-t3078629/page72 ((post 711) it is a themeable MMS that is like the stock), wipe dalvik/cache again and reboot.

My kernel setting are your stock ones

Attached is how I have it themed and the owl's nest setup, if you need more, let me know.

I also use LMT
[Nexus 6 Android Development] buckmarble:
Alright, so you're probably to know what I'm going to say next. Please try a clean flash of ROM and flash kernel with the ROM before first boot. I followed as much of your install procedure as I could, but because you are dirty flashing the ROM, I can't replicate your exact environment. I have been up and running since since about 5 min after your post, so I haven't been up and running long, but no reboots yet.
[Nexus 6 Android Development] brymaster5000:
Chainfire has released an update with insight on safe mode. https://plus.google.com/+Chainfire/posts/cX2eLb4fkTB We will be updating soon to account for this.
[Nexus 6 Android Development] :
ElementalX governor + zen decision (mpdecision off). Good choice for battery life, or did I misunderstand something?

Keep up the good work devs, surprising work with N preview (although I'll wait for it to be officially released)

Nexus 6 64gb - AOSiP Rom 6.0.1 [MENTION=3705640]520[/MENTION] dpi

LG G watch R
[Nexus 6 Android Development] HamBone625:
BH VC
[Nexus 6 Android Development] cyberbandit1998:
Does the kernel remount system R/w
[Nexus 6 Android Development] buckmarble:
On what version of Android?
[Nexus 6 Android Development] cyberbandit1998:
Sorry the N version of elite.
[Nexus 6 Android Development] HamBone625:
Disregard my youngest son is putting on his developer shoes at 16months old hahaha
[Nexus 6 Android Development] buckmarble:
This is not a kernel issue. Read this for more info. https://plus.google.com/+Chainfire/posts/dGPQytapwe3
[Nexus 6 Android Development] wrongway213:
Latest rebased kernel has the best audio of any I have ever heard. All other issues are gone as well, running like an absolute champ. Awesome work guys!
[Nexus 6 Android Development] Phrodini:
Thanks for the Good news. I must try this along with the newest viper mod. Ears will be dripping with heavenly blood tonight.
[Nexus 6 Android Development] H4X0R46:
Just wondering, why is the unofficial supersu needed for this kernel? Would chainfires work just as well?
[Nexus 6 Android Development] buckmarble:
No, because the current N build we have posted is SE permissive. We are working on a new kernel for enforcing on N.
[Nexus 6 Android Development] H4X0R46:
Thanks, so if I got this right, this build of elite kernel for N is set to permissive (as elite always was) and chainfires currently works in enforced? And you're saying the coming builds of elite will be enforced? Correct me if I'm wrong here, kind of new to SE Linux and how it works 100%.
[Nexus 6 Android Development] nathanchance:
I'd recommend giving Chainfire's release notes a read here, permissive causes some issues, causing the device to be put into safe mode so enforcing will be the way to go.
[Nexus 6 Android Development] brymaster5000:
Correct. As changing to a permissive environment is easily achieved with a script, we will default to enforcing.

Still working on the update. Essentially we want our kernel install and script to run without root. As it does on marshmallow. However, the selinux changes are giving our old method a bit of a headache. Stay tuned.
[Nexus 6 Android Development] H4X0R46:
Thanks guys! Much appreciated. So does this theoretically mean that permissive kernel won't be a thing for Android N releases? In this case, it will require an enforced SE Linux mode to boot normally? Just throwing the theoreticals out there.
[Nexus 6 Android Development] caballon:
How can i get color gamma for nexus 6
[Nexus 6 Android Development] StykerB:
On Marshmallow or older I'd recommend "Kernel Adiutor" from google play. Controls are under the "screen" section.
[Nexus 6 Android Development] MrBrady:
For some reason I can't get vibration strength to stick on boot with Kernel Auditor, but setting via the Elite.sh file works fine.
[Nexus 6 Android Development] Formhault:
So, basically, vulnerability fixed and resolved memory leaks?

---------- Post added at 07:38 ---------- Previous post was at 07:31 ----------

+1

Would like to know.
[Nexus 6 Android Development] caballon:
I mean color setting exampels
[Nexus 6 Android Development] BeDesireS:
Use this http://xdaforums.com/showthread.php?t=3333549

Send from my AOSiP powered Nexus 6
[Nexus 6 Android Development] AndroidPr0:
How's the battery life with this kernel? If anyone could give me settings for light usage, that would be appreciated.
[Nexus 6 Android Development] enzoevo:
The kernel is tuned out of the box for good battery life without sacrificing performance. Install it and let it run for a week to get a baseline. You can start messing with governors once you know what to expect from default.
[Nexus 6 Android Development] brymaster5000:
You will be able to run permissive if you send the "stop logd" command before the permissive command. At least that's what I gather from chainfire's post.
[Nexus 6 Android Development] AndroidPr0:
Alright thanks.
[Nexus 6 Android Development] blanco2701:
I love this kernel... thanks for everything developers!. When I bought my nexus 6 (coming from a N5) I wan't very happy... stock and with other tested kernels I found that my new phone was not faster than my old one, not even the same!. I installed this kernel and guys this is the best. At least for the way I use it, it's like a different phone.

I have stock settings and been very happy. One thing I tried that has helped me a lot is to enable "force gpu rendering" in developer options. I don't know if its placebo or what, and honestly I dont care, i feel that my phone is even better and the battery stays great (even better sometimes). Try it for yourselves please.

Again, thanks for this kernel!
[Nexus 6 Android Development] caballon:
I mean numbers or Settings examples.
[Nexus 6 Android Development] BeDesireS:
This modded kernel Adiutor version as pre-installed colour profiles!

Send from my AOSiP powered Nexus 6
[Nexus 6 Android Development] buckmarble:
So happy to hear it's working out so well for you. It's nice to hear compliments like this! Thank you!!
[Nexus 6 Android Development] philseven:
well here is another one great work left another kernel because of to many random reboots. Have enjoyed you're kernel and haven't looked back thanks for all the hard work you you put in much appreciated. ? ???
[Nexus 6 Android Development] amynjimmy:
Elite is the best... Fantastic
[Nexus 6 Android Development] ohad129:
I flashed it over my N6 im already on preview N rooted

I saw what you have written need to install first su

Even if i allready rooted? Link direct you to su 2.6.8 is it ok to flash 2.7?

I read also if i flash it with su its getting into safe mode so should i flash or not?
[Nexus 6 Android Development] CroW_D:
Not ok you will get safe mode !. You have to flash 2.6.8 but I am not sure if layers will work then !

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6 Android Development] ohad129:
Layers on N didnt know it was even working!!!
[Nexus 6 Android Development] ohad129:
Thx for guiding me after few hours it is great on my shamu with N
[Nexus 6 Android Development] wrongway213:
Running these latest versions specifically looking for errors and imperfections and there are just none to find... I have tested this kernel under literally every conceivable scenario and it never freezes, stutters, lags, reboots, or shows any other sign of not being up to the test... these latest builds are genuinely finely tuned and almost mechanical in nature performance wise.. they run about as predictable as the actual stock kernel, except instead of being awful, they run well. Whatever voodoo magic you guys merged in when rebasing, keep it up - flashing Elite even has fixed ROM instability for me on several occasions lately, which honestly doesn't even make sense but it handles signal and handoff so well that if you are in a bad signal spot and your ROM can't handle it... it literally "fixed" my ROM install... haven't seen a kernel do that since leanKernel way back on early LP days. This is less of an endorsement and more of a general "wow" at how far this kernel has come since I first starting following your work - absolutely awesome, gentlemen!
[Nexus 6 Android Development] lotddragon:
I have been using Elite kernel since it was called Lunar Kernel back in the HTC One M8 days and I have never found a better kernel
[Nexus 6 Android Development] buckmarble:
It was elite on gnex before Lunar on m7 and m8 actually. Then we went back.
[Nexus 6 Android Development] ricco333:
03/18 ready for prime time? Yep, server stalking again.
[Nexus 6 Android Development] lotddragon:
I don't even remember what phone I was using in the GNex days
[Nexus 6 Android Development] ravionly431:
Elite Kernel for Mako

Hi buckmarble,

Can you please tell me if there is any elite kernel available for Nexus 4 (mako). I am using Dirty Unicorns Weeklies v10.0 (android 6.0.1)

Thanks in advance.
[Nexus 6 Android Development] buckmarble:
Sorry man, we don't have a kernel for that device. Only n6 and n5x ATM.
[Nexus 6 Android Development] buckmarble:
Yes. Here's a link. I fixed default freq values on nightmare governor and added Franco's headphone and mic boost. http://projectelite.net/buck/shamu/rebase/Elite_Shamu_M-03_18_2016.zip
[Nexus 6 Android Development] g2uzer:
Is this the latest build? Sorry I've been gone for a little ;) any issue with latest Pure Nexus layers build?

Thanks again for your work!! Thanks to the whole team!
[Nexus 6 Android Development] wase4711:
shouldnt you ask that in the pure nexus thread?
[Nexus 6 Android Development] g2uzer:
Don't believe they know if this is the latest stable build.......... Anyways Thanks for your reply.........
[Nexus 6 Android Development] adm1jtg:
[MENTION=2967322]buckmarble[/MENTION] assuming your already all over this?

https://source.android.com/security/advisory/2016-03-18.html
[Nexus 6 Android Development] nick w:
Hi, a quick question.

Can i use Kernel Auditor to amplify the volume in this Kernel?

Thanks

N
[Nexus 6 Android Development] nathanchance:
You should be able to, yes.
[Nexus 6 Android Development] amynjimmy:
Buck released 3/21 version with patch... The awesomeness continues
[Nexus 6 Android Development] derdjango:
∅ ~5 hours SOT over a 3 day period on stock with bad reception.

Love this kernel! :good:
[Nexus 6 Android Development] buckmarble:
OP updated with 3-21 build. It has the patch for CVE-2015-1805 vulnerability, franco's headphone and mic boost, and corrected the default freqs in the nightmare governor.
[Nexus 6 Android Development] derdjango:
For those using the nightmare governor, do you leave mpdecision enabled?
[Nexus 6 Android Development] slogar25:
I don't use any hotplugging with that governor. From what I have been reading lately, hotplugging gets in the way of how any particular governor was written to handle the CPU. I'm kinda on board with that logic. Some of the more recently written governors have a hot plug solution on their own.

On another note [MENTION=2967322]buckmarble[/MENTION], have you looked into replacing nightmare with darkness? I guess just the updated nightmare
[Nexus 6 Android Development] buckmarble:
I haven't looked to replace it, but I can. Just another note on the MPD, it doesn't do any actual hotplugging. What it does is wake the CPUs after sleep and provide a touch boost. On the other hand, as you mentioned, some governors have a hotplugging/wake solution built into them and you will want to disable MPD or ZEN with those. Right now the only governor we include that has this is zzmoove. Nightmare does not.
[Nexus 6 Android Development] derdjango:
Thanks, gonna try that governor for the next few days, seems a favorite for a lot of people right now.

Anybody succeeded with setting the gov via the script? I tried

echo "nightmare" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Doesn't work, it has 666 permission.