[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] brigio345:
Project goals:

Keeping Xiaomi msm8996 devices kernel always up to date with latest Linux stable tag and CAF tag

Trying to find the best balance between battery life and performance

Features:

Merged latest Linux stable tag

Merged latest CAF tag

Built with official GCC 8 toolchain for kernel

Default I/O scheduler switched to cfq

Backlight dimmer (enabled by default)

Default TCP congestion algorithm switched to Westwood

Disabled CRC check

Boeffla generic wakelock blocker (with some wakelocks disabled by default)

Optimizations here and there

Compatibility:

Latest LOS 16.0 and ROMs based on its kernel/device tree

Installation:

Boot to recovery

Flash zip

Reboot

Downloads:

https://androidfilehost.com/?w=files&flid=254647

Changelogs:

190306

rebased on LOS kernel sources

updated to Linux v3.18.136 tag

updated to CAF LA.UM.7.6.r1-04300-89xx.0 tag

switched to official GCC 8 toolchain for kernel

disabled some unneeded modules (CPU input boost, MSM performance...)

reworked defconfig file

Older changelogs:

180720

rebased on new LOS kernel source

updated to Linux v3.18.115 tag

updated to CAF LA.UM.6.6.r1-09200-89xx.0 tag

switched to Linaro GCC 7 toolchain

tuned governor parameters

removed underclock, USB fast charge, kcal (will be probably added back in next build)

180608

updated to v3.18.112 Linux stable tag

updated to LA.UM.6.6.r1-08600-89xx.0 CAF tag

back to sultanxda's governor parameters

underclock to 1.5 GHz for power cluster

undervolt

180525

updated to v3.18.110 Linux stable tag

added Boeffla generic wakelock blocker support (with some additional wakelocks blocked by default)

picked some changes from Oreo kernel sources released by Xiaomi

180518

updated to v3.18.109 Linux stable tag

updated to LA.UM.6.5.r1-08500-8x96.0 CAF tag

set Interactive governor parameters similarly to franciscofranco OP3T's kernel

added kcal support

changed backlight dimmer formula

180504

updated to Linux v3.18.108 tag

updated to CAF LA.UM.6.6.r1-08300-89xx.0 tag

180429

updated to Linux v3.18.107 tag

tuned Interactive governor parameters

180410:

updated to Linux v3.18.104 tag

fixed video playing issues

180409:

updated to Linux v3.18.103 tag

adjusted backlight dimmer (minimum brightness was now too low)

disabled CRC check

added back USB fast charge

enabled SCHED_HMP_CSTATE_AWARE and WQ_POWER_EFFICIENT_DEFAULT

disabled some unneeded features

180406:

fixed backlight dimmer (brightness jumped to max when it was set to ~50%)

merged latest LA.UM.6.6.r1-07200-89xx.0 CAF tag

050418:

restarted the project from scratch

merged latest Linux 3.18.102 tag

merged latest LA.UM.6.6.r1-06700-89xx.0 CAF tag

switched to DragonTC toolchain

removed features (see here for reasons): Relaxed governor, USB fast charge, underclock, fingerprint boost

130318:

merged latest Linux 3.18.99 tag

added CPU underclock (big to 1.9 GHz, little to 1.5 GHz)

added Westwood TCP congestion algorithm (and set to default)

added fingerprint boost

fixed random reboots due to latest changes in LOS 15.1

040318:

merged latest Linux 3.18.98 tag

added USB fast charge support (enabled by default)

added backlight dimmer support (enabled by default)

relaxed governor is no more set to default

010318:

fixed messed up CPU frequencies (especially the ones of little cluster)

a bit of code cleanup

280218:

first release

XDA:DevDB Information

BG345 kernel, Kernel for the Xiaomi Mi 5s

Contributors

brigio345

Source Code: https://github.com/brigio345/android_kernel_xiaomi_msm8996

Kernel Special Features:

Version Information

Status: Stable

Current Stable Version: 190306

Stable Release Date: 2019-03-06

Created 2018-02-28

Last Updated 2019-03-06