Skip to content

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Universal Refresh Rate & Thermal Dimming Fix

A userspace Android module that locks the display to its native peak refresh rate and neutralizes aggressive thermal-triggered brightness/dimming clamps. Root-agnostic implementation compatible with Magisk, KernelSU and APatch.

Architecture

[Android System]
│
├── Display Management
│ ├── Settings.System (peak_refresh_rate, min_refresh_rate)
│ ├── DeviceConfig (display_manager namespace)
│ └── DisplayModeDirector (API 35+)
│
└── Thermal Management
├── cmd thermal override-status (force NONE status)
└── DeviceConfig (brightness_throttling_data neutralization)

Features

  • Refresh Rate Lock: Forces display to operate at maximum detected refresh rate
  • Thermal Dimming Neutralization: Prevents aggressive brightness throttling
  • SDK-Aware Logic: Auto-adapts to property namespaces across Android 14-17
  • Zero Partition Writes: Pure userspace implementation
  • Bootloop Safe: Fully reversible on module removal

Compatibility

Android VersionAPI LevelRefresh RateThermal Fix
Android 14API 34
Android 15API 35
Android 16API 36
Android 17 BetaAPI 37

Root Solutions: Magisk • KernelSU • APatch
Architectures: arm • arm64 • x86 • x86_64
FBE Compatible: Yes

Installation

  1. Download the latest module ZIP
  2. Install through your root manager:
    • Magisk: → Modules → Install from storage
    • KernelSU: → Modules → Install
    • APatch: → Modules → Install
  3. Reboot your device

Manual Build

# Clone repository
git clone https://github.com/cyberrforge/refresh_thermal_lock
cd refresh_thermal_lock
# Package module
zip -r refresh_thermal_lock.zip META-INF/ module.prop service.sh

Technical Details

The module operates through three primary mechanisms:

  1. Refresh Rate Lock: Uses settings put system and device_config put display_manager to set peak/min refresh rates
  2. Thermal Status Override: Continuously runs cmd thermal override-status 0 to force thermal status to NONE
  3. Brightness Throttling Neutralization: Clears thermal brightness throttling data maps via device_config

Debugging

Check module operation:

adb shell cat /data/local/tmp/refresh_thermal_lock.log

Verify refresh rate settings:

adb shell settings get system peak_refresh_rate
adb shell device_config get display_manager peak_refresh_rate

Source Code

Available at: github.com/cyberrforge/refresh_thermal_lock

License

MIT License

About

Locks the display to its native peak refresh rate and neutralizes aggressive thermal-triggered brightness/dimming clamps on Android 14-17 Beta. Root-agnostic: works on Magisk, KernelSU and APatch. Pure userspace (settings/device_config/cmd thermal) — zero partition writes, zero bootloop risk, fully reversible on module removal. SDK-aware logic auto

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages