Case study
redmi-perf: reconstructing Redmi laptop performance-mode control
redmi-perf reconstructs performance-mode control on Xiaomi and Redmi laptops through the MIFS WMI interface to the embedded controller. Its notes map request bytes, firmware responses and mode values; a kernel module exposes the interface, while an optional NVIDIA ACPI shim fills response fields the author says the firmware omits.
- Targets
- Firmware · Protocol
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Stars
- 1
- Last commit
- 2026-11-05
- Language
- Shell
- License (GitHub)
- GPL-2.0
GitHub data as of 2026-11-09
Requirements & limits
- Prerequisites: Building the module requires DKMS, build tools, matching kernel headers and cargo.
- Prerequisites: Turbo and full-speed modes require the DC barrel charger; the optional NVPCF shim replaces the NVIDIA kernel module.
- Testing evidence: The reported working setup is Redmi G Pro 2024 TM2211 with Ubuntu 26.04, kernel 7.0.0-42 and NVIDIA 595.112.07; other models are unvalidated.
- License: GPL-2.0-only.
Cite
BibTeX
@misc{redmi-perf-case,
title = {{redmi-perf: reconstructing Redmi laptop performance-mode control}},
howpublished = {\url{https://github.com/wanxinhao/redmi-perf}},
url = {https://github.com/wanxinhao/redmi-perf},
urldate = {2026-11-08},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/redmi-perf-case/}}
}Plain text
redmi-perf: reconstructing Redmi laptop performance-mode control. https://github.com/wanxinhao/redmi-perf (accessed 2026-11-08). Awesome REA entry: https://awesomerea.org/resources/redmi-perf-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- docs/reverse-engineering.md GitHub · wanxinhao/redmi-perf · Revision 98f90e4
- README.md GitHub · wanxinhao/redmi-perf · Revision 98f90e4
More in Firmware and hardware
- ZTE U60 Pro Toolkit: investigating and extending router controls · Case study
- Game Boy DMG-CPU Schematics: reconstructing the DMG-CPU B chip · Case study
- open-cleverpad: reconstructing the MIDIPLUS SmartPAD hardware · Case study
- osdbits: reconstructing the PlayStation 2 OSDSYS opening · Case study
- FPGABoy: Game Boy hardware implementation on FPGA · Case study
- NTRDisasm: documenting NTR 2.0 custom firmware · Case study
All 260 entries in Firmware and hardwareFirmware and hardware case studies (175)