yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] Upstreammiami:
Can anyone post a good settings... My phone went from 43% to 20% in a 2 1/2 hour nap.
[Nexus 6P Original Android Development] flar2:
Something is keeping your phone awake, not kernel related.
[Nexus 6P Original Android Development] dsmpampis:
There is no need of a good settings, if you want you can deactivate touchboot for a little more juice. But I can assure you the stock settings is more than you want. For example I'm running on PureNexus with EX (stock settings) and the battery life is amazing.

Tapatalked with my toasted Nexus 6P
[Nexus 6P Original Android Development] Upstreammiami:
Fawwwwk
[Nexus 6P Original Android Development] flar2:
Has anyone been using ElementalX governor?

I wouldn't mind some feedback after a couple days of use.

If you do, I'm suggesting to:

-disable touchboost

-change sampling_rate to 20000 for the little cluster

-change sampling_down_factor to 0 for the big cluster
[Nexus 6P Original Android Development] VanGolfer:
@ flar2: it's a scary thing for some of us to modify the kernel settings. Could you pre set some profiles for the choices of performance or battery life, so we can load the profile of personal choice during the flash or from EX Kernel manager. Thx!
[Nexus 6P Original Android Development] J:
Made the noted adjustments. Will report back.
[Nexus 6P Original Android Development] Az Biker:
In the upper right corner, hit the speedometer for better performance, hit the leaf for better battery.

NexsixP
[Nexus 6P Original Android Development] wakers:
I used the elemental governor, I found the battery seemed to drain fast when screen was on playing a game, I disabled touchboost but didn't alter anything else, I found when the screen was off battery life was awesome...
[Nexus 6P Original Android Development] Mrwargod:
I've been using it for a wile now with some pretty impressive results.

I'll try those recomendations and feed you back in a few days. :good:
[Nexus 6P Original Android Development] wakers:
Can you use this with cm13? Thanks
[Nexus 6P Original Android Development] Badger50:
Absolutely you can! Works great :)
[Nexus 6P Original Android Development] ultyrunner:
I gave your governor with those settings a try and it drains quite a bit faster while screen on. Just with nominal use with Twitter and Chrome I saw the battery drop 3% in under 5 minutes. Usually, no matter what I'm doing on default interactive governor settings, I'll lose 2-3% in closer to 10 minutes.
[Nexus 6P Original Android Development] Atticustrd:
Silly question, but what's the little cluster and big cluster? I just see governer options and governer options cluster 2 thanks.
[Nexus 6P Original Android Development] flar2:
You need to use it longer than that, at least a few hours to rule out other things. I'm finding similar battery drain as interactive.
[Nexus 6P Original Android Development] attaint:
The little cluster is the cluster of cores that max at 1555mhz, and the big cluster is the cores that max at 1928mhz. Cluster 1 is the smaller cluster, cluster 2 is the bigger one.
[Nexus 6P Original Android Development] Atticustrd:
Thanks where do I change those settings?
[Nexus 6P Original Android Development] Az Biker:
In the EX Kernel Management App you can purchase on Play (worth EVERY cent)...

NexsixP
[Nexus 6P Original Android Development] Atticustrd:
Thanks, yea I purchased the app. I just don't see where to change those settings. I don't see little and bigger cluster
[Nexus 6P Original Android Development] Az Biker:
open EX mgr > hit the 3 horizontal lines in upper left corner > CPU > Top two options are LITTLE cores (cluster 1) change the min and max, bottom two (cluster 2) are the BIG cores, change min and max.
[Nexus 6P Original Android Development] Badger50:
Under the CPU settings you see like the picture says. Governor options is the Little cluster, and governor options (cluster 2) is the Big cluster. Set your values accordingly in those 2 settings :)
[Nexus 6P Original Android Development] attaint:
[MENTION=4684315]flar2[/MENTION], going to use ElementalX governor with your suggested settings for a day or two and report back! :)
[Nexus 6P Original Android Development] mpgrimes:
Loving the kernel. Best battery life I have ever had.. Well worth supporting with kernel manager app. Thanks!

This is with WiFi and everything else on all the time, no greenify
[Nexus 6P Original Android Development] c_86:
Made those changes as well to test. Will report back tomorrow once i use it some more
[Nexus 6P Original Android Development] wakers:
Only purchased your app about a week ago, always used elemental didn't even know you had an app, but like someone else said well worth the money.

Few questions though if peeps don't mind I noticed that on the rh side there are switches do these need to be switched on and blue to take effect?

And just from an observation point of view had an issue with Facebook instantly closing yesterday, so reinstalled the app which solved the issue but I noticed cpu temp went up to 67deg while installing Facebook haven't really seen it go up much above 40deg before that, is it normal to get that hot? Thanks and sorry if they are newbie questions just want to clarify some stuff
[Nexus 6P Original Android Development] nathanchance:
Good choice with the app! The switches are apply on reboot. If you change a setting from the default, that needs to be toggled so that rebooting your phone doesn't revert that change. Never heard of a phone getting that hot from installing an app. I actually ditched the Facebook app a few months ago and go on it in Chrome and I have not regretted it.
[Nexus 6P Original Android Development] wakers:
Thanks for the reply much appreciated
[Nexus 6P Original Android Development] cytherean:
Any special settings?
[Nexus 6P Original Android Development] Az Biker:
I'm running this kernel with default settings (except bumped read ahead up to 1024, and color changes) and I'm getting 5+ hrs regularly. I do turn off the wifi when I get to work as I work in the middle of the desert and wifi isn't indigenous here :D This kernel is good to go as is!
[Nexus 6P Original Android Development] tjohnstone3:
So I'm getting about 14.38% per hour drain while screen on (great considering I play Boom Beach and Clash of Clans) but my screen off drain hasn't been so great. Seeing 2.29% per hour.

My partial wakelocks are under control it seems (longest is bluedroid_timer, but I stream music to/from work in my car).

What I'm seeing is an unusual wakelock on the kernel wakelocks

qpnp-smbcharger-ffffffc00ea20400

I haven't figured out for sure when it happens, if it is right after I unplug or later, but it held a lock for 2 hours and 18 minutes. I've rebooted a few times and charged again and it has come back.

Any thoughts [MENTION=4684315]flar2[/MENTION]?
[Nexus 6P Original Android Development] mko000:
[MENTION=4684315]flar2[/MENTION]: Is it possible to disable the "power button double tap" camera shortcut and keep only your swipe gesture to activate the camera? I guess not but I thought I'd ask anyway. I keep activating the camera by accident when putting the phone in my pocket. Thanks in advance for your answer!
[Nexus 6P Original Android Development] mpgrimes:
1024 read ahead, elemental x governer on both, touch boost off
[Nexus 6P Original Android Development] richie.slayer:
You can deactivate it by going to the display tab in phone settings and disabling 'power button twice for camera'.
[Nexus 6P Original Android Development] mko000:
I already tried, but then the "swipe down" gesture to start the camera stops working as well, so that's not an option as it is right now. Thanks though!
[Nexus 6P Original Android Development] diomark:
I was having a ton of issues with my bluetooth audio dropping in and out (once/minute or so, the audio would just go quiet for a few seconds.. Very annoying)

Looked to this kernel for help. By default it didn't help; however, I haven't experienced any stuttering after setting the bluetooth wakelock block and rebooting.

Did this in the EX app by going to Tools / User settings, finding /sys/module/wakeup/parameters/enable_bluedroid_timer_ws and setting it to N.

What do the wakelocks do exactly? any harm in having this set?

Will continue to test, but I've been listening to audio for about 30 minutes now without a skip. (vs. several times/minute)

-mark
[Nexus 6P Original Android Development] jlee08517:
This is the weirdest thing ever. I have been flashing things for years. and I have been running purenexus for about a week so I ve kept the stock kernel so far. Everything is already set up with systemless root and I wanted to try EX Kernel today. So I went ahead and flashed it on TWRP and supersu. Everything installs without any error but Once I reboot, my rom is back running the stock kernel. I am puzzled by this any help?? I have redownloaded and retried but the same result.
[Nexus 6P Original Android Development] nathanchance:
Don't flash SuperSU after EX. EX doesn't include its own ramdisk, it uses what is already there so the patched status stays the same. If SuperSU detects that your kernel is already patched, it will restore the unpatched kernel that it previously backed up to patch it again, which removes EX. Only flash SuperSU after kernel that include their own ramdisk, like Franco's.
[Nexus 6P Original Android Development] jlee08517:
That does it. oops. I was reading thru your instructions as well. this section below threw me off a little bit . This made it seem like I could flash supersu and kernel in either order.

Which zip do I flash first? Kernel or SuperSU?

Installing a kernel first time OR if there is a ROM update:

Uses ROM ramdisk: Does not matter which one you flash first.
[Nexus 6P Original Android Development] nathanchance:
Yeah I should probably make that a little more clear, that is on me. I'll think of a way to reword that.
[Nexus 6P Original Android Development] JoKe_42:
[MENTION=4684315]flar2[/MENTION] Is there any roadmap? Mind to share a little what you'll be working on next or what you have planned for this kernel? I also wonder which toolchain you use to compile this one. Any special tweaks for A57 ? O3 / Ofast?

So far I'm really happy with this kernel! No trouble, good performance and good battery life. Thank you a lot for this work!

Regards,
[Nexus 6P Original Android Development] nicochoco03:
smooth !

Hi everyone ! kernel run great on my nexus 6P with super su 2.66 but juste a question, when a future update of super su or elementalx, what steps will i make ? :)

sorry for the english, I'm from France :)
[Nexus 6P Original Android Development] nathanchance:
SuperSU update: flash SuperSU then flash EX.

EX update: flash EX.
[Nexus 6P Original Android Development] nicochoco03:
Thank's !! and enyone have a problem with some apps like cheetah file manager and clean master ( choose boot app)

some fonctions don't work for me with the systemless root..
[Nexus 6P Original Android Development] nathanchance:
Some apps make poorly coded su calls which won't work with systemless root. Contact the developers and tell them they need to update their apps.
[Nexus 6P Original Android Development] Shockz:
Honesty should just switch apps if they don't work at this point. The symlink should have fixed a majority of issues related to that.
[Nexus 6P Original Android Development] beats4x:
[MENTION=4684315]flar2[/MENTION] preliminary findings with the EX governor tweaks you wanted us to test. About 6 hours after changing, I've seen a significant decrease in screen on consumption, down to 9% per hour. However, my screen off amount has jumped up by 1% to 2.65% per hour.
[Nexus 6P Original Android Development] xflowy:
is the ex gov finally up to date?
[Nexus 6P Original Android Development] oneandroidnut:
How did you get your idle % down to .65 mine is over 2%!
[Nexus 6P Original Android Development] italia0101:
What's your display % though? Because if it's lower then it kinda levels out
[Nexus 6P Original Android Development] beats4x:
No, but flar asked us to switch to it, change a few settings and test.
[Nexus 6P Original Android Development] xringo:
New to the whole nexus line up. I flashed ElementalX-N6P-1.05 but now when I boot I get nfc service has stopped working and system UI has stopped working and it just keeps popping up in a black screen. Any fix for this :/?
[Nexus 6P Original Android Development] nathanchance:
What ROM/version of Android are you on? Have you flash the latest vendor.img?
[Nexus 6P Original Android Development] xringo:
Hello I am on 6.1. And what is vendor.img? Sorry total noob at this but I have a feeling the problem is layers. I've been trying to uninstall it but it refuses to go back to the default theme.
[Nexus 6P Original Android Development] Raijin:
Hey, [MENTION=4684315]flar2[/MENTION]. Could you please merge these patches to support CD-drive emulation with DriveDroid?

Thank you!

Quoted from http://xdaforums.com/showthread.php?t=2196707
[Nexus 6P Original Android Development] nadiros:
Re flash the correct vendor.img for the build you are on. This will clear out the old theme stuff used by Layers.
[Nexus 6P Original Android Development] oneandroidnut:
It is a little high after today cause I was at car show camera running constantly lol
[Nexus 6P Original Android Development] Az Biker:
I'm getting 5+ hrs regularly using EX 1.05 with PN (1-9-16)...

Default kernel settings are working very well!

NexsixP
[Nexus 6P Original Android Development] treytoro710:
Some apps not working

Gmail, Google Inbox, Today Calendar, so far not working for me with this kernel. Worked fine on the stock kernel. Anyone else having issues?
[Nexus 6P Original Android Development] flar2:
Problems with apps are generally not caused by the kernel.
[Nexus 6P Original Android Development] treytoro710:
Works fine on the stock kernel though
[Nexus 6P Original Android Development] Az Biker:
What Rom are you running and what order did you flash your rom, gapps, kernel, and vendor?
[Nexus 6P Original Android Development] treytoro710:
Pure nexus 6.01 and the gapps and vendor on the thread. I flashed the rom, then gapps, the the vendor.

---------- Post added at 10:39 PM ---------- Previous post was at 10:32 PM ----------

Not hating on the kernel, just trying to see if it can work for me.
[Nexus 6P Original Android Development] nathanchance:
When you say they don't work, what exactly do you mean? No notifications? Not loading properly?
[Nexus 6P Original Android Development] Az Biker:
You flashed the latest PN, the new Dynamic GApps, AND the latest Vendor, then this kernel?
[Nexus 6P Original Android Development] RoscoeDpG:
do the same order but boot into rom first and let it fully boot up, then flash this kernel with the app. I been on and off this kernel usually i flash after i have booted up rom
[Nexus 6P Original Android Development] treytoro710:
Gmail and Google Inbox says something went wrong with Google play services. The Today Calendar app makes me log into my Google account even though I'm already logged in.
[Nexus 6P Original Android Development] nathanchance:
Yeah those issues shouldn't be kernel related as they are in two completely different spaces (the kernel doesn't interact with applications). Did you install ROM, GApps, vendor, and kernel all in one flash?
[Nexus 6P Original Android Development] treytoro710:
Yes, in that order.

---------- Post added at 11:25 PM ---------- Previous post was at 11:23 PM ----------

Yup, all in one flash, with exception of the ex kernel. That came after.

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

Thanks man, I'll give that a try.

---------- Post added at 11:28 PM ---------- Previous post was at 11:26 PM ----------

Nice analysis. I'll give it a shot.
[Nexus 6P Original Android Development] italia0101:
It's your " held awake" time, you got some wakelocks going on as it not sleeping that much
[Nexus 6P Original Android Development] oneandroidnut:
How can I fix?!?
[Nexus 6P Original Android Development] nathanchance:
Download an app like BetterBatteryStats (link in my sig) and look at what is holding your phone away and deal with it accordingly.
[Nexus 6P Original Android Development] kwamayze:
Wish you would perform a calibration for 6p just like u did for nexus 6
[Nexus 6P Original Android Development] randomnoob69:
Is there a way for ambient display to only work when I receive a notification or have one pending?
[Nexus 6P Original Android Development] oneandroidnut:
Awesome man i will give it a shot. Just downloaded! Wake locks i have never been too good with as you can see. Most everything else makes sense to me but wakelocks LOL hopefully we can figure this out! thanks for you help thus far!
[Nexus 6P Original Android Development] nathanchance:
I don't think that is something within the kernel space, you should probably ask your ROM developer.

Yeah it took me a little while to get my wakelocks under control but the only thing that drains my battery now is my cellular radio.
[Nexus 6P Original Android Development] blankoi:
I've been having this syn_wakelock quite recently even before jan security update. Its like pretty intermittent. it seems to occur more frequently on mobile network.

Can't seemed to find anything related on google. All i got was sync wakelock. Is this actually a sync wakelock?
[Nexus 6P Original Android Development] flar2:
It's from dpubletap2wake. Do you have the phone in a thin pocket that's registering touches against your skin?

I've never seen it longer than a few minutes. You need to touch the screen continually for that result. In any case, I don't think we need that wakelock on this device, so I'll remove it next update.
[Nexus 6P Original Android Development] blankoi:
Could not remember clearly whether my phone was in my bag or pocket. This was screenshot a few days ago.

I have double tap2wake disabled. Sweep2wake and sweep to sleep are enabled.

Thanks for the info! ill continue to monitor it
[Nexus 6P Original Android Development] Chord_Hugo87:
is it just me or does this phone run hot even watching youtube? I am running Elemental and testing out the elemental x governor and it doesnt seem to help as far as heat goes. if I watch from 10-15 min it would rise from 35-40C
[Nexus 6P Original Android Development] doki81:
i am using later chroma and this kernel with mad dog governor setting...but i am getting an idle drain of 5.45% per hour...this is for screen off..screen on is 9.17 per hour...is this normal?
[Nexus 6P Original Android Development] nathanchance:
No, either the kernel tweaks are causing it or you have something wakelocking your phone (most likely the later). I would run something like BetterBatteryStats to figure out what app/process is preventing your phone from going to sleep.
[Nexus 6P Original Android Development] doki81:
ouch....i am also using amplify now to delay some wake lock..not sure if the delay causing more battery drain ...what is the idea idle drain for screen off? 1%?

anyone mind to share your idle drain while screen off?
[Nexus 6P Original Android Development] italia0101:
The battery drainage has to come from somewhere,

Your screen on idle drain is amazing at 9.17%, normally for me it's around 14/15%, so if you take that extra 5% your saving on screen, it's being used in idle

You're not going to get 9.17% on screen and 0.5% idle, they have to balance out. Let's say you use your device for 9 mins and it doesn't drain 1%, when you turn off your display the chances are you're going to lose some battery.

Do you see my point? Tomorrow you might have 12% drain screen on, but only 1% screen off.
[Nexus 6P Original Android Development] demanzke:
[MENTION=946041]doki81[/MENTION] just read the last few pages. mine is 0.76%/h with cell data, sync and WiFi enabled. ideal idle drain would be phone in airplane mode with a heavily power saving CPU governor and no applications installed, so you will never achieve that anyway.
[Nexus 6P Original Android Development] flar2:
That's crazy, even with a wakelock 100% of the time it shouldn't be that high. It seems like it's not only not deep sleeping, but the CPU must have load as well.
[Nexus 6P Original Android Development] joshuadjohnson22:
I had something similar going on and after I factory wiped and reflashed the rom and kernel it stopped. It is SOOO annoying to do but it helped. I don't understand why sometimes this phone has horrible drains and sometimes it doesn't. I had like 4 replacements (for the pink issue) and half of them had this drain and half didn't. I wonder what causes it...

So basically the only thing I can tell you is to wipe and reload, if the drain is there... do it again until it is not, and when it is finally gone do a back up and enjoy
[Nexus 6P Original Android Development] DroidIt!:
I'd just go into BBS and instead of trying to look at anything in particular, go across the different categories and see what in general is taking the most battery. You can find patterns this way and it will help you narrow down to the problem. I had been having battery drain in standby, not 9% :) but fairly high. I just cruised through the different categories and noticed Bluetooth was at the top of most of them. This gave me an idea where to look and figured out the process causing it. Now I have about .4% drain/hour standby. Just an idea ;)
[Nexus 6P Original Android Development] lobrau:
latest Facebook beta has basically a permanent and could be contributing to it. I had to revert to an early version it was brutal
[Nexus 6P Original Android Development] RuggeroZanolini:
Help

I've also noticed that problem affecting last facebook apks (even playstore's one is affected). Can you link me the version that's safe?

Thanks!
[Nexus 6P Original Android Development] xringo:
I'm not sure if its the kernel or not but I've notcied there is notification light slowly blinking when I am charging my phone. It's red when its low and charging, yellow when its half way and green when its over 90% and full. Problem is I can't disable it. I turned off pulse light thing in sounds. I have already uninstalled lightflow and light mananger but it refuses to stop blinking.
[Nexus 6P Original Android Development] nathanchance:
What ROM are you on?
[Nexus 6P Original Android Development] loserrahul:
Amazing battery life with this kernel .. (Purenexus rom)

No layers and no xposed used ..thanks to [MENTION=4684315]flar2[/MENTION] for the amazing work..
[Nexus 6P Original Android Development] Dbj.Dhaval:
Can't I use synapse app as kernel manager app.. I am getting no UCI support in synapse
[Nexus 6P Original Android Development] r1ndr3w:
What color changes did you make? Care to share the settings?

Thanks.
[Nexus 6P Original Android Development] Az Biker:
I got these values from a previous post, but don't remember the user.

R- 237

G- 235

B- 255

Sat- 35

Val- 130

Con- 130

Hue- 0

NexsixP
[Nexus 6P Original Android Development] Syk69:
I usually get 9% on screen and 0.5% idle
[Nexus 6P Original Android Development] italia0101:
So 9.75% and 0,5% an hour would lead to 9/ 10 hours screen on time.... I just can't see that myself. Battery life stats can mislead hugely anyway

I mean we didn't know any info about the stats he gave, how long was the sample? What SOT did he have?

My point is battery life is different from person to person.

Trying to get identical battery life to others is a fruitless struggle.

Everyone uses their devices differently, games, wifi etc, straight battery % shouldn't be compared imo.

Someone watching videos all day and someone reading a book, it's going to vary drastically
[Nexus 6P Original Android Development] flar2:
The EXKM battery monitor stats are quite reliable, I monitor all my devices (nine of them!) every day.

9%/hr is extremely low, but might be possible with airplane mode, dim screen and mostly reading.
[Nexus 6P Original Android Development] italia0101:
Oh don't get me wrong, I'm not saying the app is at fault, I'm just saying comparing battery results as a whole isn't a great idea.

Like you said, dim screen / reading etc, people use devices so differently, so someone watching videos and playing games all day, there's just no way they can expect 9% screen on and 0.5 idle