# 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.

- Type: Case study
- Targets: Firmware · Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-08
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/wanxinhao/redmi-perf>
- Primary source: <https://github.com/wanxinhao/redmi-perf/blob/98f90e42ac9049ccc7fcd66c4139893972dae94a/docs/reverse-engineering.md>
- Catalog page: <https://awesomerea.org/resources/redmi-perf-case/>
- Record JSON: <https://awesomerea.org/resources/redmi-perf-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/redmi-perf-case/index.md)

## 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.

## Primary sources

1. <https://github.com/wanxinhao/redmi-perf/blob/98f90e42ac9049ccc7fcd66c4139893972dae94a/docs/reverse-engineering.md>
2. <https://github.com/wanxinhao/redmi-perf/blob/98f90e42ac9049ccc7fcd66c4139893972dae94a/README.md>

## More in Firmware and hardware

- [ZTE U60 Pro Toolkit: investigating and extending router controls](https://awesomerea.org/resources/zte-u60-pro-toolkit-case/index.md) · Case study
- [Game Boy DMG-CPU Schematics: reconstructing the DMG-CPU B chip](https://awesomerea.org/resources/dmg-schematics-case/index.md) · Case study
- [open-cleverpad: reconstructing the MIDIPLUS SmartPAD hardware](https://awesomerea.org/resources/open-cleverpad-case/index.md) · Case study
- [osdbits: reconstructing the PlayStation 2 OSDSYS opening](https://awesomerea.org/resources/osdbits-case/index.md) · Case study
- [FPGABoy: Game Boy hardware implementation on FPGA](https://awesomerea.org/resources/fpgaboy-game-boy-case/index.md) · Case study
- [NTRDisasm: documenting NTR 2.0 custom firmware](https://awesomerea.org/resources/ntrdisasm-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
