<!-- Canonical page: https://reversedwithai.com/p/yp3-mp3-player-5a90aa76 -->
Canonical page: https://reversedwithai.com/p/yp3-mp3-player-5a90aa76

# Porting Rockbox to an undocumented $9 AliExpress YP3 MP3 player with LLMs

> Automated firmware porting using LLM-driven reverse engineering and hardware-in-the-loop testing.

A software-only port of the Rockbox firmware to an undocumented $9 YP3 MP3 player, achieved using LLMs for reverse engineering, driver development, and automated testing via a hardware-in-the-loop setup.

## Key facts

- Target: YP3 MP3 Player
- Category: Firmware and hardware
- Platform: Smartlink SL6801 / Jointbees
- Models: Claude, Codex, Sol
- Tools: Ghidra, ghidra-mcp, Bumble, FreeRTOS
- Outcome: Works
- Time spent (author-reported): Approximately one month
- Cost (author-reported): $9.71
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: Jayden Milne
- Added: 2026-11-26
- Updated: 2026-11-26
- Sources reviewed: 2026-11-28 (editor)

## What was done

The author ported the Rockbox custom firmware to an undocumented $9 YP3 MP3 player using a software-only approach. The process relied on Ghidra for firmware analysis and an LLM-based cleanroom setup to extract hardware registers and develop drivers. The author reports that the agent successfully reverse engineered the undocumented Bluetooth stack and implemented a Bluetooth HAL overnight. Development involved a hardware-in-the-loop configuration where the LLM interacted with the device via a webcam, microphone, and a bidirectional USB serial shell. This shell allowed the agent to inject keypresses, capture screenshots, and execute automated torture tests. The author notes that the port required significant optimization to fit within the device's 512 KiB SRAM, including profiling to move hot code loops from slow XIP flash into SRAM. While the port is functional, it lacks concurrency for music playback and plugins, and features like voice support and advanced DSP are disabled. The author credits ilyakurdyukov for identifying the ROM download mode and creating the initial flash utility. Further details are available at [https://jayd.ml/2026/11/14/rockbox-on-yp3.html](https://jayd.ml/2026/11/14/rockbox-on-yp3.html).

## Human work and limitations

The project demonstrates a workflow where an LLM acts as the primary reverse engineer and developer, while the human provides the physical interface and testing environment. The author notes that the agent's initial attempt with a different model was inefficient, whereas subsequent iterations with Claude were more effective.

## AI use in the original source

- "Overnight Claude reverse engineered the bluetooth stack and wrote a bluetooth" ([source](https://jayd.ml/2026/11/14/rockbox-on-yp3.html))

Excerpts checked against the source on 2026-11-26.

## Sources

- [Write-up](https://jayd.ml/2026/11/14/rockbox-on-yp3.html)
- [Discussion](https://news.ycombinator.com/item?id=50644990)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Jayden Milne (2026). Porting Rockbox to an undocumented $9 AliExpress YP3 MP3 player with LLMs. Reversed with AI. https://reversedwithai.com/p/yp3-mp3-player-5a90aa76
