yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] Tysovwik:
So, hotplug disabled and interactive governor best option for smooth ui and good battery life at this kernel? Any other tricks?
[Nexus 6 Android Development] Poojan Patel:
[MENTION=2967322]buckmarble[/MENTION] new kernel is working. Thank you very much.
[Nexus 6 Android Development] H4X0R46:
One thing i did notice. This kernel uses flar2 wake gestures of course, but I notice the double tap to wake only works some of the time. You have to also have a swipe to wake gesture enabled as well for it to work reliably. I tried out the Nougat build of ElementalX and the double tap to wake works fine without needing a swipe gesture enabled as well!
[Nexus 6 Android Development] buckmarble:
Use our script to adjust the wake gestures instead of the app. I will also check to see if he's updated it.
[Nexus 6 Android Development] smclaughlin3:
How do I turn on the led for charging in the script? Thanks
[Nexus 6 Android Development] buckmarble:
I thought that was something that had to be enabled on the ROM side because it's not something that is officially supported by the device.
[Nexus 6 Android Development] :
It's /system/lib/hw/lights.shamu.so

Although I don't think flar2 does it this way
[Nexus 6 Android Development] :
I don't think that it's anything outside of kernel commits... But, that .so (driver) is just to get the LED working in general. To get it working for charging is somewhat kernel dependent.

Depending on if this is for a shell script or .rc script:

.rc:

write /sys/class/leds/charging/trigger battery-charging

.sh:

echo battery-charging >> /sys/class/leds/charging/trigger

(the sh might only need > depending on where you're injecting it from)
[Nexus 6 Android Development] Assenssins:
Is this Kernel will work on Pure Nexus Nougat build?
[Nexus 6 Android Development] Aar On:
Pure Nexus isn't heavily modified so I expect it will. I'm going to try it now.

Just make a back up of your clean Pure Nexus set up and flash it, if it all turns to scheisse just restore your backup - no harm done.
[Nexus 6 Android Development] Riddlah:
I have this installed on the PureNexus build released today. So far no issues related to the build.

Wondering if anyone is running this with Superuser. The current issue I am seeing is the Elite.sh script is not being executed.
[Nexus 6 Android Development] nathanchance:
That would be because the script is in su.d which requires SuperSU, not Superuser.
[Nexus 6 Android Development] Assenssins:
Yes, I have flashed SR1 supersu and flashed Elite Kernel.. Working. great..:good:
[Nexus 6 Android Development] durgis:
I've had Zen Decision enabled since I upgraded to Nougat and I think it's causing some lagging issues.

I looked through CatLog and found the following error scrolling by as I touched the screen hundreds of times.

10-12 00:05:06.679 E/PowerHAL(941): touch_boost: failed to send: Connection refused

Once I disabled Zen they appeared to go away. I can't say for sure that caused the lag, but it seems to help.

Edit:

MP Decision also seems to be having issues, just not as drastic. I'm seeing a couple of these messages regularly throughout the logs.

10-12 00:24:10.442 E/MP-Decision(4721): Failed to apply optimization for resource: 1 level: 14

10-12 00:24:14.027 E/MP-Decision(4721): Failed to reset optimization for resource: 1 level: 14
[Nexus 6 Android Development] Tysovwik:
Kernel running great, purenexus 7.0, but the device doesn't sleep well, most time in awake state. It tried stock pure nexus kernel, Franco kernel, elementalx, no one have this problem. The most battery drain come from android os. This issue I have even on marshmallow ROM.

Any suggestion how to fix? This kernel so snappy, but battery drain is so sad...

Btw, I can give logs, If you give me an instruction how to make it.
[Nexus 6 Android Development] brymaster5000:
Is Better Battery Stats still supported? It would be nice to see the processes keeping it up. I have been experiencing battery drain too, but just chalked it up to N, because I didn't have them on M.

Let me know. I will try to dig around when I get a moment.
[Nexus 6 Android Development] idb117:
Ok. I noticed the same, I chalked it up to N also. Since I tested w/ Elite & stock kernel.
[Nexus 6 Android Development] sansnil:
Just curious if you're running anything like suhide or Magisk as I definitely saw power drain related to something with the kernel.
[Nexus 6 Android Development] Johnny_B:
To tap into the power drain discussion: I upgraded to Nougat, and flashed the N kernel. Decided to wait for xposed, and downgraded back to MM. However I did not flash the MM kernel back, so N kernel was still in place, and I noticed battery drain. Not sure where it comes from, but after flashing the MM kernel things went back to normal. Hope this helps.
[Nexus 6 Android Development] raptoro07:
How did you downgrade back to mm but keep the n kernel? When you flashed the mm room it didn't install a new kernel?
[Nexus 6 Android Development] teinwhite:
You can flash just the ROM or any other part of the full image - bootloader, radio, recovery etc.
[Nexus 6 Android Development] raptoro07:
Yeah, I just figured a mm ROM wouldn't boot with a n kernel and figured he had actually downgraded the kernel at the same time.
[Nexus 6 Android Development] Johnny_B:
Ow darn, my bad.. I was talking about the bootloader and radio, not the kernel.. I'll crawl back under my rock now :rolleyes:
[Nexus 6 Android Development] H4X0R46:
Hey guys! Hope you're all doing well ;) So, I just got a couple of things to note here.

1) Has anyone else noticed that with any custom kernel, the Nexus 6 seems to freeze and reboot after fully booting if you shut off the screen before SuperSU has a chance to give superuser privileges to your usual apps? This has ALWAYS been an issue for me for some odd reason, I have to leave my screen on long enough for SuperSU to do it's thing and THEN shut the screen off so it doesn't freeze and reboot. Kernel related? Other issue?

