• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[KERNEL][OOS/CUSTOM] mcd-kernel [r6]

Search This thread

mcdachpappe

Recognized Developer
Oct 25, 2015
668
2,693
Hello,

this releaase add's another kernel type ' _custom-los-fod' because of the latest LineageOS FOD driver code changes. Choose this build on custom ROMs if you are having FOD issues.

Thanks - again - to anyone who improves this project with me. Enjoy!


# Changelog:

  • Compiled with mcd clang v13 for maximum stability
  • Upstream AnyKernel3 source
  • Upstream up to android stable-linux to 4.9.272
  • Downstream wifi drivers to CAF tag 'LA.UM.8.3.r1-06900-sdm845.0'
  • Fixup vbswap initialization
  • Disable userspace / CAF cpu boosting [fixes max cpu frequencies while scrolling / flinging]; bd81a3c
  • Add devfreq_boost driver and introduce a kind of frame boosting; bd433c1
  • Replace lmkd with simple_lmk

# 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)
  • _custom-los-fod: Custom ROM with LineageOS displaymode handling (livedisplay) + updated FOD code

# Download:

Github: mcd-r5

FKM Updater configs: oos | custom | custom-los | custom-los_fod


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

 
Last edited:

asikroy

Member
Jun 25, 2013
21
3
Using crdroid for past 3 months.
one issue
my wifi stuck at wifing turning on and doesnt turns on. it works only with mcd kernel that too r3 april build only. latest mcd kernel r4 too doesnt switch on the wifi.
crdroid ROMs last mcd build and may months last release candidate wifi worked out of the box but the latest build also wifi doesnt turn on but as i flash mcd rc3 it works..

Tried a fresh install of the rom
tried with oos latest zip flashing to both slots
then flashed the crdroid still no luck of wifi working with stock kernel as soon as i flash mcd r3 it works

Quote
MCD r5 fixed the issue..now wifi working smoothly crdroid 7.6 wit MCD r5
 
  • Like
Reactions: Koeties

iJiB

Senior Member
Sep 25, 2012
95
95
Jakarta
i9100
OnePlus 6
Hello,

this releaase add's another kernel type ' _custom-los-fod' because of the latest LineageOS FOD driver code changes. Choose this build on custom ROMs if you are having FOD issues.

Thanks - again - to anyone who improves this project with me. Enjoy!


# Changelog:

  • Compiled with mcd clang v13 for maximum stability
  • Upstream AnyKernel3 source
  • Upstream up to android stable-linux to 4.9.272
  • Downstream wifi drivers to CAF tag 'LA.UM.8.3.r1-06900-sdm845.0'
  • Fixup vbswap initialization
  • Disable userspace / CAF cpu boosting [fixes max cpu frequencies while scrolling / flinging]; bd81a3c
  • Add devfreq_boost driver and introduce a kind of frame boosting; bd433c1
  • Replace lmkd with simple_lmk

# 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)
  • _custom-los-fod: Custom ROM with LineageOS displaymode handling (livedisplay) + updated FOD code

# Download:

Github: mcd-r5

FKM Updater configs: oos | custom | custom-los | custom-los_fod


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

Thanks for the update, just want to make a report and see if anyone else experienced it on their end. After upgrading to mcd-r5, after the phone goes to sleep the WiFi somehow was automatically disconnected. It will reconnect again after turning the screen on.

I'm currently on OOS 10.3.11, and all the options in the Settings -> Wi-Fi & internet -> Wi-Fi -> Wi-Fi preferences is turned off.
 

Mr.FREE_Bird

Senior Member
Nov 5, 2013
591
534
Thanks for the update, just want to make a report and see if anyone else experienced it on their end. After upgrading to mcd-r5, after the phone goes to sleep the WiFi somehow was automatically disconnected. It will reconnect again after turning the screen on.

I'm currently on OOS 10.3.11, and all the options in the Settings -> Wi-Fi & internet -> Wi-Fi -> Wi-Fi preferences is turned off.
That's caused by a battery saving feature of OOS, I'm not sure what the name of the feature was since I'm running a custom ROM for quite some time. But I am pretty sure the feature I'm talking about it located somewhere in the battery menu in the settings.
 

iJiB

Senior Member
Sep 25, 2012
95
95
Jakarta
i9100
OnePlus 6
That's caused by a battery saving feature of OOS, I'm not sure what the name of the feature was since I'm running a custom ROM for quite some time. But I am pretty sure the feature I'm talking about it located somewhere in the battery menu in the settings.
that's what I first thought too, but I've always turned off battery saver option in the battery settings. I didn't change any settings in the OOS before flashing mcd-r5, was previously on mcd-r4 and didn't have this behavior.
anyways, I'm just posting this to see if anyone else had the same experience or it's just me. If it's just me, then it's probably something wrong on my end.
 

Mr.FREE_Bird

Senior Member
Nov 5, 2013
591
534
that's what I first thought too, but I've always turned off battery saver option in the battery settings. I didn't change any settings in the OOS before flashing mcd-r5, was previously on mcd-r4 and didn't have this behavior.
anyways, I'm just posting this to see if anyone else had the same experience or it's just me. If it's just me, then it's probably something wrong on my end.
No, I'm not talking about the standard battery saving options but those with literally "WiFi" in the name, there's an OOS feature that automatically turns WiFi off as soon your phone goes to sleep. It's tucked away in some menus. Sadly I can't remember where it's exactly located. But to me it sounds like that feature is enabled on your end.
 

mcdachpappe

Recognized Developer
Oct 25, 2015
668
2,693
that's what I first thought too, but I've always turned off battery saver option in the battery settings. I didn't change any settings in the OOS before flashing mcd-r5, was previously on mcd-r4 and didn't have this behavior.
anyways, I'm just posting this to see if anyone else had the same experience or it's just me. If it's just me, then it's probably something wrong on my end.
Have a look at:

Settings - Battery - Battery optimisation - Advanced optimisation (3 dots at the top right corner) - disable: 'Sleep standby optimisation'

This is what @Mr.FREE_Bird is referring to
 

iJiB

Senior Member
Sep 25, 2012
95
95
Jakarta
i9100
OnePlus 6
Have a look at:

Settings - Battery - Battery optimisation - Advanced optimisation (3 dots at the top right corner) - disable: 'Sleep standby optimisation'

This is what @Mr.FREE_Bird is referring to
I was remembering from other ROM that had the setting called "Turn off WiFi on screen off" or something like that but couldn't find that in OOS. I guess "Sleep standby optimization" is what they called it in OOS.

I have checked that and it's already disabled:
Screenshot_20210618-011720.jpg

I'm currently reverting back to mcd-r4 and the WiFi is behaving normal. It's alright, R4 is doing fantastic job anyways, so no worries. Thanks for trying to help.
 

mcdachpappe

Recognized Developer
Oct 25, 2015
668
2,693
I was remembering from other ROM that had the setting called "Turn off WiFi on screen off" or something like that but couldn't find that in OOS. I guess "Sleep standby optimization" is what they called it in OOS.

I have checked that and it's already disabled:
View attachment 5340705
I'm currently reverting back to mcd-r4 and the WiFi is behaving normal. It's alright, R4 is doing fantastic job anyways, so no worries. Thanks for trying to help.
Have you flashed the latest oxygenos to both slots? There are rumors that this might fix some signal / wifi issues if it's installed to both slots.
 

iJiB

Senior Member
Sep 25, 2012
95
95
Jakarta
i9100
OnePlus 6
Have you flashed the latest oxygenos to both slots? There are rumors that this might fix some signal / wifi issues if it's installed to both slots.
Yes, I always flash the ROM on both slots, never had signal or wifi issues. Just found it weird that I'm only experiencing wifi disconnection during screen off on R5 but not on previous releases. Maybe it got something to do with the wifi drivers being used in R5 that didn't play nicely with my router.
 

CUBENSIS

Senior Member
Aug 28, 2008
440
133
OnePlus 6T
Wifi still broken for me on r4 (didn't try r5 b/c it doesn't list any wifi changes in changelog). Initially things work fine, but eventually I will find that my wifi is on but not connected to the local wifi and the list of available wifi networks will be blank. The only way to fix this is to reboot the phone. There have been improvements with each "r" version, because it now takes longer for this problem to occur in r4, and on some earlier r versions I couldn't connect to 802.1x (enterprise) networks at all.

The last version where wifi works 100% properly is 11/14/2020. I'm on the latest stock Oxygen OS, latest stable Magisk.

If there are any logs or other data I can provide to help troubleshoot this, please let me know.
 

mcdachpappe

Recognized Developer
Oct 25, 2015
668
2,693
Wifi still broken for me on r4 (didn't try r5 b/c it doesn't list any wifi changes in changelog). Initially things work fine, but eventually I will find that my wifi is on but not connected to the local wifi and the list of available wifi networks will be blank. The only way to fix this is to reboot the phone. There have been improvements with each "r" version, because it now takes longer for this problem to occur in r4, and on some earlier r versions I couldn't connect to 802.1x (enterprise) networks at all.

The last version where wifi works 100% properly is 11/14/2020. I'm on the latest stock Oxygen OS, latest stable Magisk.

If there are any logs or other data I can provide to help troubleshoot this, please let me know.
thanks for your feedback. please join our telegram group to grab the latest test build which is based on my old kernel tree (this includes your mentioned wifi drivers of 11/14/2020).
 

nirogu325

Senior Member
Oct 15, 2010
3,558
1,883
Amazon Fire HD 8 and HD 10
Amazon Fire
thanks for your feedback. please join our telegram group to grab the latest test build which is based on my old kernel tree (this includes your mentioned wifi drivers of 11/14/2020).
Hello. I checked your TG group and found the test kernel just for OOS. On R5 I am having yet again the same 2.4GHz WiFi performance issue (using RRemix). I'll keep an eye out for a Custom variant of the test kernel.
 

Aashay

Senior Member
Sep 19, 2014
275
73
I am on the latest version of the kernel and using FKM app. I wanted to block wakelocks but I am unable to see that option anywhere. Any help is appreciated.
 

scorpio76r

Senior Member
Jan 10, 2016
1,129
415
All over like street lights
I am on the latest version of the kernel and using FKM app. I wanted to block wakelocks but I am unable to see that option anywhere. Any help is appreciated.
That option isn't present via the fkn app. This is a great kernel out of the box as is. I run this kernel and, Nolimits and, this phone is great. Try nolimits 12.0 if you are using Oxygen OS. You won't regret.
 

