Skip to content

Magisk/KernelSU module that brings scheduler optimizations and improvements to the Xiaomi Redmi Note 12 (tapas/topaz).

License

Notifications You must be signed in to change notification settings

TenSeventy7/tnsvn-tapaz-plus

Repository files navigation

project banner

tnsvn-tapaz-plus

Optimizations and improvements for the Xiaomi Redmi Note 12 4G (tapas/topaz).

Features

  • Tested on the non-NFC variant of the Redmi Note 12 4G (tapas) running Xiaomi.eu
  • Optimized scheduler latencies based on @tytydraco's work on KTweak
  • Match migration margins to core_ctl busy thresholds to avoid often scaling to higher frequencies across all CPUs
  • Allow CPUs 2-7 to go to low power mode on low overall loads
  • Conservatively pack small tasks to Silver CPUs
  • Restrict unimportant tasks to Silver cores
  • Make it easier for top-app tasks to move to the Gold cluster by boosting them using UClamp
  • Schedule and colocate top-app threads to idle CPUs as much as possible to improve app performance
  • Set up rate limits to CPU scaling on both Silver and Gold clusters
  • Add related task group (RTG) boosting to the Silver cluster
  • Mimic a behavior done by Google and Samsung and boost foreground tasks to Gold cores on input
  • Tuned memory writeback ratio and timings
  • Optimized Qualcomm performance hints to remove unnecessary boosts
  • Enable control center blur and locking app to memory for all variants
  • Use two threads for MIUI animator
  • Reduce logging by disabling logs to certain unimportant components
  • Pin SystemUI to memory on MIUI
  • Enable core multi-gen LRU (MGLRU) functionality to reduce CPU usage due to memory management
  • Some touch hacks that somehow still works

Installation

  • Install the module via Magisk Manager or KernelSU

Author

👤 John Vincent

License 📝

Copyright © 2023 John Vincent.

This project is licensed under the GNU General Public License v3.0.

About

Magisk/KernelSU module that brings scheduler optimizations and improvements to the Xiaomi Redmi Note 12 (tapas/topaz).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages