yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Hello everyone,

this is our latest kernel project:

https://github.com/mcdachpappe/android_kernel_oneplus_sdm845-r2/

You should read the changelog because some important things have changed (magisk is required, etc.)

Big shout-outs to @Mr.FREE_Bird for his great support!

# Changelog:

Based on arter97's OP6/T CAF android 9 swap kernel variant

Magisk v20.4+ is required (due to kernel post_boot scripts)

Upstreamed CAF/stable linux 4.9.250 and wifi drivers

Upstreamed latest OOS 10.3.8 kernel sources

Upstreamed wireguard v1.0.20210124

Optimized battery charging (battery-idle mode support)

Remove blu_schedutil governor

GPU OC available

Add zswap/vnswap

All previous features were added too

# Notes:

Choose the correct kernel .zip file depending on your current ROM:

_oos: OxygenOS 10.*

_custom: Any AOSP based custom ROM

_custom-los: AOSP based custom ROM with LineageOS displaymode handling (livedisplay), such as LineageOS, SyberiaOS

# Download:

Github: mcd-r1​

FKM Updater configs: oos / custom / custom-los​

# Installation:

Dirty flash over any previous mcd-kernel is just fine. Consider a clean ROM flash if you are coming from any other custom kernel!​

# Support:

If you want to support me, leave a like or a comment

Join our telegram group or update channel

Another appreciated way to support me: https://www.paypal.com/paypalme/mcdachpappe
[OnePlus 6 & 6T Cross Device Development] Koeties:
Awesome, and thanks for your continued support of our old(ish) device!

I've go a question regarding 5Ghz WiFi connection. My OP6 with OOS 10.3.8 and your latest kernel just doesn't want to connect to my 5GHz Asus Lyra router. It keeps connecting to 2.4GHz. I've tried forgetting and connecting to the network and various other suggestions, but I just can't get it to connect to 5GHz. Any idea why or what I can do to force 5GHz connection?

No idea why, but the phone just connected to 5GHz. So all good!
[OnePlus 6 & 6T Cross Device Development] letmedanz:
Installed on latest OOS. Working perfectly fine as always. Worth the wait. Thank you again for your work @mcdachpappe
[OnePlus 6 & 6T Cross Device Development] flbenini:
So, just to confirm which looks obvious, but don't wanna mess anything...if I'm using Lineage OS 17.1 I should use custom_los kernel, right?

Thanks
[OnePlus 6 & 6T Cross Device Development] cmart4:
Working fine in beta 18 here..great kernel
[OnePlus 6 & 6T Cross Device Development] javad79:
R3 work perfectly good for me . Thanks bro
[OnePlus 6 & 6T Cross Device Development] fran_caro:
Have you configured something?

It's necessary flash the full OOS zip? Or can flash only the Kernel?

Enviado desde mi ONEPLUS A6003 mediante Tapatalk
[OnePlus 6 & 6T Cross Device Development] James Blode:
You need to flash the full rom zip... You dont need to wipe anuthing if you want to... But... Flashing the rom zip is important...
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
delete
[OnePlus 6 & 6T Cross Device Development] draroka:
Work Great with Havoc ROM 2.6!
[OnePlus 6 & 6T Cross Device Development] JerryGoyal:
instructions are still unclear to me.

So I have stock oos 9.0.5 (never flashed any separate kernel) and already have magisk 19.3 and twrp 3.2.3 blue_sparkv9.96 so what steps should i follow now? in post it is mentioned to flash stock img,twrp,magisk etc. do i flash'em again or what?
[OnePlus 6 & 6T Cross Device Development] ab123pro:
if you are on stock kernel you can start from step 6 (flash magisk then kernel)

before you do make a back up of your boot partition just to be safe
[OnePlus 6 & 6T Cross Device Development] rippledrums:
Message from @mcdachpappe on Telegram:

"I've got a short announcement for you guys:

you msybe already noticed that I'm a little off and inactive for the last few weeks. the reason for this is because of different things which have come all together over time. i kinda lost the fun on this hobby, sorry.

tl;dr: I'm going to quit android 'development' in the near feature. don't expect any more updates.

it was a funny and good experience for me to stay in contact with people all over the globe. it was just a pleasure - thank you very much for all your support, contributions, rude and nice words and so on :) thanks for the great time"

Attached is the last one made for the 6/6T that was never released.

@moderators please close this thread.
[OnePlus 6 & 6T Cross Device Development] shubham7171:
I wanted to ask one question.

Why is everyone enabling ZRam.

That does slow down opening app speeds.

---------- Post added at 03:02 PM ---------- Previous post was at 03:02 PM ----------

[MENTION=7030109]mcdachpappe[/MENTION] is it possible for you to provide us with a version without Z-Ram? ☺️
[OnePlus 6 & 6T Cross Device Development] Tagion:
You can disable ZRam in EXKM.
[OnePlus 6 & 6T Cross Device Development] shubham7171:
You need to disable it after every reboot even after applying set to boot as well. And also it doesn't work that great.
[OnePlus 6 & 6T Cross Device Development] Tagion:
How often do you reboot your phone?

And it works just fine when I tried it.

Also check the post above your post, the dev is inactive currently
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Update - build: 04-13-20 [OOS 10 support]

//EDIT;

This build works currently on OOS only. I will upload a variant for custom ROM support in a few days.

Hello again,

I'm compiling and using this kernel quite a long time now for my private usage - now i decided to share it with you to give people more kernel alternatives for our devices.

One more thing:

NO - this kernel won't increase your SOT [screen on time] magically by 3 hours. Please think about what a kernel really does before posting anything SOT or battery-draining related!

Have fun and let me know how it works out for you :)

Changelog:

Systemless installation

Initial OxygenOS 10 support [based on OxygenOS 10.3.2 kernel source]

Merged android-linux-stable v4.9.219

Compiled with LLVM Clang 11 [lto and polly support]

Set cpu_input_boosting values [_duration: 64 msec, _freq: 1056 mhz]

Frame based cpu boosting attempt [see: commit message]

Set dynamic schedtune boosting [default: 15]

Removed scheduler changes made by OnePlus

Added backported scheduler commits [thanks to renderbroken]

Added CAF's wifi driver

Many more

Notes:

Feedback is highly appreciated

You may delete the data of your kernel-tweak app to see/apply the new default values

Make sure to have a clean system/boot partition and ramdisk [some kernels change system files]
[OnePlus 6 & 6T Cross Device Development] James Blode:
Thanks for this...great kernel so far... everything works fine...and it's really smooth...and STABLE...thanks...keep going...
[OnePlus 6 & 6T Cross Device Development] DrunkenDragon:
Does this work on Havoc 3.4? Anybody tested it?
[OnePlus 6 & 6T Cross Device Development] Mr.FREE_Bird:
You know what could save you and others some time?

--> Reading the OP. <--
[OnePlus 6 & 6T Cross Device Development] metrixx02:
only OOS support right ?
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Send me a pm if you want to test a kernel build designed for custom roms. I'm on OOS, thats why i can't test it myself and i don't want to publish anything which hasn't been tested first.

It would be great if someone could test the current build on a oneplus 6t device as well
[OnePlus 6 & 6T Cross Device Development] sohailss111:
Hey there!

I would love to as well, if that's fine! Using Pixel Experience (AOSP based) here, although I'm using a OnePlus 6.

Thanks,

Sohail
[OnePlus 6 & 6T Cross Device Development] Saksham03:
Yes
[OnePlus 6 & 6T Cross Device Development] nirogu325:
I love this kernel's battery and performance ratio but not its WiFi driver. It starts to misbehave after a day or two in my unit. I can be right in front of any of my routers (tested two different brands independently) and the signal isn't stable and let's not even talk about streaming in the kitchen. If only it had the stock WiFi driver like the other custom kernel (blu) it'd be a keeper here.
[OnePlus 6 & 6T Cross Device Development] thirtythr33:
I am having some serious issues with memory, after flashing the kernel (coming from previous mcd build) my memory starts to fill up after a few minutes, then the phone locks up and I have to force reboot. flashed back to previous mcd and issues are gone. anyone having issues at all? (I also do not use zswap/zram and disable it in kernel manager, but the disabling does not stick for some reason with this latest build and continues to fill upon reboot)
[OnePlus 6 & 6T Cross Device Development] champagne66601:
I'm having the same issue here, OnePlus 6T with PixenOS
[OnePlus 6 & 6T Cross Device Development] nirogu325:
OP6 with OOS 10.3.8 in my case. Forgot to include that.
[OnePlus 6 & 6T Cross Device Development] ky41083:
Good morning!

The only thing I've noticed so far that isn't working, is the "Power off alarm" function. I'm guessing this would effect the "scheduled power on" function also.

This is the thing that will power the phone on from an off state, when alarms set in the stock OnePlus alarm app are scheduled. My phone didn't power on. Woke up a little late for work this morning, wups, hehe. Heads up to anyone who uses this feature ;)

This was working fine on the 16-12-2020 kernel, and previous kernels. The kernel was the ONLY thing that changed, between this working yesterday, and not working today.

EDIT: Of course, I just tested this without my phone plugged into a wall charger, and it's working fine. The issue may only happen when the phone is powered off before being plugged in (while in "charge only" mode). I will test this again while the phone is plugged in tonight.

Device: OP6T

ROM: OOS 10.3.8

Kernel: r1

Magisk: 21.4

TWRP: 3.4.0-11
[OnePlus 6 & 6T Cross Device Development] scorpio76r:
11-14-20 version of this kernel is the best in my opinion. I have never had any of these latest mentioned issues since using it.
[OnePlus 6 & 6T Cross Device Development] ky41083:
Tested this last night, using the same wall charger / cable for all tests:

- Set alarm, powered off phone = Phone woke up for alarm

- Set alarm, powered off phone, connected to wall charger = Phone woke up for alarm

- Set alarm, powered off phone, connected to wall charger, let charge to full overnight = Phone did not wake up for alarm

So it seems that this works fine, unless you leave the phone connected to a wall charger for some length of time.
[OnePlus 6 & 6T Cross Device Development] flbenini:
Los 17.1 here.

My wifi range seems to be smaller with this kernel and wifi drops frequently and reconnects.
[OnePlus 6 & 6T Cross Device Development] zickler_malta:
the kernel itself is excellent but the WiFi drivers are simply atrocious. very poor range.
[OnePlus 6 & 6T Cross Device Development] ky41083:
If there are any logs or other useful information I can pull for you, just let me know what and how. Because it's happening in charge only mode, I have no idea if there even is anything useful I can pull...
[OnePlus 6 & 6T Cross Device Development] lazye53:
wifi could be much better in my opinion too. It might be great to see an update for this.
[OnePlus 6 & 6T Cross Device Development] Gytole:
For all of you complaining about wifi, do you guys ever reset your routers?

I have been to SOOOO many places people complaining about wifi this and wifi that, and I reboot their router and it's gravy. Just a thought...not callin you all dumb, but there's a lot of stuff that goes on behind the scenes in software thay makes for a bad day. Lol
[OnePlus 6 & 6T Cross Device Development] nirogu325:
Yes.
[OnePlus 6 & 6T Cross Device Development] Koeties:
OK, now that many more people are complaining about the WiFi of this kernel I don't feel like I'm crazy anymore. I've also had issues. I'll try the 11-14-20 build again.
[OnePlus 6 & 6T Cross Device Development] Koeties:
Duplicate post
[OnePlus 6 & 6T Cross Device Development] fangchunxi1999:
I'm fail back to stock oos kernel right now because of serious memory management

seem like when "available ram" drop below ~400MB and 0 free zswap the kernel try to do something and cause massive lag and phone freeze up

turn up LMK value can help (extend the time) but it eventually will run out of memory and you phone freeze up

and wifi on kernel seem like it prefer 2.4Ghz wifi maybe because 2.4Ghz one have higher signal strength and assume it have more stable connection with is not specially if you live in like apartment or condominiums because of wifi interfere with each other (2.4Ghz is just dead in this area)
[OnePlus 6 & 6T Cross Device Development] -earth-:
Same at me, have the memory problems, too.
[OnePlus 6 & 6T Cross Device Development] Koeties:
I can confirm that with the latest MCD kernel version my phone prefers to connect to 2.4GHz as well as having some weird WiFi-related issues. I haven't experienced the memory management issues. I don't want to use stock kernel because of the Advanced Charge Control switch in this kernel. I've now reverted to the 11-14-20 build and so far my WiFi issues seem to be resolved. Phone connects to 5GHz and so far no more weird connection issues. I'll keep monitoring and if I start having issues again, I'll update here.
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Thanks for your feedback!

1. power-off alarm:

Everything is working fine here, there is nothing i can do, sorry

2. System freezes / memory management

Yes, it's a known problem that the current out of memory management leads to kernel panics and system freezes. There is already a test build available in our telegram group which adresses this issue [oos only].

3. WiFi driver

I also had a look at our WiFi drivers based on your feedback and changed some stuff. The next release provides hopefully some better WiFi connectivity.

There will be a release soon which hopefully fixes the known problems for everyone :)

Note about the sourcecode:

I will force push my changes with the next release - be aware of working / cloning the current github repo.
[OnePlus 6 & 6T Cross Device Development] Gytole:
Aight guys it sounds like you ALL just need new routers...

I'm jk lmao, I see it is pretty widespread. Can't be too sure anymore. My dad went a week upset and my mom told me he had problems with his laptop. I finally talked to him and while he was blowing up about the wifi not working I asked of he unplugged it and plugged it back in.

You'll never guess the answer.

Bork on, fams.
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Hello everyone,

this build should fix the previous system freezes and hopefully provides a better WiFi experience.

# Changelog:

Compiled with latest proton clang v13

Added latest wireguard v1.0.20210219

Add dedicated oneplus camera driver

Add simple_lmk

Replace vnswap with updated vbswap

WiFi driver [qcacld-3.0]: clean up

Fix some previous mismerges

# Notes:

Choose the correct kernel .zip file depending on your current ROM:

_oos: OxygenOS 10.*

_custom: Any AOSP based custom ROM

_custom-los: AOSP based custom ROM with LineageOS displaymode handling (livedisplay), such as LineageOS, SyberiaOS

# Download:

Github: mcd-r2

FKM Updater configs: oos / custom / custom-los

# Installation:

Dirty flash over any previous mcd-kernel is just fine. Consider a clean ROM flash if you are coming from any other custom kernel!

# Support:

If you want to support me, leave a like or a comment

Join our telegram group or update channel

Another appreciated way to support me: https://www.paypal.com/paypalme/mcdachpappe
[OnePlus 6 & 6T Cross Device Development] ky41083:
All good, I know how hard it is to fix an issue you can't induce.

As a fix I reverted to 14-11-2020, made sure I didn't change anything else, and power-off alarms are working just fine again.

I will keep trying new versions of this kernel as they are released to see if the issue goes away. Thank you! :D
[OnePlus 6 & 6T Cross Device Development] Koeties:
Hi

