yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] carlos67:
Well, it's early days, but, I may have eliminated my stutters with this stune lark.

I have dynamic stune set to 30

I have set top app to 30,

Foreground to 10

Background to 0

RT to 0

And it's buttery smooth :eek:. BUT, is dynamic stune (30) clashing with top app (also 30)?????

[MENTION=4684315]flar2[/MENTION], do I need to set top app if dynamic stune is set? Somebody previously said dynamic stune only affects top app :confused:

Edit:

Just seen this from [MENTION=6745491]joshuous[/MENTION] on another Oneplus 5 thread. Different device but logic seems to make sense............

1. Set /dev/stune/top-app/schedtune.boost to 5-10

2. Set dynamic stune boost to 10-20 (I like 20)

The issue with dynamic stune boost is that it only (at the moment) boosts the frequencies of the cluster that a top-app task resides in. So why were there still performance issues? That's because top-app tasks preferred to stay on Little cores, which is likely overcrowded already. That means that the top-app task have to compete with the other tasks on the same overcrowded core for computing power. Imagine it like having a huge pizza (high frequency), but so many people have to share it such that you only get a tiny piece. This is why a task can run on the less-crowded Big cluster at a much lower frequency but still perform better than running on a crowded Little cluster with high frequency.

Now, setting the /dev/stune/top-app/schedtune.boost to 5 does two things. Firstly, it increases the perceived load of the individual top-app task, consequently biasing Schedutil to select a higher frequency (not by much). Secondly and most importantly, since the perceived load is higher (imagine a very hungry person), EAS decides that it needs to be shifted to the Big cluster (larger pizza). 5 was chosen because it's around the tipping point to cause the shift. Use 10 if it's not smooth enough.

Dynamic stune boost doesn't influence tasks to be shifted to the Big cluster, which is why top-app tasks tended to stay on Little cluster.

Combining both steps, we can influence top-app tasks to run on Big cluster (step 1), and a larger Dynamic Stune Boost value will cause the frequency to ramp up during touch interactions on the Big cluster where top-app tasks run (step 2). No unnecessary boosting when watching YouTube woohoo!

Tldr; You're in a pizzeria. Regular schedtune boost shifts you to a less crowded table. Dynamic schedtune boost increases the size of your pizza. Your stomach rejoices
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] plantator:
Litle test,

all four

Top

Foreground

Background

RT

-90 Antutu say 254k poinst (dynamic stune 15)

+90 Antutu say 228k points (dynamic stune 15)

0 Antutu say 278k points(dynamic stune 0)

Conclusion?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sasho36:
I've tried flar2's stune settings today and got more than 9h SOT with a least 1h GPS (Waze) and 3h poor reception.

The phone is butter smooth.

It's a great kernel!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
I'll add an update and say that as long as your schedtune boost is more than zero (even 1 works) the scheduler will prioritise placing your task on the Big cluster. I set a default top-app schedtune boost of 1, just enough to make important tasks favor Big cluster but not increasing frequencies by too much. My dynamic schedtune boost is 15 for top-app, which gives a bit more frequency boosting when you touch the screen to type and scroll

And yes, it won't bring any benefits to let the default and dynamic schedtune boosts be the same value. That's a bit like setting your minimum frequencies to your boost frequencies
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
No clue, I tune my devices for smoothness and never for synthetic benchmarks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
It's supposed to, and usually does, but sometimes auto brightness ends up off. I think I know a way to make sure it stays on
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Joyarup:
Can I flash the 1.04 on OOS 5.1.5? Currently on EX 1.02. Thanks!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] plantator:
Yes it works, but Also it is recommended to update your system version to latest one for sny op update and bug fixes
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MBurns2:
One question: why we have ti increase input boost duration even if input boost freqs are 0? Ty

Since yesterday i'm trying these settings and battery result are amazing. Thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
I was testing 10/20 for top/dynamic and frame drops were gone, first time I've seen this phone running 100% smooth over several hours. I will test your 1/15 and see how it performs in comparison.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] carlos67:
[MENTION=6745491]joshuous[/MENTION]

Do you think it helps smoothness or not to have "msm touchboost" enabled in addition to the schedtune boost tweaks?

I'm a performance freak and don't really give a hoot about battery life, as long as it's not ridiculously bad. For me, buttery (pixel-like smoothness) is what I want from my phone. If I wanted great battery life I'd buy a nokia :).

