[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] lance.zhou:
Kernel only supports stock MIUI, No Lineage/Oreo SUPPORT!!!​

Kernel is based on sagit-oss and some CAF patches and some upstream backports, kernel is for my own use, so don't expect too much on it for fancy features :D

Disclaimer

/* * * Your warranty is now void. * We are not responsible for anything that may happen to your phone by installing any custom kernels. * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers. * */

What inside this kernel:

Kernel support MIUI 7.12.7

Kernel compiled with GCC 7.2 Android Bionic 64Bit

Kernel build with -O2 with full optimization

Kernel remove annoying wlan logs, pkt logs in the stock kernel

Kernel is systemless, restore stock boot.img before you do OTA

Kernel build with debug disabled to improve performance

Kernel updated up to 4.4.106 build.

Kernel operate in 300HZ

Kernel include IPA/TIMERFD/WIFI/NETLINK wakelocks removal code by [MENTION=3292224]franciscofranco[/MENTION]

Kernel include open source QUALCOMM Wi-Fi driver updated to max without debugs.

Kernel include advanced binder driver from main line 4.10.y kernel.

Kernel include latest F2FS driver for 4.4.y with fixes for ICE(not tested yet)

Kernel include ZEN,NOOP,CFQ,MAPLE govs

Kernel includes Blu_active, Interactive Performance CPU GOVS.

Kernel includes ARM enhanced performance and battery patches

Kernel includes random driver backported from mainline

Kernel includes fast finger print sensor mod when screen is off.

Kernel includes [MENTION=4684315]flar2[/MENTION] sound/mic gain control interface.

Kernel include boost to I/O by mounting partitions with optimized flags,

Kernel include fix to various selinux warning in stock kernel

Kernel include ext4 improvement backports

Kernel include memory allocator improvement backported from 4.6 kernel

Kernel include driver that will switch io scheduler to noop for power save when screen off after 5s

Download and Installation

Check github page and use fastboot to flash it

The simple answer is use fastboot to flash it. if you ever unlock your phone, fastboot is in the unlock tool you downloaded.

The detail answer is:

1. download image from github

2. connect your phone to computer using usb, with usb debug enabled

3. run "adb reboot bootloader" in shell

4. run "fastboot flash boot Kernel-Unknown-V2.0-Nougat-boot.img" in shell

5. run "fastboot reboot" to reboot phone

if you want to do OTA or kernel is not booting

1. run "fastboot flash boot boot.img" to restore stock kernel, of course you should find stock kernel on stock MIUI rom, there is a boot.img in the zip

Download link: https://github.com/carck/SAGIT-DOWNLOADS/

Releases

Release V2.2

* Linus 4.4.112

* cfq scheduler backports from mainline and set as default

* CPU minfreq switcher to reduce CPU minfreq in order to save power on screen off, screen off=300Mhz, screen on=Stock MIUI value

* Enable camera2 API to use HDR+ camera

Release v2.0

* Linux 4.4.108

* Experimental with io_is_busy set to 0 for interactive gov, to see if this will improve battery and not affect UI fluency

Release v.19

* Linux 4.4.106

* Tool change update to linaro gcc 2017.11

* Switch to [MENTION=1470009]boeff[/MENTION]la's wakelock blocker

* Try to improve fingerprint responsvieness

Release v1.6

* rollback some bluetooth changes, fixed device not going to sleep after Bluetooth disconnected

Release v1.5

*misc lib optimization backported from mainline

Release v1.4

*Linux 4.4.105

*miui 7.12.7 ramdisk

*Enable process reclaim, used by miui

Release v1.3

*Include a kernel driver that will switch io scheduler to NOOP for power saveing when screen off/on

Release v1.2

* memory allocator improvements backported from upstream 4.6

Release v1.1

* ext4 file improvements backports

Release V1.0

* Initial release, see github commits for what inside

XDA:DevDB Information

UNKNOWN, Kernel for the Xiaomi Mi 6

Contributors

lance.zhou

Source Code: https://github.com/carck/sagit_kernel

Kernel Special Features:

Version Information

Status: Beta

Created 2017-12-08

Last Updated 2017-12-28