yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pappschlumpf:
[MENTION=4898097]arter97[/MENTION] it's 300Hz. Patch on my git.

https://github.com/pappschlumpf/op6/commit/52043897a7c24f99be81a5342f51522e144a2fda

Gesendet von meinem ONEPLUS A6003 mit Tapatalk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
I have it fixed on my private GitHub repository. It'll be fixed with the next release.

Your fix is not the proper way to do it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] pappschlumpf:
hmm, it works, but i'll have a look to yours for sure.

Gesendet von meinem ONEPLUS A6003 mit Tapatalk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
https://github.com/arter97/android_...mmit/89de7f275c859607a34cf8de9c8ea9724490404e
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Woobhurk:
Well, I've tried it, but I got a bootloop after flashing the kernel. On OxygenOS Open Beta 14. Other kernel such as EX kernel didn't have this problem, I don't know why:crying:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
I've got the files now. Roughly one minute after unlock:

https://drive.google.com/file/d/152oP7wRUSxurdnCOxZp2HbqJ0RdDOwl3/view?usp=drivesdk

https://drive.google.com/file/d/1aCqe-89ApWk8zQZ7OPmNFjF7xWCGmw5f/view?usp=drivesdk

edit: these ones were done sooner.

https://drive.google.com/file/d/1BrJon_Ltxm5fxn22GhPvHpwkZrNsuSqh/view?usp=drivesdk

https://drive.google.com/file/d/1vXDcVP9CqP4AQD-ZvZvacbRILPbBwWuX/view?usp=drivesdk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Astrubale:
[MENTION=4898097]arter97[/MENTION] r9b4 is fully working on Lineage 16.0
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] freshgiammi:
I'm getting some weird behavior with Spotify's now playing new UI.

It takes like 15 seconds to show up and apparently does not happen when I'm running the stock kernel. I'll leave logcat and dmesg here: the latter looks quite interesting and shows up every time I tap to open the now playing UI.

Logcat: https://pastebin.com/VEumEtML

Dmesg: https://pastebin.com/UdZx7BWq
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
I too am getting the same.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Thanks for the log.

I was actually looking for a good way to reproduce this alloc_contig_range() errors, looks like new Spotify update is adequate for this.

This is the same culprit to the wakeup delay [MENTION=3262915]habylab[/MENTION] was reporting.

I'll keep you guys updated.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Thanks for the update. Appreciate the hard work!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
New r9 beta update is up.

I hope all the wake-up and memory allocation delays are gone with this release.

If all goes well, this will be marked as stable.

Thanks to [MENTION=3262915]habylab[/MENTION] for keep sending me verbose logs. I'd appreciate if everyone could follow suit.

Thanks to [MENTION=7291478]kdrag0n[/MENTION] too for tipping me the culprit commit directly.

r9b5

- Linux v4.9.165 merged

- Fixed bq27541 fuelguage driver to properly work with CONFIG_HZ != 100

(Fixes various battery-related issues such as displaying -22% on initial boot)

- Reverted a problematic memory management commit causing CMA allocation errors

- Merged LA.UM.7.8.r1-05000-SDM710.0

- Merged LA.UM.7.3.r1-06900-sdm845.0 audio kernel

- Wi-Fi drivers updated to 5.1.1.70S
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Cablespider:
[MENTION=3262915]habylab[/MENTION] has been a model tester. Great job, brother! It's nice to see this level of cooperation in this me now age.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
I've just installed this version (f2fs filesystem).

I've noticed that frequencies are very high even when I'm not doing anything.

I will attach "top", "cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq", "dmesg", "adb logcat" outputs while leaving the phone on the op launcher, untouched for over 30 seconds.

Logcat: https://pastebin.com/bJ3KwpJB

Let me know if you need anything else.

Thanks a lot for your hardwork.

P.s: I was charging my phone (slow charge)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
SensorManager: registerListenerImpl sensorName:gravity Non-wakeup,isWakeUpSensor:false,callingApp: com.airbnb.android,callingPid:9078,callingUid:10147

Airbnb is doing something stupid?

I don't think it's the kernel.

Reboot might help for you, seems like an ordinary Android's misbehavior.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
Thanks for answering that fast.

You are right about airbnb but that's not the culprit of the issue I think.

I obv already did reboot more than once.

Here you are more logs after uninstalling airbnb and then rebooting (and waiting more than 5 minutes after the reboot and leaving the phone untouched on homescreen)

Pastebin: https://pastebin.com/HaV3dfLB

The real problem is that the little cores are LOCKED at 1766Mhz 99% of the time.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
More details:

I was coming from an other kernel. This is what I've done:

1) wipe data, flashed oos + twrp, rebooted

2) flashed arter kernel, rebooted to arter twrp

3) changed data partition filesystem to f2fs, flashed f2fs_fstab zip

4) rebooted, configured and then installed magisk.

Thanks

Edit: I've rebooted many times now and I can see that freqs work as intended for some time, until they lock at 1766Mhz eventually.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Try checking with CPU-Z app for the clocks.

If you still has it locked to high frequency, I think it's some leftover from your previous setup that's incompatible with mine.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
Ok thanks, I will try.

Isn't this a clean flash? what should have I done different?

---------- Post added at 05:52 PM ---------- Previous post was at 04:59 PM ----------

CPU-Z reports normal frequencies.

I didn't have that app installed and FK reported the same frequencies of the "cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq" command so I assumed they were right.

I'm sorry about that
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Floodland:
Arter might want to contact Zach (RZ). He has been working for some time trying to fix what seems to be a Caf bug, related to TA. It would be great if you could collab to fix it. Not an easy one.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Thanks for the update! No issues now with wake up so far.

Thanks man! Happy to help.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kengrayfield:
Awesome kernel! Very smooth!

Btw, are you going to include klapse in the future?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] KJYap:
Happens to me after every update will not be able to flash xxx magisk rom. Have to clean flash everything to flash xxx with arter.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
Little question for everyone: I have noticed right now that even if I have media volume set to 0 and phone set to silent some sounds are still played.

You can test it pulling down on Twitter to update, sending a SMS message, sending a WhatsApp message.

I have never had/noticed this before

Thanks in advance
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
Is the boot image of oxygen os 9.0.4 available?

Could you link it to me.

Thanks a lot

Honestly you are not missing out anything without xxx on this kernel. I think that it can be helpful with stock oos.

If you want to be helped you should include at least the error message and logs
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
I've encountered a bug: I was trying to unlock with the fingerprint but the screen wouldn't turn on.

So I tried with the power button and it didn't work.

The Phone reacted to the key press only after 5/10 seconds.

It happened two times in a row so I decided to reboot and it hasn't occurred again yet.

First time: https://drive.google.com/file/d/1AYPUQKChnLQNurDwsfHEdj5-Zg3r1_P6/view?usp=drivesdk

Second time: https://drive.google.com/file/d/103fyZf4JJlxc0xS4Cwn174rNTlOs9JdV/view?usp=drivesdk

The second log is closer to when it actually happened so it might be easier to read. I had the terminal already opened...

Thanks a lot
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Looks like the memory issues are still present.

I'll try to narrow down some more possible culprit for r9b6.

Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
https://xdaforums.com/oneplus-6/how-to/patched-boot-image-magisk-16-7-beta-t3818853

Thank [MENTION=5385900]ManikandanGuru[/MENTION] for maintaining the thread.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
I've experienced two random reboots today.

What logs should I grab?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Use Syslog. Not sure which ones are best to send, but it gives you the option to send everything.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] supleed2:
When switching between kernels, is there a reason to go to stock kernel first? I've been doing that just in case as I read it just makes it less likely to mess up but I can't think of any reason why it would?

Was asking this mainly as I plan to switch to f2fs for data as suggested but afaik the stock kernel doesn't support f2fs, am I wrong about that? Thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Overclock96:
Can you add overclocking the GPU in the Smurf core? I play pubg and a little performance won't hurt me. I also notice some slowdowns on the floor for half a second, in other cores and in particular the smurf I did not notice this.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
Yeah its good when switching kernels.

It cleans ramdisk changes.

You don't need that when updating same kernel.

For trying f2fs I suggest you to go stock kernel first, then flash arter, go to ARTER TWRP and change /data filesystem from there.

Your name says it all
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
It's generally a good idea since many custom kernels are using AnyKernel.

But because I don't use it(at least at the moment), it doesn't matter when you want to install my kernel.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Actually it does hurt.

https://www.anandtech.com/show/13582/samsung-galaxy-note9-performance-review-snapdragon-vs-exynos/3

Mobile GPU are designed to throttle eventually on sustained load.

Overclocking GPU will bring the throttle point earlier.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] supleed2:
[MENTION=7146754]MarcoCount[/MENTION] could you briefly explain what anykernel is for? Is it wrong to say it's to prevent issues from changing the kernel by just adding on top of the installed kernel?

Quick question, since your kernel works so well even without using the stock kernel as a base, is there any reason for you to switch to anykernel in the future? Maybe OOS 10?

Thanks for the info btw :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] MarcoCount:
You misunderstood the use of AnyKernel
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] reas0n:
I switched to f2fs and compared it with ext4 using Androbench. Just wow, 130 vs 25MB/s in Random Write, and 100% better results in SQLite Insert and Delete. Now I don't understand why OnePlus don't use it by default..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
Not saying this is it, but from what I have read, it could do with encryption and security.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
I too am getting some slow wake-ups, albeit nowhere near as slow as before. Face unlock disabled.

Log below taken fairly soon after a delay.

https://drive.google.com/file/d/1Tmer7LuumOelWMGfV0SDPY9GIJgrtGkA/view?usp=drivesdk

Another one here after a similar freeze:

https://drive.google.com/file/d/1AFnzUNJJkA487NAxIlL1jhnD1YfaEX7P/view?usp=drivesdk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] return.of.octobot:
AnyKernel is used to dump the currently installed boot image and replace the contained kernel image with the custom kernel being installed, the boot image is then repacked/reflashed. The reason this lends itself to increased cross-compatibility is because it allows for a kernel image swap without needing to touch the rest of the boot image contents, including ramdisk, although AnyKernel can also be used to make ramdisk modifications during installation but requires root to do so on A/B devices (or writing to vendor partition directly, which is less than ideal). Alternatively this kernel uses execprog and the kernel source itself essentially contains an entire ramdisk replacement, the downside in this case being that forcing selinux permissive from kernel is required.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dbGHOST:
Is that possible to switch to f2fs without data loss? Last time I did this was on HTC M8, quite long time ago. Not sure how things changed after the force encryption.

I assume the following is possible:

TWRP backup /data

Format /data to f2fs, now the encryption is gone

Restore data (any problems? Since data has no encryption now)

Encrypt after booting (again, any problems?)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] reas0n:
[MENTION=6119486]liweichen6[/MENTION] actually i couldn't restore my TWRP backup, but maybe it was corrupted.. Also i'm unencrypted now
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
r9 is now marked stable.

r9b5 -> r9

r9

Linux v4.9.166 merged

LE.UM.3.2.1-11600-SDX24 merged

Various changes made to f2fs rapid GC to make it more efficient

dirty_expire_centisecs set to 30 seconds to reduce flash wearouts and power consumption

Various changes merged from the Razer Phone 2 and Snapdragon 855

Wi-Fi drivers downgraded to 5.1.1.70J to fix hotspot and signal strength issues

Here's the full changelog between r8 and r9:

r9

Linux v4.9.166 merged

LE.UM.3.2.1-11600-SDX24 merged

Use CONFIG_HZ = 300

- This changes context switching interval from 10ms to 3.33ms

- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters

Some changes from Pixel 3’s Q preview kernel

Some mainline performance improvements to procfs merged

Removed RTB(interrupt) logging entirely

WireGuard updated to 20190227

Stock LowMemoryKiller parameter restored to hopefully fix wake-up delay and general lags

Fixed bq27541 fuelguage driver to properly work with CONFIG_HZ != 100

(Fixes various battery-related issues such as displaying -22% on initial boot)

Reverted a problematic memory management commit causing CMA allocation errors

Merged LA.UM.7.8.r1-05000-SDM710.0

Merged LA.UM.7.3.r1-06900-sdm845.0 audio kernel

Various changes made to f2fs rapid GC to make it more efficient

dirty_expire_centisecs set to 30 seconds to reduce flash wearouts and power consumption

Various changes merged from the Razer Phone 2 and Snapdragon 855

Kernel is now built with -O3 optimization flag
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
[MENTION=3262915]habylab[/MENTION]

Here's a test specific kernel build for you.

http://arter97.com/browse/tmp/arter97-kernel-r9-20190403.zip

Please run it and dump dmesg when you encounter wakeup delays.

You can check here if you're wondering the specifics with this build:

https://github.com/arter97/android_kernel_oneplus_sdm845/commits/debug

Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
Your changelogs is just so.. sexy.. Thanks!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] James Blode:
Thanks arter97, waited for this update... Using your kernel everyday, the best
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joakimbo:
Do you use it with f2fs or ext4?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] James Blode:
F2fs bro... My phone's flying... And had no issues with stability with f2fs... Idk why some say thet it is bit unstable
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Feel like you've rolled out the red carpet for me!

Thanks for this, running this now. I didn't appear to have lock ups for a while after the last beta, didn't notice them initially, so it may be a day before I can send over logs. Hopefully we can figure this out.

edit: after 12 hours, haven't had an unexpected wake-up delay yet. Will see if I have anything tomorrow.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] chintu1234:
I flashed it over treskmod and its working perfectly except one thing double tap to wake is not working now. There's no option to enable it via Ex kernel manager and the default switch in the rom in display settings doesn't do anything.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Haven't had any wakelock issues since flashing yesterday. I did have one instance where my signal went completely blank, and then my phone went to the lockscreen, and then everything was okay. Log below.

https://drive.google.com/file/d/1GtSSnGj2-oBmNFotKrPlol3zhkibadJu/view?usp=drivesdk

Edit: and again, log below:

https://drive.google.com/file/d/1koRW6RD6I4toBgOVMahFR9CQeZz2J2mv/view?usp=drivesdk

and again

https://drive.google.com/file/d/1oGqXYZ2R25lzzyL_7jO69Htd0fXHvEo3/view?usp=drivesdk
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kengrayfield:
Had delayed unlock with the official R9, but this version fixes it! Thanks!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] KJYap:
Have delay unlock screen, and charging occasionally stops still presist.

R9 stable, oos 9.0.4
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Which version are you running?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] KJYap:
Using from his official website, not the one he specifically made for you?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Added more logs to this. It's just happened 3 times in the last 10 minutes.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] SingularityFX:
Hiya mate. Could you tell me the exact procedure to switch to f2fs please? I tried it a while ago and bricked my phone. I'd like to avoid that. I'm on op6 ob15 arter kernel & his twrp no other tweaks or add-ons. Thanks in advance!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] blaspheme000:
What i did.

Flash arter kernel

Reboot to arter twrp

Change /data to f2fs

Flash f2fs_fstab.zip

That's it. Keep in mind that you have to flash fstab zip every rom update or system format.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] supleed2:
This wipes the data partition right? I think you can use a twrp backup to retain the data though by restoring it after setting it to delete by rm -rf rather than formatting
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] blaspheme000:
Yes it will. I personally preferred starting from scratch to avoid some hiccups along the way.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
r10 is up and everyone must upgrade.

r10 includes a critical fix to an issue which maybe the very culprit to various issues users were having including screen wake-up delays.

r10 also now uses AnyKernel2 by osm0sis with a few modifications made from me.

Let me know if you encounter any issues with the new installer.

[MENTION=3262915]habylab[/MENTION]

Testing the tmp kernel I linked for you is kinda meaningless now with r10 including the critical fix.

Please try r10 and report back if you get any issues. Thanks.

r10

AnyKernel2 is now being used

Linux v4.9.168 merged

Fixed a major memory management regression

Linux CMA pool size increased for better CMA efficiency

Improved memory allocation from the Wi-Fi drivers to reduce memory fragmentation

Fixed occasional kernel crashes(entering dumpmode) on shutdowns
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
And now with r10 using AnyKernel, this means my build of TWRP is now excluded from the installation.

For people already using f2fs, this doesn't mean much.

Just flash TWRP on top of my kernel using TWRP installer.

For people who're willing to try out f2fs, please use versions lower than r10 to format /data to f2fs.

After formatting, install r10.

I'm going to update the f2fs format instructions in the OP soon.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] supleed2:
Could you also upload your build of twrp separately?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kengrayfield:
R10 really flies compared to R9. Wow. Not even a placebo. Switching apps, launching apps are all visibly and perceptively faster. Thanks!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Ugh, I'm sorry.

r10 can cause random reboots.

Please upgrade to r11.

r11

Reverted a minor Wi-Fi drivers improvement causing kernel panics
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kyljys:
And then there suddenly was r11?

Edit: missed
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Thanks, log below - assuming it's relating to what you've mentioned. I had a RR upon unlocking my phone.

https://drive.google.com/file/d/1H0vVChQ755Pb0H0cC8OstpeXUuT7yPcT/view?usp=drivesdk

edit: just had a reboot to TWRP. Phone was just sat next to me locked.

https://drive.google.com/file/d/1bnF6nCGsqypu3l1nyva3TZUYAEE2mqbp/view?usp=drivesdk

edit also: had to back to the test kernel you did for me, as it's crashed multiple times now. My phone was unusable.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] gregsoir:
I'm on r11 now, not sure if placebo but yeah, seems much smoother and faster to me as well, really appreciate your work arter97
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] GamingDevilsCC:
Although I'm not OP, I'd just like to say thank you and all testers so much for posting logs and helping with arter's bug fixing for the kernel! :good::)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Can you elaborate how it rebooted to TWRP?

If you got rebooted to TWRP upon initial boot(before boot animation starts), that happens extremely rarely due to a initramfs race condition.

Simply trying again will work.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] return.of.octobot:
He said that the device rebooted while locked, i.e. not in use, but this would indicate that the reboot did not occur on initial boot but rather after the device had already booted.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] kyljys:
Working flawlessly as far.

Thank you, arter97!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marvi0:
A phew questions please if I may.

Does this kernel solve the aggressive oneplus background killing apps system. Not sure where I read it but am sure I read a thread on here which seemed to suggest this kernel helps.

Also those on custom roms like havoc (I know op does state custom roms not supported) but anyone using this on havoc please?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] KJYap:
Volume has been terrible soft anything below 70%. 10% is barely audible with my ear beside. Above 70% goes back to phone max loudness.

R11, ext4, oos9.0.3
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] habylab:
Okay so I wasn't using my phone, but I had it next to me on my desk and as I went to pick it up to use it, it was booting into TWRP. I hadn't touched it, it was idle. Not sure how this happened as you say, but seeing as on R11 my phone keeps rebooting, maybe they explains it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] arter97:
Rebooting into recovery usually means critical process are kept on dying. Did you do any recent changes to your ROM?

And try dumping /sys/fs/pstore when you enter TWRP. It contains the last kernel dmesg, so it'll point why it rebooted.

From the TWRP terminal:

cp /sys/fs/pstore/* /sdcard/

Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] iPsychoGeek:
Thanks for adding AnyKernel support. It was the main problem for me why I didn't used your kernel before.

Sent from OnePlus 6 via Tapatalk