yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] buckmarble:
Try one more thing for me. In the init.d script, near the top, there is a section that says, # Prevent min freq....

The line right underneath it, remove the # in the beginning of the line. To look like this

echo N > .....

Then reboot and see if that helps
[Nexus 6 Android Development] adm1jtg:
Definitely permission issue. Ran script from terminal logged in as su and permission errors.
[Nexus 6 Android Development] Vortex1969:
OK so I've been trying to reproduce this on Elite. So I dicided to reflash the ROM and look at MPD on stock kernel.

It acts completely the same as Elite kernel so I see no problem. Thos is a screen shot right after I touched the screen. See the min ramp as will. Then settles back to 300 min as it should and does on Elite.

Can't get a pic of the min reading @ 300 because it ramps trying to take a screen.
[Nexus 6 Android Development] mashuto:
This seems to have worked for me.
[Nexus 6 Android Development] buckmarble:
I will make it so with the next build as default to echo this value.
[Nexus 6 Android Development] mashuto:
Awesome thanks for the help!
[Nexus 6 Android Development] enzoevo:
I see on mine where it hit 1729 for a split sec then drops to 1497 for 1 to 3 seconds and then drop to 300. 12/9 PN and latest Elite.
[Nexus 6 Android Development] davwman:
Same thing worked for me. I realized mine was doing the hang on the higher frequency also
[Nexus 6 Android Development] brymaster5000:
Good people of the Elite community:

MP Decision behaves as such - your touch creates an input boost (depending on the load it may max out cpu or go to the 1728), then it ramps down to 1497. It will then stay there for a range of time up to 3 seconds (I've counted mine as being normally 1 to 2.5 seconds) such that the cpu doesnt work so hard if another input load is requested. Thus conserving energy.

Our init.d file includes a section to disable this but is currently commented out (meaning it doesn't run):

# Prevent min freq from being changed by MPD
#echo N > /sys/module/cpufreq/parameters/allow_minup

Here is my battery with MPD running with stock behavior (allowing it the 3 second touch boost) on the latest google stock image:

2 hours SOT thus far

I am adding a poll such that everyone can vote whether or not we have the init.d run on boot to disable the 3 sec boost. Let the voting begin.
[Nexus 6 Android Development] davwman:
Phone seems a little smoother since disabling the 3 second. Could be placebo
[Nexus 6 Android Development] enzoevo:
+1 - Leave it as is.

I must have too many freaking apps on my phone, plus my Huatch connected, to ever get that good of a battery performance. I'm happy though if I get 4.5 - 5 hours SOT and 14 - 16 hours total.
[Nexus 6 Android Development] Vortex1969:
+1 leave it as is.

Kernel has been running great as is.. Don't fix what isn't broken. As my dad always told me

Lol.

Acts the same as stock kernel...
[Nexus 6 Android Development] Formhault:
2 hours SOT, with battery down to more than half? Man, your battery life is just as bad as mine is (~4.5h SoT).

Is the 3 seconds boost good for the battery and bad for the performance, or bad for the battery and good for the battery? I fail to understand :(
[Nexus 6 Android Development] fedef12evo:
default settings for interactive are too much performance,it is because of these that you have low battery performance, tune it
[Nexus 6 Android Development] brymaster5000:
You're both wrong ;)

My battery performance is related to poor cell reception. Not the kernel. In fact this is one of the better performances I've had.

I live in a complete dead zone and work in a high rise. So I only ever have good reception on the commute.

Buck has great reception and gets similar life with like triple the SOT that I get.
[Nexus 6 Android Development] Formhault:
Well then, if battery life is awesome with stock MPD behavior, I'd say... leave it as it is? I mean I don't think we want to sacrifice any battery life for a (potential) very slight performance increase (that we reaaally don't need, by the way)... Right?
[Nexus 6 Android Development] g2uzer:
I read the last 3 pages, a bit confused so the latest version does work correctly on the Latest pure nexus or there's issues?
[Nexus 6 Android Development] Vortex1969:
Yep running great flash away[emoji4]
[Nexus 6 Android Development] adm1jtg:
Works just fine they're is just some debate as to if it's working the way op intended
[Nexus 6 Android Development] Vortex1969:
Has nothing to do with PN. Its just was tested using PN and most of the post was about it.

It works great with the last update AOSP changes the way MPD works and it's for the better. And Elite has the latest commits from AOSP.

In short all is good it is doing what it should do. And works great with PN ect. and all others.
[Nexus 6 Android Development] crowsnestitsupport:
A bit off the current subject, but calling Nexus 6p users, please share some blessings with these guys if possible, (a Christmas gift :) ) so that we all can get this fantastic kernel on the 6p:) !!! I do know that donations have been made already and really looking forward to seeing this kernel on the 6p!! Thanks for your support!!
[Nexus 6 Android Development] ancidroide:
So... PN 12/9 build + elite... running flawlessly... Only problem is that related to the battery life... My min freq wa stuck to 1497(about)... Every time I manually changed it returned the same... So I set ondemand as cpu governor and min freq to 300 mhz and seems like it is working... System is quickest e speedest but my battery is discharging in a mostrous way xD 2 hours sot under wifi connection... :(
[Nexus 6 Android Development] adnanahmad1786:
I'm on cm13 and i installed this kernel and i dont know why but still Forced Encryption is there ... Can any one please tell why and how to unencrypt ... My n6 ... Running on latest cm13 nightly
[Nexus 6 Android Development] jcrompton:
I have another issue or question. I'm in Texas on business. Three times in the last day or so my phone has been on Maps with GPS on. Then when on a phone call .... All of a sudden I lose GPS signal and cell network at the same time. Wait a couple minutes and cell network returns but takes several minutes to relock satellites

Any chance could be kernel related? I'm on latest boot loader and radio and PN ROM
[Nexus 6 Android Development] buckmarble:
Not likely

---------- Post added at 04:45 PM ---------- Previous post was at 04:43 PM ----------

You will need to follow the instructions to un-encrypt in another thread, then after flashing this, forced encryption will be disabled. You will need to flash kernel before first boot of cm13.

---------- Post added at 04:48 PM ---------- Previous post was at 04:45 PM ----------

Need to see battery stats. You might be suffering from the WiFi bug. I can GUARANTEE it's not because of how the CPU is scaling. If the min is changing, its because of having something in the background that is processing that it needs to boost it. There is something going on in the OS, this is not a kernel issue.

---------- Post added at 05:08 PM ---------- Previous post was at 04:48 PM ----------

Just another side note, the stock kernel in PN, lean kernel, and a couple of others also are using mpd by default. There is nothing to be concerned about with the min changing to the governor's hispeed_freq. Mpd does this because its more efficient for the CPU to operate this way instead of constantly ramping different cores up and down over 10-15 secs instead of 3 secs for all cores.
[Nexus 6 Android Development] Formhault:
MPD appears to be disabled... or so EXKM shows :eek:

Latest PureNexus + latest Elite... Clean flash, didn't restore data for EXKM app. :confused:
[Nexus 6 Android Development] buckmarble:
Elemental x kernel app is designed to elemental kernel. We cannot support what that app reports.
[Nexus 6 Android Development] KonoeKyon:
Are you using systemless root? I noticed with systemless root init.d wasn't working very well. Moving the script to /su/su.d/ with 0700 permissions had everything working correctly for me.
[Nexus 6 Android Development] Formhault:
Dang it. I believe it was Paul who said EXKM is okay for use with Elite. :rolleyes:

---------- Post added at 01:56 AM ---------- Previous post was at 01:56 AM ----------

Nope. SuperSU, which came with Pure Nexus...

-----

I guess I'll just use Kernel Adiutor...
[Nexus 6 Android Development] HillbillyBoozer:
Been using n6 elite with Chroma. Been getting great battery with stock settings, even with terrible signal and Bluetooth on all day.
[Nexus 6 Android Development] xxxtncxxx:
Great job elite A+ work! On a lighter note when im having a bad day i just come here and read the latest post. :) I don't know how you guys do it lol, but I'm glad you do...
[Nexus 6 Android Development] Ind33d:
Thanks for your kernel. Rocking solid with Chroma 6.0.1. Keep up your good work :good:
[Nexus 6 Android Development] wipian:
Thanks [emoji1]

This also fixed it for me.
[Nexus 6 Android Development] madboymatt:
What is the WiFi bug??
[Nexus 6 Android Development] Formhault:
This. https://code.google.com/p/android/issues/detail?id=189018
[Nexus 6 Android Development] jigsawmv:
I really like this kernel, but when I use it I get qifi as mi primary battery drain, is this normal?

Or how can I solve this issue?
[Nexus 6 Android Development] evilryry:
I fixed this issue by turning off wifi/Bluetooth scanning and then clear cache. Charge to full and give this a shot
[Nexus 6 Android Development] jigsawmv:
Will do. Did you wipe cache in recovery?

and, did this method completely resolve this issue?
[Nexus 6 Android Development] evilryry:
Yes wipe cache in recovery after turning those things off. Some wifi drain is normal but I never have over 5% in a full days use
[Nexus 6 Android Development] jigsawmv:
Great!

Just curious, what rom and radio are you running?
[Nexus 6 Android Development] evilryry:
Pure nexus latest 32r radio.
[Nexus 6 Android Development] jigsawmv:
Thnks a lot for your help, I hope it can solve this issue for me
[Nexus 6 Android Development] an21281:
30r has been working the best for me esp going back to lte on its own from 3g, try these two and see what works best for you...
[Nexus 6 Android Development] Formhault:
You fix the Wi-Fi bug that easy?
[Nexus 6 Android Development] evilryry:
For myself Yeah
[Nexus 6 Android Development] enzoevo:
Can we get some corroboration on the WiFi work around?
[Nexus 6 Android Development] biglilsteve:
Question: what's the deal with MPDecision? Does it ever unplug cores? Or are all 4 always running, even with the screen off?
[Nexus 6 Android Development] jigsawmv:
I changed my wifi frequency to only 2.4GHz, I turned off both wifi and bluetooth scanning, and wiped cache in recovery and it solved this issue for me
[Nexus 6 Android Development] Abaddon:
I did this and made it to auto or change the region no reboot needed or clearing of cache in my end then it'll show my desired wifi
[Nexus 6 Android Development] buckmarble:
MPDecision does not control the hot plugging of the cores, the governor does that. MPD will do a touch boost, but not evaluate the plugging necessary. 4 cores are always on, with zen also, this is by design. The device will go into a deep sleep when the screen is off and plug as needed with wakelocks that arise while the screen is off.
[Nexus 6 Android Development] casonswag:
Does root work with it?
[Nexus 6 Android Development] manup456:
Yeah sure does and that silly warning on boot is also gone.
[Nexus 6 Android Development] buckmarble:
Just an FYI, that root fix the other kernels are using is my doing. So of course su will work with my kernel.
[Nexus 6 Android Development] manup456:
Oh I know and removing the stupid message you get on boot on stock boot.img was also you. That's why I run both your kernels on both of my roms I use, always ahead of the game.

Edit: I'm also surprised this kernel is not getting way more attention being it's so solid.
[Nexus 6 Android Development] resynx:
Just flashed this kernel for the first time! excited :D
[Nexus 6 Android Development] Manuelpz:
Thanks for your kernel,I flashed but I'm still getting on boot on stock boot.IMG.

What setting do you recommend.btw i was using DP 2.4R kernel
[Nexus 6 Android Development] casonswag:
Okay the M kernel works great but i lost volte though ?
[Nexus 6 Android Development] toknitup420:
Did you flash new radio. With m update.
[Nexus 6 Android Development] TCPDump:
Howdy Amigo,

Sorry for being slow but I just now saw your thread on your Kernel. I started a thread on how to root & system R/W the Android M preview. I found that a boot image I found would make the filesystem read/write, but wouldn't fully boot. As such, I treated it as more of a tool than kernel. I realized it was yours last night after dumping the RAMDISK and seeing the elite signs, combined with your thread.

Long story short, I wanted to message you and say "thanks" for a rootable and R/W kernel. Also, when I get to the office in a bit I will update my OP with your full boot image and all creds. Sorry for any trouble.

Were your boot images designed for a ROM only or would you expect them to work with the M preview?

Thanks!

Bill
[Nexus 6 Android Development] buckmarble:
It was meant for the m preview, but should be good on any of the M based ROMs. No troubles here, thats what I put the stuff out there for. Enjoy!
[Nexus 6 Android Development] casonswag:
Yeah i been on the M radio it worked before i flashed this kernel
[Nexus 6 Android Development] razrlover:
Just to jump in and make things confusing.

I have flashed last 3 versions on jdx with different kernels. Yesterday I was experimenting with Elite's test build. I got really really really good battery life as the hours went by and kernel settled. One of the changes I made in kernel auditor was making sure thermal core control was not activated. Once I disabled that all the lag began to disappear.

I checked on hidden phone menu to see if flag for volte was enabled and it was. I was trying to help another user but on the rom side of things, also I am on 5.1 radio, I just wanted to give some feed back for anyone that can user it. See screens below on the statements I have made, Thanks guys
[Nexus 6 Android Development] buckmarble:
I have found that when you are on the VZW 98r radios, VoLTE works great until you start flashing a lot of things or dirty flashing ROMs. After that the radio get all wonky and sometimes won't even come up at all. So my suggestion is to wipe and start over clean. It is safe to flash my kernel with your rom of choice before first boot.

Since my kernel uses MPDecision, it does follow the stock thermal limits. IMHO, the limits are WAY too low and need to be higher by about 10 degrees C. Most of the time the phone doesn't get much higher than 50-55C. Since the limits are set at 50 and 55, it throttles it way down to the point of having a negative impact on the users. This is most likely a result of the unfinished OS as I have only hit that thermal limit on VERY rare occasions on LP.

---------- Post added at 10:33 AM ---------- Previous post was at 10:28 AM ----------

M kernel is now in OP.
[Nexus 6 Android Development] buckmarble:
Do we have many users on the M kernel?
[Nexus 6 Android Development] resynx:
Really liking how this kernel performs, but I've been getting random reboots while just normally using the phone like scrolling through apps, etc. I'm on Chroma ROM btw. Here's a log!

http://pastiebin.com/556e9fc59d466
[Nexus 6 Android Development] buckmarble:
I will look at it this morning. Which build are you running on chroma?

Edit: it looks like you are running an older version that still had some bfs stuff in it that was causing the reboots. It is fixed in the 5-28 build in the OP or you can wait for the new build coming this morning. New build is for LP only.
[Nexus 6 Android Development] resynx:
Thank you! Looking forward to that new build :D
[Nexus 6 Android Development] buckmarble:
New build. Added a just a few CMA patches i put in the M build. http://projectelite.net/buck/shamu/Elite_Shamu_LP-06_03_2015.zip

************THIS IS FOR LOLLIPOP ONLY********************
[Nexus 6 Android Development] JNewms:
Disregard
[Nexus 6 Android Development] brymaster5000:
It's a good thing there are two of us. I'd never release anything at this rate with the new job. Thanks buck.
[Nexus 6 Android Development] biglilsteve:
So, is MPD not really a hotplug then?

Also, I could have swore I read that Zen goes down to two cores max while the screen is off and four cores while the screen is on. Is that not true?

I'm not challenging you at all because, well, you're the man...just trying to educate myself.
[Nexus 6 Android Development] buckmarble:
That's correct, MPD is not a hotplug at all. Basically all it does is touch boost and make sure cores wake up from deep sleep. Zen is not a hotplug either. It does the wakeup part, but not the touch boost. There is another feature out there that you can limit the screen off freq and number of cores, but it isn't included in our kernel.
[Nexus 6 Android Development] kamilmirza:
trying this kernel for the first time

I'm blown away by the performance

hoping to score 4+ SOT

thank you devs :good:

BTW why all the cores are always active on Nexus 6?

came from Nexus 5
[Nexus 6 Android Development] KonoeKyon:
Because hottplugging is inefficient and doesn't significantly affect battery life.
[Nexus 6 Android Development] buckmarble:
If you go and read some spec sheets on the SOC, you'll see that it was designed to have a synchronous operation across the cores. If they have to constantly have to be brought back online, it works against the efficiency.
[Nexus 6 Android Development] kamilmirza:
interesting

so why there is a need for mako or intelliplug hotplugs?
[Nexus 6 Android Development] buckmarble:
There isn't a need for it, that's why we don't include them.
[Nexus 6 Android Development] kamilmirza:
I was talking generally

like other kernels contains various hotplugs
[Nexus 6 Android Development] KonoeKyon:
Old habits and beliefs mostly, and placebo. Most of the kernels including extra hotplugs still use mpdecision or zen decision as default.
[Nexus 6 Android Development] enzoevo:
It's gets very quiet around these parts when everything is working so great. :)
[Nexus 6 Android Development] davwman:
Damn straight
[Nexus 6 Android Development] adm1jtg:
How are people seeing these scores? I get 72k to 78k at best and on untouched stock 35k to 40k. I change no settings just load kernel and go
[Nexus 6 Android Development] dark2099:
Are you using Antutu 5.7.1 or 6. In 6 they redid how scores are calculated, thus the 90k+ scores.
[Nexus 6 Android Development] davwman:
Running stock lite with cataclysm mod. Only thing I change is io scheduler to deadline and disable fsync. Difference is night and day with only a slight hit to battery. You will notice a difference trust me its not placebo. Also that's on the new antutu. I hope elite makes it over to the 6p. I'm heading that way due to the better camera and 128gb storage space which I need.

---------- Post added at 05:56 PM ---------- Previous post was at 05:36 PM ----------

On a side note, we need to get a 6p into this man's hands! ;)
[Nexus 6 Android Development] brymaster5000:
Neither of us wouldn't say no [emoji6]
[Nexus 6 Android Development] buckmarble:
+1
[Nexus 6 Android Development] Formhault:
Noooooo!

(Stay here) :D
[Nexus 6 Android Development] arifqur:
Which app are you using to disable fsync?
[Nexus 6 Android Development] davwman:
I use Franco kernel updater app.
[Nexus 6 Android Development] :
Funny I've never even thought of using his app for Elite or any other.. Works great on Elite. Color profiles work too! :cool: Tks
[Nexus 6 Android Development] davwman:
Yup
[Nexus 6 Android Development] Nucleotide:
I've seen a couple of people mention a WIFI bug. I'm assuming this relates to WIFI constantly running - essentially chewing through a lot of battery?

Is there a fix for this? I can't seem to find one. I'm sorry if someone has posted a fix and I've overlooked it.
[Nexus 6 Android Development] davwman:
I have it as well. Doesn't matter what rom or kernel combo I run. I still get 5+ hrs of sot and never below 20% at the end of the day after hard use. Seems to be a marshmallow bug.
[Nexus 6 Android Development] Tex99:
Anyone have problem with last cataclysm update ? On cataclysm 8/12 all was perferct, but I have some problems with cataclysm 14/12 with last elite. I tried dirty flash, 3 clean flash, supersu 2.61 and 2.62 and 2.61-3 etc. The modifications to init.id/92elite don't work, after reboot the text file is right but there aren t changes (s2w for example). The default settings like dt2w don t work, kernel adiutor says that the default scheduler is cfq with 512 read ahead. I really don t know why, I tried elementalx on cataclysm 14/12 and no problems there. Thank you for attention and sorry for english.
[Nexus 6 Android Development] buckmarble:
Did you reflash the kernel after installing the cataclysm update? There update mod has a full boot img in it which replaces elite kernel with theirs.
[Nexus 6 Android Development] Tex99:
Yes of course man :) I made all possible steps, I tried 3 times with clean flash ROM+mod+kernel+supersu, also tried ROM+mod+supersu+kernel boot and flash again supersu, or flash ROM, boot, flash mod, boot, flash kernel and supersu (mod is the beta update of cataclysm 14/12) :)
[Nexus 6 Android Development] wipian:
Did you try the above?

