yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] jmno c:
hello I just upload custiom roms and I have a question how will I upload this karnel for example on custiom rom it will improve it? I currently have Siberia a12l wasp

and is karnel installed with twrp? and on the slot where the system is?
[OnePlus 6 & 6T Cross Device Development] kmr168401:
I think if i understood your question correctly, yes sir you can flash this kernel through twrp as well as adb sideload from los recovery.
[OnePlus 6 & 6T Cross Device Development] jeanmarce:
hi thanks for this update will use it on android rom 13 lineage-20.0(y)
[OnePlus 6 & 6T Cross Device Development] GheoLei:
I just wanted to thank you mcdachpappe for making this kernel, hope you'll always have nice days and both sides of your pillow shall be cold :)
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Hello,

started from scratch with clean kernel bases (see below), reviewed and fixed commits from the past to archive a clean balanced kernel base which supports as much ROMs as possible (see below). The build_kernel.sh script has also been added, so you now have everything you need to build this kernel yourself, since I'm retiring from Android after this release. It was a great time :)

Stay safe, be kind and enjoy!

Kernel compatibility:

​

OxygenOS 10 and 11, source

LineageOS based custom ROMs (Android 10 - 13), source

Changelog:

AnyKernel3 source

Compiled with AOSP clang v12.0.5, LLVM tools and LLD linker

Custom kernel based on https://github.com/LineageOS/android_kernel_oneplus_sdm845/commits/lineage-20 (commit f537321)

OxygenOS kernel based on https://github.com/OnePlusOSS/android_kernel_oneplus_sdm845/tree/oneplus/SDM845_R_11.0 (commit 1f584f0)

Reviewed and fixed commits from the past

Download:

​

Github:

mcd r19

​

FKM Updater config:

OxygenOS / custom ROMs

​

Installation:

​

First time installation: Flash via any supported kernel manager or custom recovery

Consider a clean ROM flash if you are coming from any other custom kernel!

Support:

​

Leave a like or a comment

Join our telegram group or update channel

Did you enjoy this project? via PayPal :)
[OnePlus 6 & 6T Cross Device Development] Spaceoid:
Thank you so so much for your work.

I only use this kernel for a year now, but talking to friends recently it became clear how awesome it is to be able to use a custom kernel like this one.

Sadly I was never able to send you some bucks for a coffee, since my entry into the job world will be next March :/ Still I want, through words, thank you again for this beautiful piece of code.

All the best for the future.

Do you know if there will be any follow-up on this after your retirement?
[OnePlus 6 & 6T Cross Device Development] jeanmarce:
mcdachpappe

hello I am sad to hear that you are leaving the android world because I have always loved your kernels good luck I will enjoy your latest kernel on rom lineage android 13 thank you again(y);)
[OnePlus 6 & 6T Cross Device Development] 235anders15:
Hey OP sad to see you leave us, but i can say with certainty i would have left this phone behind 2 years ago if not for your awesome kernels, so thank you endlessly for your continued interest in keeping our devices smooth through the years, you're awesome! Good luck on future endeavors 🥰👏
[OnePlus 6 & 6T Cross Device Development] Ulises31:
Is really sad to hear this. I was using, in fact I go on, a kernel of you in LOS 20.0

Just to say thank so much for your work.
[OnePlus 6 & 6T Cross Device Development] healthy_dog:
Now that @mcdachpappe has stopped supporting this kernel, is there any way that we could build the kernel ourselves with updated source from LineageOS? I know that there's a build_kernel.sh in the GitHub source, but how does one update the source from LineageOS newer kernel with updates?
[OnePlus 6 & 6T Cross Device Development] Spaceoid:
It seems that starting with the LOS 20 version of the 19th of January, the MCD kernel is no longer compatible with the OnePlus 6.

I updated to the latest ROM version today, and I am getting a boot loop every time I install the latest version of MCD.

Which is super super sad, because I really loved the battery idle mode.
[OnePlus 6 & 6T Cross Device Development] Brettroth:
Los kernel has battery idle also. So does stock I think. But yes I've noticed same thing on 6t (bootloop)
[OnePlus 6 & 6T Cross Device Development] snnbyyds114514:
Hi! I am a ROM maintainer. And one of my users says that he cannot get WiFi work on his T-Mobile OnePlus 6T, however it works after flashing your kernel. Have you done anything special to the kernel source?😁
[OnePlus 6 & 6T Cross Device Development] mmp369:
Hello, what linker do I need to use to compile OxygenOS 10?
[OnePlus 6 & 6T Cross Device Development] M127G User:
Does this work on pixel experience 13 official?
[OnePlus 6 & 6T Cross Device Development] grox:
It is indeed a really good kernel! Thnx!
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Heeey, thanks for the kind words BRO! :D

Just in time! .. You know for sure that I won't be able to maintain a telegram kernel group without you, don't you :D
[OnePlus 6 & 6T Cross Device Development] HunterKiotori:
Off topic. but what settings do you use to make no limits work with this kernel? is it only the kernel tweaks hat you do not enable?
[OnePlus 6 & 6T Cross Device Development] rippledrums:
Haha! :D

Happy to help when you need ;)
[OnePlus 6 & 6T Cross Device Development] thirtythr33:
wow this kernel looks sick, LTO is a great addition! will you be continuing development for the 6T now with the 8 out?
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
well, at least i haven't planned to buy a new phone in the near future. I guess the answer is: yes :)
[OnePlus 6 & 6T Cross Device Development] :
To those of you using this on OnePlus 6T on Custom ROMs, does the FOD work?
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
[MENTION=4322888]iTalisman[/MENTION] , [MENTION=6396343]JohnnyMwanza[/MENTION] .. is anyone maybe using this kernel on his/her oneplus6t and could answer this?
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
double post
[OnePlus 6 & 6T Cross Device Development] koobie777:
FOD works just fine here on the 6T with op7 ob12 port ?
[OnePlus 6 & 6T Cross Device Development] fromble:
Not working for me, Lineage 17.1
[OnePlus 6 & 6T Cross Device Development] javad79:
Thanks for your great kernel
[OnePlus 6 & 6T Cross Device Development] imabhi013:
Great kernel

Thanks for a great kernel. Using it on pixenos rom and everything works smooth and snappy with good battery life.
[OnePlus 6 & 6T Cross Device Development] iTalisman:
Using 6. Cant tell...
[OnePlus 6 & 6T Cross Device Development] Stogie87:
I use the the kernel on Havoc OS Q with my 6T, but I get a crash dump reboot on incoming calls. After that settings are randomly reseted.
[OnePlus 6 & 6T Cross Device Development] konsolite:
I have the same issue on OOS 10.3.2 OP6. Previous version was fine.
[OnePlus 6 & 6T Cross Device Development] Stogie87:
Which version?

Damn, I tried previous kernel and I got another system crash. Now my quickdown menu is complety destroyed. Also recents doesn't work anymore. This kernel destroys system, If you use havoc and get an incoming call. Now have to do a complete clean flash. I hope it will solve the issue...
[OnePlus 6 & 6T Cross Device Development] Mr.FREE_Bird:
Great example for why you should always take backups for just in case... The risks of trying out ROMs, kernels, tweaks etc.
[OnePlus 6 & 6T Cross Device Development] konsolite:
Previous version: mcd-kernel-OP6_04-13-20.zip was fine for OOS, I have crashdump error with incoming calls after update to the last version.
[OnePlus 6 & 6T Cross Device Development] Stogie87:
I tried this and with this kernel i got the hardest crash dump.

---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------

Well, whaddya know!
[OnePlus 6 & 6T Cross Device Development] JohnnyMwanza:
I use an OP6 not 6T
[OnePlus 6 & 6T Cross Device Development] isweatmotoroil:
Fingerprint not working for me either on latest custom build. Using 6T with official Lineage 17.1
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Update - build 04-30-20 [OOS / CUSTOM]

Hi,

performance should have increased now (regarding my benchmarking results in geekbench - however, I'm not a fan of benchmarking at all..). We are taking advantage of simple-lmk, so oneplus ram boost feature [settings - system - ram boost] has no effect anymore.

Changelog:

Upstreamed to android-linux-stable v4.9.220

Use LTO thin

Increased read-ahead from 64kb to 128kb

Set noop as default i/o scheduler

Introduce API to mark IRQs and kthreads as performance critical

Introduce simple low memory killer [by sultanxda]

Misc stuff
[OnePlus 6 & 6T Cross Device Development] javad79:
Last build work great ?
[OnePlus 6 & 6T Cross Device Development] grox:
Working on 10.3.3! Thnx for the update! Will test!
[OnePlus 6 & 6T Cross Device Development] mht21:
Great kernel thx.can you add feature like pelt with util_est for less jitter ,bbr TCP?
[OnePlus 6 & 6T Cross Device Development] grox:
Getting more than 5 hours of screen on time with this kernel.

Very nice and smooth kernel!

Usage:
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
I'm glad you like it.

We are currently using WALT instead of PELT...

I've disabled BBR after reading these messages. It seems that BBR isn't optimized enough for our 4.9 kernel. But I'm re-enabling it again in the next build - feel free to use whatever you like.

By the way:

t.me/mcd_kernel

is our telegram link!
[OnePlus 6 & 6T Cross Device Development] iTalisman:
I have flashed the latest build in my OP6 with AICP ROM. Unlike the first build. I am experiencing regular stutters in animation. Is there anything I am missing?
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Hmm, maybe it's because of the changed default i/o scheduler from CFQ to NOOP in the last buid. Try to set it back to CFQ again and see if it's still present.
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Update - build 05-04-20

Hi,

OxygenOS 10.3.3 kernel source dropped, here is your update.

Changelog:

Upstreamed to android-linux-stable 4.9.221

Upstreamed to OxygenOS kernel source 10.3.3

Enable BBR TCP congestion control

Disable CORE_CTL and CORE_ROTATE ; let our scheduler handle load_balancing

Disable unneeded stuff

Misc stuff
[OnePlus 6 & 6T Cross Device Development] iTalisman:
Changed it. Seems a little better now. I'll use it and will post if doesn't rectify the issue..
[OnePlus 6 & 6T Cross Device Development] sohailss111:
Some pretty amazing stats there. WiFi throughout the 1fay 21 hours? And which charge cycle?

Thanks,

Sohail
[OnePlus 6 & 6T Cross Device Development] iTalisman:
Ok. I've tested for a few hours. Animation stutters have imoroved quite a bit, but its still there. I have changed the scheduler to cfq..
[OnePlus 6 & 6T Cross Device Development] grox:
Yes, this was with wifi only. I always charge tot 100%. This was over 46 hours ago. It was at 10% on 5 hours and 50 minutes screen on time.
[OnePlus 6 & 6T Cross Device Development] sohailss111:
That's insane battery life
[OnePlus 6 & 6T Cross Device Development] ahgt4:
man this kernel it's a beast, super stable and i love the sound control
[OnePlus 6 & 6T Cross Device Development] Jsilver73:
Just came over to MCD (been running carbon with stock kernel which is pretty good imo) but so far I'm loving the stability and smoothness, need to do a few cycles to see properly but so far this feels like a very solid drive to me. Thank you for your work [MENTION=7030109]mcdachpappe[/MENTION] :highfive:

Edit: I might have spoken to soon, fingerprint is broken after flashing on carbon ROM - is there any known fix please?
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Please have a look at this and the following posts about fingerprint not working: https://xdaforums.com/oneplus-6/oneplus-6--6t-cross-device-development/kernel-radioactive-kernel-v10-0-8-t4005987/post81401887#post81401887 or this one https://xdaforums.com/oneplus-6/oneplus-6--6t-cross-device-development/kernel-radioactive-kernel-v10-0-8-t4005987/post81482093#post81482093

This might help
[OnePlus 6 & 6T Cross Device Development] Jsilver73:
Tried all of those suggestions now, I've also tried radioactive and blu and no dice there either, just keeps saying 'finger moved to fast' back on carbon stock kernel now and everything works as it should. Maybe carbon did something different. Would be really interested to know if any other users have success with carbon or no.
[OnePlus 6 & 6T Cross Device Development] James Blode:
Hey dear Dev, thank you for this wonderful kernel...I have a request, if possible, can you add Franco kernel auto updater function (config file)...to download further builds with fkm...thanks
[OnePlus 6 & 6T Cross Device Development] joaste:
I'm having the same issue, but on stock oos latest. Deactivating tap screen to wake does not do anything. If I hit the power button the fingerprint symbol appears, is active and works.

However when just lifting the phone, the fingerprint symbol appears but it is not bright and and therefore is not active.

As I am not rooted I understand that I cannot modify any settings within the kernel itself with any kernel management application.

Any solution to that? I would like to use this kernel, but can't because of this issue.

Thanks in advance for any help.

EDIT: I am obviously on the 6t...
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Kernel based gestures seem to cause these issues. I found another workaround which might solve your issue: https://xdaforums.com/showpost.php?p=81852353&postcount=925.

However, i finished a test build where kernel based gestures are removed. Any chance that you contact me on telegram for a quicker debugging process?
[OnePlus 6 & 6T Cross Device Development] joaste:
So correct me if I'm wrong, but the 3rd option in the past you refer to world require root, wouldn't it?

As for helping, I would be more than glad to. I'll contact you on telegram.
[OnePlus 6 & 6T Cross Device Development] MoHed:
Very nice kernel

Thanks for an excellent kernel. Battery life simply outstanding.:D
[OnePlus 6 & 6T Cross Device Development] Jsilver73:
Back on MCD kernel again now, running perfect on bliss - FOD working perfectly. Now time to go a couple of cycles with this baby and see how she runs :highfive:
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Update - build 05-10-20

Hi,

FOD [fingerprint on screen] seems to be fixed now on oos / omni-based custom roms. Thanks to all our testers on telegram!

Changelog:

Upstreamed to android-linux-stable 4.9.222

Added blu_schedutil CPU governor

Cleaned-up and optimized touchscreen driver code

Removed kernel-based gestures [ROM gestures are still working]

Disabled ZRAM

Misc stuff

Feedback is very much appreciated either in this thread or in our telegram group:

http://t.me/mcd_kernel
[OnePlus 6 & 6T Cross Device Development] sohailss111:
I just flashed the previous version ??. Anyway, I will download and flash the latest one.
[OnePlus 6 & 6T Cross Device Development] fromble:
Running Lineage 17.1 (04/22) on my 6T still getting no response from my FOD, it goes green but never "reads"

Is there something I need to clear/disable/reset?
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Hello,

no sorry, I'm not going to add this.

I think it's because LineageOS has/expects different code than AOSP / Omni based custom ROMs. There is nothing you can do about it right now.

However, please have a look at your PN inbox - maybe we can figure something out :)
[OnePlus 6 & 6T Cross Device Development] Jsilver73:
Please could anyone point me to a description of anxiety IO - I mean I've searched all over but can't seem to find anything about it. I am using it more out of curiosity than anything, in combo with blu-schedutil, and everything is working lovely, I would just really like to know what it's based on and how it works though because I am interested in learning. TIA
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
See: https://github.com/mcdachpappe/android_kernel_oneplus_sdm845/blob/mcd-q-clang/block/Kconfig.iosched#L65
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Update - build 25-05-2020

Hi,

this update indroduces battery idle mode.

This feature was added to the OnePlus7/Pro beta kernel source but didn't reach the stable channel yet. It seems to be working correctly on our device - however, you should consider this feature as experimental for now.

You need the additional ACC [Advanced charging controller] - interface to enable and use this feature [select / set the switch op_disable_charge]. If you don't need this feature you can simply use this kernel like any other kernel / release.

Here is a short explanation about this feature: https://android.stackexchange.com/questions/223812/dont-charge-the-battery-but-use-connected-power-to-run-the-phone.

Changelog:

Upstreamed to android-linux-stable 4.9.224

Changed to self-compiled clang version 10.x [stability reasons]

Introduce battery_idle support [experimental]

Pull in scheduler commits from RenderZenith kernel [again]

Update simple_lmk driver

Misc stuff

Have fun!

Bottom line:

Feedback is very much appreciated either in this thread or in our telegram group:

http://t.me/mcd_kernel
[OnePlus 6 & 6T Cross Device Development] drpraveen:
I m on stock oos 10.3.3 and it works great, better battery life then other kernel and smooth as butter, thank you dav.
[OnePlus 6 & 6T Cross Device Development] Droid_JD:
Running Los 17 on my 6T, and battery idle mode seems to be working.

Thank you!
[OnePlus 6 & 6T Cross Device Development] Blackcrx:
Anyone using/tried battery idle mode with Advanced Charging Controller with OP6 custom?

I tested the kernel in ACCA app and it confirms that battery idle mode works. I enabled battery idle mode in the txt file and acca app but once it charges to 80% the battery will slowly start to discharge. Multiple apps show discharging 250-500mah while it is still plugged in to the charger.

Any ideas or suggestions as to what I am doing wrong?
[OnePlus 6 & 6T Cross Device Development] Droid_JD:
I had some problems with acca too. I found removing it, rebooting, then reinstalling tended to fix most problems.
[OnePlus 6 & 6T Cross Device Development] Shyciii:
On stock 10.3.3 battery idle mode not working. When I run test, I get messagev kernel doesnt support idle mode. I use acca stable version.
[OnePlus 6 & 6T Cross Device Development] Blackcrx:
I tried this yesterday and charged my phone to 80% but when I woke up this morning the battery was at 74%.

OP6 custom kernel using evolution x ROM.

Edit: anyone having battery idle mode issues, run a terminal app and test the switches again to see which one works with battery idle mode. I tested the switches before and picked one that worked, I was not aware that you had to run the switch test again to see which works with battery idle mode
[OnePlus 6 & 6T Cross Device Development] Droid_JD:
To the people using ACC/AccA, are you able to use the charge current control?
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
It's not supported by our kernel - you shouldn't touch it at all
[OnePlus 6 & 6T Cross Device Development] Droid_JD:
Ok, thanks

