[Android Apps and Games] yc9559:
Update

20180803:

Project WIPE is now OPEN SOURCE.

See: https://github.com/yc9559/cpufreq-interactive-opt/tree/master/project/20180603-2

20180628 (20180603.2):

misc: change input boost strategy, first value of targetloads 80->(3~60) for 2.5s, may reduce jitters while interacting

misc: change dynamic freq lock from 2.0G to 1.9G

template: new template architecture, easy to transplant, easy to read，but a bit abstract

template: check whether parameters have been applied before the script finish

template: add platform name

template: fix hmp parameters chmod error

template: fix ignore_hispeed_on_notif error

template: turn off msm_thermal/core_control

template: fix clusters stuck at the highest freq problem caused by perfd

Supported SOCs

Snapdragon 835, 820/821, 810/808, 801/800/805, 660, 636, 652/650, 625/626

Exynos 8895, 8890, 7420

Kirin 970, 960, 950/955

Helio X20/X25, X10

Atom z3560/z3580

Introduction

Compared to manually tuning interactive governor parameters, can we go further?

YES.:p

The interactive governor is very popular in Android phones. In the past, there have been projects that have achieved excellent life by tuning its parameters, such as AKT and Helix Engine. This is also true of this project. I used to benefit from [MENTION=5886947]soniCron[/MENTION]'s tutorial posts, "Advanced Interactive Governor Tweaks". After repeated argumentation, I got a set of suitable parameters to share on the web. But soon I received such replies, "Why scrolling screen is laggy?", "Why the game isn't running smoothly?". After a long period of trying, I realized that you can not have it both ways. This should have a better solution. In order to avoid some misunderstanding of interactive, I try not to rely on understanding from the tutorial posts, in-depth source code to understand the role of each parameter in the process.

Tuning the interactive parameters by our feeling, there are the following problems:

difficulties to have clear feedback

hard to reach the balance of power consumption and performance

complex interactive parameters

This project aims to solve the problems above by creating automated programs as follows:

real world workload capture

interactive governor process simulation

cost function of lag and power comsuption

iteration to obtain local optimum using NSGA2

S821 Kyro Gold powermodel

The workload sequence captured on Nexus 9

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.

Compared to manual tuning parameters, Project WIPE generates parameters that can adapt to multiple styles of workload sequences and produce a suitable combination of parameters for almost all mainstream SOCs.

This project began in July 2017, reached the first version in November 2017, and ended after the completion on June 3, 2018. Previous tests and feedback for improvements were performed on the Coolapk platform and the results were excellent. Now I share this result in the XDA forum.

Profile contains...

This is an executable script file generated by Project WIPE, the Workload-based Interactive Parameter Explorer.

Performance configuration brings four modes:

Balanced: ~1 hour longer on-screen battery life with little performance compromise, recommended

Laggy: ~1.5+ hours longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically

Power-wasting: ~0.5 hour longer on-screen battery life, balanced profile with quicker response

Low latency: for soft real tasks, butter smooth in tense gamming for a long period

In addition, it also includes other parameter tuning, such as IO scheduler and HMP parameters, to unify the rest of the parameters for a more consistent experience.

Requirements

ROOTED

Deep sleep time exceeds 90% of standby time

No other modifications which may tweak kernel tunables automatically (e.g. Advanced Kernel Tweaks)

Do it by yourself

Download performance configuration corresponding to your phone SOC, and extract it

Move it to "/data", rename it as "powercfg", set the permission of this file to 0755

Use the commands below to apply temporary changes to your system, it will recover after reboot

After applying changes, use `sh /data/powercfg debug` to make sure that it works

Use it with utilities to switch mode according to Top-App, such as Tasker, Magisk, vtool

Switch mode:

# switch to Balanced
sh /data/powercfg balance

# switch to Laggy
sh /data/powercfg powersave

# switch to Power-wasting
sh /data/powercfg performance

# switch to Low latency
sh /data/powercfg fast

Download

https://github.com/yc9559/cpufreq-interactive-opt/blob/master/20180603-description.md

OR

See the "Downloads" TAB of this thread

Credit

[MENTION=5886947]soniCron[/MENTION]: Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life!

Distributed Evolutionary Algorithms in Python

Comrades who have helpful feedback on the Coolapk platform (in ascending order of time):

@Fdss45 @yy688go @Jouiz @lpc3123191239 @小方叔叔 @星辰紫光 @ℳ๓叶落情殇 @屁屁痒 @发热不卡算我输 @予北 @選擇遺忘 @想飞的小伙 @白而出清 @AshLight @微风阵阵 @半阳半心 @AhZHI @悲欢余生有人听 @YaomiHwang @花生味 @胡同口卖菜的 @gce8980 @vesakam @q1006237211 @Runds @lmentor @萝莉控の胜利 @iMeaCore @Dfift半島鐵盒 @wenjiahong @星空未来 @水瓶 @瓜瓜皮 @默认用户名8 @影灬无神 @橘猫520 @此用户名已存在 @ピロちゃん @Jaceﮥ @黑白颠倒的年华0 @九日不能贱 @fineable @哑剧 @zokkkk @永恒的丶齿轮 @L风云 @Immature_H @xujiyuan723 @Ace蒙奇 @ちぃ @木子茶i同学 @HEX_Stan @_暗香浮动月黄昏 @子喜 @ft1858336 @xxxxuanran @Scorpiring @猫见 @僞裝灬 @请叫我芦柑 @吃瓜子的小白 @HELISIGN @鹰雏 @贫家boy有何贵干 @Yoooooo @揪你鸡儿

[/SIZE]

XDA:DevDB Information

Project WIPE, Tool/Utility for all devices (see above for details)

Contributors

yc9559

Project: https://github.com/yc9559/cpufreq-interactive-opt/

Version Information

Status: Stable

Current Stable Version: 20180603.2

Stable Release Date: 2018-06-28

Created 2018-06-09

Last Updated 2018-06-09