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

Search This thread

Gytole

Senior Member
Aug 7, 2013
520
265
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.
 

mcdachpappe

Recognized Developer
Oct 25, 2015
659
2,618
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:
 
1. power-off alarm:
Everything is working fine here, there is nothing i can do, sorry

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
 

Koeties

Senior Member
Sep 17, 2014
156
59
Johannesburg
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.
 

Koeties

Senior Member
Sep 17, 2014
156
59
Johannesburg
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.
 
Last edited:

Koeties

Senior Member
Sep 17, 2014
156
59
Johannesburg
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.
 

Mr.FREE_Bird

Senior Member
Nov 5, 2013
574
522
Link, please. I would try it also

Link, please. I would try it also
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
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.
 

Ulises31

Senior Member
There is a (wifi) test build ready. It would be great if you could give it a try
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.
 

Koushik87

Senior Member
Nov 3, 2014
60
17
34
Kolkata
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.
 

Ulises31

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

Ramme

Senior Member
Dec 19, 2017
81
33
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. :)
 
  • Like
Reactions: mcdachpappe

mcdachpappe

Recognized Developer
Oct 25, 2015
659
2,618
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:

 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    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:

    3
    When downloading via Franko Kernel Manager I get a "SHA-1 hashes don't match" error. Will download and flash manually.
    just updated sha1sum's .. my bad
    2
    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

    View attachment 5282387
    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.
    1
    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:

    Thanks a lot for your support
    1
    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
    My 6T auto connects fine on OOS 10.3.9 with latest mcd kernel. Just tested it after reading your post.
  • 60
    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.

    Builds starting of 2021 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. GPU overclocked version [for those who need this] is available in our telegram-group only
    4. Feel free to ask for new features/commits which you like to see in this kernel
    5. Please have a look at #post2 of this thread for download links and further details before downloading and flashing this kernel!
    6. Be nice and respectful to each other


    # Main Features:
    • Systemless installation
    • Passes SafetyNet
    • Compiled with LLVM Clang v13 toolchain + LTO
    • Preserves magisk [if present]
    • #########################################
    • Upstreamed android-linux-stable branch / builds starting of 2021 are CAF/ALS upstreamed
    • 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-02-18
    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:
    27
    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
    27
    Update - build 16-12-2020


    Hello,

    OxygenOS 10.3.7 kernel sources were pushed, this is your kernel update!

    This update disables cpu input_boost by default. If you notice some sort of stuttering or you just want some extra performance, feel free to enable it again. In theory, lightweight app (e.g. messaging) user's should benefit of this change.

    Changelog:
    • Upstreamed to android-linux-stable 4.9.248
    • Upstreamed OxygenOS 10.3.7 kernel source
    • Upstreamed mcd-clang v12 toolchain
    • cpu-boost: Disable input_boost
    • sched/tune: Disable boost_no_override for TA and FG
    • misc stuff


    Bottom line:
    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
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone