A suite of CLI tools to update a modded Kobo e-reader without losing reading stats — backup, un-mod, flash, restore, re-mod.
Platform: Linux · Python: 3.12+ · Package manager: uv
mounted Kobo
│
▼
┌───────┐ snapshot ─▶ timestamped backup + sha256 manifest + stats CSV/JSON
│ vault │ verify ─▶ hashes + PRAGMA integrity_check
└───────┘
│
▼
┌───────┐
│ unmod │ ─▶ removes NickelMenu / KFMon / KoboRoot.tgz (keeps KOReader)
└───────┘
│
▼
┌─────────┐
│ flasher │ ─▶ stages the latest 4.x firmware (refuses 5.x)
└─────────┘
│
▼
┌───────┐
│ vault │ restore ─▶ KOReader stats + sidecars, table-level Nickel re-import
└───────┘
│
▼
┌────────┐
│ modder │ ─▶ KOReader, NickelMenu, screensavers, config
└────────┘
Each step refuses to run until the previous one is recorded as done
($XDG_STATE_HOME/kobo_manager/<serial>.json).
⚠️ Firmware 5.x is not supported — NickelMenu does not work on it and downgrading is unreliable. SeeROADMAP.md→ Known hazards.
git clone https://github.com/burgesQ/kobo_manager.git
cd kobo_manager
uv sync
uv run vault --helpA prebuilt image (Python 3.12 + uv + all CLIs) is published to GHCR on every push to
main:
docker run --rm -it \
-v /media/$USER/KOBOeReader:/kobo \
-v ~/kobo-backups:/root/kobo-backups \
ghcr.io/burgesq/kobo_manager vault snapshot --mount /kobo --dry-runThe same image backs the dev container: open the repo in GitHub Codespaces (badge above) to edit, lint and test from the browser. Device commands obviously need a real Kobo, so they only make sense locally.
Scaffolding only: CLIs parse arguments, detect the device and enforce phase order, then
exit with NOT_IMPLEMENTED (64). See ROADMAP.md.
make test
make lint
make type-check