[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] krasCGQ:
[SIZE=+1][SIZE=+2]KudKernel – from KudProject Development[/SIZE]

for the Redmi Note 4(X) Snapdragon – codenamed mido

~ designed to be minimal and will always be ~[/SIZE]​

Disclaimer – your (already) old, repeated, boring notice:

/*
* Your warranty might not be void (thanks Xiaomi). However...
*
* 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.
*/

Not-a-features-list-sheet – except base, are changes from XenonHD Official kernel:

CAF LA.UM.7.5.r1-05300-8x96.0 tag with android-3.18 kernel/common changes + Linux 3.18.140 (EOL) merged in.

Powered by osm0sis' AnyKernel3!

Compiled using Clang 9 built from source.

Compat vDSO from Pixel XL kernel.

Rapid GC patches for F2FS from arter97.

sdFAT file system from Samsung for vfat and exFAT; modified and backported by LineageOS Team with additional contributors.

WireGuard – fast, modern, secure kernel VPN tunnel

Maximum CPU frequency after boot is set to 1804 MHz by default (still user configurable).

westwood enabled and set as default TCP congestion algorithm.

SafetyNet bypass code by Sultanxda.

Boeffla Wakelock Blocker by Lord Boeffla

KCAL Color Control by savoca; MDSS MDP v1.7 port by tbalden

CPUFreq governors: performance, interactive.

Enabled Yama LSM for increased security. Default to admin-only attach.

Software CRC check exposed to userspace and disabled by default.

Excluded most of debugging symbols for kernel size reduction.

Any other improvements and tweaks that aren't worth to be listed here.

...maybe I forget more? Check sources. It speaks for itself.

Compatibility – as things are changed rapidly:

r1-r10: Oreo-MR1 non-treble ROMs only.

r3+ should support newer OV13855 camera blobs.

r4+ should support EBBG display and Goodix GT9xx touch panel.

r11-r39: Oreo-MR1, both treble and non-treble ROMs.

r26+ should support installation on P Semi-GSI with AOSP 8.1 vendor AOSP 9.0 for convenience, but remains unsupported on my side.

r37-r39 wouldn't support Pie ROMs with extremely weird Android versioning (9.0.0, 09.0.0, etc.).

r40+: Pie treble ROMs only.

Future releases: Who knows?

How-to-install:

Just flash it using your favourite recovery (TWRP, RedWolf, OrangeFox, or whatever it is), no additional hassle needed.

r39 and older zips are signed with Android test-keys; starting r40, zips are signed with KudProject release keys.

Switching from/to another custom kernel requires re-flashing of the original boot image, or when explicitly notified to do so.

r11-39's AnyKernel2 backend have been configured to detect ROM's ro.treble.enabled prop and use appropriate DTB during kernel installation.

Downloads:

Webserver

Mirror - CDN

GitHub releases

AndroidFileHost

OSDN

Credits – if not mentioned on features list:

The Linux Foundation, CodeAurora

abhishek987, highwaystar_ru

nathanchance - android-linux-stable

franciscofranco

All mido developers who're working on making the device great again (well, not you, buildbots!)

All others who have their commits or contributions picked.

XDA:DevDB Information

KudKernel (mido), Kernel for the Xiaomi Redmi Note 4

Contributors

krasCGQ

Source Code: https://github.com/KudProject/kernel_xiaomi_msm8953-3.18

Kernel Special Features: Mentioned above. ;)

Version Information

Status: Stable

Current Stable Version: r45

Stable Release Date: 2019-07-12

Created 2018-02-16

Last Updated 2019-07-12