[KERNEL][Android 10-13][OOS/Custom] mcd-kernel [r19]

Search This thread

mcdachpappe

Recognized Developer
Oct 25, 2015
701
2,966
OnePlus 6
Hello,

this is a kernel update to support Android 12 and above! OxygenOS isn't supported anymore because of obvious reasons (OnePlus dropped OnePlus 6 support = no more android updates).

One more thing to mention:
I don't own this device since January 2022 any more. Future builds - this one included - are blind builds. However, these builds have been critically reviewed by the wonderful people in our Telegram group. If you find a bug, please report it in a friendly way.

Now, Enjoy!


Changelog:
  • AnyKernel3 source
  • Based on lineage-19.1 kernel (commit 8bce3f4)
  • Compiled with AOSP clang v12.0.7, clang-r416183b1
  • Import our custom energy model
  • Add all known custom features (KCAL, KLapse, vibration and sound control, wakelock blocker, wireguard, etc.)
  • Disable as many unneeded features / debugging as possible

Removed features compared to r17:
  • Drop OxygenOS support / custom ROM support only (Android 12+)
  • Drop simple_lmk - return to stock low memory killer
Fixes compared to r17:
  • fix schedtune boosting
  • fix task placement
  • fix modem crashdumps

Notes:

This kernel will only work on Android 12 - 13 based custom ROMs.​

Download:

Github: mcd r18-custom

FKM Updater config: custom ROM

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:
  • 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: via PayPal
 
Last edited:

jmno c

Member
Oct 3, 2021
30
0
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?
 

kmr168401

Senior Member
Jul 2, 2016
349
111
OnePlus 6T
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?
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.
 

mcdachpappe

Recognized Developer
Oct 25, 2015
701
2,966
OnePlus 6
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:

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:

 

Spaceoid

Senior Member
Mar 29, 2013
390
148
Dortmund
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:

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:

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?
 
  • Like
Reactions: mcdachpappe

jeanmarce

Senior Member
Oct 23, 2008
428
105
strasbourg
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);)
 
  • Like
Reactions: mcdachpappe

Ulises31

Senior Member
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:

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:

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.
 
  • Like
Reactions: mcdachpappe

healthy_dog

New member
Jan 12, 2023
1
1
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?
 
  • Like
Reactions: GheoLei

Spaceoid

Senior Member
Mar 29, 2013
390
148
Dortmund
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.
 

Brettroth

Senior Member
Apr 4, 2018
203
39
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.
Los kernel has battery idle also. So does stock I think. But yes I've noticed same thing on 6t (bootloop)
 
  • Like
Reactions: ux50jp and Spaceoid

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    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.
    Los kernel has battery idle also. So does stock I think. But yes I've noticed same thing on 6t (bootloop)
    1
    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?
  • 86
    caMCQkK.png


    Code:
    * I am not responsible for bricked devices, dead SD cards, or you getting
    * fired because the alarm app failed. Please do some research if you have any
    * concerns about features included in this KERNEL before flashing it. YOU are
    * choosing to make these modifications.


    I would like to share with you my personal kernel build. It's based on official OnePlus kernel sources combined with some additional features and commits from different great developers out there.


    Features:
    • No root required
    • Systemless installation, no custom kernel scripts
    • Passes SafetyNet
    • #########################################
    • OxygenOS build based on official OnePlus kernel source
    • Custom ROM build based LineageOS kernel source
    • Compiled with AOSP clang v12.0.5, LLVM tools and LLD linker
    • Battery_idle mode support [Advanced charging controller needed]
    • CPU input_boost - [enabled by default]
    • FSync toggle - [enabled by default]
    • GPU: adrenoboost [low / mid / high]
    • KCAL color control
    • K-Lapse support
    • Led control [OP6 only]
    • Minimum backlight control and high brightness option
    • Scheduler improvements to improve jitter and UX
    • Sound control and Microfone gain
    • TCP: advanced TCP algorithms - [Westwood as default]
    • USB Fast Charge - [disabled by default]
    • Vibration control
    • Wakelock blocker
    • WiFi module picked from CAF's source
    • WireGuard support
    • ZRAM improvements [2 GB, zstd compression]
    • Removed a lot of debugging stuff and log spam


    Download:
    Latest version: mcd r19
    FKM Updater config: OxygenOS / custom ROMs


    Support:
    • Leave a like or a comment - this keeps me motivated :)
    • PayPal donations are another appreciated way: Thank you very much!


    Telegram contact:


    Sources:


    Credits:
    • Thanks to these great guys and their programming skills and their sources: acuicultor, arter97, eng.stk, flar2, joshuous, kdrag0n, kerneltoast, kristofpetho, LordBoeffla, nathanchance, osm0sis, RenderBroken, tanish2k09, zx2c4
    • Huge thanks to @rippledrums for designing our logo!


    XDA:DevDB Information
    [KERNEL][OOS/CUSTOM] mcd-kernel, Kernel for the OnePlus 6

    Contributors
    mcdachpappe
    Source Code: https://github.com/mcdachpappe/android_kernel_oneplus_sdm845

    Kernel Special Features:

    Version Information
    Status:
    Stable

    Created 2019-05-19
    Last Updated 2022-11-26
    33
    Installation:
    • Do not switch between other custom kernels without installing a stock boot.img or reflashing your ROM !
    • Flash kernel .zip via any kernel manager app or custom recovery

    Update:
    • Flash your desired mcd-kernel version on top of your existing mcd-kernel

    Known issues:
    • OxygenOS:
      • OOS 11.*: Network speed indicators are not working on any custom kernel
    • Custom ROMs:
      • Gestures might not work on some custom ROMs as this kernel uses LineageOS gesture handling

    Troubleshooting:
    Try one or more of these steps prior flashing this kernel if you run into issues:​
    • Delete your kernel-manager-app data
    • Dirty flash your current ROM / Flash stock boot.img
    If you are still facing any issues, join our telegram group and report your issues via #bugreport.​


    Kernel history:
    31
    Hello everyone,

    enjoy our latest release :) Thanks for everyone who help me out to improve this project!


    # Changelog:

    • Compiled with mcd clang v13 for maximum stability
    • Upstream Anykernel3 source
    • Upstream OOS kernel source 10.3.11
    • Upstream up to android stable-linux to 4.9.270
    • Upstream/merge up to latest CAF tag 'LA.UM.9.3.r1-02100-sdm845.0'
    • Downstream wifi drivers to CAF tag 'LA.UM.8.3.r1-08800-sdm845.0' [last known well working drivers]
    • Upstream scheduler changes from android-4.14
    • Clean-up the kernel tree
    • Fix some previous mismerges
    • Many more I may forgot

    # 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-r4

    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:

    31
    Update - build 23-08-2020

    Hi,

    nothing special this time.

    Changelog:
    • Upstreamed to android-linux-stable 4.9.233
    • Merged OxygenOS 10.3.5 kernel changes


    Bottom line:
    28
    Hello,

    ZRAM is back and hopefully satisfies our multitasking users. Besides that double-tap-to-wake should be working for everyone again. Enjoy :)


    # Changelog:
    • Compiled with mcd clang v11, LLD and llvm-tools
    • Upstream to android stable-linux to 4.9.278
    • Enable ZRAM and writeback [2GB of size and lzo-rle as comp]
    • Clean-up touchscreen driver [fixes gestures on some custom ROMs]

    Thanks - again - to anyone who tries to improve this project with me.


    # Notes:

    Choose the correct kernel .zip file depending on your current ROM:
    • _oos: OxygenOS 10.*
    • _custom: LineageOS based custom ROMs

    # Download:

    Github: mcd r7

    FKM Updater configs: oos | custom


    # 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: via PayPal :)