Supposing I did touch it... and set the charger current to 500ma yesterday... and saw that it's working by verifying the "current charge" in accubattery.

Would that "hypothetical" cause problems?

... Asking for a friend.
[OnePlus 6 & 6T Cross Device Development] Riddle5:
Maybe this is a bit of a silly question, but is this kernel the one formerly known as Neutrino?
[OnePlus 6 & 6T Cross Device Development] acuicultor:
No
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Update - build 04-06-2020

Hello everyone,

OxygenOS 10.3.4 kernel sources dropped, here comes your kernel update!

Changelog:

Upstreamed to android-linux-stable 4.9.226

Merged OOS 10.3.4 kernel sources

Merged latest Clang 10.x toolchain changes

Silence OOS log spam while charging

Misc stuff

Have fun!

Bottom line:

Feedback is very much appreciated either in this thread or in our telegram group:

http://t.me/mcd_kernel
[OnePlus 6 & 6T Cross Device Development] Marcos Requena:
It is a great kernel in OxygenOs 10.3.3 and the previous kernel has a good result in battery, hopefully you will remain the same with this one.
[OnePlus 6 & 6T Cross Device Development] gFknQ:
I was going to flash this kernel because I remember devs greatness on op3t. What are key features of this kernel? op6 kernels are much more rare than choices for other devices
[OnePlus 6 & 6T Cross Device Development] Stoowyguy:
I think this kernel derped something because my phone froze and then after rebooting the recents button was broken.

Thanks for the ongoing support with updates to 10.3.4 as well as up streamed linux but idk maybe its just me but gcc always more dank

a simple reflash of oos didn't solve the issue gonna have to wipe
[OnePlus 6 & 6T Cross Device Development] Blackcrx:
Funny you mentioned that, because that literally just happened to me.

I rebooted my phone and when it did, all my settings were gone, it was like a fresh install without the wizard.

My quick settings only had 1 line vs 3 lines of icons, battery went from text to icon, I couldn't connect to WiFi or mobile data.

I figured the ROM crashed or got corrupted so I dirty flashed my ROM, tried switching partitions, wiping cache, changing kernels, removing magisk, etc.. and nothing worked.

Ended up doing a factory reset and clean flashing my ROM to resolve the problem.
[OnePlus 6 & 6T Cross Device Development] Marcos Requena:
curious in the previous kernel and oxygen version the same thing happened to me in the settings menu the wi-fi and the data did not come out when I entered and it was that I restarted and it put me to put it all again that if I have not lost the installed applications but i can't possibly go into the wi-fi internet settings
[OnePlus 6 & 6T Cross Device Development] pipiloc360:
GPU OC

is it posible to add GPU OC to teh feature sof the kernel ? :)
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
gpu oc is available as a test version in our telegram group.

I don't think that this feature will reach 'official' releases because it would be enabled by default as long as I'm not adding any post-boot scripts to the kernel installer to set the correct values.
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
Update - build 24-06-2020

Hello everyone,

this new build comes after days of testing. I would like to thank everyone who uses / tests this kernel and their useful feedback that will further improve this project.

I'm going to provide a GPU undervolted/overclocked version of this kernel [OOS and custom] in our telegram group to keep things as stable as possible here on xda. Using changed mV or MHz values should be considered as experimental!

Changelog:

Upstreamed to android-linux-stable 4.9.228

Merged latest Clang 10.x toolchain changes

Remove cpu_input_boost and devfreq_boost [by kerneltoast]

Bring back CAF's cpu-boost mechanism and set/guard our boosting values

Set CFQ as default I/O scheduler again

Silence more log spam

Misc stuff

Have fun!

Bottom line:

Feedback is very much appreciated either in this thread or in our Telegram group:

http://t.me/mcd_kernel

Telegram update channel for stable, testing and GPU UV/OC builds:

https://t.me/mcd_kernel_builds
[OnePlus 6 & 6T Cross Device Development] hkjr:
Know it works on PA to a certain extent based on previous builds but guessing gestures is still mia?
[OnePlus 6 & 6T Cross Device Development] KNGPN Q w Q:
That wholly depends on what base PA is using: the custom ROM version uses OMNI as a base while the OOS version obviously uses OOS sources
[OnePlus 6 & 6T Cross Device Development] hkjr:
Yup, makes sense
[OnePlus 6 & 6T Cross Device Development] Shyciii:
Whoaaaa! This version has amazing idle consumpation! In midnight, 0%/2 hour...Great! :)
[OnePlus 6 & 6T Cross Device Development] mcdachpappe:
I'm glad about your results in idle drain.

However, people need to understand that a kernel usually has nothing to do with idle drain and/or battery drain.