This fixed it for me.
[Nexus 6 Android Development] HillbillyBoozer:
I was having the same issue. I ended up going into Settings-> Location -> Menu (Top Right) -> Scanning -> Disable WiFi Scanning.
[Nexus 6 Android Development] Nucleotide:
Just tried this and it made no difference. Turn it off, unplugged from power at 100% battery and within 30 minutes of constant use, WiFi was still higher then screen.

Would this be a kernel or ROM issue?

I'm tempted to go back to a 6.0.0 rom and flash the previous Elite kernel. That combo was rock solid and far better battery.
[Nexus 6 Android Development] buckmarble:
What frequency is the WiFi network on? If you force it to connect at 2.4 only then there is a significant lower drain from WiFi.
[Nexus 6 Android Development] Nucleotide:
It's set to automatic - as always. It's only since the 6.0.1 ROM and kernel update that I've seen this behaviour.
[Nexus 6 Android Development] buckmarble:
Set it to 2.4 only
[Nexus 6 Android Development] HillbillyBoozer:
I had to reboot afterwards. It still drained until I did so after making the changes. It's now below my screen time usage and hasn't increased in mAh used since.
[Nexus 6 Android Development] Tex99:
Yeee now it works, Thank you :)
[Nexus 6 Android Development] Formhault:
Will 5 GHz Wi-Fi ever work on Android? Ugh.

Glad I don't have a 5 GHz router at home. I'd be so frustrated...
[Nexus 6 Android Development] KonoeKyon:
5GHz works without issue for me, no extra drain or connectivity issues. The only time I ever have issues is on other networks like at work where I have no control over the router settings, and that is not a fault of Android.

There's a lot that can cause bad drain on Wi-Fi, bad router settings, using a busy/congested channel, overly chatty devices etc. That's not to say a software update to Android won't be a cause of issues, they certainly can make it more susceptible to issues with bad networks, but again that's a issue with the network.
[Nexus 6 Android Development] Nucleotide:
What is wrong with 5GHz? It works fine. Disabling scanning as noted above fix my WIFI drain issue however, that has only come about since 6.0.1 ROM and/or kernel.
[Nexus 6 Android Development] Formhault:
Well, it looked like it's causing a bunch of issues for some... Oh well.

I don't get the wi-fi radio active drain, but my battery goes to crap as I look at the icon :)
[Nexus 6 Android Development] rekids:
What is everyone using now for watching battery drain? Was using Gsam pro with root for long time but now since 6.0.1 it won't calculate anything and drains my battery since it don't shut off.
[Nexus 6 Android Development] teinwhite:
I use better battery stats