yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
I can confirm! it works very well. I'll try that setup on my phone as well. Though i might turn off completely the top-app boost and push a bit higher in the touch boost. I'll see how it goes, cause i stream a lot and i'd rather let the phone stay in low frequencies when i don't interact with the screen but at the same time let it go berserk during touch interactions which are not that often. Ofc that varies with everyone's usage. Thanks for the info :highfive:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ilia1985:
Try the new recommend setting from [MENTION=6745491]joshuous[/MENTION]. Disable CPU boost by setting 0 to all cores, set topapp schedtune boost to 5 and dynamic boost to 20 I'm trying it now and so far getting 5-6% drain but it's too early to say.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dsa1462:
When I type this path into the user settings, it will automatically add a “/” at the front,and make the whole path like //dev/stune/top.... Does it works anyway?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Remove the first "/"

Make your screen match what his looks like......to do that, you likely need to remove the first "/"
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Jsilver73:
Don't think it's possible to remove the first / mine looks exactly the same and I'm pretty sure all is working as it should be
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Methroix:
To clarify, going by the guide posted by [MENTION=6745491]joshuous[/MENTION] earlier, the CPU Boost setting should be enabled, but the frequencies on all cores should be set to '0' or 'disabled'.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
No no, I think you misunderstood me and him. I believe he was adding a new entry into User Settings....and he was manually typing/pasting the entry instead of navigating to the entry through the folder menus listed.

When he was doing this, he probably typed in "/dev/stune/top-app/schedtune.boost".........when really, if he was manually typing it in.....it should be typed in as "dev/stune/top-app/schedutune.boost". Ex Kernel Manager automatically throws in the beginning slash. That is why he was seeing "//" in the beginning of his entry.

Hope that makes sense.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Methroix:
I'm using Kernel Adiutor and to make my life a bit easier I created Custom Controls for Dynamic STune Boost and Schedtune Boost.

I've attached the files ready for import, should anyone be interested.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Jsilver73:
Ah right
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
I absolutely adore your analogy here!

#theperfectanalogy :good:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] :
Hey ! I'm new to kernel things. Disable all cpu-boost means to disable input boost set input boost frequencies to 0mhz and input boost ms to 0 ?

For now i only set schedtune.boost to 20 cause you recommended this and thats all cause i wasn't sure about the cpu-boost :confused:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Yup, that's what I mean. You followed it correctly
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
I wonder why do we need to turn down the freq's to turn off Input Boost? Isn't it disabled just by turning off the Enable/Disable toggle?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Yes you can just disable the toggle as well (probably better and less overhead). But I currently leave it enabled to combine regular and dynamic stune boost
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
And what do you keep in the Boost ms?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
I fling a lot, so I use 2000ms. You can vary it depending on your usual behaviour
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dsa1462:
That's the weird part.the path I typed in ex manager is ”dev/stune...”,but when I open the settings it still appears like “//dev/stune...” which makes crazy:(
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
But why type when you can just choose it when you press +

Press on dev, press on stune, press on top-app, press on stune.boost, enter value :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dsa1462:
Just because I got only “proc/ sys/ /” these three options and no

“dev/”appears.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Huh, that's strange.. did you try dirty flash ROM + Magisk, reboot to os, reboot to recovery and flash kernel?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] stoyanovvitalii:
Because You need to update EX kernel manager.

Last version 3.30.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vaibhav0305:
Need help!! When i reboot my phone the settings i made in the ex kernel manager does not stay i clicked the blue switch button.. I know its not kernel related but it would be great if someone could help. Else u could suggest me some other app to make schedtune settings which stick aftwr reboot.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
It won't stick until you set the Exkm to "Don't Optimise" in Battery Optimisation. The OOS won't let it start at boot by default and thus it is unable to apply the changes.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Mmmm.....Exkm settings always apply on boot for me and I've never had to set Exkm to "Don't optimize". Can't imagine that would matter. I'm on OOS FreedomOS ROM
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
It matters because your OS lets the EX Kernel Manager doze, and you really don't want that to happen. I guess it's mandatory for reliable operation at least on stock OOS, H2OS and xXx NoLimits. And there's no harm in it, it's not like the app drains your battery.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] shadowstep:
Actually, you don't need to set EXKM to "Don't optimize", and you can let it be under the "Optimized" list.

Instead, all you need to do is turn off advanced optimisation: Settings -> Battery -> Battery optimisation -> Three dot menu (⋮) -> Advanced optimisation -> Turn off. And you're done. :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vaibhav0305:
Thanks bro that did the work. Now ekkm settings stick.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Califorskin:
OK something very odd just happened. I was about to send you a syslog, but I wasn't rooted. I dirty flashed the ROM and then flashed the kernel and then booted without root. WiFi issue was still present. Booted back into recovery and flashed Magisk 14.0 to get a syslog, but at the lockscreen I noticed wifi was enabled and connected. As far as I can tell, wifi is working fine on your kernel for me, but only after installing Magisk. I'm gonna try to uninstall Magisk and see what happens, will report back here.

Edit: uninstalled magisk and wifi is no longer working. I guess for now I'll have to be rooted, worth it for the EAS.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Ankit Kabeer:
Is this right ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Keep 0
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yChoon:
If u are using dynamic stune sched, keep the input boost enabled but core boost freq to 0(all the 8 cores) and set input boost time to 1500ms(more or less depending on you)

Edit: there is workaround for dynamic stune to function properly.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Methroix:
That looks correct if you are following the guide posted by [MENTION=6745491]joshuous[/MENTION].

I'm currently running a less aggressive Schedtune=5 with Stune=10, which works rather fine for my usage.

Care to elaborate which setting should be '0'?

As per this post by [MENTION=6745491]joshuous[/MENTION], there is a workaround to getting Dynamic Stune working decently.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Those who are after the smoothest experience possible while not draining that much of extra juice, here is what i am running atm and so far it is my sweet spot.

Little cluster boosted to 1171 MHz, Big cluster not boosted (0 MHz)

Boost duration set to 1000 ms

/dev/stune/top-app/schedtune.boost set to 10

dynamic stune boost set to 50

Might sound a bit extreme, but it really is worth a try

---------- Post added at 12:37 AM ---------- Previous post was at 12:01 AM ----------

To clearly show the difference between stock kernel and RenderZenith kernels, and whether each update brings improvements or regressions to different aspects, I have decided to document everything i test in some spreadsheets, and I would like to demonstrate the supremacy of the last update of RenderZenith and how much of an improvement it is compared to both stock kernel and RenderZenith 1.3. Something worth noting, RenderZenith was not released to the public due to a massive flaw that Joshuous has talked about earlier, which was essentially having EAS's power consumption awareness turned off, which obviously wrecked havoc in many aspects and therefore was quickly pulled, whereas RenderZenith 1.4 clearly addresses this issue and 'flicks the switch'. Here is how things changed across all 3 kernels performance-wise and battery-wise.

https://docs.google.com/spreadsheets/d/1yLdKi6a2RFMN72DzVxCQp2LeexLeSV92vYvdXtaz8dI/edit?usp=sharing

Would like to commend my fellow knowledgeable skillful developers [MENTION=5438598]RenderBroken[/MENTION] and [MENTION=6745491]joshuous[/MENTION] for their tremendous work and passion to provide the best EAS experience possible. :good: :highfive:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Sooo.....how do we set Little Cluster to 1171 MHz Boost in ExKM? In other words, which CPU's are little and which are big? I think I can figure out how to do the rest of the settings you recommend.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
CPU boost -> select the freqs part -> change the first one from zero to 1171 MHz, leave the rest at 0
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Everyone, remember to always always test everything yourself with GPU Profile Rendering turned on. Tweaks have varying effects depending on your personal usage patterns. If something works smoothly or not, let us know with your settings
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Hey guys!

Been busy but still around. Just got caught up on all the posts. Missed alot the past few days! Everything looks fine except I want to point something out to everyone. during interactions there are a number of things going on. Especially for the STOCK kernel. CAF has worked in their own Boosting framework that does a number of different tasks to provide a smoother UX (User Experience). Things like, CPU-Boost, Interactive Governor changes, Scheduler flags change (IE: SCHED_UPMIGRATE, SCHED_INIT_TASK_LOAD, SCHED_BOOST_NODE , ETC), Memory Bandwidth, GPU boosting, ETC. These are all controlled through a number of binaries but to two main ones are the PowerHAL and PERFD. The dropped frames reported by GPU Profiling will disappear as soon as you disable PERFD. The reason being that every single time you touch the screen or fling, the STOCK PowerHAL and PERFD are trying to make these changes on the fly. Imagine trying to change all of these values and almost all fail (This is why you see the Failed to apply Optimizations in logcat). We have one HUGE problem though, we don't use Interactive Gov, we don't use the STOCK QCOM Sched flags, we don't use a large number of stock changes as we are no longer stock. We have to rip out 99% or the QCOM scheduler changes to bring in EAS. But one reason that I don't recommend disabling PERFD is that is controls so much that I wouldn't want to have other regressions crop up. I can deal with the dropped frames as it is still much smoother than stock IMO. With that, there are things that we will change once the new Pixel 2 releases and the source drops. We should have proper EAS support from the PowerHAL and PERFD. IT should work along the lines of what we did with the Vertex OS project for the OP3. Of course there are no ETAs but I did want to at least explain the situation a bit more for those that were curious. This is a learning thread btw!