Just some feedback on R2. I still experience the 2.4GHz only connection issue on this version of the kernel. Reverting to the 14-11-2020 build once again resolved it for me. With the 14-11-2020 version my phone can connect to 5GHz again.
[OnePlus 6 & 6T Cross Device Development] Koeties:
Something weird is happening when install the R2 update (via FKM) and then roll back to the 14-11-2020 build (also via FKM). I loose root. I'm not sure where in the process this happens, but it's now the 2nd time that it happened to me. It first happened with the R1 install and roll-back. To fix my issue I uninstall Magisk app, boot into TWRP install the stock boot image, then re-install TWRP, Magisk (21.4) and the 14-11-2020 kernel. Then once booted I re-install the Magisk app (21.4) and hide. This updates Magisk app to v22 and then I update Magisk itself to v22 by direct install.

At least now my phone is rooted still, but I'd like to understand why I loose root. When I've got a bit more time I'll try the upgrade and roll-back steps again to see where in the process I loose root.
[OnePlus 6 & 6T Cross Device Development] Ulises31:
Not in my case. I have not found any issue connecting to 5GHz band.
[OnePlus 6 & 6T Cross Device Development] Koeties:
I'll try again.
[OnePlus 6 & 6T Cross Device Development] jeanmarce:
hello I use the kernel R2 oos 10.3.8 the wifi in 5 GHz works well
[OnePlus 6 & 6T Cross Device Development] Koeties:
I've re-installed R2 and my phone does connect to 5GHz. Looks like it's one spot in my house where it just refuses to connect to 5GHz using this kernel version. What's weird is that with the 14-11-2020 build it does connect to 5GHz in that spot. No idea why.

I'll stick with R2 as I'm also not experiencing the other WiFi issues like before.
[OnePlus 6 & 6T Cross Device Development] flash713:
Same for me. 5Ghz wifi works.. I too am using r2 on OOS 10.3.8. Zero issues on my 6t.

Thanks for still updating your kernel for 6t op!! :D
[OnePlus 6 & 6T Cross Device Development] Koushik87:
The latest r2 version still have wifi issues. Wi fi range drops significantly in latest build but 11_20 doesn't have this issue.
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
There is a (wifi) test build ready. It would be great if you could give it a try
[OnePlus 6 & 6T Cross Device Development] Ulises31:
Link, please. I would try it also

Link, please. I would try it also
[OnePlus 6 & 6T Cross Device Development] Koushik87:
Sure...would love to try. Please share the build link...will test and revert.

Missed the below details, may be this is required for your debugging.

OP 6T - OOS 10.3.8

No Limits - 12.4
[OnePlus 6 & 6T Cross Device Development] Mr.FREE_Bird:
You can find the test build and potential future test builds in the MCD Telegram group, the link for that group is provided in the OP.
[OnePlus 6 & 6T Cross Device Development] Ulises31:
After several days with the r3 pre-custom kernel no issues have been found.

ACC works, including Battery Idle.

Bluetooth and NFC run ok

No problems with 5GHz wifi. Perhaps, 1 or 2 more dB in reception than r2 build measured with Wifi analyzer app .

Battery Life equal as the previous builds.
[OnePlus 6 & 6T Cross Device Development] Koushik87:
Did you find any issues with Wi Fi range? For me the range drops in the test build. May be issue is specific for me and not wide spread. Hopefully others can test and comment.
[OnePlus 6 & 6T Cross Device Development] Ulises31:
I didn´t have any issue with older version nor this [r3]pre-custom. Taking into account the RF level measured is slightly higher with [r3], perhaps the Wifi range should be a little better.
[OnePlus 6 & 6T Cross Device Development] Ramme:
Hello, I have now set up this kernel for my girlfriend's phone (OP6), Super work! Top battery performance.

I would like to see you in the OP8T forum so I can also benefit from such a super work. :)
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Hello everyone,

this build adresses memory and cpu usage, and it's up-to-date now with the CAF branch. Many thanks again to our beloved testers!

# Changelog:

​

Compiled with mcd clang v13 for maximum stability

Remove polly compiler optimazations

Upstream Anykernel3 source

Upstream OOS kernel source 10.3.9

Upstream android stable-linux to 4.9.266

Upstream latest f2fs drivers

Upstream/merge to latest CAF tag 'LA.UM.9.3.r1-01600-sdm845.0'

Remove simple_lmk and replace it with lmkd

Adjust Energy Model and some more cpu frequency related stuff

Add FPS sysfs node

Fix power-off alarm

Fix some previous mismerges

Many more

# Notes:

​

Choose the correct kernel .zip file depending on your current ROM:

_oos: OxygenOS 10.*

_custom: Any AOSP based custom ROM

_custom-los: AOSP based custom ROM with LineageOS displaymode handling (livedisplay), such as LineageOS, SyberiaOS

# Download:

​

Github:

mcd-r3

​

FKM Updater configs: oos / custom / custom-los

# Installation:

​

Dirty flash over any previous mcd-kernel is just fine. Consider a clean ROM flash if you are coming from any other custom kernel!

# Support:

​

If you want to support me, leave a like or a comment

Join our telegram group or update channel

Another appreciated way to support me: https://www.paypal.com/paypalme/mcdachpappe
[OnePlus 6 & 6T Cross Device Development] deepu458:
Thanks a lot for your support
[OnePlus 6 & 6T Cross Device Development] Koeties:
When downloading via Franko Kernel Manager I get a "SHA-1 hashes don't match" error. Will download and flash manually.
[OnePlus 6 & 6T Cross Device Development] urgali:
Does this function work for anyone of you on this kernel? Seems it just stops working as soon as I switch from stock rom kernel (this is Los based rom and I'm using Los mcd)

Anyone else facing the same?

Judging from logcat it seems my phone actually "sees" the known wifi through scanning but never turns on wifi radio
[OnePlus 6 & 6T Cross Device Development] flash713:
My 6T auto connects fine on OOS 10.3.9 with latest mcd kernel. Just tested it after reading your post.
[OnePlus 6 & 6T Cross Device Development] flash713:
I had to download r3 then flash using manual flasher via franco kernel manager.
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
just updated sha1sum's .. my bad
[OnePlus 6 & 6T Cross Device Development] scorpio76r:
I'm currently on the 11/14 /20 build. Has anyone who was on this build glad to have updated to the latest build for reasons other than it being the latest?
[OnePlus 6 & 6T Cross Device Development] jeanmarce:
thank you for updating the kernel rom oos 10.3.9
[OnePlus 6 & 6T Cross Device Development] Koushik87:
Updated to latest r3 build, so far smooth running on 10.3.9 along with No Limits 12.4. Thanks Dev for continued support on long forgotten devices like OP 6T.
[OnePlus 6 & 6T Cross Device Development] flash713:
Make sure you are enforcing. See attachment.
[OnePlus 6 & 6T Cross Device Development] ky41083:
Hello everyone!

Taking r3 for a spin. It appears my device is not passing SafetyNet, after applying the vendor fingerprint via MagiskHide Props Config. I tried disabling Props -> rebooting -> re-applying -> rebooting again, with the same result (image below).

Anyone else experiencing this on r3?

Device: OP6T

ROM: OOS 10.3.9

Kernel: r3

Magisk: 22.1

TWRP: 3.5.2_9-0
[OnePlus 6 & 6T Cross Device Development] Mr.FREE_Bird:
Safety net passes fine with the latest build. It's just that Google blocked the API key of Magisk which causes it to fail. An update with a new working API key will be pushed soon. You could try an other safety net checker app to see that your device passes safety net fine.
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
That's most likely a gms / magisk thing: https://xdaforums.com/t/magisk-general-support-discussion.3432382/page-2168#post-84280747
[OnePlus 6 & 6T Cross Device Development] ky41083:
Oh of course they did, lol. I didn't even realize that used an API key. Spot on.

Thank you both!
[OnePlus 6 & 6T Cross Device Development] Yeedatoy:
Magisk is broken on stable. Canary can connect to the servers to pass safetynet
[OnePlus 6 & 6T Cross Device Development] flash713:
Yep, Canary passes fine with Magisk hide enabled.