Developer ports Rockbox to a $9 MP3 player with AI agents
OtherPublished: Source: Hacker News (100+ points)
TL;DR:An independent developer used AI coding agents to reverse-engineer an undocumented YP3 MP3 player and port Rockbox to it despite its 512 KiB of SRAM.
An independent developer used AI coding agents to reverse-engineer an undocumented YP3 MP3 player and port Rockbox to it despite its 512 KiB of SRAM. The firmware supports a broad range of audio formats and Bluetooth, with trade-offs including no voice features and music playback stopping when plugins run. The developer reports battery life of 20.07 hours wired and 19.3 hours over Bluetooth, compared with 21.29 and 20.07 hours on stock firmware. A reusable toolkit later helped bring another player, the TS47, to a usable alpha in four hours.
Key points
- The YP3 has 512 KiB of SRAM, less than the 2 MiB used by Rockbox's smallest existing target.
- The port supports Bluetooth and many formats, including MP3, AAC, FLAC and Opus, with some memory-driven feature cuts.
- Battery tests measured 20.07 hours wired and 19.3 hours over Bluetooth under Rockbox.
- A reusable porting toolkit helped produce a usable TS47 alpha in four hours.
Why it matters
The project shows how coding agents paired with hardware access, automated tests and feedback from audio and video can tackle embedded reverse-engineering work. Developers can inspect the reusable toolkit and test workflow as a model for similar constrained-device ports.
Companies and models mentioned
- Rockbox
- YP3
- Claude
- auto-rockbox
- TS47
- jayd.ml