yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] phantom146:
Thanks for this i'll look into it once I am at my desktop.

Thats stock kernel for you. And xiaomi is notorious for overheating. There are tons of threads and complaints regarding that overheating issue so that's not rare for me to hear.

Your best bet is to really get or develop a custom kernel for your device.

Will look into it once Im at my desktop.
[Nexus 6P General] fndpena:
Guys, I've been testing GlassCannon and it's not giving me the battery life I was expecting. I'm wondering if I've setup all correctly.

I would like to review my parameters, maybe I'm just oudated (considering glasscannon is not being updated)... I'm using Kylo Kernel with the glasscannon profile from April.

Are there any other tweaks I could add to optimized battery use?
[Nexus 6P General] aamadorj:
[MENTION=6638584]phantom146[/MENTION] updated GlassCannon on July. This new profile version is located at his original post: https://xdaforums.com/showpost.php?p=71797603&postcount=4773
[Nexus 6P General] phantom146:
If SoT is your way of measuring things then I can't really help you sorry about that.

If idle drain is your problem then wait for a guide I'll publish soon (working on it for 2 months now)

Theres no problem in GC, at least not that I'm aware of. As GC's philosophy goes, it tries to balance performance, fludiity and battery life. I never focus on battery life as I don't want my phone to be an old laggy piece of junk like others who brags 9 hrs of SoT and so forth.

Also, wait for Surtur6. That profile would increase your battery life so much that your battery bar goes 110% when charged :silly:
[Nexus 6P General] Arthur King:
I was looking to the GlassCannon profile to get a better idea but i noticed something that i dont understand, and after reading all the info i still dont get it at all. The go_hispeed_load is 150, but, isnt the CPU Load a % value? So the max CPU Load isnt 100%? Maybe it does not work in that way on linux, im still newb to this.(NVM, im dumb, sorry :P)

Oh, and one more question, its not related to interactive but if anyone know this will be interesting; Frequency voltage meants power consumption? Because, at least for my soc, the voltage value its the same for the first 4 frequencies (300 Mhz to 729 Mhz), and im wondering if i can just use 729 Mhz as my min freq since it uses the same voltage, or the power consumption its not related to voltage?
[Nexus 6P General] phantom146:
About the go_hispeed_load. Setting it to 150 simply means that you need to exceed at least get 100% load before ramping up to hispeed_frequency (which means really rare af). Setting it anything above 100 is just a superficial number so it doesn't really matter.

It was supposed to be that way but there's still current. We have dynamic voltages on our SoC now unless you have a really old phone. Therefore we can't precisely measure the power consumption per cpu clock. However, to measure it accurately you need to have the default voltage x current to get Wa.

Tbh voltage as a power consumption measurement isn't really proven. I'd still recommend you stick to lower frequencies as much as possible.
[Nexus 6P General] fndpena:
Sorry, I'm actually using that one. I meant the post from April, but the profile is exactly that.

---------- Post added at 06:16 PM ---------- Previous post was at 06:08 PM ----------

My concern is actually idle drain. Looking forward to surtur6 :) then... Will it be focused on battery life?
[Nexus 6P General] phantom146:
Deleted
[Nexus 6P General] phantom146:
Idle drain isn't GC's fault. There's something on your background that's been eating your battery so you should check it out. And yes, Surtur6 is focused on battery but there shouldn't be any lag nor a performance decrease in the process (as far as I tested it).
[Nexus 6P General] troyolson92:
I created and played with a very simple profile using interactive. What I found was all times and Target load had an impact on idle processing. Watching dashboard of ex kennel manager while tweaking times to lesson idle CPU load. This have me decent control with lower load Target. For big cores I use Target load of 99 and all timers to 5k. On little core I use Target load 50 all timers at 5k. I bumped sample time on big due to 80k and little core to 35k. With this setup at idle big core is around 386 and little between 386 and 600. Any input jumps little cores ramp fast and big core ramp slow. Result is super responsive. I'm testing battery now. This aligns perfectly with the voltage chart while keeping kennel very responsive. I prefer speed over battery.

It's interesting to see the actual idle load jump using the timers and Target load.

I also found bumping entropy to 1024 or higher for either value increase idle load but is also more responsive. I settled at 256 read and 512 on write. This was highest value without effecting idle load.

This is most responsive my Nexus 6p has ever been. Playing my normal daily round of boom Beach and robot wars I have not noticed battery life improve our degrade. Probably will take a couple days to get see any battery result.