2) And has anyone noticed a lot of crashes and reboot just randomly more often than Marshmallow builds? Kernel related? Or just purely because Nougat is so new and it's just a new bug?

Thanks guys! Thought I'd ask here because this is the main kernel I use with all of my roms! Worth noting that elementalx does this for me as well! Cheers!
[Nexus 6 Android Development] teinwhite:
Can't say that I've noticed either of those things.

I'm running Uber stock 7.1 at the moment.
[Nexus 6 Android Development] brymaster5000:
In what order do you flash kernel and supersu? It should be super su then kernel. This is because we have zram edits to the ramdisk that super su would otherwise overwrite. I would bet your phone hits a memory problem if you flashed kernel then root because the zram edit isn't in there.
[Nexus 6 Android Development] H4X0R46:
I have always flashed the kernel first and then SuperSU! Thanks! I'm gonna reflash a clean boot img and flash in a different order! I'll see how that works!

EDIT: So it seems to have fixed my problem! Thanks so much!
[Nexus 6 Android Development] kwdan:
I was reading that you should flash Su then the kernel. What if you already are running the ROM and it's all set up? Do you only flash the kernel and reboot?
[Nexus 6 Android Development] Poojan Patel:
Yes, flash only kernel if you have superSu already. If you dont have superSu, then flash superSu then kernel.
[Nexus 6 Android Development] Johnny_B:
As long as we are on the correct order of flashing things: xposed comes last?
[Nexus 6 Android Development] Poojan Patel:
Yes, Xposed comes last.

There are the proper steps

1)full wipe

2) flash rom and gapps(dont flash any other zips)

3)reboot and do initial setup for device.

4)reboot to recovery

5)flash superSu first then flash any mod/kernel you want.
[Nexus 6 Android Development] derdjango:
Just checking in, loved your kernel. Good to see you're still rollin'.
[Nexus 6 Android Development] brymaster5000:
Might try to add something new soon... Stay tuned.
[Nexus 6 Android Development] H4X0R46:
Quick question for the devs here, are all of the 7.1 Roms for our Shamu running on 7.0 kernels? Do 7.0 custom kernels work on 7.1 Roms? (Say, elite 7.0 and a 7.1 rom for instance.)
[Nexus 6 Android Development] buckmarble:
Yes they should be fine
[Nexus 6 Android Development] Assenssins:
Nougat kernel is permissive?
[Nexus 6 Android Development] H4X0R46:
Enforced I believe.
[Nexus 6 Android Development] starcms:
No, it's Permissive.
[Nexus 6 Android Development] sansnil:
Whoa the November Google update borked my Xposed. Looks they've done something interesting with updating the MM kernel this month.
[Nexus 6 Android Development] H4X0R46:
That's good to note! Thank you!
[Nexus 6 Android Development] nathanchance:
Yeah they changed the way Zygote handles certain packages, this would fix it though http://review.projektsubstratum.com/#/c/154/
[Nexus 6 Android Development] elsaedy:
hi any one give me only pmc file pleae
[Nexus 6 Android Development] sansnil:
That looks promising. Any chance we can get the November security updates and that in an updated MM kernel?
[Nexus 6 Android Development] nathanchance:
That's not a kernel patch, that's a frameworks_base patch. If you are on stock, you'll have to either revert back to October or wait for them to release the fix.
[Nexus 6 Android Development] sansnil:
Ah, got it. And you're right. I'm back to October just as you said.
[Nexus 6 Android Development] brymaster5000:
New kernel in OP: November update.