Top Liked Posts

  • 1
    This r6 kernel rocks!!! Thanks for another great hit!
    1
    Hi your new custom kernel working great thanks for the update 👍
  • 15
    Hello,

    we were busy on working and updating the previous kernel base, enjoy!


    # Changelog:
    • Change kernel-base back to our old tree, bye CAF!
    • Magisk is not required anymore
    • Compiled with mcd clang v11 and LLD
    • Upstream OxygenOS kernel sources 10.3.12
    • Upstream to android stable-linux to 4.9.275
    • Add all our previous additions to this kernel base
    • Remove Swap/vbswap/zram
    • Internal fixes and clean-ups

    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 r6

    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:

    1
    Hello,

    we were busy on working and updating the previous kernel base, enjoy!


    # Changelog:
    • Change kernel-base back to our old tree, bye CAF!
    • Magisk is not required anymore
    • Compiled with mcd clang v11 and LLD
    • Upstream OxygenOS kernel sources 10.3.12
    • Upstream to android stable-linux to 4.9.275
    • Add all our previous additions to this kernel base
    • Remove Swap/vbswap/zram
    • Internal fixes and clean-ups

    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 r6

    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:

    Thank you, you are the only one actively maintaining a kernel for the 6t
    1
    @mcdachpappe
    Thank you so much for r6
    WIFI PROBLEMS SOLVED
    Life is great again. :)
    1
    Hello,

    we were busy on working and updating the previous kernel base, enjoy!


    # Changelog:
    • Change kernel-base back to our old tree, bye CAF!
    • Magisk is not required anymore
    • Compiled with mcd clang v11 and LLD
    • Upstream OxygenOS kernel sources 10.3.12
    • Upstream to android stable-linux to 4.9.275
    • Add all our previous additions to this kernel base
    • Remove Swap/vbswap/zram
    • Internal fixes and clean-ups

    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 r6

    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:

    Thanks for making the best kernel for 6t!
    1
    Thanks for maintaining the Kernel for our device OP6 and 6T.
    I can see practical improvements for WiFi 5ghz in the latest r6 build.
  • 66
    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 the upstreamed android-linux-stable kernel source with additional features and commits from different great developers out there.

    Kernel builds r1 to r5 are based on arter97's OP6 kernel swap variant.


    # Thread / Kernel information:
    1. Supports OnePlus6 and OnePlus6T
    2. Unified kernel: build 14-07-2020 to 16-12-2020 [OxygenOS and AOSP custom ROMs
    3. Feel free to ask for new features/commits which you like to see in this kernel
    4. Please have a look at #post2 of this thread for download links and further details before downloading and flashing this kernel!
    5. Be nice and respectful to each other


    # Main Features:
    • Systemless installation
    • Passes SafetyNet
    • Compiled with LLVM Clang v11 toolchain + LTO and LLD
    • Preserves magisk [if present]
    • #########################################
    • Upstreamed android-linux-stable branch
    • Upstreamed OnePlus/OxygenOS 10 kernel source
    • Battery_idle mode support [Advanced charging controller needed]
    • CPU input_boost - [disabled 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
    • Sound control and Microfone gain
    • TCP: advanced TCP algorithms - [Westwood as default]
    • USB Fast Charge toggle - [disabled by default]
    • Vibration control
    • Wakelock blocker
    • WiFi module picked from CAF's source
    • WireGuard support
    • Removed a lot of debugging stuff and log spam


    # 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, 0ctobot
    • Huge thanks to @rippledrums for designing our logo!
    • Thanks to everyone i may forgot


    # Support:



    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 2021-07-22
    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:
    30
    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:

    28
    Downloads:
    Latest: mcd r6
    FKM Updater configs: oos | custom


    History:​



    Known issues:
    • McLaren detection won't work with builds starting of 14-11-2020 due to removed OnePlus drivers.
    • Gestures might not work on some custom ROMs as this kernel uses LineageOS gesture handling.


    Telegram contact:



    Installation:
    - 'Clean flash' [mandatory if you are coming from a different kernel]
    1. [optional] Delete your kernel-manager-app data
    2. Boot into custom recovery
    3. Flash full OxygenOS-rom .zip / Custom ROM .zip
    4. Flash your current TWRP-installer.zip to keep your custom recovery [custom ROM depending]
    5. Reboot again into recovery [to switch active partition]
    6. Repeat Step 3 and 4 [to flash ROM on slot_a and slot_b]
    7. Reboot into recovery again [to switch active partition again]
    8. [optional] Flash magisk .zip
    9. Flash kernel .zip
    10. Reboot into system

    - Updating:
    a) via kernel manager app:
    1. [optional] Delete your kernel-manager-app data
    2. Select 'Flasher'
    3. Select kernel .zip
    4. Reboot system
    b) via recovery / TWRP:
    1. [optional] Delete your kernel-manager-app data
    2. Boot into custom recovery
    3. Flash kernel .zip
    4. Reboot into system
    27
    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