Porting Rockbox to an Undocumented $9 Aliexpress 'YP3' MP3 Player with LLMs jayd...
HN Best 200 @best
Porting Rockbox to an Undocumented $9 Aliexpress 'YP3' MP3 Player with LLMs jayd.ml · 16 points · 1 comments · HN thread
TL;DR The author used Claude-based coding agents, with minimal hands-on work, to port the open-source Rockbox firmware to an undocumented $9 AliExpress 'YP3' MP3 player with 512 KiB of SRAM and a Smartlink SL6801 SoC. The port runs with significant cuts (no concurrent playback during plugins, no cuesheets or album art, capped folders and playlists), and it was then reused to port Rockbox to a second player (TS47) in about 4 hours. The author also released a porting toolkit and a project website.
- The YP3 is an unbranded $9-ish player with a 2x Cortex-M4 SoC at 192 MHz, 512 KiB SRAM, 2 MB flash, a 128x160 LCD and five buttons; its SoC has no public documentation.
- Entry into ROM DFU mode and flash/RAM access relied on prior work by ilyakurdyukov, so the port was done entirely in software with no soldering.
- Rockbox on the YP3 loses concurrency (starting a plugin stops music), has no voice, English only, no dircache, playlists capped at 400, and a database that is disk-only and blocking.
- Battery life was measured at roughly 20 hours wired for stock and 20 hours for Rockbox, with a single test run and Bluetooth working via a reverse-engineered stack.
- The author reports the agent generated massive clutter in an earlier attempt with Codex, and switched to simpler Python scripts with Claude; a cleanroom setup separated reverse engineering from implementation.
- A bidirectional dev shell and automated monkey-testing let the agent run and debug the device largely unattended.
Discussion The thread has only one comment, a brief nostalgic note from a user who installed Rockbox on an iRiver H140 years ago and says it still works. There is no substantive debate about the port, the AI-driven method, or the hardware.
- Rockbox nostalgia: old devices still run it well (a few): The single commenter recalls installing Rockbox on an iRiver H140 and notes that it still works, though they no longer use it. The comment is warm and reflective rather than analytical.
#Rockbox #embeddedFirmware #reverseEngineering #AIcoding #MP3player