yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] H4X0R46:
I did a clean flash to preview 4 from a MM build, clean slate. Let it encrypt and then flashed elite kernel, formatted userdata and that worked. Then flashed SuperSU 2.74 and did systemless install, and the app freezes for me. No root.
[Nexus 6 Android Development] sansnil:
I just switched over to systemless Xposed so now I can be rooted with Xposed but still get OTA updates since the system partition isn't modified. Is there a way to have the elite.sh script stored in /data or root level?
[Nexus 6 Android Development] ridobe:
I am using 3/29 no problem.
[Nexus 6 Android Development] H4X0R46:
3/29 works with preview 4? Thanks for the tip! Gonna give that a try now! :good:
[Nexus 6 Android Development] miryclay:
New to custom kernels... what is the difference between these two?:

Android N-Preview 3

Elite_Shamu_N-06_02_2016

Marshmallow 6.0.1

Elite_Shamu_M-06_06_2016

Do I flash both? Or is one for a earlier version of android? Slightly confused...
[Nexus 6 Android Development] ktmom:
If you are running Marshmallow 6.0.1 on your phone, use Elite_Shamu_M-06_06_2016

If you are running the N developer preview, use Elite_Shamu_N-06_02_2016.
[Nexus 6 Android Development] Lawlrus:
Root wouldn't work for me on 6-2 either, but yeah 3-29 is working fine.
[Nexus 6 Android Development] H4X0R46:
Same here, I reflashed my boot partition with the stock n boot.img and then installed the 3/29 build of elite, all is working flawlessly! :good: :D
[Nexus 6 Android Development] HueyT:
Elite 3/29 N version is SE Linux Permissive which allows Exodus RC1 (Arise / V4A mods) to work in Preview N 4 :good:
[Nexus 6 Android Development] MrBrady:
6/2 is working fine on Preview 4 with root on my device. What I did was flash the kernel, then flash the unsu.zip, then flash the 74 SuperSU zip.

Disregard. Flashing the 74 supersu restores a stock version of the kernel.
[Nexus 6 Android Development] Lawlrus:
Right, I noticed this two after thinking I was retarded because the kernel was getting reverted.

I've since started flashing 2.7.4 before the kernel, or booting it up and then rebooting to flash zupersu after.
[Nexus 6 Android Development] MrBrady:
Are you able to keep root with this method?
[Nexus 6 Android Development] brymaster5000:
Thanks for the continuous updates on what works and what doesn't. Haven't had a chance to look at preview 4 yet. Still only just begun cleaning up our N repo. Been busy.... wife's pregnant with number 2 and sick so haven't had computer time.

Maybe get to it this weekend.
[Nexus 6 Android Development] MrBrady:
Congrats, thank you and wishing you an early Happy Father's Day!
[Nexus 6 Android Development] Lawlrus:
Yeah root works great
[Nexus 6 Android Development] MrBrady:
Including the 6/2 kernel?
[Nexus 6 Android Development] Lawlrus:
No, you need to use 3-29, its what we've already discussed.
[Nexus 6 Android Development] MrBrady:
That's what I thought. Thanks for the clarification.
[Nexus 6 Android Development] H4X0R46:
What I've been doing is flashing the stock boot.img from the system image, and then installing the kernel, then SuperSU, booting into TWRP IMMEDIATELY after flashing the boot.img as to not encrypt my data. It's been working for me so far!
[Nexus 6 Android Development] ricco333:
Congratulations! and happy father's day, IMHO you don't get to experience the whole parenthood thing until you have two kids. Mine drive me nuts and broke all day but honestly I wouldn't want it any other way.

Erik
[Nexus 6 Android Development] okgnew:
F2FS

Does anyone know if F2FS works in Android N Preview 4?

When I change my file system (of cache and data partitions) to F2FS (in recovery) - device does not boot anymore (it just hangs on Google logo).

This is both with Elite_Shamu_N-06_02_2016 and stock (SuperSU patched) kernels.
[Nexus 6 Android Development] ilamaan:
So, currently there is no way to use this kernel in Enforcing mode on MM?
[Nexus 6 Android Development] nathanchance:
Not without compiling yourself and reverting a commit.
[Nexus 6 Android Development] starcms:
This is the best and correct way to install. SuperSU should always be flashed after kernel.
[Nexus 6 Android Development] buckmarble:
New builds in OP

-N kernel rebased

-Both kernels also include upstream MM and ALSA updates.
[Nexus 6 Android Development] MrBrady:
Op still reflects NP3. Is that accurate or was it updated to NP4?
[Nexus 6 Android Development] buckmarble:
Still based on np3 code, but works on np4. Google has not pushed a np4 branch yet.
[Nexus 6 Android Development] MrBrady:
Thanks for the info! Great kernel!
[Nexus 6 Android Development] mchlbenner:
This does boot but breaks rotation.
[Nexus 6 Android Development] :
Lol always seems to break something, 3.29 build is awesome :good:
[Nexus 6 Android Development] H4X0R46:
You mean for the N build or the Marshmallow build? I'm using the MM build and rotation works for me, I just flashed it back from N preview last night so haven't tested the new N build of Elite.
[Nexus 6 Android Development] wolfeyes30:
I'm running tupac4u NP4 with latest Elite kernel and rotation works for me. Thanks for the updated kernel. Running like a champ.
[Nexus 6 Android Development] HueyT:
6/23/16 N kernel works great with NP4 for me. Rotation works fine. You can turn on rotation in Google Now Launcher
[Nexus 6 Android Development] ozcjr:
Does the N kernel work on MM Roms?
[Nexus 6 Android Development] sansnil:
Really?
[Nexus 6 Android Development] ozcjr:
Yes? Real question...if it do/don't say that. No need for the smart stuff.
[Nexus 6 Android Development] Tekken Lord:
Pretty sure the OP is smart when he had to explicitly create and to mention two separate kernels. Yes, we do need to say the smart stuffs.
[Nexus 6 Android Development] wase4711:
if it did, he would call it a MM kernel..
[Nexus 6 Android Development] mluciano:
i flashed back MM from N 3 days ago and did not realize until today i flashed Elite Shamu N 3/29 by mistake and it was working fine never had any problem but flashed back to newer version of Elite for MM today

so i did not have any problem in 3 days all root apps worked fine i tweaked kernel also ( not to much things ) and was working well no problem with wifi or phone data i dont know what else i can say with kernel related but everything was fine

just letting people know
[Nexus 6 Android Development] starcms:
Awesome, thanks so much for updated N kernel!!
[Nexus 6 Android Development] starcms:
New N kernel working great on N preview 4. SuperSU and rotation and everything else working perfectly! Great job!

But why did you remove the zzmoove governor (and I think a couple others are gone as well)? Any plans to add it back?
[Nexus 6 Android Development] buckmarble:
I probably disabled it in the defconfig by accident. I'll double check and get it back in there.
[Nexus 6 Android Development] ANDR01DN00B:
Flashed the kernel on NDP4 and SeLinux is set to Enforcing according to Kernel Auditor, opposing what is stated in the OP, and if I try to set it to permissive it reboots into Safe Mode. Any solutions?

Thanks!
[Nexus 6 Android Development] buckmarble:
Negative. As of right now, N has to stay in enforcing due to the safe mode issue.
[Nexus 6 Android Development] ANDR01DN00B:
Woah thanks for the super quick reply! However, I just visited the thread of the ROM I am currently using and found this. It will set SeLinux to permissive on the NDPs and there is an optional zip with a script to set it to permissive on boot, and it seems to be working just fine!

Thanks!
[Nexus 6 Android Development] buckmarble:
I'll take a look at it and see if it is something I can work with on the kernel side.
[Nexus 6 Android Development] buckmarble:
N preview 4 source was pushed today. I will get it merged and built tomorrow.

