Case study
redmi-buds-linux: rebuilding Redmi earbud controls over JieLi RCSP
redmi-buds-linux reimplements Redmi and Xiaomi earbud controls on Linux using a documented variant of JieLi RCSP over Bluetooth Classic RFCOMM. The author derived the challenge-response transform from the companion app's native library and compared protocol behavior with a phone-to-buds HCI capture. Its Rust CLI and GTK app expose battery status, EQ, gestures and earbud finding; noise control is available on models with ANC.
- Targets
- Protocol
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 3
- Last commit
- 2026-11-02
- Language
- Rust
- License (GitHub)
- MIT
GitHub data as of 2026-11-10
Evidence
- Observed
- Code, documentation and a demo observed; no download method found.
- Checked
- 2026-11-08
Requirements & limits
- Prerequisites: Requires Linux with BlueZ, paired earbuds and Rust 1.87 or newer.
- Prerequisites: The GUI additionally requires GTK 4.12 or newer and libadwaita 1.7 or newer.
- Testing evidence: The author reports testing on Redmi Buds 6 Play and 6 Lite; other models are speculative and may differ.
- License: MIT License.
Cite
BibTeX
@misc{redmi-buds-linux-case,
title = {{redmi-buds-linux: rebuilding Redmi earbud controls over JieLi RCSP}},
howpublished = {\url{https://github.com/creeperkafasi/redmi-buds-linux}},
url = {https://github.com/creeperkafasi/redmi-buds-linux},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/redmi-buds-linux-case/}}
}Plain text
redmi-buds-linux: rebuilding Redmi earbud controls over JieLi RCSP. https://github.com/creeperkafasi/redmi-buds-linux (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/redmi-buds-linux-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · creeperkafasi/redmi-buds-linux · Revision e8a9b48
- PROTOCOL.md GitHub · creeperkafasi/redmi-buds-linux · Revision e8a9b48
- LICENSE GitHub · creeperkafasi/redmi-buds-linux · Revision e8a9b48
More in Protocols
- iPod Classic LCD: recovering the display pinout and bus protocol · Case study
- OBSBOT Tiny 3: USB control protocol investigation · Case study
- StargateCryo: an Intel Cryo controller dashboard built on serial-protocol research · Case study
- infrared: LG and Vityas remote command mappings · Case study
- Winbond Keyboard Colour: reconstructing keyboard lighting commands · Case study
- OBOX Controller ViGEm Driver: a Windows client for the Snail OBox gamepad · Case study