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.
[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)
- 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
| Android Version | API Level | Refresh Rate | Thermal Fix |
|---|---|---|---|
| Android 14 | API 34 | ✅ | ✅ |
| Android 15 | API 35 | ✅ | ✅ |
| Android 16 | API 36 | ✅ | ✅ |
| Android 17 Beta | API 37 | ✅ | ✅ |
Root Solutions: Magisk • KernelSU • APatch
Architectures: arm • arm64 • x86 • x86_64
FBE Compatible: Yes
- Download the latest module ZIP
- Install through your root manager:
- Magisk: → Modules → Install from storage
- KernelSU: → Modules → Install
- APatch: → Modules → Install
- Reboot your device
# 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.shThe module operates through three primary mechanisms:
- Refresh Rate Lock: Uses
settings put systemanddevice_config put display_managerto set peak/min refresh rates - Thermal Status Override: Continuously runs
cmd thermal override-status 0to force thermal status to NONE - Brightness Throttling Neutralization: Clears thermal brightness throttling data maps via device_config
Check module operation:
adb shell cat /data/local/tmp/refresh_thermal_lock.logVerify refresh rate settings:
adb shell settings get system peak_refresh_rate
adb shell device_config get display_manager peak_refresh_rateAvailable at: github.com/cyberrforge/refresh_thermal_lock
MIT License