yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Great logs. They show us the cause of your reboots but I would have to dig more to see WHAT exactly happened. Thanks for getting the, for us. I have not had a single issue with regards to V1.7.0.

Had you made any changes to the default kernel settings? What rom are you on? can you provide any other information that you think might be useful? It looks like there is an issue with idling, are you using anything to mod how the phone idles? Naptime or greenify?

Thanks again for your assistance!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
No problem man, I'm glad to help if possible :) So I hope I won't forget anything, but I try to list everything which could be helpful, so here we go. I'm on full stock Rom (4.5.13). This time the reboots happened, I just modified my start screen of Nova Launcher, nothing more. (The time today of which I don't have logs unfortunately, I played a game, then the game closed, I tried to open it again, it opened, closed again, and the phone randomly rebooted.) So, then I'm running Magisk, with the Enable Doze for Play services and the Extend Wifi channels modules. I also installed a modified mixer_paths_tasha.xml (for biQuads support; but this ran without issues on the HTC 10) and a modified WCNSS_qcom_cfg.ini for channel bonding on 2.4GHz channel. Then I have JOnePlus Tools installed and disabled some autostarts of apps and enabled strict standby by the help of this app. Then, I have ForceDoze installed, but I haven't activated the ForceDoze service, I only changed some Doze settings (mainly with these values [which I was also running on my 10 before]). I don't use Greenify, and yes, I have my own kernel settings, which you can find here: (currently either my battery or my balanced profile). Ah and I have AppOps installed, mainly to block some Play Services permissions. Ok, I think that's it. Should I remove some of the mods to try it then? If I can do something or help something, just tell me :)

Edit: Ah and I flashed the sdcard Fix Permissions script by osm0sis.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
I was also facing similar issue but the difference was that when I was upgrading from 1.6.0 to 1.7.0 I did my normal flash of flashing stock oos then magisk then 1.7.0, my device was not booting and was vibrating at regular intervals.The only way I was able to boot my device was to flash the stock recovery then system data.I encountered this issue again when I tried to flash the kernel but the only difference was that my phone was connected to the computer and when the vibration started my computer detected my phone .my phone was showing the boot animation.

P.S : sorry for my terrible English and the second try was a clean flash.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Looking in the logs, there are alot of weird errors and such that don't happen on a clean flash or ramdisk. I am pretty sure that the issue is due to one of the scripts you are using one thing I noticed is that setting cpusets fails for you. 8 this k there is a compatibility issue with three soilworks script and the op5-eas implementation. That's the only thing that jumps out to me.

Most likely it was just the clean flash that resolved your issue

I have probably flashed own kernel maybe 200+ times testing different things here and there and I have not ran into such a problem. But then again, I don't use any special scripting. I don't use any app to give me better deeps keep, I don't use anything other than the kernel I make with [MENTION=6745491]joshuous[/MENTION]

Still, if you guys have issues definitely report them here so we can debug and fund out what the cause was. It also helps us out tremendously with the dev process. Thanks guys for the reports!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
Well actually it didn't solve the issue Because in the second try my phone booted up but when I rebooted my phone it was in boot loop .so I tried to flash again but this time I flashed the kernel first and then the magisk and everything thing is working fine now and not facing any issue.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
Ok, thank you :) It's just strange, cause my scripts only run once after reboot.:confused: So it seems I have to look again at them and I can keep the other modifications then ;)

Edit: I'm looking through the logs now as well and there are really weird things....Some init related things. Something tries to write values in files which aren't there...but these are not my scripts :D Weird.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Thanks for clarifying
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] char101:
A note about led speed control in this rom, the default for led on time is 1.4 seconds and off for 2 seconds. For speed of 2-20, the on/off time is the default value divided by the speed value, e.g. for speed = 2, on time is 0.7 second and off time is 1 second.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Hi, this is a kernel. We don't have led speed control
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] halkoliiteri:
Yes you have :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Weird, maybe it's a stock kernel thing
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
We've been able to modify the LED settings with every custom Kernel using those settings... At least I have
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] halkoliiteri:
SimpleGX didn't have this function when I tried it last time. Maybe 1.12 or something was the version. So it need something from kernel-side :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
There seems to be a problem with the latest update. I have almost used all version before and never had this problem. The phone got stuck on reboot with Black screen and Blue Led constantly ON. No tweaks, just stock Rom and EXKM. I was planning to tweak the DSB but for now i was just running on stock settings.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] :
I've got the same problem after i changed the value of dynamic stune boost but for now i'm using the kernel right out of the box
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] char101:
It's part of boeffla's led control patch [emoji16].

---------- Post added at 09:07 PM ---------- Previous post was at 08:56 PM ----------

I have experienced the same thing after installing a lot of Xposed modules, before version 1.7.0 of this kernel was released. After restart, the phone was stuck with black screen and blue led. I don't remember what kernel I used though.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
It was Boeffla's LED control we added forever ago lol. We have since moved on to other things, lol.

With as many test builds as I have flashed and never had ran into such an issue, I have an issue with this statement. Are you using any custom settings in EXKM? What did it take to get booting? Are you currently booting with V1.7.0? If you can provide any other information, I would be grateful. I appreciate the report!

Like you set a different value to set "on bootup" in EXKM? Thanks for the report!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Hey guys!

I am still doing a crap ton of testing but I am happy to report that with our latest test builds, YouTube is playing 60FPS videos without issue now. I am continuing to test to make sure its gone for good but so far, its been great.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] gunswordx:
Just what i was waiting to hear :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] PeteT:
Great news ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] zacharias.maladroit:
[MENTION=5438598]RenderBroken[/MENTION]

Impressive kernel and you're doing kernel dev the way it's meant to be done™ (namely: via feature branches)

Great stuff !

(I've no OP5 but I'm always curious what is up feature-wise on the bleeding edge devices :) )
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mcduffie2010:
You were my to go developer on my Sony. Great to see you here
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Ankit Kabeer:
Can anyone post the screenshots of their setup with pixel 2 settings.this is my current setup but I don't know if it's right or not.

With this setup my battery life is great but still I think I have set it up wrong.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
There is input boost of around 1100MHz for both clusters too. My active drain has increased between 1-2% but smoothness has much improved
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] evanxyj:
I can't have input frequency set on boot after a normal reboot, even though I set it on boot, and my other set-on-boot operations survived. Why?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
What are you using to change the settings?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] evanxyj:
EXKM. And I even dirty flashed stock ROM.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Did you enable the power-looking symbol next to the tweaks? It should turn blue when you enable it
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
Did you check if EXKM is not being battery optimised?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] evanxyj:
Yes, sure I am:cyclops:

I set custom DSB and fling milliseconds and others. All survived from normal reboot.

---------- Post added at 02:12 PM ---------- Previous post was at 02:05 PM ----------

Yes, I removed it from the optimised list.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
So is the problem resolved?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] evanxyj:
Kind of. I installed KA ,and then CPU frequency survived a normal reboot. And I kept EXKM to set custom DSB and other values. I hope the two applications won't fight with each other to bomb my phone, am I right:angel::angel::angel:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] :
That's all ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
What about the top-app boost? Did you set it to 0 or something else???
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Mine is at 10
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Stune boost of 10

Dynamic stune boost of 50
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
Hmm i see. And 1036 for small cluster and 1056 for the big with 1400 ms? With those settings i can imagine smoothness to be unrivaled but what's your battery drain increase like?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
1-2% increase in active drain rate per hour.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
1) How do you set the fling milliseconds? The only input i find is input boost milliseconds which i set to 1400ms to be like pixel.

2) Where is the fling duration? Or is it the same as input boost milliseconds?

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

Just to be certain about pixel settings.

1) dynamic stune 50

2) stune boost - top app 10

3) input boost milliseconds 1400

4) input boost frequencies 1036 for small cluster, 1056 for big cluster

5) can't seem to find how to tweak boost duration for flings ( you said that it can reach 5650ms for flings)

6) anything else??? ( Sorry for the long post and thank you for awesome kernel)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Sorry, touch and fling are the same here. To have separate boost durations for the two, we'll need to use Power HAL boosting instead. This is something that I've done on the OP3 with the Vox Power HAL. There are plans in the works to package and port this Power HAL over to OOS, but not anytime too soon I think
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] chobztopz:
Hi, any others feels that activate hotspot on this kernel draining battery a lot more compared to other kernels? using stock oos 4.5.13.

