# YP3 Audiobook Firmware This repo is simply the [YP3 Rockbox Firmware](https://github.com/jaydens-tasty-slop/rockbox) with slightly better audiobook features. - Bookmarks for .m4b audiobooks when the player is closed, powered off, and automatically every 1m - Chapter support for .m4b audiobooks **Controls** - Tap Down+Left/Right to jump audiobooks by chapter - Hold Center then select Chapters to pick a chapter - Tap Left/Right skips 30 seconds ## Install You need a charged YP3, a microSD card formatted **FAT32** **1. Get [rockslop](https://github.com/jaydens-tasty-slop/rockslop)** (the flasher) and allow it USB access by installing the udev rules it comes with: ```sh mkdir -p tools curl -fL -o tools/rockslop-cli https://github.com/jaydens-tasty-slop/rockslop/releases/download/20261122_011647-8715cfc/rockslop-cli-linux-x86_64 chmod +x tools/rockslop-cli sudo curl -fL -o /etc/udev/rules.d/70-rockslop.rules https://raw.githubusercontent.com/jaydens-tasty-slop/rockslop/8715cfc99d392de62dd30ce06dc9703098e22c0f/packaging/udev/70-rockslop.rules sudo udevadm control --reload ``` **2. Put the microSD card in the player.** **3. Flash:** ```sh tools/rockslop-cli flash release/rockbox-yp3-audiobook-1.0.tar.xz ``` When it says `waiting for the YP3`: unplug the player, power it off (hold Center), then **hold Down while plugging in USB**. Let go when it's found, answer `y`, and wait for `done: unplug the player`. Copying files to the card is slow, so give it 5–10 minutes. ## Troubleshooting To put the player back to stock firmware, hold *Down* and connect USB to put it into download mode. Then run `tools/rockslop-cli restore yp3` **SD sync is stuck at 0% during flash** Just keep the cable connected! This can get stuck at 0% even when files are moving over. The connection can be very slow. It genuinely can take 10-15 minutes with no feedback. **ATA error: -5** There is no SD card in the player. Just flash the firmware again. **CLI error about not being able to mount /dev/sdb or similar** Format the SD card as FAT32, then run through the whole flashing process again. **Nothing on screen or completely white screen** The YP3 is in download mode. There was either a flashing issue or a crash that put it back into download mode. Just run the flash command again. ## Building `scripts/build.sh` rebuilds the package from the upstream source in `vendor/` plus the changes in `patches/`. Output goes to `build/out/`. ## License GPL v2 or later. See `LICENSE`.