yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] brymaster5000:
I am running a stock image now. You might need to add su and busybox first.
[Nexus 6 Android Development] thcnme956:
I failed to mention I am rooted, just on the stock ROM as I still haven't decided on one yet. So just flash the kernel nothing else is necessary?
[Nexus 6 Android Development] e30bimmer89:
Well, I flashed last night before you answered and the phone started to do weird things. I went to pick up my phone and the screen wouldn't turn on as if the phone was off. I rebooted it, stayed on for another 5 minutes and shut off again. I think its my fault though as I flashed, I think I just flashed and didn't do a dirty install of CleanRom afterwards. Could that have caused it? Its been since my S3 a few years ago that I flashed and kernels because my Note 3 was locked down tightly from Verizon.
[Nexus 6 Android Development] toknitup420:
Flash kernel, wipe dalvick and cache, reboot, profit. [emoji16] [emoji16]

---------- Post added at 01:51 PM ---------- Previous post was at 01:49 PM ----------

If you dirty flash a ROM after flashing kernel the stock kernel in that ROM will replace the custom kernel.
[Nexus 6 Android Development] Diesel779:
How would people say this compares to other custom kernels in regards to battery life and performance? Thanks again to the devs, I'll be trying it out myself soon.
[Nexus 6 Android Development] manup456:
This kernel has been amazing so far no funny reboots I get on most custom kernels, battery has been great and the phone sleeps like a baby. Great work fellas
[Nexus 6 Android Development] cujo6801:
Ditto....

Sent from the "DOG" pound...
[Nexus 6 Android Development] :
would be great to know in which LP version does it work ! 5.1 or 5.1.1 or 5.0.x! good luck
[Nexus 6 Android Development] buckmarble:
5.1.x
[Nexus 6 Android Development] kevdog98:
I also flashed back to stock M Preview 2 and Wifi was working again.
[Nexus 6 Android Development] buckmarble:
I am having zero luck trying to duplicate the connect/disconnect issue. I have connected to 3 different wpa2 2.4 ghz networks and I am able to do everything normally. Internet, email, video etc. Even tried a call with Google Voice since I am on VZW and it is as close to t-mo wifi calling that i can get. I guess I need more details on how you installed M.

These are the steps that i took using the system images(not a flashable zip):

Backup in twrp

wipe data/cache/dalvik with advanced wipe in twrp

reboot bootloader

flash bootloader

reboot bootloader

flash system

flash my modified boot img

reboot recovery(twrp)

flash supersu

flash my 7-7_updated kernel zip

reboot system
[Nexus 6 Android Development] manup456:
[MENTION=2967322]buckmarble[/MENTION]

I am having the same issue as well with WiFi, if you need more logs I can pull some for you.

Edit: I turned on WiFi rebooted now it's working fine.
[Nexus 6 Android Development] NotATreoFan:
I flashed directly from the system images. I actually followed your exact steps because I wanted root to restore my apps, though I never got that far since WLAN wasn't holding for me.
[Nexus 6 Android Development] buckmarble:
alright, so i think i just experienced what you are talking about. It connect, then disconnected, so i turned it off and tried again and it did the same thing. So i did it a third time, but this time i didn't turn it off and after about 20 secs it showed connected and everything is hunky dorey.
[Nexus 6 Android Development] NotATreoFan:
Cool. I'll make a backup later today and try your kernel again to see if I can get it to stay connected. I have unlimited data on T-Mobile, so I honestly only *need* WiFi at the office for calls and texts. Damn office blocking the signal...
[Nexus 6 Android Development] :
https://drive.google.com/file/d/0B2M-8kbDp-fUQXFqY2Fkb2EzSGc/edit?usp=docslist_api

Log of video playing
[Nexus 6 Android Development] kevdog98:
What do you mean by turn it off? The phone or Wifi? I re-flashed with the steps you listed and still have the same issue. Mine will hold a wifi connection for a short period of time and then drop it again, then it will do the connect, disconnect cycle.
[Nexus 6 Android Development] :
Ps: I do not have WiFi issues at all.
[Nexus 6 Android Development] buckmarble:
What camera app and gallery app?
[Nexus 6 Android Development] :
Stock gallery and google camera 4k video..

Also tried quickpic... Will try another player and see and report back in a few.

---------- Post added at 11:58 AM ---------- Previous post was at 11:52 AM ----------