Also, yesterday, I turned on "profile gpu rendering" in dev options and tested various scenarios to see impact on dropped frames. I tried "force gpu 2-d rendering" on and off, I tried various combinations of dynamic sched tune and top app sched tune with different values.

My conclusion was, for most smoothness and least dropped frames, have "force gpu rendering" in dev options disabled. Also set dynamic stune boost to 0 and top-app schedtune boost set to 20 or 30 (I've used 30) and the rest of sched tune boosts set to 0. I also have msm touchboost enabled.

I do, however, suspect that my top-app is probably remaining on the little cores (albeit at a higher frequency) but how can I tell which cores my top-app is running on?? I wish there was an easy toggle you could set that forces the top-app onto the bigger cores.

This is a screenshot of my schedtune settings...

View attachment 4525526

By the way, thanks for sharing your insights into this scheduler tuning stuff :good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
The boost duration is for Dynamic Schedtune Boost to run even if input boost freqs are zero. Since [MENTION=4684315]flar2[/MENTION] disabled msm_touchboost (this is another boosting mechanism controlled by the ROM instead of the kernel), it makes some sense to compensate by increasing the input boost duration for Dynamic Schedtune Boost

Thanks :). Just realised [MENTION=4684315]flar2[/MENTION] realised a dope update for the Boost section of Ex KM!

Personally I like performance too, and still keep msm_touchboost enabled. msm_touchboost makes it possible for some intelligent frequency boosting during flings and app launches.

Wow setting 30 on your regular top-app schedtune boost is quite extreme. You can verify that top-app tasks are running on big cluster via several means:

1. Systrace tool: A bit technical to use it, but if you know how you can capture a trace and observe more task placements on the Big cores. This is the surest way to know.

2. Play Youtube videos / Music with CPUFloat app running. You should see quite a lot of higher frequencies on the Big clusters in CPUFloat. You could also reset the frequency history stats in Ex Kernel Manager, run Youtube for 10 minutes or so and then check the frequency history stats for Big cluster (capture a screenshot of this for reference). Then you can reduce top-app schedtune boost to zero, reset frequency history stats and repeat the same test. Then compare the screenshots of Big cluster frequency history. You should see more time spent at higher frequencies on the Big cluster if you have set top-app to 30.

P.S yes there does exist a toggle that forces tasks onto the big cluster, but that includes non-top-app tasks as well. However, setting a top-app schedtune boost value of more than zero should already cause top-app tasks to favor big cluster
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] stefal639:
Hi, nice to see ElementalX also for op6, after the brilliant work on op3/3t.

[MENTION=4684315]flar2[/MENTION] I would ask if it is possible to add the possibility in the audio menu to increase the step for the gain of speaker. Know is possible to semect the multiply of 3db, can you add all the steps with 1db increment?

Thanks for your work, perfect as usually.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ajaykumar21066:
OT but congrats on your op6
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
So after playing around with stune boost I thought that the frame drops would have disappeared, but again, after some time without rebooting, they are back. I attached seeing screenshots with profile GPU rendering enabled, as well as my boost settings which were present at that time.

I firmly believe this is a fault it l in oos rather than the kernel. [MENTION=6745491]joshuous[/MENTION]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
How's your memory usage? I haven't noticed any stutters since the OTA and I'm using this as my main phone now.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
It's fine I'd say, mostly around 50-60% used. I'm about to do a factory reset, this is driving me nuts :silly: Some more things to try though. Maybe my magisk modules are fooling around. But I saw exactly the same behavior when I was on complete stock 5.1.5. So I'm not expecting it to get better.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] plantator:
Any one else have problem with ex kernel manager that dont aply settings after reboot? Spadły each restart i need to ser all again
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Works for me. Something is preventing the boot service from running.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Are you using a modified rom like No Limits?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] brunsman6229:
Hi, i have one question, after apply these settings in Ex kernel manager, can i close the ex kernel manager application ? or i must stay it in background memory....? (because android say it suck battery...) Can i close the application after enter my boost settings...?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] B3501:
I had the stuttering on 5.1.5 also but since 5.1.6 haven't noticed it again.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
there are not many if much more than you and 2-3 others who have this issue.

in such cases i recommend to search the culprit on your side with an app or whatever usecase.

not even in this thread where everyone with such a problem would look for a solution first, the "echo" is quit overseeable, means not much feedback

to your issue and for sure i've never had such a thing.

in case that i missed it, did you post logs and describe the use case (situation) what you're doing when it happens?

without log, bugs didn't happen, think you heard that already while as mentione before, i might have missed it.

---------- Post added at 09:16 PM ---------- Previous post was at 09:11 PM ----------

same like above, you have to narrow it down because it's something on your side, second kernel tweaking app with contradictory settings would be only one of many things that come into my mind. check your apps, freeze and try until you found it while i'd start with thinking, could be faster than trying. if nothing works, use my old but always valid troubleshooting guide to narrow things down coming from a clean install:

https://xdaforums.com/showpost.php?p=62192068&postcount=4059

the guide is not device specific, even though it was posted at that time in a device specific thread. need more input, send PM and or post logs in this thread so some people including yourself can go and look what exactly prevents settings to be applied on boot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] snickerpop:
Is their any research into what high brightness mode can do to the phone damage wise. I have it installed/purchased, but I am not sure if leaving it on to long will lead to something.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
i recommend to search the forum and google for:

- HBM

- high brightness mode

- flar2

or simply read a few pages of this thread and you will get answers in abundance

perhaps add this post to the reading list as well : https://xdaforums.com/oneplus-6/development/temp-t3774510

to comply with forum etiquette here is the answer to your question: YES
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
I took a really big log already with OnePlus logkit as their support demanded me to do so. I've send it to them. I already shared the file, here's the link: https://drive.google.com/file/d/0B4aEPdA0FF18ODYzQnl4a2Rrck1HZGI0a2dPUzU5Tm04Q0JR/view?usp=drivesdk

I can also just take a logcat or dmesg, what's more suited in my case? I mean maybe it's an app, as you said, maybe it's something throttling or memory running full, there's a lot of possibilities.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
I think it will be okay. I used it a lot on my Pixel XL over the past year and a half with no problem. Also used it a lot on my Nexus 6. Previous OnePlus devices used it on stock by default, and so does Samsung. Samsung makes the panels on all these phones.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
I use stock

The battery monitor needs to stay running, if you use it. Otherwise, no. It does not need to stay in memory for any other purpose.

It doesn't use any noticeable amount of battery.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Lol my apologies. I was referring to the poster that you were answering. My bad :p

---------- Post added at 10:46 PM ---------- Previous post was at 10:43 PM ----------

Are you using any modified rom such as No Limits?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Set auto brightness on (technically called adaptive brightness)

Then, in High Brightness Mode app, make sure the "Disable auto brightness while HBM is on" option is disabled.

I've been running it like that the last day and it's working good.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Update!!!

Minor update to fix headphone gain reset. Also added a new setting for call vibration (requires EX Kernel Manager 3.57, which will be released very soon).

With this version, you shouldn't have to flash Magisk after the kernel anymore. I didn't test the no-root install scenario, but it should work. Let me know if it doesn't.

Download (OxygenOS Android 8.1.0):

ElementalX-1.05.zip

Changes:

-fix headphone digital gain reset

-add setting for call vibration

-detect root
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] apascual89:
I flashed without flashing Magisk afterwards. Root access still good.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iElvis:
Yep, it works. Just flashed and rebooted, no issues.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] BossNexusS:
Anyone care to share their Stine boost settings? What's the best settings?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Arly77:
Did you flash using the application or normally via twrp?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EmRav:
I already installed clean slate kernel. Does anyone have the stock kernel handy I can restore before flashing this?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Muntasir Mahmud Saif:
does this rom have vibration intensity control on kernel manager app??
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Blysterk:
Hey, your kernel looks awesome!!!

Is there a way for flash it via ADB?

I wouldn't to flash TWRP
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Muntasir Mahmud Saif:
just check for stock boot.img
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] JazzieBoi:
Thought so, whenever I flashed it and rebooted it just kept boot looping, so I reinstalled twrp and the boot.img and root.zip and everything. Im new to this a/b partition system, sorry if i sound like a noob lol. So I should just be able to go into twrp flash it and reboot, or do i have to reinstall magisk too?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
Good to see you on board of the op6 too. Welcome :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mitas35:
Wowwww the master is here, welcome to op6 boss happy to see you here.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mati11233:
Just flash stock boot image
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] silvercat:
Its ok u can flash it on top of it..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mati11233:
After flashing this kernel and booting device I get a pop up saying there is internal problem with the device?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Reb0rn:
+1 here
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] debatingrooster:
Starting to feel glad I moved to Oneplus! So much dev activity going on so soon ?

