[ROOT] KTweak — Universal Kernel Tweaks

By: Tyler Nijmeh

Version: 1.3.1

Update: 2020-12-01

Download APK + Bundle How to Install
Share on:
Download the APK according to your Device
Variant Architecture Minimum Version Screen DPI

Screen Shots

App Specs

  • Package: com.draco.ktweak
  • Version: 1.3.1 (13)
  • Size: 1.5 MB
  • Update on: December 01, 2020
  • Installs: 1,000
  • Signature: 357999fa37d36b1b5430f898b09f7de9044830c1
  • APK File SHA1: 133274961e92611f6227870aab9bc22cc881b88f


Another "kernel optimizer"?

No. Well, yes. However, a "kernel optimizer" is a poor way to put it. KTweak performs kernel adjustments based on facts and evidence, unlike other optimizers with poorly written or heavily obfuscated code. Unlike other "kernel optimizers", KTweak is:

- Entirely open source with no compiled components
- Concise, at less than 200 lines long
- Backed by benchmarks and evidence
- Designed by an experienced kernel developer
- Non-intrusive and completely systemless

KTweak is tested on countless devices and is benchmarked using hackbench and perf for scheduler throughput, schbench and cyclictest for scheduler latency, and iozone and fio for I/O latency and throughput.

KTweak works by applying various tunables to the Android kernel using exposed procfs nodes. Android Kernels require many userspace subsystems, such as CONFIG_SCHED_DEBUG, CONFIG_PROCFS, CONFIG_SYSFS, and others.

The performance gain from KTweak comes from reducing the scheduler latency, which translates in real-world usage to visual stutters and lag. Reducing scheduler latency reduces raw performance slightly but improves overall UI/UX.

KTweak also tunes both schedutil and interactive CPU governors to also be aware of the scheduler timeslices. Memory management is slightly adjusted to allow more cached information to stay available for longer, reducing jitter and improving cache locality.

Your logs may show warnings or errors. This is normal. Not all kernels are built the same, so KTweak warns that a certain tunable is unable to be changed.

The KTweak script and KTweak Android App source code can be found here:

Read more

Follow :