MX player changed from HW to sw decoder and it now plays! :D
[Nexus 6 Android Development] buckmarble:
Sounds like a stock codec issue. Sounds like a bug report worthy bug for google.
[Nexus 6 Android Development] icon123:
On the new m2 preview, I can't use camera (says no sd card found) and play store force closes. I assume I flashed the right kernels. I first used the insecure_noencrypt_boot.img, rebooted to twrp, flashed supersu and then your posted lolipop kernel from 7/7. Thanks for your help.
[Nexus 6 Android Development] buckmarble:
Need to use this one for M. http://projectelite.net/buck/shamu/M/Elite_Shamu_M-07_07_2015_blu_zen_updated.zip
[Nexus 6 Android Development] icon123:
ha ha, I'm a jackass. Thanks for the reply, your help and especially, your kernels. At least you know what happens now if you flash your lolipop kernel.
[Nexus 6 Android Development] :
I'm a dork. I had attempted to install viper 4 Android but drivers would not install. This may have had something to do with this problem... Battery is 5% now. When I get home I'll reflash factory image via fast boot and see if problem still exists..

Tried to restore using latest twrp my of backup of preview 2 with stock kernel and would not boot at all. :/

Will report back in a few hours. Sorry and thank you sir! :)
[Nexus 6 Android Development] :
Back all stock preview 2 and your no encrypt boot image and video playback works fine...
[Nexus 6 Android Development] kevdog98:
Wiping data/cache/dalvik with advanced wipe in twrp was the step I skipped after doing that WiFi works great! Did not know you could wipe specific partitions, learned something new! Thanks for making a great kernel!
[Nexus 6 Android Development] gerald410:
+1
[Nexus 6 Android Development] Custodian:
Hey is the GPU and RAM overclockable on this kernel?..
[Nexus 6 Android Development] brymaster5000:
No. Nor is CPU. We don't think over clocking on this phone is necessary and it can create instability. It's our preference, but we feel it keeps the kernel a bit safer to use and easier on battery. Sorry.
[Nexus 6 Android Development] phillybizzle:
what is the best app to use to take advantage of all the kernel features? Is there a link for the stock kernel?
[Nexus 6 Android Development] e29:
Kernel auditor is pretty good
[Nexus 6 Android Development] urrgevo:
The area I live in was battered by severe weather Monday, trees were thrown like matchsticks and tens of thousands lost power. I was at 30% when this happened. I was without power for 26 hours and I had no way of charging my phone. I want to thank the devs for this kernel, even with everything set for necessity only that is an absurd length of time to keep that low of a charge without dying. I was able to keep in touch with everyone. Again, thank you.

Edit; I wish I had screenshot the battery stats on this for proof for anyone doubting but at 1% and with everything going on my mind was elsewhere
[Nexus 6 Android Development] brymaster5000:
That's awesome to hear your phone lasted through that time. Thanks for the kind regards! :good:
[Nexus 6 Android Development] urrgevo:
Another nice thing about this kernel is that I clocked it down to 1728 max to help it last, and I forgot to set it back afterwards. It's still set to that, I've yet to notice any decrease in performance
[Nexus 6 Android Development] DontPushButtons:
Just a headsup, but f2fs doesn't seem to be working anymore. I did a bit of testing last night with desolation ROM, which builds the kernel inline.

The ROM gets to the boot animation, but bootloops there, using the kernel build inline. So I figured I'd test the zip from this thread as well. The zip from here doesn't even get past the google splash, and just hangs there, doing the same typical non-f2fs kernel stuff. (Breaking recovery, needing a full reformat to get recovery functioning again.)

Anyone running this with f2fs right now? I'm surprised I'm the only one that has mentioned this as of yet. The original build booted fine, but somewhere along the way it seems to have broken.

Not a big deal if you guys aren't going to support f2fs since you don't use it, just wanted to post so it could be fixed or maybe dropped from the OP as a feature.

Thanks for your work, regardless :)
[Nexus 6 Android Development] buckmarble:
We haven't kept up on f2fs because no one reported any issues and hadn't heard otherwise. I can update f2fs tonight and have you test if you want.
[Nexus 6 Android Development] DontPushButtons:
Sure, I can test tonight if you'd like to update But if nobody else uses it, you don't gotta add it just for me, lol. I'm not what you'd call a "dedicated user", just like hopping around from place to place.
[Nexus 6 Android Development] buckmarble:
Here's a build from the other day. Some cm patches and updated defaults. I have not added any f2fs stuff yet.

LP:http://projectelite.net/buck/shamu/Elite_Shamu_LP-07_16_2015.zip

M: http://projectelite.net/buck/shamu/M/Elite_Shamu_M-07_16_2015.zip
[Nexus 6 Android Development] buckmarble:
Here's a build with f2fs updated. http://projectelite.net/buck/shamu/Elite_Shamu_LP-07_18_2015.zip
[Nexus 6 Android Development] DontPushButtons:
Very cool, I'll give it a flash right now and report back.