Nothing new besides the November patch and some anykernel updates. More work to be done on the "new" addition.
[Nexus 6 Android Development] H4X0R46:
Thanks! I updated and working great!
[Nexus 6 Android Development] suzook:
I flashed another kernel that forces selinux enforcing, I just flashed this kernel, yet cannot make it permissive. Any ideas?
[Nexus 6 Android Development] buckmarble:
Can you paste output from getenforce in terminal emulator here? Apps don't always represent what is actually currently set.
[Nexus 6 Android Development] suzook:
Itsays enforcing. I have no way to get it permissive.
[Nexus 6 Android Development] buckmarble:
Please dirty flash the ROM and then our kernel. Sounds like something left over from another kernel.
[Nexus 6 Android Development] H4X0R46:
Isn't Elite enforcing? Mine has always said enforcing, here's a screenshot. I flashed SuperSU, then elite, then multirom over the stock kernel. Is it supposed to show permissive?
[Nexus 6 Android Development] buckmarble:
I think you're right actually. Been so long since I worked on Shamu kernel. My angler kernel is permissive on N.
[Nexus 6 Android Development] H4X0R46:
I was starting to think something was off about my device! Lol I remember the Marshmallow kernel was permissive, but N was a bit more confusing. It was then wasn't I believe.
[Nexus 6 Android Development] Wajdi Muhtadi:
Why can't I use wake gestures on latest version it always sets to 0 in sys/androidtouch/wakegestures
[Nexus 6 Android Development] H4X0R46:
Will Elite 7.0 work with the new Official CM 14.1 that was posted today?
[Nexus 6 Android Development] buckmarble:
It should. Let us know if it doesn't. (and get us logs if it doesn't)
[Nexus 6 Android Development] H4X0R46:
Alright! I'm gonna give it a go!

---------- Post added at 05:25 PM ---------- Previous post was at 05:21 PM ----------

The link doesn't let me download, it fails every time....... Might have to wait till the next build with a working link.
[Nexus 6 Android Development] sansnil:
Seems like the November Google kernel update for Shamu/MM had a bunch of security patches. Is it worth putting out an update for MM Elite as well?
[Nexus 6 Android Development] starcms:
It's due to a security patch made in framework. Kernel has no effect.
[Nexus 6 Android Development] Johnny_B:
Absolutely the best kernel there is! Supersmooth and just how I like it: very good battery saving when on standby, but full throttle once in use.

Just one thing that's been bugging me for a while now: When battery is below 30%, Zen hotplugging makes HDR+ processing of Google Camera turn off the phone. So, no reboot but just shut down.

When on MPDecision this problem doesn't appear. Any suggestions?
[Nexus 6 Android Development] H4X0R46:
When official 7.1 is released, will older 7.0 kernels still work? Or will we start to need 7.1 specific kernels?
[Nexus 6 Android Development] Poojan Patel:
I tried to flash 7.0 elite kernel(latest kernel) on 7.1.1 Nitrogen OS and Camera didnt work.. So i gusse there will new start for 7.1/7.1.1
[Nexus 6 Android Development] buckmarble:
Did you flash the 7.1.1 vendor with it?

Edit: nm this is Shamu lol

Will need to look into this

Sent from my Nexus 6p
[Nexus 6 Android Development] Poojan Patel:
I guesse N6 dont have vendors.
[Nexus 6 Android Development] slider112:
I've experienced this same issue with the camera as well, but wasn't sure what was causing it. I also run Zen hotplugging exclusively, but never thought it was kernel related. Gonna switch to MPDecision and test things. Thanks for posting.
[Nexus 6 Android Development] xshallowgrave:
Does this kernel come with color profiles?
[Nexus 6 Android Development] DroidDredd:
Check the OP all features are listed there
[Nexus 6 Android Development] xshallowgrave:
I did but I can't find profiles in faux clock. So I assume no.
[Nexus 6 Android Development] buckmarble:
We do not provide custom profiles. There are a ton out there to try though.

Sent from my Nexus 6p
[Nexus 6 Android Development] MartinN6:
Can I use this Kernel with crDroid 7.1.1?

Would like to get Selinux permissive for Viper4Android
[Nexus 6 Android Development] xshallowgrave:
Ah, okay, thanks. Is there a link you can point me to, or will a simple Google search suffice?
[Nexus 6 Android Development] Poojan Patel:
No, You cant. Camera wont work if you flash. Not sure about other things.
[Nexus 6 Android Development] brymaster5000:
December Update: Elite_Shamu_N-12_17_2016

Sorry it took so long everyone, I have been working long hours lately trying to wrap up a project before the end of the year. Anyway...here are the december updates from google and some changes by Osmosis to his anykernel2 package. I haven't had time to work much on the addition i mentioned earlier...perhaps now that things have calmed down.
[Nexus 6 Android Development] H4X0R46:
Can anyone give a link to a stock boot.img for NBD91U? Don't really wanna download this whole image for this. Thanks! Also, thanks bry! I'll check it out! :D
[Nexus 6 Android Development] Poojan Patel:
Here you go my friend

https://drive.google.com/file/d/0Bz38n8WqpyZ7UTRqX3BreGQzQms/view?usp=drivesdk
[Nexus 6 Android Development] H4X0R46:
Thanks so much man! You rock! ;)
[Nexus 6 Android Development] drkow19:
Okay, yeah that's probably why a lot of the kernels for the Nexus 6 say to dirty flash the ROM if you are coming from a different kernel, then flash XXX kernel. There must have been some remnants of a previous kernel I used that did support Synapse. I did clear Synapse app data, but it still opened up just fine with Elite Kernel. Normally, it would say something about "kernel does not support synapse."

Thanks for all the info, guys :good:. I think I'll be rocking this kernel for a while, it is running great.
[Nexus 6 Android Development] lotddragon:
Okay [MENTION=2967322]buckmarble[/MENTION], I just want to say that now I have flashed the latest kernel a couple pages back and did a clean flash of AOSiP RC9, Elite is running flawlessly and amazing.
[Nexus 6 Android Development] buckmarble:
OP updated with most current build and all the newest features added and appropriate credits.
[Nexus 6 Android Development] Thunderbolt69:
Thanks for the update, running like a champ on M preview...
[Nexus 6 Android Development] drkow19:
I'm getting >2 reboots per day for some reason. Blu Active gov, Zen Decision hotplug, BFQ scheduler. I'll try to find the cause, I'll go back to MP Decision, then On Demand, to see which one eliminates reboots.
[Nexus 6 Android Development] buckmarble:
What ROM? Was it a fresh install? I need more info on your setup.
[Nexus 6 Android Development] drkow19:
Stock Project Fi: LVY47H

Rooted, recovery, kernel - is all I have done. Everything has been going smoothly so far, only had the phone for ~2 weeks now, so I am betting it is either the new governor (Blu Active), or could be the Adreno sleep stuff, but other ppl would be crashing too if it were that. No voltage changes, bin = 5.

I turned off Zen and went to MP, so if that fixes it I'll let you know. If I get another reboot, then I'll get off Blu Active and go back to On Demand.
[Nexus 6 Android Development] buckmarble:
The other issue you may have is the ramdisk items in my zip are up to date with LMZ28E which is 5.1.1. I think you mean you are on build LMY47H(not lvy) which is 5.1.0. I would suggest making a backup of your current system and updating to lmz28e. I'm fairly certain that project fi will still work on it as long as you have the updated connectivity and project fi apps.
[Nexus 6 Android Development] brymaster5000:
If you do get reboots, please capture the log for us. It is located in /sys/fs/pstore/console-ramoops

Thanks.
[Nexus 6 Android Development] drkow19:
I haven't heard of anyone on Project Fi trying out 5.1.1 and keeping it... I can't be bothered with that right now. I'll wait until they release the update.