Is there any plan to introduce any mods to the vibration motor? Currently that's my biggest disappointment for this phone - if it can't be made stronger can patterns be changed to try and make it more noticeable?

Thanks again!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Joyarup:
It is a vendor mismatch problem, devs are working on it to fix it. Currently this problem stays in all custom kernel. Nothing to worry about as it causes nothing but that popup on boot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Muntasir Mahmud Saif:
i really also need that vibration to be fixed
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Funk Wizard:
[MENTION=4684315]flar2[/MENTION] :highfive:

Great to see you here buddy. Many thanks for your continued support for the OP Devices :good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] strikerdj2011:
finally the king is here :good::good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Interesting you say HBM makes it 10% brighter. According to brightness analysis by XDA, it's actually 48% brighter. It's in their published display analysis.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] achyut:
So you're here flar. Great. Was waiting either for you or Franco. ??
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] vrda08:
+1
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xino22:
I would like to know if you can completely disable the vibration, especially the double tap to wake up screen.

Thank you
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] TiZiO.Cover:
Just flashed it using TWRP, Rootaccess still present. :svetius:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
I am personally on:

Dynamic Stune: 11 (smooth but not performance orientated)

Top app: 1 (anything above zero pretences top app to bug cluster)

Foreground app: -10 (not on screen so don't need performance)

Background app: -30 (in background so really don't care about performance)

Hope this helps.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] brunsman6229:
Hi everybody, i have a question, why my settings in ex kernel manager are not applied when i reboot the phone...? i have missing something...?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
They apply fine for me. Something is stopping the boot service.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] brunsman6229:
ok dude, but what can stop the boot service...???????
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
There are many possibilities, Greenify, battery optimizers, etc.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] brunsman6229:
i have not greenify, just titanium backup but not freezing apps... and i just have magisk and one module for hidden call recorder.... i don't understand what is wrong... weird

---------- Post added at 03:29 PM ---------- Previous post was at 03:24 PM ----------

is there a setting in Ex kernel manager i forget...?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
even if something works sometimes, there is no reason to NOT flash magisk ALWAYS after flashing a kernel.

why?

because it's safe and always works while kind of "bragging" about saving o 10 seconds additional step will put man into trouble in the long run and i guarantee that even you and others for who it worked now, will have to go back and flash magisk.

it's like not using a blinker while driving and changing lanes or direction, it works thousands of times but once you will crash and pay for it. hence nobody would brag that he got away without using the blinker for a few years. it's not a responsible approach, especially towards those who are not privy with proper troubleshooting which as per experience is still a majority.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Flying Fox:
But now we are talking about the awesome update of this kernel. Thanks [MENTION=4684315]flar2[/MENTION]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] azsl1326:
Flashed 1.0.5 and rebooted with root still present. Thanks!

I understand that KCAL is different with this phone compared to the 5t. Are you considering trying to implement KCAL into your kernel?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iElvis:
Uh . . . this is a development thread. The developer rolled out a new feature and asked us to test it and report back:

I'm not sure what prompted your response, but it's inappropriate for the development section.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Flying Fox:
And the update of the EX Kernel Manager is also online. Great! The speed of development just bricked my mind. luckily everything else works fine.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
I have not looked into it myself, but [MENTION=3088420]tbalden[/MENTION] has started working on it. A search through the kernel code shows there are functions related to color processing, but it's completely different than previous devices and the display driver is fairly complex.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tbalden:
planned to fire up the RGB part yesterday but kids on summer vacation now, so plan got crossed out. Maybe tonight :good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] JedixJarf:
We don't have a hard unbrick for brains yet.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
[MENTION=4684315]flar2[/MENTION] just adding my 2 cents that update flashed for me without needing to flash Magisk. Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
Is msm touch boost giving any benefits to performance when stune is enabled? Looking at my current settings, see screenshot. Would it make sense here to activate msm touch boost, maybe in addition to lower boost milliseconds?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
Sorry, forgot to actually add the screenshot, lol.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
I would leave touchboost enabled if you have any stutters at all. It will still work with dynamic stune enabled and will give boosts in situations that stune will not.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MBurns2:
Why do you have schedtune.boost to 5?

Ty
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Lownita:
Please read these posts by josh, they will answer it for you:

https://xdaforums.com/showpost.php?p=73634358&postcount=211

https://xdaforums.com/showpost.php?p=76799484&postcount=349
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] lollyjay:
Deleted