Thanks!

Edit: boots up, snappy and smooth, thanks for patching it up for me!
[Nexus 6 Android Development] buckmarble:
Official release kernels updated in OP for LP and M. Build date is 7-19-15. Kernel contains the changes from the test builds posted and also now compiled with the new linaro 4.9.4 toolchain compiled by [MENTION=4825437]Christopher83[/MENTION]. Let me know if you run into any issues.
[Nexus 6 Android Development] mademan420:
I havnet used the elite kernel since my HTC days. Giving it a go now! Thanks for the support!!!:good:
[Nexus 6 Android Development] d08speed3:
Zen hot plug still acts funny for some? Also...refresh my memory...with MPdec on all core are throttled correct? I see only 3 core online.
[Nexus 6 Android Development] buckmarble:
It throttles based on battery level and temp. At 40% it'll drop to 2265, there are a couple more battery steps below that, but I don't remember what they are. Then at 5% or 10% it shuts down a core.

For temp it starts throttling down at 50°c. Throttles down drastically at 60°
[Nexus 6 Android Development] :
On latest Elite kernel & preview 2 and running great! Finally my flashoholic days are to an end.. Staying put a while. I'll update when you guys update Elite. Thanks! :)
[Nexus 6 Android Development] eluspo:
Can i just directly flash this thru android M via twrp or fastboot without any issues like the verification screen when device is booting? Tia!
[Nexus 6 Android Development] :
I flashed unencrypted boot image posted a few pages back when I 1st flashed preview 2 via fastboot then after it booted I flashed Elite kernel via twrp recovery.
[Nexus 6 Android Development] eluspo:
Is it needed to flash or i should be fine with direct flash via twrp or fastboot?
[Nexus 6 Android Development] buckmarble:
You can flash it on top of what you already have. No need to flash my boot img.
[Nexus 6 Android Development] NotATreoFan:
[MENTION=2967322]buckmarble[/MENTION] Any chance you could add in the commits needed for V4A to work in Enforcing mode? I ran into all kinds of issues when I tried to change the mode on M Preview 2 so that I could use V4A and had to come back to 5.1.1 with a compatible kernel.
[Nexus 6 Android Development] buckmarble:
My LP and M kernel builds both force permissive mode at the kernel level, so you should have no issue using V4A on M or LP. Do you want a kernel that enables enforcing mode?
[Nexus 6 Android Development] NotATreoFan:
If you could do Has your M kernel always been permissive? When I flashed your updated kernel a few days after M2 came out, I couldn't get V4A to work, although people using other kernels weren't having an issue.

Would it be possible to set up an Enforcing kernel that permits V4A? No big deal if I'm the only interested party though.
[Nexus 6 Android Development] eluspo:
OKay thanks! I wont get the verification message right before boot if i flash it direct?
[Nexus 6 Android Development] buckmarble:
No, you shouldn't get the message.

---------- Post added at 10:49 AM ---------- Previous post was at 10:43 AM ----------

The M kernel has always been permissive because of the inability to use SuperSU in enforcing mode. If this has been fixed for SuperSU, I can revert the kernel back to the default behavior for SELinux. While I was updating and testing stuff for M2, I used the AIO flashable v4a zip from the themes and apps section and had no issues with v4a working. Did you flash M2 with a rom or via factory images? I am currently using the same AIO zip on Pure Nexus Project and kernel with same SELinux permissive patch in it and v4a is working here also.
[Nexus 6 Android Development] mashuto:
I am using v4a with no problems here either. Same AIO zip, also on pure nexus project. But I am on lollipop kernel, not the M kernel. I had also read that there was a SELinux policy zip in that viper thread that only sets media server to permissive, which I think is all v4a needs to work. That way you still get enforcing (if on an enforcing kernel) but v4a works. I dont have time to search the thread now, but if you search it, you should be able to find it. I also dont know if that permission fix was included in the AIO file.

