[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Hlcpereira:
DISCLAIMER

/*
* 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 5s

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