[KERNEL][Android 10-13][OOS/Custom] mcd-kernel [r19] - OnePlus 6 & 6T Cross Device Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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:
Kernel group: t.me/mcd_kernel
Kernel update channel: t.me/mcd_kernel_builds
Sources:
AnyKernel3: https://github.com/mcdachpappe/AnyKernel3
Toolchain: https://github.com/mcdachpappe/mcd-clang
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

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:
! First CAF based kernel build above this point !
build 16-12-2020
build 14-11-2020
build 30-10-2020
build 18-10-2020
build 02-10-2020
build 15-09-2020
build 23-08-2020
build 02-08-2020
build 14-07-2020
! Seperate Kernel for OOS and Custom ROMs below this point!
build 03-07-2020
build 24-06-2020
build 04-06-2020
build 25-05-2020
build 10-05-2020
build 04-05-2020
build 30-04-2020
build 19-04-2020
build 13-04-2020

Awesome! :victory:
Sent from my OnePlus 6T using XDA Labs

Great to see a mix of these three kernels!

GamingDevilsCC said:
Great to see a mix of these three kernels!
Click to expand...
Click to collapse
Wow i remember u from A1 forum,great to see u here!

kernel update: r2
Changelog:
merge stable Linux v4.9.177
add blu_schedutil cpu governor
remove LED control for OP6T
compiler optimizations
misc stuff
Download:
mcd-kernel-op6-r2.zip
Changelog: at pastebin.com or androidfilehost.com​
Notes:
Feedback is highly appreciated
You may delete the data of your kernel-tweak app to see/apply the new default values

mcdachpappe said:
Changelog:
merge stable Linux v4.9.177
add blu_schedutil cpu governor
remove LED control for OP6T
compiler optimizations
misc stuff
Download:
mcd-kernel-op6-r2.zip
Changelog: at pastebin.com or androidfilehost.com
Notes:
Feedback is highly appreciated
Telegram-Group:t.me/mcdkernelop6
Telegram-Channel:t.me/mcdkernelchannel
Small note:
I do not like to say this, but since I spent a lot of time on this project, I would be happy if you would consider to do a little donation: paypal.me/mcdachpappe
Click to expand...
Click to collapse
Thanks... Never seen so much battery life and performance in one place... Great kernel... Using 3days... And still solid and smooth

Does this kernel support arter97's f2fs File Based Encryption?

Khaveesh said:
Does this kernel support arter97's f2fs File Based Encryption?
Click to expand...
Click to collapse
Yes... Using it with f2fs... And yes flash f2fs format zip in arters topic then before booting up flash f2fs fstab... Worked fine... Btw this kernel is stable(VERY STABLE FAST AND BATTERY FRIENDLY).... and with f2fs it even can fly...

James Blode said:
Thanks... Never seen so much battery life and performance in one place... Great kernel... Using 3days... And still solid and smooth
Click to expand...
Click to collapse
have you tried the HolyDragon kernel?
(or BluSpark or SmurfKernel?)
how does it compare?

One small bug, the link speed for wifi is always 0.
The wifi works fine though

metaxda said:
have you tried the HolyDragon kernel?
(or BluSpark or SmurfKernel?)
how does it compare?
Click to expand...
Click to collapse
Tried... Not much of different... But this is fast smooth and very battery friendly... Exactly for battery this is a monster... All kernels are good... Tried even arter97, radioactiv, smurf, ex... Etc... Now staying with this

If I'm on oos 9.0.5 with xXx and Renovation rom with stock kernel all I have to do is flash this kernel zip right? No need to flash the boot image?

James Blode said:
Thanks... Never seen so much battery life and performance in one place... Great kernel... Using 3days... And still solid and smooth
Click to expand...
Click to collapse
Which rom are you using?stable or beta?

kakkooran said:
Which rom are you using?stable or beta?
Click to expand...
Click to collapse
Stable

kakkooran said:
Which rom are you using?stable or beta?
Click to expand...
Click to collapse
Stable... 9.0.5... is it working on betas? Cause I always use Stable...
---------- Post added at 06:56 PM ---------- Previous post was at 06:55 PM ----------
akiwiz said:
If I'm on oos 9.0.5 with xXx and Renovation rom with stock kernel all I have to do is flash this kernel zip right? No need to flash the boot image?
Click to expand...
Click to collapse
Yes... BUT FLASH MAGISK AND THEN KERNEL... THAT IS CRITICAL TO FLASH MAGISK BEFORE KERNEL... AND ALWAYS

Smooth as a shark:good:

James Blode said:
Stable... 9.0.5... is it working on betas? Cause I always use Stable...
---------- Post added at 06:56 PM ---------- Previous post was at 06:55 PM ----------
Yes... BUT FLASH MAGISK AND THEN KERNEL... THAT IS CRITICAL TO FLASH MAGISK BEFORE KERNEL... AND ALWAYS
Click to expand...
Click to collapse
I tried this on Beta 18 but it led into brick my phone

kakkooran said:
I tried this on Beta 18 but it led into brick my phone
Click to expand...
Click to collapse
Oh... Maybe this is exactly for stable oos? Idk... What version of magisk did you flashed?and what kind of error did you get? Bootloop or maybe Qualcomm crashdump? Or it is rebooting to recovery?

Kernel is pretty smooth but on the balanced profile the big core is at least 25%-30% on the top frequency just when browsing net or chatting WhatsApp. Normally smurf and holydragon doesn't act like this on balanced profile

Related

[KERNEL] [blu_spark r226 unified OP5/5T] [A10 unified]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel features:
Build with custom toolchain blu_gcc-11.2 (cortex-a73.cortex-a53 targeted, build from gcc-11.1.0 snapshot with latest bleeding edge components)
Full -O2 build with device and target flags enhanced, linaro build improvements, etc
Less is more: stockish OP5 builds based on OnePlusOSS/android_kernel_oneplus_msm8998
Systemless installer (doesn't touch system partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
Removed some debug and logging options
ARM enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes
Several CPU Governors (blu_active modded own governor by default - fastlane mode available!)
No OC, use 250HZ kernel timer frequency
msm_performance input boost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default), Network and Wifi tweaks and updated drivers
Several I/O control tweaks, added schedulers FIOPS and ZEN v2 is default, tweaked and upstreamed filesystems (F2FS, ExFAT, NTFS, CIFS & NFS)
Removed verify and doesn't force encryption, patched SafetyNet flags to pass CTS
Stock thermal driver by default (custom tunables available for ROMs with no thermal daemon)
Disabled hotplug, also on low battery levels (CTL and BCL)
Optimized crypto routines
ZRAM Swap (LZ4) and adaptive LMK on by default
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and reworked GPU driver (goes to idle @ 180MHz)
adrenoboost enabled by default at low level
KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
KLAPSE support (v5.0)
Backlight min brightness option
USB Fast Charge (USB mode up to 900mA with MTP on)
Battery/Notification LED control
FS fsync toggle on/off
Wakelock blockers available
zx2c4's wireguard support
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
Compatible with Kernel Adiutor, EXKM, FKM and others
DOWNLOAD KERNEL ZIP
FKM download configs: oos | custom
Extras download location
(No mirrors please)​
Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.
About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.
Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
OnePlus 5 development unit donated by OnePlus. Big shouts to them
Very proud of being on the OnePlus Developer Program, special thanks to Adam K. for being such a supportive person.
Contributors
eng.stk
Source Code: https://github.com/engstk/op5
blu_spark r8
All right crew!
First build of your favorite kernel is up. Wicked!
Just got an OP5 developer unit yesterday from Oneplus, so today you already have a fully featured blu_spark build.
Most of the features you are used to from blu_spark on OP3/3T and others are in, this first build was compiled with Linaro GCC 5.4 (blu_naro 7.1 build still need some work).
Pretty happy with the stable and smooth base, next weeks will bring more of the usual goodies, there's still lot's of room for improvements :fingers-crossed:
blu_spark_r8-oos_op5_49e4692.zip
First public build (check OP and github for details)
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Keep in mind: I will give no active support for custom ROMs (including OOS based ones) or OB.
Meaning, if using anything besides stock and stable OOS don't bother posting about it.
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Custom build isn't compatible with EAS stuff.
Also don't go spam and bug reporting on ROM threads if using this.
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Loved your kernel on my old Oneplus X and Nexus 5. So awesome to have you back.
Congrats for getting recognised by OnePlus and getting a free OP5. :good:
@eng.stk Bad boy of kernel is here!!!!Yes!!!!Tnx bro!!
wow finally wellcome
Welcome, let's start the show!
So glad to see you here, thanks for the support! Am I missing the kernel download? Doesn't seem to be on the download page. Thanks again!
opensource4life said:
So glad to see you here, thanks for the support! Am I missing the kernel download? Doesn't seem to be on the download page. Thanks again!
Click to expand...
Click to collapse
Wait.....
Oh I'm more than happy to wait as long as necessary for this bad boy! Just wanted to make sure I wasn't missing it is all
Welcome @eng.stk ! Loved youd Kernel on the OP3 :good:
opensource4life said:
Oh I'm more than happy to wait as long as necessary for this bad boy! Just wanted to make sure I wasn't missing it is all
Click to expand...
Click to collapse
It's up, enjoy guys!
Great times ahead of us guys, this is an awesome device :highfive:
eng.stk said:
It's up, enjoy guys!
Great times ahead of us guys, this is an awesome device :highfive:
Click to expand...
Click to collapse
Bro,are you also thinking to do your blue twrp?Just to know....tnx a lot,i m so happy that you are here!!
Sweet!..Loved your kernel on onyx.
eng.stk said:
It's up, enjoy guys!
Great times ahead of us guys, this is an awesome device :highfive:
Click to expand...
Click to collapse
Thank you so much!!!
Flamehell said:
Bro,are you also thinking to do your blue twrp?Just to know....tnx a lot,i m so happy that you are here!!
Click to expand...
Click to collapse
Nice to see all of you guys here
For the time being my priority is OOS kernel and will consume pretty much all of my time since it has lot's of new stuff.
Omg, my favorite kernel now on the OnePlus 5 :laugh::highfive:
Wow this was quick, considering you only got the device yesterday.
Keep it up buddy !!
Is this OK, or do I need to flash again? I download the zip from the first post, flash in twrp, the app comes with a update.
tinuz97 said:
Is this OK, or do I need to flash again? I download the zip from the first post, flash in twrp, the app comes with a update.
Click to expand...
Click to collapse
That's ok, that app is searching for other kernel updates.
eng.stk said:
All right crew!
First build of your favorite kernel is up. Wicked!
Just got an OP5 developer unit yesterday from Oneplus, so today you already have a fully featured blu_spark build.
Most of the features you are used to from blu_spark on OP3/3T and others are in, this first build was compiled with Linaro GCC 5.4 (blu_naro 7.1 build still need some work).
Pretty happy with the stable and smooth base, next weeks will bring more of the usual goodies, there's still lot's of room for improvements :fingers-crossed:
blu_spark_r8-oos_op5_49e4692.zip
Keep it real, keep it true, keep it blu :highfive:
Keep in mind: I will give no active support for custom ROMs (including OOS based ones) or OB.
Meaning, if using anything besides stock and stable OOS don't bother posting about it.
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Custom build isn't compatible with EAS stuff.
Also don't go spam and bug reporting on ROM threads if using this.
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Click to expand...
Click to collapse
Yeahhhhh :fingers-crossed::highfive:
Happy to see you again :good: Keep the good work !