And buckmarble, an unrelated question for you. Is using flar2's wake gestures app not recommended? Or if I wanted to use it, would I need to disable the kernel level dt2w function? The reason I ask is that I had the app running, and last night, went to double tap to wake, it didnt work, so I tried a couple more times, but the phone rebooted instead. I have since disabled the wake gesture service from the app and havent had issues yet. But I am just wondering if they conflict with each other?
[Nexus 6 Android Development] d08speed3:
That wake gesture app causes so many reboots and isn't consistent with sticking settings. Use the wake control in kernel auditor. Works perfect.
[Nexus 6 Android Development] mashuto:
Hmmm, I was unaware that the app caused issues. It was just a hunch that maybe that reboot was caused by a conflict. I have the wake settings already set in kernel adiutor and it actually seems to work more consistently now. Also nice that the kernel has the vibration built in (unless I have some kind of left over from the app). But, it is more limited, in that its really limited to waking the screen, whereas the app allows a few extra things like skipping tracks or turn the flashlight on, or launching apps, etc. But I can live without those if it means much greater stability.
[Nexus 6 Android Development] miguelito18:
What are the best settings for battery life?
[Nexus 6 Android Development] :
I just leave it alone and I use faux sound to boost audio. Getting great battery. In op says they like to control kernel settings by default so I just leave as is and I'm more than happy. :D
[Nexus 6 Android Development] Formhault:
Hey guys, does your phone do this?

Get a call.

Accept the call.

Place the phone to your ear & start speaking.

For the first 1~2 seconds, the phone's mic seems to not be working. I must say "hello" twice, in order for the other person to hear me once. It's like there's a delay...
[Nexus 6 Android Development] buckmarble:
Yes, sometimes. This has happened on the last 3 phones i've had. HTC m7 and m8 and now the n6. If you listen really closely, you can here a click when the connection has been established. I'm on VZW. I don't know if this affects other carriers as well.
[Nexus 6 Android Development] Formhault:
My past few phones (LG G2 and OnePlus One) didn't behave like this. I'm on Vodafone, Romania... really don't think it's carrier related.
[Nexus 6 Android Development] buckmarble:
Just asked my wife who is on an lg g3(100% stock) and she gets it too. Also on vzw.
[Nexus 6 Android Development] Formhault:
---------- Post added at 12:50 AM ---------- Previous post was at 12:49 AM ----------

Alright. Moving on...

Are you aware of the incremental volume issue? The volume (for everything - ringtones, alarms, even notification sounds, even if they are short) seems to start out low, then gradually goes up to high. So... notifications like Hangouts message sound weird, you know.

You know what I'm talking about?!
[Nexus 6 Android Development] buckmarble:
This is a ROM thing. Not related to kernel. Look in sound and notification settings for increasing volume preference.
[Nexus 6 Android Development] Formhault:
No. It's not. It's a bug :eek:

The feature you're talking about would only work for ringtones. Not alarms and notifications, as well. It's a known AOSP bug, apparently. Still, I'm trying to ask devs to know what this is. Maybe it is fixable and I don't know :eek:

https://www.youtube.com/watch?v=wk_8HA3KgM0
[Nexus 6 Android Development] buckmarble:
Makes sense. I just know that kernel doesn't affect that.
[Nexus 6 Android Development] Formhault:
Alright. Now I got that off my chest.

Do you experience this bug, though? If not, what ROM are you using?! :\
[Nexus 6 Android Development] buckmarble:
Not that I notice. I'm on Pure Nexus Project ATM. But not the one in the thread. I have it synced up and build as [MENTION=4395895]BeansTown106[/MENTION] updates things.
[Nexus 6 Android Development] Formhault:
I'm on that ROM, too. Waiting for him to update...

Not using your kernel, though. Been on Hydra for the moment - cba to investigate much, I'm burning out. Will flash yours soon.

I notice the volume thingy mostly in WhatsApp. You know, every time you send a message in WhatsApp, it makes a little popping sound. That is noticeable different than on my previous phones. Oh, and eBay, too...
[Nexus 6 Android Development] buckmarble:
I don't use either of those apps, although I do get the pop with hangouts messages
[Nexus 6 Android Development] Formhault:
Just flashed your kernel & realised my Google account was somewhat gone. Couldn't add one, neither, as there just was no "Google" under Accounts -> Add.

Strange... rebooted for the second time and it's there. :confused:

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

Yeah. It doesn't sound like a ta-da-dam anymore. Some times, it's just a-dam, lol. Can't put it better without actually trying to catch it on camera :silly:

Meh, okay. I'm done. It's a Google thing. Here's hoping they fix it in Android M. Otherwise... lajfsdaklhfxalhxafjxawfxsfcw WTF
[Nexus 6 Android Development] KnifeSkills:
Ok Im learning here. So this kernel uses AnyKernel2 installer. I'm reading that AnyKernel2 installer allows ramdisk edits also. Up until now, I've been flashing insecure_noencrypt_boot.img first to get insecure ramdisk for r/w access, then flashing Elite kernel. (on M preview 2)

But if Elite kernel can edit the ramdisk too when installing using AnyKernel2, can you just have it edit the ramdisk to be insecure when installing the kernel so we don't need to flash both anymore for r/w access? Or is this a bad idea or already done and I'm confused? I see a lot of confusion about gaining r/w access on preview 2 with some saying you need insecure_noencrypt_boot.img and others saying you only need this kernel.
[Nexus 6 Android Development] buckmarble:
Our kernel zip makes the same ramdisk modifications to the ramdisk as I did in the boot IMG. So, you can flash the kernel zip and achieve the same results.
[Nexus 6 Android Development] Formhault:
Hmm... Flashed kernel and the volume seems to be a bit higher for the top speaker (when playing media, at least)? Flashed Pure Nexus back and it's back to normal, I guess.

I'm willing to go as far to say the stereo factor is... no longer :confused:
[Nexus 6 Android Development] buckmarble:
If you reflash the ROM after the kernel, you wipe out our kernel and go back to the kernel that comes with the ROM.
[Nexus 6 Android Development] Formhault:
I know. My point is...

Pure Nexus kernel : stereo, both speakers @ about the same volume.

Elite kernel : top speaker louder (or the bottom one is quieter) => stereo factor seems to go away (due to that, I guess).

Tested by watching/listening to the weekly podcast of The Tek by Tek Syndicate with MX Player. :)
[Nexus 6 Android Development] buckmarble:
This is probably something with faux sound. You can adjust levels with the faux sound app.
[Nexus 6 Android Development] Formhault:
I don't even have the app installed, lol. Will try to tinker with it, though.
[Nexus 6 Android Development] buckmarble:


---------- Post added at 07:34 PM ---------- Previous post was at 07:32 PM ----------

How are you listening to the pod cast? I'll try to recreate it on my end
[Nexus 6 Android Development] wrongway213:
Any time I see a developer show interest in Faux Sound, I share the following in hopes someday someone else will be curious.. I can't be the only audiophile with an N6. Sorry for the lengthy OT - feel free to ignore this post if it's of no interest to you - however, this is something I don't think many users or developers know: you see how it says PowerAmp Gain is not supported? If you were using Synapse, that value would be supported, whether using your kernel or any other with FauxSound. It doesn't work in Kernel Adiutor, FKU, Trickster or even the FauxSound app itself - according to basically any information on the subject, PowerAmp Gain is absolutely not supported on the Nexus 6. I flash UKM and use Synapse and apply the FauxSound "Quality" profile, the one everyone first wanted FauxSound to use on older devices because it is legitimately awesome, daily. It does not conflict with Viper, so long as I do not turn on V4A equalizer and just leave to flat, whether in enforcing or permissive, as a system app or user app, etc. I am literally unable to recreate a situation in which FauxSound PowerAmp Gain values are able to be saved and actually apply a noticeable gain with any setup other than UKM/Synapse, but I have tested that it is not just numbers displaying wrong by installing KA, FauxSound and Synapse all at once.. they all would mess the values of each other up, but only Synapse actually changed the sound levels by adjusting PowerAmp Gain, and only Synapse saved the changes. I find it odd to say the least, hoping this information will eventually reach someone else who is as curious about it as I am.
[Nexus 6 Android Development] KnifeSkills:
Thanks, but I couldn't get system r/w access using only your kernel zip. I still had to use the insecure boot img. Looking in the anykernel.sh of your kernel zip it appears to replace both lines ro.adb.secure=1 and ro.secure=1 in the ramdisk default.prop with ro.adb.secure=0. Shouldn't it replace ro.secure=1 with ro.secure=0 rather than ro.adb.secure=0 being in there twice? The insecure boot.img sets ro.secure=0 and works.

From your anykernel.sh:

# begin ramdisk changes

# default.prop
# backup_file default.prop;
replace_line default.prop "ro.adb.secure=1" "ro.adb.secure=0";
replace_line default.prop "ro.secure=1" "ro.adb.secure=0";
[Nexus 6 Android Development] buckmarble:
That is a definite typo. Thank you for pointing it out. I will get it fixed and reupload the zips tomorrow.
[Nexus 6 Android Development] buckmarble:
Updated builds with script fixes in OP
[Nexus 6 Android Development] enzoevo:
Can't seem to enable mpdecision with the latest lollipop build from tonight.

Is it just me?
[Nexus 6 Android Development] buckmarble:
Mpd should be on by default. I didn't touch anything in regards to mpd. Only thing different in this build is I fixed the mentioned typo in the installer script.
[Nexus 6 Android Development] fantasy2c:
Kernel auditor says it's enabled for me
[Nexus 6 Android Development] resynx:
Enabled for me as well.