Good news though. No reboots since switching to MP Decision, and staying on Blu Active. :D
[Nexus 6 Android Development] d08speed3:
Easiest and best way to get a logcat of random reboots and freezing upon boot? I've been on Chroma and having these issues. Just clean flashed again and flashed Elite Kernel. I leave all kernel settings default. This is frustrating me. Happening on Benzo Kernel as well. Trying to pin point why this is happening. Sometimes my phone will be screen off and randomly it reboots. Plugged in charging and it will freeze. Very random. Can I use the logcat using the feature in "Kernel Auditor" app in settings? If so...upon a lockup and after it loads up do I just go into the app and capture the logcat? If so...i did this on Benzo kernel and here is a log. Any insight would be appreciated! Thanks in advance!

https://www.dropbox.com/s/lfwon1xbbgudrx9/logcat.txt?dl=0
[Nexus 6 Android Development] buckmarble:
I am willing to bet it is a ramdisk item. I will take a peak at chromas to see if anything obvious pops out at me.
[Nexus 6 Android Development] d08speed3:
Thanks Buck!
[Nexus 6 Android Development] buckmarble:
You're welcome. If you could still manage to pull logs next time from sys/fs/pstore that'd be great.
[Nexus 6 Android Development] d08speed3:
https://www.dropbox.com/s/98pfpvpxetcaqyk/dmesg-ramoops-0?dl=0

Hope I did this right lol
[Nexus 6 Android Development] buckmarble:
The reboot looks just like the one I got the other day. I think it is related to zen decision. I'm going to ask around.
[Nexus 6 Android Development] resynx:
I know I've experienced random reboots on elite before. But I've just now jumped back on today so I will report any random reboots with the correct logs. If I do get one I will try turning on mpdecision to see if that fixes it as well. Feels good to be back on elite though, it's just what I want. Very smooth experience on 6/27 :)
[Nexus 6 Android Development] d08speed3:
I will run MP for now and see how it goes
[Nexus 6 Android Development] buckmarble:
After talking to some people it looks like the reboots are happening with a combination of zen decision and roms with a bunch of caf stuff in them. Probably the power hal. Mpdecision will be the most stable for those roms.
[Nexus 6 Android Development] d08speed3:
Just got this

https://www.dropbox.com/s/98pfpvpxetcaqyk/dmesg-ramoops-0?dl=0

Should I clean flash AGAIN LOL. All I did was was set MP and enable on boot and rebooted once all was fine. Then another reboot and it froze after Kernel Auditor did it's countdown.
[Nexus 6 Android Development] Wajdi Muhtadi:
Why do I have to execute elite.sh manually it doesn't activate automatically at boot
[Nexus 6 Android Development] brymaster5000:
Do you have BusyBox installed? Do you have enough room in your system partition? If you're stock, I'd wager that's it.
[Nexus 6 Android Development] Wajdi Muhtadi:
I'm on stock but I have enough memory and I have BusyBox installed it used to work before but now it doesnt
[Nexus 6 Android Development] brymaster5000:
It's not a memory problem. It's a partition size problem. Google stock loads up the system apps which take up available space on that partition. Delete some system apps that you don't use or can be installed thru the play store. Things like Google plus, hangouts, sheets, etc. Or the keyboard languages you don't use. Then reboot. Check to see if BusyBox has all applets installed. Reboot if you change that. Then reboot into recovery and flash the kernel once more.

I do this every time I update the stock ROM. Google leaves no room in the system partition for our script or BusyBox or much of anything but than what they give you. With each update, they take up more space...
[Nexus 6 Android Development] imjimmy:
Thank you for all your hard work. Much appreciated.

Anyone tried this latest release of the Kernel with the Pure Nexus ROM based on 7.1.1 released on 12/15? Thanks.
[Nexus 6 Android Development] Wajdi Muhtadi:
Thx all I have to do is free some space I once backed up build.prop and it took space
[Nexus 6 Android Development] westhaking:
I am unable to select the Always On setting for Ok Google. I also can not deleted or retain my voice data model for the okay Google hotword. I have read that it is a problem with custom kernels. I'm running the latest Ellie N kernel with the latest PureNexus release. Are others having this same problem with this kernel?
[Nexus 6 Android Development] Johnny_B:
Wifi tethering seems not to work in combination with 7.1.1, it does turn on but with an error. Connecting to it is not possible.

Tried another kernel and it works. Any ideas?
[Nexus 6 Android Development] papikev:
Are you sure that resides on kernel side. Check this post.
[Nexus 6 Android Development] brymaster5000:
I'll take a look. Thanks.
[Nexus 6 Android Development] nathanchance:
Just need to enable IP6_NF_MATCH_RPFILTER in the defconfig.