[KERNEL][J7 PRO][8.0+] Oxygen Kernel v2.0.132

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Oxygen Kernel is based on stock Samsung source code taken from Samsung Opensource Release Center with sole aim to provide better performance, stablity and battery backup than stock kernel. A kernel tells the hardware in your Android device how to behave, kind of like your mommy tells you how to behave. You can modify how fast your processor runs by over or under clocking it or optimize your system for battery life.
Oxygen Kernel is always up-to-date with latest patches from kernel.org
Known for maximum stability and smooth performance
All the Source Code is available on github
Kernel Info
LINUX: 3.18.132
SAFETYNET: Green
SELINUX: Permissive
TOOLCHAIN: Google's GCC 4.9
Compatible ROMS
All Touchwiz 8.0 and 8.1 ROMs
All AOSP 8.1 and 9 ROMs
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version
Full -Ofast build with graphite optimisations
Removed a lot of useless debug and logging options
Disabled TIMA, KNOX, DM-VERITY,etc
Awesome battery life and smooth performance
ARM enhanced performance patches
Overclock CPU up-to 1.7GHz and GPU up-to 1146MHz
GPU Voltage Control
CPU Governors: conservative, interactive, ondemand, performance, powersave, userspace (default: interactive)
I/O Schedulers: bfq, cfq, deadline, maple, noop (default: maple)
Powersuspend and State Notifier drivers
Dynamic FSync, FS fsync toggle on/off
Frandom driver for 10-50x faster random number generation
Spectrum Support (a simple, profile based kernel manager || now integrated into Oxygen Control)
Disabled CRCs by default for 30% performance boost
CDROM emulation on mass_storage (compatible with DriveDroid)
Wireguard support
Boeffla Wakelock Blocker
Oxygen Control App Features
Full CPU and GPU Control
Boeffla Wakelock Blocker
Spectrum Support
Samsung Hotplug
CRC Control
And many more!
These features are only available through Oxygen Control App
Download Oxygen Control from Github Releases
Warning: If you come from some other custom kernel or have any issues, you should dirty flash your ROM before flashing Oxygen Kernel to avoid problems.
Reflash ROM -> Flash Oxygen Kernel --> Flash Magisk if you want to root
If you are upgrading between Oxygen Kernel versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
Going back to stock: You can backup your boot.img with TWRP before flashing Oxygen Kernel and restore the backup whenever you want to revert.
This kernel removes forced encryption, if you face "encryption process failed" error upon reboot then you need to format /data. This is generally needed if you are installing this kernel on stock tw rom
Downloads
Kernel
Download
Oxygen Control
Download
Telegram Group
Join Oxygen Kernel Community group on Telegram here
Join Oxygen Kernel Channel on Telegram here
If you like my work donations are always welcome
Google Pay UPI ID: [email protected]
Paypal: https://paypal.me/SiddhantNaik
Don't forget to hit the thanks button, it's free.
Credits
Samsung Open Source Center for the Source code
@Oves786 and @SolarX_dev for numerous help and support
@osm0sis for AnyKernel2
@jesec for Fingerprint Fix
@morogoku for MTweaks
Everyone others from whom i have picked commits (credited on Github)
XDA:DevDB Information
Oxygen Kernel J7 Pro, Kernel for the Samsung Galaxy J7 (2017)
Contributors
DarkLord1731
Source Code: https://github.comDarkLord1731/j7y17lte
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 2.0.132
Stable Release Date: 2019-01-26
Created 2018-05-23
Last Updated 2019-08-11
Changelogs:
Oxygen Kernel v2.0.132
Linux 3.18.132
Fixed kernel not booting on some TW oreo ROMs
Enabled back Input Booster for a better responsive user experience
Updated to latest kernel source
Removed some useless CPU governors (Only the best ones are kept)
Removed unwanted IO Schedulers (Only the best ones are kept)
Updated the kernel to better support AOSP ROMs
Switched to Google's GCC 4.9 toolchain
Removed a lot of useless debug and logging options
Disabled TIMA, KNOX, DM-VERITY,etc
Check github source for more changes
Loads of other changes
I can't list all of the changes because i've rebased the source code completely. But believe me, this is a major update.
Oxygen Kernel v1
Initial Release
Reserved
Battery And Performance At Its MAX
Thanks @DarkLord1731 For Your Work
Thanks you
It freezes in splash screen and then kicks back to twrpm J7 PRO G variant
mozzafar alali said:
Thanks you
Click to expand...
Click to collapse
Good work bro so far running great
parth111999 said:
Battery And Performance At Its MAX
Thanks @DarkLord1731 For Your Work
Click to expand...
Click to collapse
mozzafar alali said:
Thanks you
Click to expand...
Click to collapse
razkal1 said:
Good work bro so far running great
Click to expand...
Click to collapse
Thanks
LuanTeles said:
It freezes in splash screen and then kicks back to twrpm J7 PRO G variant
Click to expand...
Click to collapse
Fixed and reuploaded
DarkLord1731 said:
Thanks
Fixed and reuploaded
Click to expand...
Click to collapse
Same thing on j730f/ds
---------- Post added at 11:57 AM ---------- Previous post was at 11:47 AM ----------
skayii said:
Same thing on j730f/ds
Click to expand...
Click to collapse
nevermind, i flashed aosp kernel:/ My bad
Thanks, it was perfectly installed on J730FM (stock)
Thnaks.keep it update regularly..:victory:
Can it work on resurrection remix Oreo?
james Chimba said:
Can it work on resurrection remix Oreo?
Click to expand...
Click to collapse
Yes
Successfully installed in j7 pro G/DS though not rooted, any suggestion on how to root? the last time I rooted having issue on screen unlocking delay that I have to unroot.
Sorry for such a question, but it says "Any AOSP Oreo Roms", does this mean any or the only one found in the ROM Forum Secton for this device?
Hello,Can it work on ROM][7.0][NovaOS][J7 Pro J730F][NoteFE Full Port]?
GGhost said:
Sorry for such a question, but it says "Any AOSP Oreo Roms", does this mean any or the only one found in the ROM Forum Secton for this device?
Click to expand...
Click to collapse
Yes Any=Any AOSP oreo rom
Agusvn said:
Hello,Can it work on ROM][7.0][NovaOS][J7 Pro J730F][NoteFE Full Port]?
Click to expand...
Click to collapse
Yes
Battery life is way shorter on this kernel. But performance is much better
Noooooooo !!!
My battery gonna to die !! HELP ! :crying:
Battery life is fine for me rr 6.0 j730f

[KERNEL][3.18.133] KernelX Project [Gemini][2019/02/03]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DISCLAIMER
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, 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, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
ABOUT:
This is my personal kernel project, which I looked to be a stable kernel for daily usage, with useful features only, and to have a half term under performance and battery life for Xiaomi msm8996 devices. Inspired by projects like Flash Kernel and ElementalX Kernel
"While I am not a super star kernel developer, I do know my way around it." (Chancellor, Nathan - 2017) ​
PROJECT GOALS:
Keep kernel up-to-date with lastest stable Linux Kernel version (3.18.123)
Offer the user the best balance between battery life and performance
Just useful features. Features may be included only as needed (Read FAQ section to know the features that I won't add in anyway)
FEATURES:
Here are the major features of the kernel (More details on the Github repo)
Up-to-date with the latest stable Linux Kernel version (3.18.133)
Mainline Linux patches for CFQ
Several subsystems converted to use power efficient workqueues
Hides bootloader unlock from SafetyNet (can still fail through other means)
Available to flash with AnyKernel2 (thanks to @osm0sis)
Users facing features:
KCAL color control
USB Fastcharge
Adreno Idler
Boeffla Wakelock Blocker
INSTALLATION:
Boot to recovery
Flash kernel zip
Reboot
Yay! You've installed the kernel :victory:
DOWNLOADS: https://sourceforge.net/projects/kernelx-project/files/
Telegram Channel: https://t.me/KernelXChannel
Liked my work? Make a donation : http://bit.ly/hlcpereira_paypal
F.A.Q:
Q: Are you Planning to support MIUI?
1. A: No.
Q: Could you include feature x,y and z in your kernel please?
2. A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I won't promise that I will merge every request but I will always take it into consideration. I will NOT add:
Overclock or underclock of the CPU and GPU (Except for the cases that the device has a underclock on both or in just one, then it'll be considered)
Undervolt
Any other governors except the "kernel stock" ones
Any feature that just one or two people is going to use
Q: I'm having an issue, can you help me?
3. A: I'm not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue. If I can't reproduce reliably, I'm not going to fix the issue. (Extracted from Nathan Chancellor's Flash Kernel Thread)
Q: The kernel is f*cking up my battery! Plz...
4. A: Stop right there. The Kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone. If verified the clocks are always online and on the max clock, then it'll checked out what's happen. Anyway logs are necessary.
THANKS TO:
@nathanchance
@flar2
@franciscofranco
@LuK1337 and Mi5Devs
@xNombre
Any other developer that I might forgot
ADDITIONAL NOTES:
ABOUT KERNEL USAGE IN OTHER ROMS THAT ARE NOT MINE:
You are free to use the kernel if you want. The only thing that I'll request to do it's to keep the kernel name. If you have modified something, just add a "-Mod" in the final of the kernel name or anything that states that the kernel has been modified, not by me, but by ROM maintainer.
XDA:DevDB Information
KernelX, Kernel for the Xiaomi Mi 5
Contributors
Hlcpereira
Source Code: https://github.com/Hlcpereira/kernel_xiaomi_msm8996
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2018-09-17
Created 2018-09-18
Last Updated 2019-02-03
Reserved #1
Reserved #2
Interesting! Finally a kernel that focuses on stability and battery life.
I'm hoping for some good releases, good work!
Is it a EAS or HMP kernel?
Shicheng Zhou said:
Is it a EAS or HMP kernel?
Click to expand...
Click to collapse
As stated on thread title, it's HMP. I'm planning to do an EAS version soon.
Does It work over Nougat? Thanks.
Is this kernel has the pie support, as pie caf tag integrated
DLG32 said:
Does It work over Nougat? Thanks.
Click to expand...
Click to collapse
learn to read carefully
drpraveen said:
Is this kernel has the pie support, as pie caf tag integrated
Click to expand...
Click to collapse
It's working on Pie ROMs as for now, but with the rebase of all stuff for Pie, the version for Pie and Oreo will be separated from one and other soon.
Kernel Update!
Just a little update with upstreamed kernel version (3.18.122)
Link on OP.
Hlcpereira said:
Kernel Update!
Just a little update with upstreamed kernel version (3.18.122)
Link on OP.
Click to expand...
Click to collapse
Thank you for your work and update , its seems your kernel is very good
Kernel Update!
- Upstreamed to 3.18.123
- Merged LA.UM.6.6.r1-09800-89xx.0 tag
- Included Adreno Idler
- Enabled Westwood TCP
Also released EAS version.
Download link: https://sourceforge.net/projects/kernelx-project/files/gemini
Hay anyone flashed in on PIE? My wife using semi gsi pie
fuxmen said:
Hay anyone flashed in on PIE? My wife using semi gsi pie
Click to expand...
Click to collapse
Flashed on ArrowsOS - HMP Pie. Stable, but some lagging not sure if ROM or Kernel or both combo not good. At least Touchboost and CPU boost helped.
fuxmen said:
Hay anyone flashed in on PIE? My wife using semi gsi pie
Click to expand...
Click to collapse
@Jonas Cardoso have tested on LOS 16.0 both HMP and EAS. All them booted and seems to be fine.
Will we have this kernel to official PE rom?
chandonmiaxda said:
Will we have this kernel to official PE rom?
Click to expand...
Click to collapse
Yep
Will it works with xiaomi.eu global rom?
First FAQ...
GGelmi

[KERNEL][8.1/9.0][TREBLE] Reaper [HMP][CLANG 7.0.2][4.4.159]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello everyone, this is my personal kernel for the OnePlus 5. While I am not a super star kernel developer, I do know my way around it. Hopefully you enjoy :highfive:
NOTE: This list fluctuates with versions, it will not always been 100% up to date
Here are the major features of the kernel (feel free to explore Github)
Based on GzR kernel
Up to date with the latest stable Linux version (4.4.159)
Up to date with the latest CAF branch (kernel.lnx.4.4.r27-rel)
Mainline patches from Linux, focusing on bug fixes/security
Mainline CFQ scheduler improvements
Several subsystems converted to use power efficient workqueues
Backlight dimmer
KCAL color control
CPU Input Boost driver
Devfreq Boost driver
Sound control
Wakelock control
Westwood as the default TCP algorithm
Built with the latest Google Clang 7.0.2 toolchain
Hides bootloader unlock from SafetyNet (can still fail through other means)
Disables dm-verity
Does NOT modify decryption status
Flashed with AnyKernel2 (thanks to @osm0sis)
Primary: https://androidfilehost.com/?w=files&flid=283181
Through TWRP:
If you are on a custom ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one Reaper version to the other:
Just flash the kernel zip and reboot
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue, following this guide. If I can't reproduce reliably, I'm not going to fix the issue.
1.2 Q: What ROMs are compatible with the custom builds?
1.2 A: My daily driver is GZOSP so I test all the builds on this ROM but this kernel should work on other pie ROMs. If you are using a ROM with no issues, let me know and I'll add it here! If you are having issues, following the above steps and I'll attempt to fix whatever incompatibility there is. If I can't do it without breaking GZOSP compatibility, you're out of luck.
1.3 Q: Can you add xyz feature?
1.3 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration.
1.4 Q: How do I control the kernel?
1.4 A: I want to be very clear: the kernel does NOT need to be tuned to be useful. Most of the improvements are under the hood and don't require any user intervention to take advantage of them. In fact, if you don't know what you are doing, you could degrade the experience. To control the user visible features of the kernel listed above, I recommend using @flar2's EX Kernel Manager.
1.5 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.5 A: The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone.
The various other developers for their patches
@martinusbe, @nathanchane for their work on GzR kernel
@nathanchance for android-linux-stable organization, thread inspiration, patches, tips and for inspiring me to start kernel development
@KuranKaname for helping me with kernel and being a bro
@nychitman1 for him work on DU kernel (lots of patches are inspired from him work)
@mady51 for introducing me in kernel development
@osm0sis for AnyKernel2
@akhilnarang for him modified AnyKernel2 for OP5, help and patches for my kernel
All of you guys for viewing the thread
reaper (custom ROMs - 9.0): https://github.com/FRNKSTN/Reaper/tree/reaper
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
Reaper, Kernel for the OnePlus 5
Contributors
FRNKSTN, martinusbe, KuranKaname
Source Code: https://github.com/LiquidRemix-Devices/android_kernel_oneplus_msm8998
Kernel Special Features: HMP
Version Information
Status: Stable
Current Stable Version: 20180930
Stable Release Date: 2018-09-30
Created 2018-09-30
Last Updated 2018-10-15
Reserved
Reserved
Added to the OnePlus 5 Index Thread here. Also, a suggestion @FRNKSTN, do include the [KERNEL] tag in the thread title, because at the moment the title doesn't convey whether Reaper is a kernel or a custom ROM.
shadowstep said:
Added to the OnePlus 5 Index Thread here. Also, a suggestion @FRNKSTN, do include the [KERNEL] tag in the thread title, because at the moment the title doesn't convey whether Reaper is a kernel or a custom ROM.
Click to expand...
Click to collapse
Thanks for adding to index and for your suggestion. Added
Which rom are you using? Can it be used in oreo roms?
Sent from my OnePlus 5 using XDA Labs
bkma said:
Which rom are you using? Can it be used in oreo roms?
Click to expand...
Click to collapse
It's an pie kernel. I use GZOSP 9
bkma said:
Which rom are you using? Can it be used in oreo roms?
Click to expand...
Click to collapse
Boots and is working fine so far on Oreo. Use at your own risk if dev says it's for Pie only.
mp3deviant721 said:
Boots and is working fine so far on Oreo. Use at your own risk if dev says it's for Pie only.
Click to expand...
Click to collapse
This is awesome I said only pie because is maded on a pie kernel branch. If all is working good I'll say oreo support on this thread
FRNKSTN said:
This is awesome I said only pie because is maded on a pie kernel branch. If all is working good I'll say oreo support on this thread
Click to expand...
Click to collapse
It's working good still. It should theoretically work fine with Oreo until OnePlus releases Pie or until there are too many Pie specific commits in the kernel.
mp3deviant721 said:
It's working good still. It should theoretically work fine with Oreo until OnePlus releases Pie or until there are too many Pie specific commits in the kernel.
Click to expand...
Click to collapse
So this is awesome I never thinked that. I'll add now in thread title that 8.1 is supported.
FRNKSTN said:
It's an pie kernel. I use GZOSP 9
Click to expand...
Click to collapse
Can you share a link for GZOSP rom and even I can't find the xda thread for it. And are the steps for installation same as other custom rom?.
Nilu99 said:
Can you share a link for GZOSP rom and even I can't find the xda thread for it. And are the steps for installation same as other custom rom?.
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=1322778262904017374
Flash like this.
1. Firmware 5.1.3
2. ROM (link is here)
3. OpenGapps (ARM64/9.0)
4. Magisk (latest stable)
5. No-verity patch (gzosp works only on decrypted devices)
Enjoy!
Just outta curiosity, is zram gonna be removed eventually? It seems to be enabled out of the box...
mp3deviant721 said:
Just outta curiosity, is zram gonna be removed eventually? It seems to be enabled out of the box...
Click to expand...
Click to collapse
Use any kernel tweak app if you want to disable that. This kernel is based on my daily usage so there are enabled all things that I use and disabled all things that I don't use.
Primary: https://androidfilehost.com/?fid=1322778262904018741
Maple I/O scheduler is now removed
Reworked kernel init (thanks to @KuranKaname)
Defconfig optimization and cleanup (thanks to @Sultanxda and @KuranKaname)
Added CPU Input Boost driver (thanks to @Sultanxda and @KuranKaname)
Added Devfreq Boost driver (thanks to @Sultanxda and @KuranKaname)
BCL driver is now disabled
Kernel is now using their own LMKD
Optimizations for battery life, performance and stability
Primary: https://androidfilehost.com/?fid=1322778262904023489
Kernel is now inline with CAF
WiFi driver is now inline with CAF
Added sweep2sleep and sweep2wake
Added notification led control
Removed "internal error" message after booting some ROMs
Kernel will boot now with an lower freq (inspired from @Sultanxda)
CPU now can get down to 230MHZ
GPU now can get down to 180MHZ
Resolved scrolling lags on some ROMs
Input boost lowered to 1200
Optimization for stability, performance and battery life
Will Work in PixenOs pie build custom ? THX in advance
Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
it works well ..
Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
morfances said:
Will Work in PixenOs pie build custom ? THX in advance
Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
Click to expand...
Click to collapse
Didn't tried that ROM. I try only GZOSP and LR.

Development [KERNEL] [blu_spark r148 OP9/Pro] [A13 Custom]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel features:
Build with custom upstream LLVM 14.x (Clang 14.0.6 + LLD linker + IAS)
full ThinLTO -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc
Less is more: stockish OP9 builds based on OnePlusOSS/android_kernel_oneplus_sm8350 for max stability
Systemless installer (doesn't touch system/vendor partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
Removed some debug and logging options
ARM enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes for important subsystems
Modded schedutil governor merged from latest CAF sm8350 patchset
No OC, use 250HZ base timer frequency
msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default, BBR available), Network tweaks and updated drivers
Several I/O control tweaks, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
ZRAM Swap (4GB LZ4 default) and with file disabled (2 GB storage gain), LZO-RLE and ZSTD are available
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and general improvements for GPU driver
adrenoboost ready (disabled by default)
Backlight min brightness and brightness scaling (custom) option
Gamepad support enabled (xbox, ps4, switch)
USB2 Fast Charge (USB mode up to 900mA with MTP on)
FS fsync toggle on/off
Wakelock blockers available
wireguard support
Compatible with Kernel Flasher, EXKM, FKM , Kernel Adiutor and others
DOWNLOAD KERNEL ZIP
Kernel Flasher/FKM download configs: oos | custom
(No mirrors please)​
Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock boot.img/vendor_boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.
About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.
Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img/vendor_boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
Source Code: https://github.com/engstk/op9
Don't forget to hit thanks, it's free
OnePlus 9 Pro development unit donated by OnePlus. Big shouts to them
Very proud for being on the OnePlus Developer Program, special thanks to dev relations team.
blu_spark_r23 release
First blu_spark build for the OP9 series is up
This kernel is tested for the 9 Pro but it's unified, so should work for the OP9 also (need some fixes since code is broken). So backup you boot if you want to test and let me know
Kernel already have some merged goodies and I think I have a good base to work with. For a couple days of work, it's not bad
I'll take a look into more stuff to come, some things in OP are WIP. Stay tuned!
You can use FKM download kernel feature, just import the links bellow in the app.
FKM download configs: oos
Changelog:
Build with Google Clang 12.0.5 + LLD linker
Synchronize codes for OnePlus 9/Pro Oxygen 11.2.6.6.LE25AA
Several build error fixes and quirks handled
Compilation improvements an cruf removed
Some goodies already merged like filesystem stuff, cpu governor & boost/msm perf, TCP algos, wakelock blocker, vibration and haptic feedback control, gpu adrenoboost, etc
All drivers builtin, wifi stack and datarmmnet merged from CAF
net/wireguard: merge v1.0.20210424
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am mostly interested on debugging stuff in stock stable OOS (with logs and reproducible steps to replicate the issue).
No mirrors please
Don't forget to hit thanks, it's free
Thanks for the kernel, don't suppose you are still doing TWRP builds?
"Less is more: stockish OP8 builds based on OnePlusOSS/android_kernel_oneplus_sm8350 for max stability"
Click to expand...
Click to collapse
Copy paste. or you use the OP8 kernel tree ?
Yay, bluespark is here
Mar-cel said:
Copy paste. or you use the OP8 kernel tree ?
Click to expand...
Click to collapse
Fixed ;p
djsubterrain said:
Thanks for the kernel, don't suppose you are still doing TWRP builds?
Click to expand...
Click to collapse
I don't have the need for TWRP since autoflash apps, so no ;p
FKM Flasher config linked to OP8 series...
dijia1124 said:
FKM Flasher config linked to OP8 series...
Click to expand...
Click to collapse
Changed the one in OP but forgot the one in the release post xD
Just flashed and going to test on stock settings for the next 2 days! Thanks for this I ran your kernel on the 7t pro!
@eng.stk I think the kernel has the same issue as Omega had, wireless charging seems to stop at 95%
Dumped out some logs if it will help
EDIT : OK, Apparently I'm talking crap, just seemed to be charging slowly but did get to 100%
Does anyone have stock kernel?
netgar said:
Does anyone have stock kernel?
Click to expand...
Click to collapse
If you need to revert to stock, extract and flash it from the OTA update in the pinned thread (follow LineageOS's instructions on how to do that), or just flash the magisk patched one in that pinned thread.
netgar said:
Does anyone have stock kernel?
Click to expand...
Click to collapse
flash the stock boot.img of the version and region you are on.
must root ?
brmbjn said:
must root ?
Click to expand...
Click to collapse
yes
brmbjn said:
must root ?
Click to expand...
Click to collapse
I inject some runtime changes via Magisk systemless, so to get full stuff you need root.
Got some laggy sound with YouTube vanced off screen playing background music/ video. Attached log for info. Never happen with stock and omega kernel b4. Thanks
Flasher8 said:
Got some laggy sound with YouTube vanced off screen playing background music/ video. Attached log for info. Never happen with stock and omega kernel b4. Thanks
Click to expand...
Click to collapse
Can't replicate in any of my music or video apps
Charging is bit slow compared to stock or omega versions

Categories

Resources