Star on GitHubStar2.4k stars

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

Copy as MarkdownView JSONCite

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.

Report an outdated entry Suggest a translation fix

Primary sources

  1. docs/reverse-engineering.md GitHub · wanxinhao/redmi-perf · Revision 98f90e4
  2. README.md GitHub · wanxinhao/redmi-perf · Revision 98f90e4

More in Firmware and hardware

All 260 entries in Firmware and hardwareFirmware and hardware case studies (175)

↑↓ move↵ open⌘↵ new tab