As for that permissive fix, it involves using the mm logd to prevent safe mode from booting, but unsure of any other consequences to using that file. I will look into it more, but next build will still be enforcing. What is there that needs permissive any more?
[Nexus 6 Android Development] H4X0R46:
Thanks for the update and I look forward to the release! :)
[Nexus 6 Android Development] Lawlrus:
Everyone cries about not being able to use tibu because no one wants to clean flash anymore.
[Nexus 6 Android Development] buckmarble:
Is tibu the only thing that needs permissive at this point?
[Nexus 6 Android Development] Lawlrus:
That's about the only thing I've seen pointed out. I always use your kernel on the n betas and haven't had a single problem being enforcing. Maybe v4a?

Edit: and honestly if its as easy as that other user posted about flashing a zip, what's the problem? If it works wouldn't people just flash it ? Lol
[Nexus 6 Android Development] buckmarble:
That has the script for the media server running in enforcing, so no need for it for v4a.
[Nexus 6 Android Development] buckmarble:
OP updated with NP4 kernel.
[Nexus 6 Android Development] mohand06:
Can I use your kernel on s3, cm13 based rom Temasek 6.0.1? Just happened that the Arise Sounds Systems OP hinted to your kernel as suitable for that mods. Want to test whether this kernel will help resolve issue with Dolby K4 Atmos. Thanks for advice.
[Nexus 6 Android Development] aoaleman:
More than likely no, this is a N6 kernel.
[Nexus 6 Android Development] starcms:
Thanks very much!!

Any chance of getting zzmoove governor re-added? Thanks again!
[Nexus 6 Android Development] buckmarble:
Just finished. Link updated in OP.
[Nexus 6 Android Development] durgis:
Was getting pretty bad battery the last two days with the most recent MM kernel. Went back to early June and back to my very low usage today.

Just anecdotal so are there any logs I can collect to help get more data?
[Nexus 6 Android Development] starcms:
You da man!!
[Nexus 6 Android Development] ricco333:
I did the same, went back to 06/06 MM kernel, battery life got better.

Erik
[Nexus 6 Android Development] buckmarble:
I think this is placebo. Probably due to the restart. Battery life has not been very good on any of my devices lately due to Google services updates
[Nexus 6 Android Development] starcms:
Just FYI, I'm on N, and the 6-30 N kernel, but no battery issues here. Just as good as the 3-29 N kernel I was on for 3 months.

But it isn't abnormal for battery life to be a little less during the first couple days of running an updated kernel, especially depending on the amount and type of commits added/changed.

Edit:. Also, the new play services either had no effect or possibly a positive effect on battery life for me. Again, this is on N.

---------- Post added at 18:53 ---------- Previous post was at 18:46 ----------

Any recommendations on what to set ZRAM to? (Using kernel auduitor)
[Nexus 6 Android Development] iamjimmy:
I am using the 6/6 MM kernel. All settings are default (other than increased headphone boost). Everything works great.

Except the phone gets very hot on doing normal tasks (reading web pages on chrome , whatsapp messaging etc). The phone temperature goes to 45 Celsius (it usually gets over 40 very quickly). When this happens the battery drains super fast as well.

This never used to happen before. I am using the Pure Nexus ROM always with this Kernel.

I've clean flashed the ROM again with no improvements. This has happened since the June release of the Kernel and the ROM.

Previously in May I used the May release of the Kernel and the ROM. Phone didn't get as hot.

I've checked running processes and apps etc. There seems to be nothing out of order. Is this issue Kernel related? I've never modified the clock speeds from the default that comes with Elite. Should I try a lower speed?

Any suggestions please? Thanks in advance.
[Nexus 6 Android Development] buckmarble:
Are you on the latest vendor?
[Nexus 6 Android Development] iamjimmy:
Thanks for replying. By Vendor do you mean the latest kernel release?

