[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rainforce279:
DISCLAIMER

[B][SIZE="3"]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.
Please read completely this thread before using for minimize FAQ.
If you coming from other custom kernel, please restore to stock boot.img or dirty flash your rom before flash this!
[/SIZE][/B]

Requirements

BACKUP your Boot.img and ROM Before flash this Kernel.

Unlock Bootloader as well

atleast on Firmware v27, check here

Latest TWRP

No need Wipe dalvik/art cache

Features

On version 4.1

Using Official XIAOMI Patch.

Support MIUI/AOSP (Nougat/Oreo)

Kernel based on CAF "LA.UM.6.6.r1-09000-89xx.0" (Oreo)

Kernel based on CAF LA.UM.6.6.r1-06300-89xx.0 (MIUI/AOSP N)

Wlan prima CAF "LA.UM.6.6.r1-09000-89xx.0" (Oreo)

Wlan prima CAF LA.UM.5.6.r1-07900-89xx.0 (MIUI/AOSP N)

Video En/Decode CAF LA.UM.5.6.r1-06900-89xx.0 (MIUI/AOSP N)

Camera Stack CAF LA.UM.5.6.r1-06300-89xx.0 (MIUI/AOSP N)

IPA Tethering CAF LA.UM.5.6.r1-06900-89xx.0 (MIUI)

Compiled with AOSP Toolchain 4.9.

support Doubletap2Wake / Sweep2Wake Gesture.

KCAL colour control & Backlight Dimmer

Xiaomi Color & Contrast patch (Needed by MIUI).

Unlock GPU clock from 475MHz to 500MHz.

added latest alucard, nightmare, darkness, clarity, blue active cpu Governors.

added Usb force fastcharge (Disabled by default | Please read Disclaimer again)

added BFQ-v8r12, Fiops, Maple, Zen, SIO i/o scheduler (CFQ as Default).

set default compression zram to Lz4.

Support and updated F2FS Filesystem (AOSP)

added custom hotplug AutoSMP and AIO (default core control by CAF)

added ExFat and NTFS Filesystem support

added sound control

added dts eagle sound integration

added boeffla wakelock blocker

added TTL target Support

More

Telegram Channel for Beta version

https://t.me/claritykernel

FAQ & Changelogs

FAQ

CHANGELOGS

Little Story

Now using official Xiaomi Patch for Redmi 4X

this kernel is nothing without Noyer, first many thanks and credits goes to him and this is his source : msm-3.18

My source is little different with Noyer source, while i'm using CAF tag release.

but this kernel can't be done without Noyer commits in git, i'm still learn to make this kernel more stable with a lots of features.​

Bugs ?

Nothing.

Report with dmesg and last_kmsg if founded.

Credits

(Not in order)

Eduardo Noyer a.k.a bitrvmpd

silent27121984 | Nikit | Nik001 (All dev bring Oreo Rom)

Savoca | Francisco Franco | Alucard24 | Showp1984 | SultanXDA

Nichream | TheScarastic | Flar2 | Nathanchance | Andip71 | Msf-jarvis

joshuous | LazerL0rd | LuanHalaiko | LuizPauloDamaceno | mostafa-z

All authors and commiters on Source

Tell me if i miss someone else

How to enable dt2w/s2w

Download Kernel Adiutor at Playstore.

Open Kernel Adiutor (KA).

KA > Wake > doubletap2wake : Full/Half

KA > Wake > sweep2wake : Sweep2wake + Sweep2sleep

sweep2sleep not working

How to costumize/enhance AutoSMP hotplug (04042018)

Check Here > https://xdaforums.com/showpost.php?p=76082937&postcount=1116

Donations

i spend some hours to build this kernel. if you like my work you can buy me a coffee :laugh:

Donate Me || OR || Donate Noyer (bitrvmpd)​

Downloads

Google Drive

If you having issue on tethering or wifi on Nougat/Miui roms, check this

XDA:DevDB Information

Clarity, Kernel for the Xiaomi Redmi 4X

Contributors

rainforce279, b1tRvmpd

Source Code: https://github.com/ryan-andri/android_kernel_santoni

Kernel Special Features: as mentioned on features.

Version Information

Status: Stable

Current Stable Version: 4.1

Stable Release Date: 2018-07-23

Created 2017-12-14

Last Updated 2018-07-23