Kind Regards,

Zachariah
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
[MENTION=5438598]RenderBroken[/MENTION] actually I tried disabling perfd and the difference was not that significant. So yea, I would rather keep it enabled. Also I just noticed that there are also some errors thrown in the logcat on touch saying "Failed to reset optimisation 3,0", soooo.... I think at this point it is not only specific to RenderZenith kernel
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
I know on the OP3 disabling PERFD would fix the initial touch jank. Most likely, CAF had worked in even more on their 4.4 PERFD source. I know in 4.4 CAF they had changed CORE_CTL (We don't use it) and now it is even more integral to how they operate HMP in 4.4. So yea, I could believe there could be issues running it disabled as well. Like I said, I can put up with such a minor issue
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
I meant that even on STOCK kernel, there are some errors of the same sort of "unable to apply optimisation"

And yes, it is totally different now.

Thanks!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Just to give a bit of clarity, CPUs 0-3 are Little Cores and CPUs 4-7 are Big Cores.

Absolutely this. Guys, this is a development thread but also a learning thread. Josh and I DO take feedback. We are listening. We are also here to help guide those that are truly interested in Development.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] stoyanovvitalii:
all I can say is that the kernel version 1.4.0 is very, very well optimized again. I prefer to use it on standard settings tried to use it with customization schedtune.boost=20 but it seemed to me that the battery was going faster. it certainly was smoother, but for me, energy consumption is also important. so I returned to the standard settings. thank you very much! advised this kernel in the Russian forum 4pda and now many are satisfied there. every day I update this branch several times in the hope of seeing an update with some additional improvements.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
But [MENTION=5438598]RenderBroken[/MENTION] just said the Little Cluster CPU's are 0-3.......

So now it is unclear which CPUs [MENTION=5060769]Mostafa Wael[/MENTION] actually set to 1137 MHz in his testing. Just CPU0? Or the entire little cluster (CPU0, CPU1, CPU2, CPU3).
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Jsilver73:
If you set 0 to the frequency you wish, this will apply to all cores on the little; 0,1,2 and 3 ;)

Same as if you set core 4 to your desired frequency, this will automatically set all cores on the big the same.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Woah....did not know this. Seems weird but OK! Thanks!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Essentially, you could have a different freq per core. But the driver is setup so that if you just set the freq for CPU0 or CPU4, you share that value with the rest of the cores in their cluster.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
Feedback 1.4 : Runs smooth on stock settings but still battery hungry over stock. I even tried disabling the Input Boost altogether but still the consumption was high. Though, seeing the freq chart (more linear usage at low and mid freq's), i was convinced that i should be able to get a better battery mileage over stock but not sure where the things went haywire. With my kind of usage (low to average) my active drain always hurdles b/w 6-9% on stock interactive with no tweaks but with RZ, it could never settle below 7.5%/hr and on average was around 8.5%. Simmilarly, the idle drain with the same setup, I usually end up with 0.5 - 0.65%/hr idle drain on stock kernel w/o any wakeblockers whereas with RZ i got 0.75-0.85% over two charge cycles. I am sure with passage of time, things are certainly gonna improve. I really like the way the kernel uses freq's depending upon the usage contrary to the stock which i guess just has been brain tuned to hammer either 300mhz, 1300mhz (input boost) and 1900mhz on the Little.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Have you tried the stune boost setup?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
Could you please include the recommended setup in the OP? I know it and have applied it, but other people probably won't go through all pages to find it :)

Btw, my idle drain is awesome, around 0.5% with 4G on. Active drain is a little high, moderate usage (browsing + tapatalk) gets me around 12%, consistently over the last week. What could I tweak to reduce the active drain? I'm on v1.4, in EXKM disabled "Input boost enabled", set input boost frequencies all to 0 (left input boost milliseconds at standard of 40) and schedtune.boost 20.

Everything is smooth as silk though, I'm thoroughly enjoying this awesome Kernel.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
I tried them on 1.3 and former but not specifically on 1.4 as i guess adding the DSB would further add to the consumption or is it otherwise? I'll try maybe tomorrow again for a charge cycle to see
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Not much to say and especially nothing "clever".

Now that my beloved U11 is sold and using OP5 as only device (easier to handle one dual SIM device lol), I am stuck in this routine of unplugging the phone @ 7:00 in the morning and put it on charger next day @ 10:00 in the evening with ~15% battery left..

And that is constant as fck and amazes me to have 2 days working phone, even regret now I bought additional charger.. no phone could survive my usage without being put to charger the same evening with 20-30% battery left.

And that is on 4g for 12h and WiFi for 12h.. if I am on WiFi only I can get a full 3 days.

My idle is around 1% and active around 9% and that gives me 6+ h SOT (and above mentioned standby).

Current setup I am playing with is that all available wakelocks are blocked in exkm, little cores boosted to 1.171 and 1500ms, top-app @ 5 and dynamic stune boost @ 25 (upped dynamic stune boost from 15 to 25 few hours ago for some more smoothness and possible less active drain, but too early to tell about active drain).

Even tried naptime for a day and my idle got worse (same usage patterns and places/signal) so just let EAS and RenderZenith do their sht and enjoy your phone.

And I wanted to keep this short lol..

PS. Warning: subjective post above, your milage may vary, but this is the best I could get and couldn't be happier.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Seems I hit a sweet spot with these settings.. only 16h passed, but active drain is down from 9% to 6% (9% was with no boost to little cores, top-app @ 5 and dynamic stune boost @ 15).. if anyone's interested screens attached..
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
Could I ask you what's the path to sleep disabled? And you have schedtune boost 5 and dynamic stune 25 being active, do I read it right? [emoji6]
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Sorry, path to sleep disabled is a blast from the past you can safely ignore it and I should remove it from my user settings.

And regarding other settings

/dev/stune/shedtune.boost = 0

/dev/stune/top-app/shedtune.boost = 5

/sys/module/cpu_boost/parameters/dynamic_stune_boost = 25

And then there's CPU boost duration @ 1500 ms.

You should really play with those settings and find your sweet spot, some great posts here from different users with different settings. This just seemed to hit mine :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
I am also running the same setup except I have turned of the Input Boost.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Nice idle drain.. I can get that kind of drain only on Sunday when I am most of the time on WiFi and no heavy business email exchange sync and a lot of Telegraming.

I prefer some more smoothness with CPU boost and it doesn't seem to affect active drain.

Thanks for sharing. Will post my final screenshots once my battery finally drains :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
Thanks for the tip and I just enabled the input Boost for 1200ms [MENTION=1210848]117[/MENTION]1Mhz and the active drain further went down.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
So to conclude my test with changed setup, I gained ~7h of standby or ~1h of SOT. Amazing!

Screenshots attached (I forgot again to reset exkm battery settings once of the charger that's why I am attaching others).

Edit: to summarize upping top-app from 0 to 5, and dynamic stune boost from 15 to 25 and little cores boosted to 1171MHZ showed improved active drain in my use patterns, next test is upping dynamic stune boost to 32 (which is equivalent to ~1171MHz CPU boost on little cores) and not boost little cores (set to 0) and monitor active drain and smoothness. If successfull, test after that is to change governor for big cores to shed.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Just updated to OOS 4.5.10 and reassessed stock kernel's performance and battery life. Stock kernel favours the little cluster too much for me. And to my surprise, this was actually by design, as it was clearly mentioned that up to 80% of the workload on the Snapdragon 835 will be handled by the little cluster, as Qualcomm endeavours to increase the chip's efficiency as much as possible. With the relatively smaller manufacturing process considered, the high-efficiency cores are very likely to possess enough oomph to carry such high proportion of the overall tasks swiftly. However, that does not deny the fact that the big cluster is noticeably underutilised, and that the CPU could have been arguably managed much better. I often see that the big cluster just hopping to the higher mid part of the frequency steps or idling at the lowest frequency, with near to zero usage of the middle spectrum of frequencies. Theoretically, this should serve those who are after the best battery life right. However, it's come to my attention and sometimes this is not the case, and that HMP tends to be a bit inconsistent when it comes to active drain figures. Furthermore, EAS does triumph over HMP when it comes to smoothness, and after Joshuous and RenderBroken have avoided all the shenanigans, it takes the lead when it comes to speed too, as I have demonstrated earlier.

Currently, I am reassessing RZ-v1.4.0 since i have just updated to the latest OOS version, as I have said before, and I am planning to do a quite interesting comparison between RZ and stock kernel when it comes to battery life and smoothness. Also I have updated the spreadsheets to reflect that - still WIP though.

Cheers!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Would like to advise you to only make judgements after no less than 3 charge cycles, to eliminate anomalies and experience all kinds of different circumstances. Judging by 1 charge cycle is not enough. And concerning your next step, I am not that convinced that this is a right thing to do. Settings different governors doesn't feel right to me. Especially with EAS. Plus, sched is pretty much deprecated and is receiving much less updates than schedutil. In fact, I don't recall RenderBroken or Joshuous pushing any updates to sched governor in their kernel builds. So it would make no sense.

---------- Post added at 01:33 PM ---------- Previous post was at 01:29 PM ----------

A small change I have done to my setup is lowering the dynamic stune boost slightly to 35. Just as smooth but a tad more battery friendly imo.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Thanks for the advice.

Edit: made shorter & clearer.