[Android Software/Hacking General [Developers Only]] korom42:
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK)​

Introduction

LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and device specific at the same time. And it's also BS free. Using simple functions LKT detects the hardware of your device then it applies the corresponding changes. It does support all mainstream platforms including Snapdragon, Kirin, MediaTek etc. covering hundreds of devices.

These tweaks have been tested and can stand

up to 12-14H of SOT

with

no-compromise on performance

all smooth as a baby's bottom.

However, it should be noted that this does not apply to gaming, facebook, snapchat, instagram and heavy camera usage ...etc

Nothing can be done for anything that is an automatic battery killer and forces maximum resources usage at all the time.

How does it work?

LKT aims to achieve a balance between power consumption and performance. Compared to tuning the parameters manually, LKT adopts Project WIPE open source interactive parameters for all mainstream SOCs that are generated via machine learning AI and can adapt to multiple styles of workload sequences. This idea is similar to EAS, which takes into account both performance and power consumption costs through power consumption models and workload sequence. But obviously, EAS has a much lower response time and replaces tuning with decision logic. In addition, it also includes other parameter tuning, such as HMP scheduler parameters, virtual Memory, GPU, IO blocks tuning, and doze rules to unify the rest of the kernel parameters for a more consistent experience.

LKT also supports schedutil and other EAS governors in devices like the Pixel 2. Unlike interactive, schedutil does not provide a wide range of tuning parameters but there are some workarounds. In Snapdragon 835 for example depending on what profile is selected, LKT limits the maximum frequency of big cores accordingly because big clusters power efficiency of SD835 dramatically decreases above 2 GHz, as a trade of losing 15% performance, improving power consumption by 40% or more is a much better deal.

Features

Multi-Profile

Improved smoothness & battery life

Advanced interactive governor tuning (Project WIPE)

EAS devices Support

RAM management enhancements

IO blocks enhancements

Enabled & configured wakelock blocking

Disabled a excessive logging at kernel level (Improves battery life as well as performance)

Other miscellaneous adjustments to enhance power efficiency

Profiles

Requirements

Magisk or SuperSU or init.d support

Busybox

Installation

Flash in TWRP or Magisk manager

Follow the given instructions

Reboot

Read the FAQ from here or here before asking anything. (Regularly updated)

Credits

Project WIPE contributors [URL="https://github.com/yc9559/cpufreq-interactive-opt/tree/master/project/20180603-2"]Github[/URL]
yc9559 - @CoolApk
cjybyjk - @CoolApk

[U]Special Thank[/U]
Zackptg5 & ahrion - Unity template
topjohnwu - Magisk
osm0sis - Busybox

Contributors

[MENTION=5033594]korom42[/MENTION]

Sources

Original XDA thread

Github

License

Licensed under the GNU General Public License v3

Donate to support further LKT development