I am on the 6/6 MM release. Haven't flashed the latest MM. I can flash and try again.

for the ROM I've tried the Pure Nexus 06/21 release. Which has Google's June security update.

I am running on the latest bootloader and Radio for MM. Haven't tried anything with Android N preview. Thanks.
[Nexus 6 Android Development] buckmarble:
I'm sorry, i was thinking this was my 6p thread. There's no vendor for shamu
[Nexus 6 Android Development] iamjimmy:
No worries.

I'll try flashing the stock kernel and see whether it works better. Will report back.

I've been using Elite + Pure Nexus for a while now and never had any problems with the combo.

I'm hesitant using the stock kernel since it lacks so many features compared to Elite.
[Nexus 6 Android Development] buckmarble:
Doing a full wipe of everything(including internal) might mitigate any issues also. There haven't been any other over heating reports so it's probably something funky on your end.
[Nexus 6 Android Development] H4X0R46:
I know this doesn't apply to the shamu, but what is in the vendor partition? What is it for? Every nexus after the shamu has this partition and I don't know what it does.
[Nexus 6 Android Development] buckmarble:
It has all the proprietary binaries in it. Shamu has them right in the system IMG. They just decided to split them out.
[Nexus 6 Android Development] H4X0R46:
Thanks! I noticed the vendor folder in the system of my shamu, wondered of it was the same thing. What happens if you don't have an up to date vendor on a newer Nexus? Does it trigger a DM verity message or something?
[Nexus 6 Android Development] brymaster5000:
OP updated with 7/11 Marshmallow build. Somehow BFQ ioscheduler didn't make it into a rebase.. I also turned on ROW ioscheduler. I decreased the swappiness to 10 from 60 (so when memory hits 90% of physical RAM it will start swapping to virtual instead of 60% usage.

I turned on row by default with 2048 readahead in place of cfq. Let me know your findings with the new defaults. You can always change them back with an app if you'd like. Pending results from you all - we can change back. I also like to use Illinois TCP congestion but it's not default; anyone have preferences? I find it has the best down and up speeds...
[Nexus 6 Android Development] enzoevo:
Installed MM kernel on 6/1 PN (haven't had a chance to update to latest build), no wifi. It sees the APs, but fails to connect. I tried deleting and adding new APs. No joy. Maybe wifi updates need ROM updates to play nice?

---------- Post added at 11:55 PM ---------- Previous post was at 11:44 PM ----------

Flash previous kernel version, Wi-Fi returned immediately
[Nexus 6 Android Development] nathanchance:
You need to be on the July security patch in order for Wi-Fi to work. The 7/9 build of Pure Nexus will work with the kernel.
[Nexus 6 Android Development] brymaster5000:
Interested to see what everyone's results are with the new defaults. I will make judgement in a day or two.
[Nexus 6 Android Development] chipis:
I also have wifi issues
[Nexus 6 Android Development] H4X0R46:
I'm running the new kernel and everything is running great for me!
[Nexus 6 Android Development] mikeprius:
Tried the newest on Chroma 7/7. No wifi.
[Nexus 6 Android Development] brymaster5000:
All Roms must have July security patches in order for this version to work with wifi. The security patches included new wifi drivers which is why running this latest kernel on pre-july Roms doesn't work.
[Nexus 6 Android Development] Neejay:
Yeah, appears to be an issue with Chroma. Chroma users can't use this kernel nor can they use the newest Elemental X. Not quite sure what was left out of the July Chroma update, but obviously something.
[Nexus 6 Android Development] chipis:
Same here i have pure Nexus
[Nexus 6 Android Development] olegausa:
Try to get 07/09 Pure Nexus, was released to fix WiFi, working for me
[Nexus 6 Android Development] AlexX-DE:
Same here, newest Elite Kernel + newest Chroma , WiFi not work.
[Nexus 6 Android Development] teinwhite:
Running latest cm13 nightly with latest kernel and wifi works.
[Nexus 6 Android Development] mikeprius:
I flashed the 6-23 and it's working good. Not sure what's going on either with ex or elite but the most recent chroma is a no go. Not that big of a deal. I can try it again next rom release
[Nexus 6 Android Development] modernbummer:
Latest M kernel is running well. I'm liking the Illinois TCP algorithm.
[Nexus 6 Android Development] christianpeso:
Couldn't get this kernel to see wifi networks on latest Dirty Unicorns 10.4 which is based on latest July update. Anyone else?
[Nexus 6 Android Development] direwolf1:
I'm having the same issue, even with the latest elite version. Not unique to elite, however. This seems to happen with any custom kernel.
[Nexus 6 Android Development] enzoevo:
Latest kernel working great with latest PN. Not sure if I'm seeing any performance improvements, but things are definitely smooth and stabile.
[Nexus 6 Android Development] Samuel Holland:
Latest Elite on top of latest Pure Nexus.

I clean flashed on and latest update and looking solid with good battery life. I usually use Westwood and seems to give faster speeds. Thank you sincerely.:)
[Nexus 6 Android Development] brymaster5000:
Please no more wifi posts. I've said it and it's been said on other custom kernel threads. If wifi doesn't work on custom Roms with this latest July kernel, it's because they most likely didn't update or update all things necessary. You need to bring the problem to the rom dev. There were a lot of driver patches on the latest security post and wifi was one of them.
[Nexus 6 Android Development] sansnil:
After installing the July AOSP update and reflashing the 7/11 MM kernel I notice the Elite folder doesn't get created on /system like before. I checked /data to see if it moved there but don't see it either. Where should the script file live now?
[Nexus 6 Android Development] enzoevo:
Mine created the folder just fine. Wiped system before upgrading ROM and installing Elite, so it wasn't a remnant.
[Nexus 6 Android Development] sansnil:
Interesting. I normally just flash the full new system image file but this time I went the OTA route. Even tried reflashing the stock boot then Elite kernel but the folder still isn't created. I thought maybe it had been relocated to /data to avoid modifying the system partition.
[Nexus 6 Android Development] buckmarble:
It's because on the stock images there isn't enough space in /system for it. You have to remove a couple of the Gapps you can download from the play store to free to some space and then flash the zip again.
[Nexus 6 Android Development] internetpilot:
Just to report that this latest update of Elite is working fine for me on the 7/9 update of PureNexus.

This is very significant for me, personally, because ever since the May updates of most ROMs (specifically Dirty Unicorns and Pure Nexus), the "stock" kernels included with these ROMs cause my Sprint SIM card to not be found. I was going nuts troubleshooting the issue until I finally figured out it was the kernels doing it. I had the SIM card replaced by Sprint and was on the verge of sending my Nexus 6 in for "repair" for what I suspected was a bad SIM card slot. Still don't know why it's doing it, but just know that it's definitely the kernels.

When I flash the older, pre-May releases of these ROMs, the SIM card comes back. When I flashed the then current versions of Elite or ElementalX kernels with the May updates of these ROMs, my SIM card also came back.

I'm just very happy that this update to Elite didn't cause the same problem with my SIM card. The latest release of ElementalX (which I only tried when troubleshooting the SIM card problem -- I use Elite as my kernel of choice) now also causes the SIM card to not be found, and I was a little worried when I saw that Elite had been updated that it might cause the same problem. Thankfully not!

So thank you for updating it and not causing my SIM card to disappear! I hope this continues, because otherwise I'll have to go back to a stock ROM, which is a shame on the Nexus 6. I don't know if you're doing anything glaringly obviously different than the ROM devs, but if you are and could share that info with them (if you have any type of relationship with them), I would definitely appreciate it! ;)
[Nexus 6 Android Development] sansnil:
Ah, thanks for explaining. Is it technically feasible to add support for having the script on /data? Now that Xposed is systemless I'm trying to keep the system patron untouched for Android Pay and OTA's.
[Nexus 6 Android Development] buckmarble:
Probably not for mm. We are looking into a different way of doing it for N though.
[Nexus 6 Android Development] :
Idk about you but I pass safety net with ARISE installed (v4a). Only thing that seems to break it for me is Xposed and maybe busybox. Modifying hosts no longer breaks either.
[Nexus 6 Android Development] enzoevo:
I have AP working on 7/9 PN and busybox is installed in /system/xbin, which previously seemed to break AP. Not sure about Xposed as I haven't had a need for it since my Galaxy S3 days.
[Nexus 6 Android Development] :
They've gotten much more lenient with the whole safety net thing.
[Nexus 6 Android Development] PWn3R:
[MENTION=4428185]brymaster5000[/MENTION] - Just stopping by to ask if you can provide any information about what needs to be changed in my ROM to support your kernel. A couple users have said they are having WiFi problems and apparently there are WiFi modules that need to be updated in the ROM to work with your kernel. Thanks!
[Nexus 6 Android Development] nathanchance:
You may need to start tracking this repo like Pure Nexus did.
[Nexus 6 Android Development] ktmom:
There were 2 Google updates in July. The first (7/1) was security patches only. The second (7/5) was device drivers (e.g. Wi-Fi).
[Nexus 6 Android Development] H4X0R46:
Gonna chime in here, installed new preview 5 and used the elite preview 4 build, working flawlessly, root and all! Thanks devs!
[Nexus 6 Android Development] starcms:
Confirmed, working perfectly!

[MENTION=4428185]brymaster5000[/MENTION], when you have the time (and when Google releases the necessary sources if not already), can you please make an update based on N Preview 5 sources and also with the new tweaks you added to the latest MM kernel you made?

Thanks again for all the hard work!
[Nexus 6 Android Development] Phrodini:
Good looks will be doing the same.
[Nexus 6 Android Development] MrBrady:
Did a clean install of NP5 and setup the "password to boot device" feature. It was working great, including in TWRP. Then I flashed this kernel and that went away. Device is still showing encrypted, but it does not ask for password during the boot process (or TWRP) but does ask for password once fully booted.

I'm assuming this is because the kernel does not force encryption. Is that correct? If so, is that built-in to the kernel or something that can be adjusted via terminal? I liked the added security of the boot/twrp password.
[Nexus 6 Android Development] iamjimmy:
Anyone tried the latest MM Kernel build with Pure Nexus 7/23 release? Does everything work fine? Thanks in advance.
[Nexus 6 Android Development] chipis:
Does the NPreview all the specifications added on the N preview?
[Nexus 6 Android Development] buckmarble:
I would get rid of faux clock and use kernel audiotor instead. I have found it to work much better than faux.
[Nexus 6 Android Development] d08speed3:
Clean flashed Chroma and then flashed your build today. I'm having an issue when on the charger and it boots it freezes on boot. Was having the same issue on 6/17. No UV.
[Nexus 6 Android Development] buckmarble:
Probably something they did in the ram disk that isn't meshing with something in my installer. I can reboot while on charger without issue on stock rooted.
[Nexus 6 Android Development] d08speed3:
Oh k. I've tried 3 other kernel's and same kind of issue. Oh well lol. Thanks Bud.
[Nexus 6 Android Development] Logix:
agreed i used kernel tweaker before auditor rocks! works great with this kernel by far my fave kernel i just wish it was build uber tc9
[Nexus 6 Android Development] buckmarble:
I haven't heard of that tool chain. These are the ones currently available.
[Nexus 6 Android Development] dark2099:
[MENTION=4428185]brymaster5000[/MENTION] and [mention]bukmarble[/mention] Curious as to why you chose ZenDecision and BluActive?