Freeing the iPod Nano 5G viktorkrapivin.com · 30 points · 3 comments · HN thread...

@best

Freeing the iPod Nano 5G viktorkrapivin.com · 30 points · 3 comments · HN thread

TL;DR The author reports a fully untethered boot chain for the iPod nano 5G that loads Rockbox from NAND with no computer or button sequence after installation. It works by exploiting a font-parsing bug (CVE-2010-1797) and a bypass of the resource-validation check, which relies on a forged, device-bound private-partition status record.

  • The original ipod_sun disk-mode swap still needed button presses on every boot, so the author looked for a path through the normal boot flow.
  • The bootloader skips rsrc signature validation when a private-partition record (PRVD) has FirmwareStatus 2; the author forges this record using code execution from wInd3x.
  • The integrity tag on the PRVD record is computed on the device, so a valid record can only be created after code execution on that iPod.
  • The font payload is limited to 27,874 bytes, so the Rockbox loader is split into an 808-byte assembly stub and a main C loader that reads FAT32 and launches Rockbox.
  • The author also reports that the private-data method works on the nano 7G and likely the 6G, and plans to finish the nano 4G and 5G Rockbox ports first.

Discussion The thread is small and mostly friendly, with commenters reacting to the Rockbox angle rather than the exploit details. One commenter asks what Rockbox is like now and compares it with past experience on an iPod Classic, and the discussion drifts toward the state of portable music players generally. Another commenter praises the nano 5G's radio and camera features and asks about camera support in Rockbox, which leads to a reply pointing to an existing port.

  • Interested in how Rockbox performs on classic iPods now (some): A commenter recalls better battery life issues and file browsing on an iPod Classic and asks how Rockbox has developed since. The question is open-ended and does not get a detailed answer in the thread.
  • Old DAPs feel fiddly; phones are often used instead (a few): One commenter found an old MP3 player awkward and says they use an old Android phone in airplane mode with a large SD card instead, suggesting many dedicated players are similar devices with better audio chips.
  • Nano 5G is valued but loading music is tedious (a few): A nano 5G owner says they like the radio and camera but finds transferring files to the device a slog, which the exploit work might help with.
  • Camera support in Rockbox is a useful feature (a few): A commenter notes that no other classic iPod has a camera and asks whether Rockbox supports it. A reply says a port already supports camera use and can take photos without recording video, which Apple's OS does not allow, and that the author intends to merge it into Rockbox.

#iPod #Rockbox #firmwareExploit #embeddedSystems #retroHardware