yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reawo:
cleared app data of what? and what is DevCheck? =)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] nathanchance:
Cleared the app data of DevCheck.

http://lmgtfy.com/?q=devcheck
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
All better again :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Using these same settings. I'm using iytpb. Still sync is not okay for YouTube. + Shuttering i think only with this video. Just watch for 1 minute if u could. [youtube]YdbyUb442iY[/youtube].

Will check more and report later. You would see shutter around 29 seconds and happens many times. In the video. Audio video doesn't match.

Edited: i think it is shuttering in all 1080 and 720 60fps videos many times.

Sorry, after reboot i don't have any issue. Will report if it happens agains.

Happening again now. Only with 60fps
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Logs for YouTube Shuttering and video audio syncing issue
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
IDK what's up with the idle drain.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
You have better battery stats or similar installed? Check partial wakelocks, something is keeping your device awake.. also let it settle for some time if you flashed new ROM or something and rebooted it sometimes goes wild for a while (ie. Media scanner, Google play Services etc.)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
The uptime is way too short, and you should provide logs of some form
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Maybe you forget to close down regents or you were listening to music. Drain battery more you then you can see.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] PeteT:
I have just upgraded to 4.5.11 and I am using RZ1.5 I now have vo-wifi. This is the first time I've had it working with RenderZenith :)

Thank you for your hard work ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
I don't think we did anything intentionally to fix it, but enjoy!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] GjorgiDxc:
anyone have any idea why changes are not sticking after reboot i EXKM? I edited Input boost, Dynamic Stune Boost, Top App Schedtune Boost, blocked the wakelocks and turned vibration to 60%. After a reboot nothing sticks .. I never had this issue with other kernels tho. I'm also on 4.5.11 stock OOS running Magisk 14.2 and nothing else. Also no Naptime, Greenify etc. Sounds like it could be something with EXKM, but I thought reporting it here first, also if there is necessity for any logs, just tell me.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
Did you make sure EXKM is "Not Optimised" in your Android battery settings?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Edit: Nevermind (misunderstood the issue).
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] GjorgiDxc:
Changed it to "Not Optimized" and settings are sticking just fine now, thanks!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ask77:
Just put the EXKM app under don't optimize list in the battery optimization settings .

Settings - Battery - Battery optimization - EX kennel manager . Select don't optmize.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Might be Magisk. I'm on 14.0 with no issues
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Revisiting this question on implementing a generic user-defined wakelock blocker.

I've looked through the code. My sensing is that this is insecure design. Being able to specify any wakelock you want to block is like giving someone the master key to access every room in an apartment, instead of his own rooms only. In comparison, Franco's wakelock blocker only allows you to block a predefined list of wakelocks, and nothing more that could disrupt your system critically. Although I don't expect an intruder to exploit it, I'm not keen to introduce a security loophole for the sake of functionality.

Anyone can feel free to correct me if I'm incorrect
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
I am playing with it on U11 and my fillings are mixed.. it is fun experience and experiment as I can block ie. notification led / bln and make it stop working, but it seems it is calling for trouble for normal users.

On the other hand, it is pretty well "warned about what could go wrong" in EXKM and actually (now nitpicking about wording) only the actual kernel wakelocks show there and can be blocked so it is not any wakelock, but any kernel wakelock that is there in that moment at your device (at least it works that way on U11 EAS kernel).

I am wakelock hater and block most of them if not all (that are there in RZ), but have mixed feelings about generic wakelocks blocker vs. end user experience.

Just my 2 cents.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] nathanchance:
Giving the user full control over anything is obviously a double edged sword but I don't really see this as a security vulnerability. If your phone is compromised to the point where an attacker could write to a sysfs path, you're in more trouble than having your wakelocks disrupted (disabled SELinux for example). EXKM only shows the safe wakelocks by default, most wakelocks are hidden (and shouldn't be disabled). I just got sick of adding wakelocks to the list so it's perfect for me :p
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] marko94:
So ,safe is only to disable wakelocks visible in exkm, kernel adiutor etc ? It would be great to have a list which one is safe which one not ( for better battery and safety ) :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
RenderZenith for OOS-N: V1.6.0 is here!!!

Things to note:

Updated to latest OOS kernel source

Updated LPM and Timer source

RenderZenith-OP5-OOS-N-EAS-V1.6.0.zip

Changelog
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] reawo:
personally I won't mind having to sacrifice some security to get more control over my device - but I can also live without the wakelock blocking feature

it's up to you guys since it's your kernel
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
For me, I worry about the users that will disable odd wakelocks and report issues. I can generally debug kernel issues that users have but wakelock issues would be really hard to work out and I don't feel like having users send me the list of all their blocked wakelocks. I guess we could implement a rule that states that if you change any wakelocks, we won't help debug issues.

Without a guide for people to use, it will be hard to know what is safe and what is not. Honestly, I don't ever block any wakelocks and still get perfectly fine battery life. I don't use greenify or naptime and I have no issues with deepsleep. For me, I see what Google is trying to do and I feel like we are throwing a wrench in the machine sometimes and causing more issues than solving.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ScRuFFy7:
Wakelocks have a bad rap but what most people don't understand is that wakelocks are not bad but misbehaving ones are. Usually the problem is the fault of an app. Most get updated and fixed quite quickly these days, however, if a wakelock problem isn't fixed by the developer in a timely manner people should seriously reconsider using the app. I don't care how big or popular the app is if they don't fix it, don't use it. There are lots of alternatives out there.

Here's a nice little XDA YouTube video on wakelocks.

[youtube]fG8tghj0AYM[/youtube]
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
+1...Since the past 2 months, i have been playing with the wakelocks and i really dont see any real advantage of blocking. People more often overlook the apps that they have installed which are the biggest culprits for the wakelocks. I dont use any greenify or Naptime and w/o blocking wakelocs or disabling WiFi or putting the device in Airplane mode during night's i can easily achieve b/w .3% - .5% per hour idle rate.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Yep well said. Wakelocks per se are important and are one of Google's core additions on top of the Linux kernel (besides Binder and their out of memory killer).

There are cases where blocking wakelocks can actually cause apps/kernel processes to misbehave and increase battery drain instead.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
What is LPM and time source? Cheers
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Low Power Mode (ie: IDLE State management for cores and such) and kernel timer.

For more in depth info on the changes made, check the change log. You can see exactly what was done.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Right an alternative configuration for better efficiency while having smooth enough UI:

/dev/stune/top-app/schedtune.boost = 3

/sys/module/cpu-boost/parameters/dynamic_stune_boost = 17 (feel free to bump it up for smoother UI if you like)

input boost frequencies: 0 MHz for all clusters

input boost duration: 1500 ms

rest is left as is.

This should provide ample smoothness while not butchering the battery.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] thedao:
Is anybody else getting stuttering on iytb 60 fps? I'm on XXX ROM and using Renderkernel 1.6
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
Nope
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] thedao:
Okay weird, because I'm still having YouTube stuttering
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] GjorgiDxc:
I just now tested and it seems I'm getting stuttering too. I'm on stock OOS with RZ 1.6.0.

These are the only tweaked settings:

Input boost : 1171mhz @ 1200ms

Stune Boost : 23

Top App Schedtune Boost : 5

I'll attach a logcat too. I also wanna test if the same happens in the stock YT app.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
i had the issue and provided the required logs earlier. There isn't that much to do I think. However, such issue has been cured by Freak07 via rebasing his own kernel for the HTC U11 on CAF sources. I imagine this is hugely burdensome for [MENTION=6745491]joshuous[/MENTION] and [MENTION=5438598]RenderBroken[/MENTION] :rolleyes:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] PeteT:
I also get stuttering but I've dropped the quality down to 480 so it doesn't use 60fps and it seems to work fine. Ideally I would like to use 1080 60fps.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
What bugs me the most is, this issue happens too randomly that for an instance Joshuous and I thought the issue was fixed when OOS 4.5.11-12 was released...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
What is the best setting for battery life which you guys recommend.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Methroix:
These settings posted by [MENTION=5060769]Mostafa Wael[/MENTION] should give you ample battery life.

I've run schedtune.boost=5 and dynamic_stune_boost=20 for a while now with good battery life, but although the phone was quite snappy it never really felt as smooth as it should.

Right now I'm trying out the settings above, but with Input Boost = 748MHz for LITTLE cluster, which for me makes for a lot smoother UI.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Mine is also shuttering but only for 60 fps. Don't understand why it happens.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] SM@SH3R:
I've just flashed v1.6.0 and apps are seemingly taking a tad bit longer to minimise which is kinda irritating.

Is there any fix available for this issue?

EDIT: Found the fix! I'm not sure now if it's anyhow related to the kernal but here it goes, I just disabled home button long press shortcut and it's all good now but this wasn't the case on stock kernel.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] thanhmyca:
Los lateros maybeos...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
We just have to see how things settle down once we get official Oreo. I want to make sure LOS isnt going to be changing their base kernel after getting official Oreo source. IF so, then I will just wait for them to setup their base and go from there.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Would be good. I think once you guys get LOS kernel set up, it may branch out with other Devs to AOSP as well.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
What's the difference between sched and schedutil?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
Schedutil is better.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
They're sort of nearly the same in that they are scheduler-driven. Sched was designed mainly for Android. Schedutil was designed for Linux, but can work on Android too with a few patchset. So they decided to use Schedutil and follow the Linux upstream as closely as possible.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
So sched and schedutil should perform similarly.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
Works like a charm on 4.5.13 .
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Freak07:
Edit
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
It's quite false really. Trace the source code and see. Schedutil IS DVFS. Anything that changes your CPU frequency will adjust the voltage as well via cpufreq driver. They way the two of these schedulers work is nearly identical in practice. The reason Schedutil appeared snappier was because the default rate_limits were so low compared to Sched's standard rate limits. Both governors use a linear formula to calculate the next freq, with minor differences. So they're both quick to scale the freqs
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Given similar tunables, sort of. But there are some intricate differences that probably isn't worth mentioning without going deeper into the code
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] SlyUK:
Must be flying even faster than on Stock OOS !!!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
Yeah its really good. As smooth as on stock. Lets see how the battery performs.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
I don't think it is as smooth as stock. Not minute lags but not that smooth either as compared to stock. But seems very promising.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
What do you mean by Not minute Lags? Haven't seen that before.

Also with Stock kernel, they use the powerhal+perfd to boost other resources during input. like gpu boosting, memory bandwidth, etc. We do not.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Ofthecats:
Why not boost memory bandwidth?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
I wanted to just say that i didn't feel its as smooth as stock kernel. Maybe it shutters or very little lag in RARE cases. Sorry i dont have much knowledge about kernel stuff. There is not a single issue. Test build is as stable as a stable build can get. Didn't face any random reboots as someone reported. Thanks for the great work. Battery testing would take time too early to comment. Okay i get your point. Sorry if my previous comment was wrong. I will delete it if u want.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
I cant. . . yet.

The Stock powerhal and perfd binary are only compatible with HMP/QCOM (stock) kernel. EAS has to remove a large amount of HMP/QCOM to make EAS work.

No worries, I just wanted to make sure I wasnt missing something. No need to delete your comment.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] turbotorsten:
So General OP5 Problem, I own an Asus router with 2,4 & 5 GHz [MENTION=4720562]100Mbps[/MENTION]. Now, with 5 GHz my wifi is insanely fast, and with 2,4 very slow. I guess that has to do with missing channel bonding? Using the magisk module makes your phone crash, is there a way to help out?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
RenderZenith for OOS-N-EAS: v1.1.1 is here!!!

Things to note:

EAS Updates

Binder Updates

Rolled back WLAN to 5.7 (Should fix reboots, wifi dropouts during suspend)

Many small improvements and fixes.

Download Mirror

Attached at the bottom of this post as well.

Changelog
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
LOS?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] caki25:
Los lateros maybeos...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] woundman:
This update feels much smoother and faster than T7. Placebo effect? What would be causing the improved performance?

So far, I'm noticing a very nice battery improvement. Especially during calls and YouTube.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] rav101:
I don't think so at this point but I have no connection to the Dev, just what I'm interpreting.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] arrrgh:
Updated again and no problems so far, I didn't get reboots/crashes with the first version either so this kernel is looking really good.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] stoyanovvitalii:
Just installed the latest version, it works very quickly, feeling that in the performance mode. Let's see how it will be with power consumption.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Whoopsie. Lol thanks for the heads up!

A large number of things are different. It's based on a completely new bringup from scratch source. Each iteration will get better and better. Though right ow we are nearly there. Just small fix ups here and there.

Good guess!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Unfortunately good guess :(
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Definitely NOT an LOS kernel yet........

P.S. Nice to see you here Mostafa! Now get cracking on OP5 AKT! *Whip* ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
In fact, i am actually going to start working on AKT pretty soon, perhaps tomorrow or something. Just giving this latest kernel a spin, and i can already tell it is noticeably smoother than the stock kernel in a lot of areas in terms of smoothness. Things like the notification panel dropdown and the quick settings panel swipe are rendered much smoother now. The launcher is also suffering from less frame rate drops, though it is still not entirely smooth. I guess this is something that's more related to the launcher itself and how optimised it is for the OP5. Haven't tested app launches yet, but from the benchmarks i can tell there is a substantial improvement indeed, and from the on-screen GPU profiling tool i can safely say it is smoother.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Ofthecats:
What values am I supposed to have for CPU boost?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Freak07:
Thanks. I stand corrected :)

I will do. Just copied that over from an old thread but next time I won’t post it thoughtless. :svetius: sorry didn’t want to spread false information
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
For some reason I wasn't notified of the quote/mention :angel:

Thanks [MENTION=6745491]joshuous[/MENTION] for getting my back perfectly. [MENTION=3428502]Freak07[/MENTION] I was quite wrong at the time, I am afraid. After going through all the docs, I came to the same conclusion of Joshuous a while ago. Haven't noticed that you have referred to my misleading write-up on your thread's OP. All things considered, I suggest you should clear away that dated explanation from your thread [MENTION=3428502]Freak07[/MENTION]

IIRC the difference between sched and schedutil's tunables is that, sched's throttle settings are the duration from the last frequency change, where schedutil's settings are the duration from the last utilisation [change] request. I am yet to uncover the whole governor algorithm.

And of course, I am deeply sorry for my potentially misleading info. And I am grateful that [MENTION=6745491]joshuous[/MENTION] has got my back perfectly well now.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Freak07:
Already removed it :svetius:

I should have looked more carefully over what pasted there. Sorry for the trouble everyone.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Fascinating, sorry for the misleading information. Good luck with your kernel!

---------- Post added at 09:13 PM ---------- Previous post was at 09:08 PM ----------

I am the one who shall be sorry :angel:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Has developer found the reason of YouTube shuttering when playing 60 fps videos?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
I am not facing any issue with 60fos video
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
YouTube 720 and 1080p 60 fps
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
That issue is very random for some reason I was facing it a few days back but after updating the YouTube app I have faced it only once and only for 1-2 sec.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
Is this normal? (I mean espacially the exceptional high CPU awake time of the kernel)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
I'm probably wrong, but didn't you listen to music for 1h52min in the background? That might explain a portion of it?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
No you're right and yes I agree. But what about the other 7 hours? :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
Ha, I read the Screenshot wrong. Damn, something prevents your phone from dozing, but it seems not to be a wake lock issue. Are you running any apps like Greenify, Naptime or ForceDoze which could interfere? If you don't find out what's preventing the sleep, you could try to force it with Naptime. Could your AKT Soilwork profile somehow interfere with doze or the doze downclock of the CPU?

You could always try to wipe dalvik+cache in recovery and see if it helps.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
I'm using ForceDoze only atm. My Soilwork profile shouldn't cause this, as this has been the first time, that I noticed such abnormal behaviour. And yes you're right, the wakelocks seems to be quite fine.

I now re-flashed Rom and kernel and now I will see how things will behave.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Sorry guys, been busy with work(s) and other things going on. I think [MENTION=6745491]joshuous[/MENTION] and I had gotten really close with our version of EAS. With the pixel 2 release, we can soon see how close we were and use the Pixel 2 source as a blueprint for out EAS work going forward. So things should be kicking into high gear very soon. Thanks for your patience and not asking for ETAs all the time. I like to think that Josh and I are part of the greatest Android community with that of RenderZenith and Vertex OS. With that, I also have a couple new projects I personally plan on. I know Josh has his own as well. We don't do this for money or for fame, we do this to learn and to teach what we know to others also interested in learning. That is what has driven me to do kernel development for so long. I have been doing this since my Galaxy S1 days and it's been an amazing ride so far and I only expect it to keep going.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
Thanks for your great kernel! It's really stable, good performance, great battery life! :) Two questions though [MENTION=5438598]RenderBroken[/MENTION] [MENTION=6745491]joshuous[/MENTION]: Is it possible to enable westwood TCP congestion control? And is it intended that the wq_pwer_saving feature is disabled and can't be enabled?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] SlyUK:
[MENTION=5438598]RenderBroken[/MENTION] With regards to VertexOS. Will it come to the OP 5 in Oreo 8.0 in the foreseeable future ?