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

Search This thread

ashish1989

Senior Member
Aug 22, 2014
411
33
Ghaziabad
I have flashed the latest kernel on latest A11 stock. Until now I can say that, bb is going really well as compared to other kernels. Will share more results soon.
 

mcdachpappe

Recognized Developer
Oct 25, 2015
700
2,949
OnePlus 6
Hello,

Android 10 support is back. This build should also fix crash dump modes that some users have experienced in the past.

Enjoy!


Changelog:
  • Compiled with mcd clang v15.0.0 and LLD Linker
  • Merge upstream AnyKernel3 changes
  • Merge google/common; v4.9.309 up to v4.9.312
  • Backport LLVM=1 usage
  • Add Android 10 support
  • Fix crash dump mode on some fajita devices
  • Fix optimization flags for sdm845

Notes:

  • Two-in-One kernel image installer (OxygenOS / custom ROM)
  • OxygenOS 11: Network speed meter isn't working, most probably because of incomplete OnePlus kernel sources

Download:

Github: mcd r16

FKM Updater configs: OxygenOS / custom ROM

Installation:

  • First time installation: Flash via any supported kernel manager or custom recovery (twrp)
  • Updating: Flash on top of any previous mcd-kernel
  • Note: 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
 

kraoc

Senior Member
Hello,

Android 10 support is back. This build should also fix crash dump modes that some users have experienced in the past.

Enjoy!


Changelog:
  • Compiled with mcd clang v15.0.0 and LLD Linker
  • Merge upstream AnyKernel3 changes
  • Merge google/common; v4.9.309 up to v4.9.312
  • Backport LLVM=1 usage
  • Add Android 10 support
  • Fix crash dump mode on some fajita devices
  • Fix optimization flags for sdm845

Notes:

  • Two-in-One kernel image installer (OxygenOS / custom ROM)
  • OxygenOS 11: Network speed meter isn't working, most probably because of incomplete OnePlus kernel sources

Download:

Github: mcd r16

FKM Updater configs: OxygenOS / custom ROM

Installation:

  • First time installation: Flash via any supported kernel manager or custom recovery (twrp)
  • Updating: Flash on top of any previous mcd-kernel
  • Note: 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
How can I flash it on LOS 19.1 since TWRP is not usable ?
Does EX Kernel Manager (EXKM) can do the job ? Or flash it using Magisk ?
 

Koeties

Senior Member
Sep 17, 2014
198
82
Johannesburg
How can I flash it on LOS 19.1 since TWRP is not usable ?
Does EX Kernel Manager (EXKM) can do the job ? Or flash it using Magisk ?
Yes, any kernel manager app can flash it. I've never flashed the kernel through Magisk, but I suppose that's an option too. Personally I use Franko Kernel Manager, but EXKM will work just as well.
 
  • Like
Reactions: kraoc

Noob9496

Senior Member
Jul 28, 2017
332
102
OnePlus 6
OnePlus 8 Pro
Oneplus 6 + Los 18.1 + mcd kernel r16, so smooooth
 

Attachments

  • Screenshot_20220520-000011_com.android.test.uibench.png
    Screenshot_20220520-000011_com.android.test.uibench.png
    50.4 KB · Views: 131

Spaceoid

Senior Member
Mar 29, 2013
360
131
Dortmund
Anybody here who knows how to enable pstore output on this kernel? Today I had a crash/reboot and I would love to know what caused it. sys/fs/pstore was completely void though :D
 

mcdachpappe

Recognized Developer
Oct 25, 2015
700
2,949
OnePlus 6
Anybody here who knows how to enable pstore output on this kernel? Today I had a crash/reboot and I would love to know what caused it. sys/fs/pstore was completely void though :D
You need to get a log right after the crash - before the next complete boot.

Use your phone, get a crash, phone shuts down, phone wants to reboot to system --> interrupt this process by booting into recovery or fastboot, back up the contents in /sys/fs/pstore, share them with your community
 
  • Like
Reactions: Spaceoid

mcdachpappe

Recognized Developer
Oct 25, 2015
700
2,949
OnePlus 6
Hello,

nothing worth mentioning, exept that the touch_boost toggle is available again. It's set to enabled by default for a reason: Powerhal depends on it and the CPU gets stuck at high frequencies when it is disabled on Android 11 custom ROMs. But users want full control, so here we go...

Enjoy!


Changelog:
  • Compiled with mcd clang v15.0.0 and LLD Linker
  • Merge AnyKernel3 changes
  • Merge google/common; v4.9.312 up to v4.9.317
  • Merge CAF tag up to 'LA.UM.10.3.r1-01700-sdm845.0' - [device and wifi driver]
  • Bring back touch_boost [msm_performance] toggle
  • Misc clean up

Notes:

  • Two-in-One kernel image installer (OxygenOS / custom ROM)
  • OxygenOS 11: Network speed meter isn't working, most probably because of incomplete OnePlus kernel sources

Download:

Github: mcd r17

FKM Updater configs: OxygenOS / custom ROM

Installation:

  • First time installation: Flash via any supported kernel manager or custom recovery (twrp)
  • Updating: Flash on top of any previous mcd-kernel
  • Note: 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:

Quan0x

Member
May 6, 2021
16
4
OnePlus 6T
@mcdachpappe
I just installed r17 on my OP6T using FKM. I am running the latest release of Lineageos 19.1... The phone doesnt boot with this. It doenst even bootloop, it just doesnt boot. I couldnt get to recovery, just to fastbot mode. From there i reflashed lineage recovery, which resolved the issue (since it oberwrights the boot partition). I tried the flashing the kernel again with the same result. Cant atach any crash reports, since the phone doesnt even start to boot the OS. Hope this gets fixed soon, until then i will use stock lineage kernel...
 
  • Like
Reactions: mcdachpappe

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    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
    2
    Hi one small correction cr7 is A11, and cr8 is A12, don't mistake me dude you always helpful so kindly change the info 👍
  • 82
    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
    • #########################################
    • Based on official OnePlus/OxygenOS kernel sources
    • Merged latest google changes
    • Compiled with custom toolchain mcd-clang
    • 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
    • Sound control and Microfone gain
    • TCP: advanced TCP algorithms - [Westwood as default]
    • USB Fast Charge - [disabled by default]
    • vDSO support
    • 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 r18-custom
    FKM Updater configs: OxygenOS / custom ROM


    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-06-13
    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 :)