beside that.. everything is great!

Love your work!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
Not sure if the devs can reproduce, but it seems running Spotify with Bluetooth headphones (screen turned off) caused the big cores to run at full frequency, 2.4Ghz.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] doki81:
which rom are you on? i just tested mine with jabra elite sport...not sure if it count as headphone :P but i dont see the big core running at full speed....
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
Maybe just on my end. I used Jabra Rox headphones. NoLimits 4.0, with stock 1.7 kernel.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
If you're using stock kernel, why do you report the issue here? :0
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] obol2:
will touchboost increase battery drain?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Spencervb256:
You sure he doesn't mean render zenith 1.7.0 stock settings?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ipredatorv:
I meant stock RenderZenith 1.7.0 settings (as in no user changes).
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
But not stock oos. He is using custom rom that's based on oos.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Ankit Kabeer:
My top app value is stuck at 50 and I am unable to set it to 10 any suggestions?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
It appears to be stuck because it's being boosted when you touch the screen. As I said in my original post, just enter a value and save. It will apply by itself correctly. If in doubt, connect your phone to your computer and enter adb shell. Then type:

cat /dev/stune/top-app/schedtune.boost
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
1) For some unknown reason, the frequency boost values fail to survive a reboot with exkm. While dynamic stune boost, frequency duration etc is saved and applied automatically during reboot input boost frequencies don't. Any idea? I'm full stock OOS nothing changed whatsoever. (Also I've set EXKM to not be optimised)

2) One more suggestion. Why don't you allow put a switch so that we can disable fsync? I remember you did so in the past in VertexOS but not here. It gives a slight bump in performance without being risky as a change.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
Unoptimise exkm
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Ankit Kabeer:
He did that already
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
If you pay closer attention to my post you will see that i've already set to not be optimised
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Guys you don't even need to unoptimize Ex Km. I have no idea why you are having issues with tunables being set. Did you wait at least a few minutes after booting to allow Ex Km to set it?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] evanxyj:
Won't work. It just cont survive a normal reboot.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] char101:
Instead of using EXKM you can modify ramdisk/init.qcom.power.rc inside the kernel zip and reflash the kernel. Make sure to disable any other kernel modifier like Kernel Aditour. For example here is what I use. I don't notice any significant difference from the stock settings though since the processor is fast.

--- a/init.qcom.power.rc
+++ b/init.qcom.power.rc
@@ -22,7 +22,7 @@ on boot
# set default schedTune value for foreground/top-app (only affects EAS)
write /dev/stune/foreground/schedtune.prefer_idle 1
write /dev/stune/top-app/schedtune.prefer_idle 1
- write /dev/stune/top-app/schedtune.boost 1
+ write /dev/stune/top-app/schedtune.boost 25

on enable-low-power
# Enable Adaptive LMK
@@ -52,8 +52,9 @@ on enable-low-power
write /sys/module/msm_thermal/core_control/enabled 1

# Enable input boost configuration
- #write /sys/module/cpu_boost/parameters/input_boost_freq "0:1171200"
- write /sys/module/cpu_boost/parameters/input_boost_ms 1000
+ # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
+ write /sys/module/cpu_boost/parameters/input_boost_freq "0:1036800 1:0 2:0 3:0 4:1056000 5:0 6:0 7:0"
+ write /sys/module/cpu_boost/parameters/input_boost_ms 2000

# VM tuning
write /proc/sys/vm/dirty_background_ratio 20
@@ -73,7 +74,7 @@ on enable-low-power
write /dev/cpuset/system-background/cpus 0-3

# Enable Dynamic Stune Boost
- write /sys/module/cpu_boost/parameters/dynamic_stune_boost 15
+ write /sys/module/cpu_boost/parameters/dynamic_stune_boost 50

# end boot time fs tune
write /sys/block/sda/queue/read_ahead_kb 512
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] chobztopz:
can't use init.d script for this?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
What??? Support for Init.d scripts is determined by the ROM you are using....not the Kernel. RenderZenith (this thread) is a Kernel thread
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
Simply amazing!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prajnay:
Stock settings?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
No, my own Soilwork balanced profile found in the AKT thread.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Gotta admit....This Kernel is beastly....I'm using your SoilWork Battery profile with some slight tweaks (considering the latest RenderZenith version notes).....I get fantastic performance and battery life very similar to yours
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] mcduffie2010:
What Rom are you using?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
Stock OOS Rom.

