{
  "api_version": "1.0.0",
  "slug": "yp3-mp3-player-5a90aa76",
  "url": "https://reversedwithai.com/p/yp3-mp3-player-5a90aa76",
  "markdown_url": "https://reversedwithai.com/p/yp3-mp3-player-5a90aa76.md",
  "json_url": "https://reversedwithai.com/p/yp3-mp3-player-5a90aa76.json",
  "title": "Porting Rockbox to an undocumented $9 AliExpress YP3 MP3 player with LLMs",
  "tagline": "Automated firmware porting using LLM-driven reverse engineering and hardware-in-the-loop testing.",
  "summary": "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.",
  "target": {
    "name": "YP3 MP3 Player",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "Smartlink SL6801 / Jointbees",
  "models": [
    "Claude",
    "Codex",
    "Sol"
  ],
  "tools": [
    "Ghidra",
    "ghidra-mcp",
    "Bumble",
    "FreeRTOS"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": "Approximately one month",
  "cost": "$9.71",
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "Jayden Milne",
    "url": null
  },
  "sources": {
    "repository": null,
    "writeup": "https://jayd.ml/2026/11/14/rockbox-on-yp3.html",
    "discussions": [
      "https://news.ycombinator.com/item?id=50644990"
    ],
    "all": [
      "https://jayd.ml/2026/11/14/rockbox-on-yp3.html",
      "https://news.ycombinator.com/item?id=50644990"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/manual/89245e9f-22bb-46aa-8cc7-8cdfada7f9cc.webp",
    "credit": "Source: jayd.ml"
  },
  "commit_history": null,
  "added_at": "2026-11-26T05:00:59.504483+00:00",
  "updated_at": "2026-11-26T05:00:59.504483+00:00",
  "sources_reviewed_at": "2026-11-28T09:46:32.041044+00:00",
  "reviewed_by": "editor",
  "human_notes": "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.",
  "reproduce": null,
  "body_md": "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).",
  "ai_use_excerpts": {
    "checked_at": "2026-11-26T05:00:56.256Z",
    "items": [
      {
        "quote": "Overnight Claude reverse engineered the bluetooth stack and wrote a bluetooth",
        "url": "https://jayd.ml/2026/11/14/rockbox-on-yp3.html"
      }
    ]
  }
}