In addition I tweaked Nexus 9 the same way. Stupid Nexus 9 is finally responsive enough to use. Battery on Nexus 9 seems better but who knows probably placebo...... (Nexus 9 is at 92% after 1.25 hrs of boom Beach)
[Nexus 6P General] phantom146:
Entropy increases responsiveness. This has been known since [MENTION=3357461]zeppelinrox[/MENTION] created v6 supercharge or way before that. However, there is a huge battery drain coming from it (I won't discuss why and how, you can google it) so it's not really advisable. Besides, there are lots of ways to speed up your core with low entropy.

Dashboard is an average measurement tool for cpu clocks. It is set at around 20-50ms so any changes behind that time gap won't be seen on the dashboard (especially if you have lower timer_rate and -1 timer_slack). It's much better to check and reset the cpu clocks history everytime you change a parameter value.

Lastly,your min_sample_time is good enough and I don't see any problems with what you're doing. But that'll mostly be projected towards performance and not the other way around. Your little cluster will be quite aggressive though but it'll be efficient especially if that's what you're leaning to.

Tweak to your heart's content. And share your knowledge to the community :D
[Nexus 6P General] Tilman:
Using the Z5 Premium, SD810, same frequency tree as the 6P, Heimdall latest version has been working really fine for me, heavy multitasking, fb scrolling & games, haven't yet tried glasscanon though.

Read somewhere you've been working on a hexacore profile, eagerly awaiting it, as the Z4 & the Z5 both have cores 5, 6, & 7 offline most of the time.
[Nexus 6P General] HikingMoose:
Heimdall has always been pretty good for me too. That and Rezero both are pretty smooth. I'm currently using Heimdall as my best, with a few tweaks.

For the last week or so I've been retarding my clocks quite a bit, and just using input boost with a 2.5 second boost. This way, I get very low idle drain, and I'm not boosting too high clocks, so I'm s still getting very nice screen on times as well. It's fairly fluid and smooth, about as smooth as I've seen this device anyway (except last spring when the ROM I use and Flash kernel were stellar and smooth).

Hey [MENTION=6638584]phantom146[/MENTION], I just read your updates to the OP. VERY nice and helpful. Much more clear that it was. I especially like the line after each that gives the end result of the tuneable.
[Nexus 6P General] frap129:
Thats quite the strategy, I may have to give that a try!
[Nexus 6P General] troyolson92:
My setup in playing with. Thanks phantom for the voltage information as that is my driving force. This setup reached my goal of using the small core to full before ramping big core above 900k. I got to say this setup is actually very good. Allot also depends on the other settings. I'm open to and would welcome suggestions for improvements. I feel like it's at about 95%.
[Nexus 6P General] troyolson92:
My other settings...........

Lots of gaming during those cpu times......
[Nexus 6P General] fndpena:
[MENTION=6638584]phantom146[/MENTION] Is there a beta/unreleased version? I would really like to try it...
[Nexus 6P General] phantom146:
Yes there is send me a pm (too laxy to create a new msg lol)
[Nexus 6P General] marbertshere:
What does setting timer slack to -1 do?
[Nexus 6P General] phantom146:
Setting timer_slack to -1 won't "defer" or postpone your timers. Meaning it wont delay your frequency ramp down longer coming from the highest frequency. More real time load but less performance
[Nexus 6P General] fndpena:
I know this is not related to the thread but...

Does anyone here recommend a replacement battery for the 6p? Where to buy a genuine part or a good brand that makes batteries for the 6p.
[Nexus 6P General] BlackL0dge:
I've seen a lot on AliExpress. Good prices, but not sure of the quality.
[Nexus 6P General] mobileman88:
Got mine changed at the Huawei Service Center for one and a local cellphone repair shop for the other. Both works fine in terms of SOT. However, the one from the repair shop does not have a temperature sensor. Stays at 25 Celsius no matter what.
[Nexus 6P General] troyolson92:
phantom146, would you mind pm me your newest version of glasscannon your working on. I'm playing with settings and your settings and input are my base. .
[Nexus 6P General] phantom146:
I've stopped the new GC update sir, the current GC has been good enough imho so there's no further improvements needed.
[Nexus 6P General] yung40oz84:
What kernel is that? I haven't seen that KSM deferred timer?
[Nexus 6P General] troyolson92:
Exkernel nexus 6p
[Nexus 6P General] yung40oz84:
That explains it, Haven't ran that in a very long time.
[Nexus 6P General] tech_head:
Which profile gives the best performance? I don't care about SOT.
[Nexus 6P General] spuri78:
Butterfly with bfq scheduler will make your phone fly.
[Nexus 6P General] marbertshere:
Do you guys have any preference or insight on msm_thermal vs core_control?
[Nexus 6P General] Bobbaloo:
Don't forget 1024+ read ahead
[Nexus 6P General] Dbj.Dhaval:
Flash kernel does not have bfq should I use deadline or noob instead
[Nexus 6P General] Bobbaloo:
You can try them and see the results. On flash, I have good results with maple, Zen, noop.
[Nexus 6P General] troyolson92:
Best performance is to make your own. Start with one already made and tweak it. If you care about battery and performance then sticking to one of the ones in this thread is best.

Zen scheduler at 512 read ahead seems to fastest to me. Ksm disabled to save battery as it doesn't help much.

I'm playing with z-ram but currently have it set to 386 and sound to 20. I'm going to try smaller size next.
[Nexus 6P General] frap129:
Maple FTW!

On a less braggy note, whats the best way to combat scroll lag? I tried setting the whole little cluster to 1248Mhz input boost for 1000ms, still getting scroll lag when scrolling long pages in some apps (like GroupMe). Is this just unavoidable for some apps?
[Nexus 6P General] HikingMoose:
Well, your smarter than most to use 1s. Most people and the popular profiles available, use such a small fraction of a second, that it's utterly useless. What good is a boost of 1/100th of a second, if even you're scrolling, a scroll lasts 2 full seconds? Oh course it will stutter.

I couldn't get rid of the scrolling stutters on electron kernel, it any kernel lately. Last March my phone was stutter free, but then Google and kernel developers added back in whatever causes the lags. I've tried using input boosts for 4 seconds or more, and it still stutters. I tried it with no boost, and made it super responsive, and modified it to idle with the screen on one clock above the lowest, but that doesn't work either. But for fun, try dragon X.

My phone is the smoothest it's been since March right now on carbon with the stock kernel. But it's killing me not having some of the basics like hold back to kill, because apps . Not using keep running in the background and drain my battery. So my battery life is not great on carbon.
[Nexus 6P General] marbertshere:
I honestly do think on some apps it is unavoidable. But I don't have many problems on my phone with stuttering (at least none that I can notice). If you use chrome you can turn on smooth scrolling in chrome://flags
[Nexus 6P General] phantom146:
I second the guy above. Apps, specially apps that loads rasterized pages (e.g. online apps like messenger, whatsapp etc.) will and WILL and did I say WILL? lag. There are a lot of complaints here about those and I honestly just turn them down, even setting them to max frequency wont reduce that.

On the other hand, apps that have aggressive memory handling etc. like launchers should never lag at any point, heck even settingnall the cores to the lowest should never slow it down (tried it).

No matter what, there are apps that still stutter regardless. This is what we call, poor-coding.
[Nexus 6P General] HikingMoose:
I've heard that argument before. But it fails to explain why one ROM and kernel combination will be silky smooth in a poorly coded app, but then after a ROM or kernel update, will be come laggy. Same app version, same device. So there's certainly more to it.
[Nexus 6P General] phantom146:
if you happen to have too many apps running on your background and cached in your memory. Expect lags.

Placebos coming from freshly installed kernels and roms are always there. Clean installed roms with kernels should be really smooth af especially if you have barely any apps at all YET.

On a side note, there are indeed under the hood optimizations in kernels that may make it wonky. I suggest you read commits and their git from the past version that you said is good enough and then check the version your having, you can at least which commit might have broken your UI fluidity.
[Nexus 6P General] HikingMoose:
That is a good idea, and if I had time I would.
[Nexus 6P General] lagendbun:
Just found this thread...
[Nexus 6P General] DEVILOPS 007:
This isn't the first thread you've said that on. Can you stop?
[Nexus 6P General] marbertshere:
I think I'm going to stick with hexacore mode. I've created a profile that averages around 13% per hour of sot. With my light usage I see no reason to go back.
[Nexus 6P General] iamreinvented:
Jk
[Nexus 6P General] NBAPwns:
Do you mind sharing your profile? I would love to try it
[Nexus 6P General] marbertshere:
No I don't mind, but if you're playing games or anything really cpu intensive like that it's not going to be fluid. Just send me a pm.
[Nexus 6P General] fndpena:
Would you mind to send me as well? My usage may be similar to yours.
[Nexus 6P General] RogerF81:
LoG for Nexus 6P!

Update for LoG script for the Nexus 6P

here

!
[Nexus 6P General] CapoKalia:
Super noob q - when loading profiles for advanced interactive governors, do we change the input boost values at all? I disabled touch boost, but im still getting 2%+ for idle drain. Doesn't seem normal.
[Nexus 6P General] phantom146:
It depends. If the profile has a value set for input_boost already on the .txt file then no need, but you can go ahead and double check if input_boost didn't stick, by then you can change it manually. Also, a 40 ms input_boost should do; unless your profile demands you to ramp it higher.
[Nexus 6P General] CapoKalia:
damn I've been doing all kinds of research to figure out how to apply these profiles - in CPU boost options im changing every profile to:

Boost ms = 0

input boost freq = all set to 0

input boost ms = 0

load based sync = disabled

migration load = 15

sync threshold = 0

Tried Darkspice7.5 first, now using blackpepperv2 (blackpepper is phenomenal, but doesn't last long with gaming). Thinking of going to DeusEx_revolution.

are the changes that I made wrong?

Also using:

PN7.1.2 + EXKM, rooted.
[Nexus 6P General] buffer overflow:
This profile is available for Nexus 5X ? If is send me on. Thanks !
[Nexus 6P General] phantom146:
Well theres no harm in modifying all the profiles here and I highly encourage it. I've been running a no input_boost interactive governor ever since oreo and I have no qualms with it.
[Nexus 6P General] CapoKalia:
Interesting - are you using stock oreo? I tried one of the roms on XDA that has updated to oreo but unfortunately some apps dont load properly on there. I also unrooted and went back to stock oreo from google, but i find that is way too slow so im stuck in the middle here.

Suppose I'll wait on PN to upload an oreo build.

---------- Post added at 08:46 PM ---------- Previous post was at 08:44 PM ----------

Sorry - I'm using it on the Nexus 6P.
[Nexus 6P General] phantom146:
Stock oreo, Kylo R9. It isn't slow really, and its probably the best stock experience U've had since KK. There aren't any official roms released for oreo yet so I suggedt you either stick to N or go with dtock Oreo (Google outdid themselves with O, probably the best Android version since KK)
[Nexus 6P General] CapoKalia:
Thanks ;)
[Nexus 6P General] CapoKalia:
DeusEx Profile Stats

Hey guys - So I've been using DeusEx for a bit and maybe it's my phone but something doesnt seem right here.

I captured at 19% battery because usually around 15% the phone will die. But do the stats make sense to you?

**for the CPU - it's generally 384 when not in use, but sometimes it jumps to 1533 and anywhere in between
[Nexus 6P General] phantom146:
It made me cringe so hard when I see your "awake" stats.. you have to do something about that. You're screen on drain is horrible and especially your idle drain is off the charts. I get 0.3%/hr - 0.2%//hr idle drain but I have some secrets up my sleeves as to how. Other than that everything looks OK.

Just a quick note, there are several factors as to why the little cluster jumps up to the highest frequency available:

Receiving notifications even on screen off boosts little cluster's freq to 1500mhz and big to 1200mhz

You tried to limit your big cluster too much, hence little cluster bears the load (which in theory is actually good)

Your hispeed_frequency isn't enough the way you have configured your phone (with apps and background services) so I suggest you find what's the best hispeed for your angler.

You are running a hexacore-mode profile.

The third and first one is most likely the culprit and again everything seems OK. Its just that awake time of yours is NANI
[Nexus 6P General] CapoKalia:
Wide open for suggestions - I've tried BlackPepperV2 (for a day only) and thats best on battery life, but again i still get a 0.5%/hr idle drain. i don't know how you managed to hit 0.2%/idle drain, that is incredible.

Should I switch profiles altogether? should i disable hexacore? Help!!!!!
[Nexus 6P General] phantom146:
No.. fix your idle drain issue by disabling some receivers, services, reading som guides.. reading some documentations and eliminatingsome alarms and wakelocks. Figure that out first before finding another profile.

I have my own profile ofc but fix that first.
[Nexus 6P General] marbertshere:
Do you use Wakeblock (not sure if it's compatible with Oreo)? Servicely?

---------- Post added at 06:07 PM ---------- Previous post was at 06:02 PM ----------

You can try other profiles, sure, but if your phone is shutting off at 15% I don't think anything short of a new battery will help that much. Do take care of those wakelocks though. You may have some **** apps installed if they're keeping your phone awake like that.
[Nexus 6P General] Face_Plant:
WakeBlock is compatible with Oreo. I'm using it right now on stock OPR6. The only thing is the auto patcher takes about 20 minutes to run (even when placing my phone in front of an A/C vent to keep it cool and reduce throttling) and you can't limit a few of the wakelocks that you could in Nougat (mainly RILJ). Doing so causes the Google app to force close when opening Google Assistant.
[Nexus 6P General] CapoKalia:
I'm using Nougat 7.1.2. From my knowledge I don't use wakeblock.

Flashed PN clean, flashed Gapps, flashed EXKM in that order. nothing else on the system besides the average apps (40ish in total).

Main apps are Whatsapp + Golf clash.

I don't really know where to begin with modifying the values - i dont even know what they mean. Can someone point me in the right direction if they have time - i dont mind reading up on guides myself, just dont know where to start
[Nexus 6P General] marbertshere:
[MENTION=6638584]phantom146[/MENTION] did a great job with his write up in the op. There's also good links there.
[Nexus 6P General] CapoKalia:
Great - will give that a go!
[Nexus 6P General] AnggietWeLL:
thanks for guiding me!

i was looking for it, i just need to know "what is this used for?"
[Nexus 6P General] ART:
A question about kernels and profiles. Would a profile such as Heimdall on flash kernel, provide the same performance/battery savings as Heimdall on another kernel such as ex kernel or electron?
[Nexus 6P General] ART:
Deleted
[Nexus 6P General] deani77:
I think it will be different result between other kernel since each kernel will have their own customization.
[Nexus 6P General] VN_Optimus:
I do not know which one :(

(Newber)
[Nexus 6P General] mdfarazb2:
Hey Guyz! Can someone plz help here... My Screen on drain is good I think (ex kernel with BlackPepperV2) but the idle drain is what I'm fed up of... Researching about wakelocks and all since 3 days and also got my hands on some handy threads ( did this too https://xdaforums.com/nexus-6p/general/share-wakelocks-block-t3586417 ) but still no luck:( also disabled all wifi related wakelocks from ExKernel Manager app.. again no luck.... Also I don't think I've any rogue apps (No fb no Chrome)...

Can someone plz help.? It would be really appreciated.!

Thanks!
[Nexus 6P General] mdfarazb2:
And BBS....
[Nexus 6P General] Dbj.Dhaval:
Turn off wifi scanning in location settings
[Nexus 6P General] mdfarazb2:
All those are off.. no WiFi scanning no auto sync no location scanning
[Nexus 6P General] Badger50:
Out of curiosity, were you running any bluetooth devices during this time? Also, have you tried only using the wakelock blocker native to the Ex kernel? I remember reading that if you try and block too many wakelocks that the system will try wake your phone looking for them, therefore, causing your phone to do exactly what your trying to block it from doing. I too use the Ex kernel and app as well, and have very good idle drain running the 8.0 Nitrogen rom.
[Nexus 6P General] mdfarazb2:
No I don't use Bluetooth. And I've blocked wakelocks from both included in ex kernel app and wakeblock app. And nothing more. :(
[Nexus 6P General] Badger50:
I'd try only using the Ex kernel wakeblocks and do away with the other wakeblock app for starters.
[Nexus 6P General] DEVILOPS 007:
What profile are you currently using [MENTION=6638584]phantom146[/MENTION]?
[Nexus 6P General] mdfarazb2:
Ok... I'll only use ex wakelocks for the time being.. let's see how it holds..

---------- Post added at 12:22 PM ---------- Previous post was at 12:19 PM ----------

Btw as you told Idle drain is fine there in NOS ... Do you use Gapps ?
[Nexus 6P General] DEVILOPS 007:
Wakeblock is safe but you just need to be careful what you block. Try one at a time and if you get an issue with it then experiment by changing the time you block it or allow it to run.
[Nexus 6P General] Badger50:
To which Gapps are you referring to? Specific ones, or the Gapps package I used?
[Nexus 6P General] mdfarazb2:
Ok... I'll take care of it.

---------- Post added at 12:27 PM ---------- Previous post was at 12:26 PM ----------

I mean You.. You use only the Rom or Gapps too with it?