---------- Post added at 14:53 ---------- Previous post was at 14:52 ----------

Updates are going to come to match newest changes ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] maddes1402:
I hope it's ok for [MENTION=5438598]RenderBroken[/MENTION] and [MENTION=6745491]joshuous[/MENTION] to ask this here instead of the AKT thread. I had deleted the exm app data before running the script. Nevertheless should I delete all schedtune and stune boost values again? I'm not sure if these are your settings or my older ones. It's too long ago since I played around with it and I can't remember. :D

Thanks
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
A little bit of OT is ok.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
No, I think it should be ok. At least if you haven't applied anything on boot in EXKM.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] maddes1402:
Thank you. In general I have to admit that I love the vibe in this thread. No questions that has been answered for several times, really interesting discussions where you learn a lot and two devs who bring innovative and new stuff for this device. :svetius:

Btw I forgot "my" settings where I don't know if they are from soilwork or not
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] flint777:
Delete*
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RogerF81:
No, this isn't my Soilwork profile ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] flint777:
I dunno how u guys get Schedtune boost top-up to stick to 10...For me, it always revert back to 50 immediately
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
you need to go back a couple pages and your problem is answered.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] maddes1402:
OK, had been surprised if these pretty aggressive settings would be yours :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Just curious, what do you think is aggressive?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Hehehe.....Here comes a DragonBall Z meme....Over 10,000!!!!

(Isn't the Pixel 2 set at 50?)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] chobztopz:
oh, sorry, i thought can use univ. initd script, or KAM also can activate initd. i dont know if this thread is so strict. Sorry once again if I break the rules here.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] flint777:
I did and I found only one explanation. Which is that dynamic stun boost (set at 50) will most likely override top - app Schedtune boost. Please, What did I miss?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Actually I pretty much think most of the EAS-based kernel threads are quite informative and convenient to read through. I particularly enjoyed going through Freak07's thread ever since it popped up. And should you have any queries concerning AKT, Rog and I are here to help :angel:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
In that, when you go into top-app/schedtune.boost and set the value to whatever value and save it, the next time you open it, it will show you what ever value you have set in dynamic stune as that is overridding what you have set in top-app/schedtune.boost. The main reason for setting the value there is for when dynamic stune is not boosting thus reverting the value to whatever is originally set in top-app/schedtune.boost. I know its rather confusing but I would just leave the top-app/schedtune.boost value as default and just changes dyn stune to your liking.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Right let us say it one more time, and hopefully that is the last time. Dynamic schedtune.boost will override the top-app schedtune.boost whenever you touch the screen, but after the boost duration is over, the top-app schedtune.boost value gets reverted to whatever you set it to earlier. If you are so worried, then connect your phone to your computer and type

adb shell cat /dev/stune/top-app/schedtune.boost

And the value should pop up on your computer's terminal screen. Or even easier, go to EXKM and disable CPU Input Boost and then check the value of top-app schedtune boost afterwards.

Now let us not get to that point again, or else drastic actions will be taken. This is not particularly directed to you, rather anyone who fails to search for an answer to his question before coming here and waste some space of this dignified noble thread.

Now get back to your phones and have some EAS joy. :good:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] flint777:
Thank you for the explanation. Very much appreciated.

---------- Post added at 10:00 PM ---------- Previous post was at 09:48 PM ----------

As you can read my post, , I actually looked for the explanation before posting this and I did found out the whole overriding thing with dynamic stune boost and etc. So I actually did the research before asking a question........ However, it was still confusing because some people would post pictures of their set up in this thread with top-app Schedtune boost showing 10. And it wouldn't show this way for me. But the clarifications from RenderBroken and him advising me to leave it stock is what I needed to hear I guess. Neways I'm sorry for bothering you guys and no you don't need to take drastic actions against me. I like this kernel and I like this thread.

I'm actually About to try some of your work next! AKT soilwork balance profile !!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Mostafa Wael:
Sorry if it came out a bit harsh from me, but I think you can tell the reason of my anger flow in the past post of mine. Cheers!