AI Dev Lab

Mentoring Tomorrow's AI Developers

Turning an old Kindle into a home info board

We all have one: a Kindle Paperwhite from 2015, lying in a drawer since the phone got good at books. Great hardware going to waste – a glare-free e-ink screen that sips power, visible in full sunlight, and silent. Perfect raw material for a wall-mounted home info board: the kind that shows you, at a glance, whether the kids’ school day shifted, when the next bus leaves, if the air is breathable, and what your portfolio did overnight. No app store needed, no subscription, no glowing LCD.

That’s what we built. The Kindle now hangs on the wall (well — sits on a shelf) showing a single auto-updating board: school hours for today and tomorrow with extra classes, weather, air quality, the next bus, stock and FX rates, and a podcast chart position. It refreshes itself the moment anything changes. Total effort: about 3 hours, most of it fighting decade-old firmware quirks — the actual dashboard code was the easy part.

What we did, in short

The recipe has three ingredients:

  1. Jailbreak the Kindle — an exploit called LanguageBreak gives root access on firmware ≤ 5.16.2.1.1 (conveniently, exactly what our device shipped with). Then install KUAL (an app launcher) and USBNetwork (root SSH).
  2. Make the Kindle a dumb display — a 6-line shell loop on the Kindle pulls one PNG over Wi-Fi and paints it fullscreen on the e-ink. No browser, no UI framework, no Amazon anywhere near it.
  3. Put the brain on a real computer — a small Python script on a Mac fetches every API, draws the board with Pillow, and serves it over HTTP. The Kindle long-polls for changes, so updates arrive instantly without hammering the network.

Everything below is how to actually do it — including the half-dozen traps that cost us real time and that no single guide warns you about.

Part 1 — The jailbreak

0. Identify device and firmware before touching anything

  • Serial prefix decides the model: G090G1 → Kindle Paperwhite 3 (2015). Full table: MobileRead serial list.
  • Firmware without opening the device: mount the USB drive and read system/version.txt. Ours said Kindle 5.16.2.1.1 (409747 002) — exactly the newest firmware LanguageBreak supports (and its sweet spot).
  • FW ≤ 5.16.2.1.1 → LanguageBreak. Newer → different (or no) jailbreak. Do not try LanguageBreak on 5.16.3+.

The canonical docs are kindlemodding.org and github.com/notmarek/LanguageBreak.

1. Before you start

  • Charge first. A Kindle stored dead for years shows only “Low battery”. Give it 1–2 hours on a wall charger (a sleeping PC cuts USB power). It booted fine at ~60%.
  • Back up documents/ over USB — the procedure wipes everything.
  • Device passcode off, airplane mode ON (an OTA to 5.16.3+ would close the exploit window mid-process).
  • Root of the USB drive must have no stray *.bin / update.bin.tmp.partial files (a pending OTA).

2. The jailbreak, condensed

  1. Search bar: ;enter_demo → Enter. Unplug USB, then restart — a Kindle booting while plugged into a PC goes straight to USB Drive Mode and skips the wizard.
  2. Demo wizard: dismiss Wi-Fi, junk values in the registration fields, Skip payload search, Standard demo type, Done.
  3. You land on “This demonstration device is either missing content… / CONFIGURE DEVICE”. CONFIGURE DEVICE is a dead button — ignore it. Do the secret gesture right on this screen: two-finger tap on the bottom-right corner, then immediately swipe left (it’s finicky — 3–5 tries is normal; the swipe must follow the tap within ~1 s).
  4. Home screen → ;demo → Sideload Content → connect USB → copy the whole LanguageBreak/ folder contents to the drive root (incl. .demo/, jb, patchedUks.sqsh, DONT_CHECK_BATTERY) → eject, unplug.
  5. ;demo → Resell Device → Yes. When “press power button” appears, immediately plug USB back in and copy the LanguageBreak/ contents again, eject. This second copy is timing-sensitive.
  6. Hold power → language menu → pick Chinese (right-hand list, second from bottom, above p s e u d o t). The patched locale bundle executes the exploit.
  7. Success = log on screen ending with Added developer key :) / Finished installing jailbreak!, then a normal boot.

3. Hotfix + KUAL/MRPI + USBNetwork

  1. After reboot, restart once more — ;-commands were dead for us until a clean boot. Then ;uzb → Enter with the on-screen keyboard’s return key (the → arrow submits a normal search, not a debug command). Drive mounts.
  2. Copy Update_hotfix_languagebreak-<lang>.bin to the root, eject. No Polish hotfix exists — we used en-GB.
  3. The hotfix may self-install on eject: the .bin vanishes, mkk/, libkh/, rp/ appear, exploit files get cleaned. Success check per README: mkk/ folder present. That’s why “Update Your Kindle” was greyed out for us — there was simply nothing left to install.
  4. KUAL + MRPI + USBNetwork: do not rely on “Update Your Kindle” — it stayed greyed for us. Instead put extensions/MRInstaller + mrpackages/ on the root, drop Update_KUALBooklet_*_install.bin and Update_usbnet_0.22.N_install_pw2_and_up.bin into mrpackages/, eject, then ;log mrpi. It prints “Hush, little baby…”, then possibly “no MR package found” — misleading: the packages were already consumed and installed. Verify: usbnet/ on the drive, KUAL.kual in documents/.

4. KUAL extensions need config.xml

A custom extension is a folder under extensions/. menu.json alone is not enough — without config.xml KUAL silently ignores it:

<?xml version="1.0" encoding="UTF-8"?>
<extension>
  <information>
    <name>Dashboard</name><version>1.0</version>
    <author>you</author><id>Dashboard</id>
  </information>
  <menus><menu type="json" dynamic="true">menu.json</menu></menus>
</extension>

Then a menu item can run any shell script. On FW 5.16 eips does not exist (the guide’s eips -f -g fails silently) — use usbnet’s bundled fbink instead:

/etc/init.d/framework stop
/mnt/us/usbnet/bin/fbink -q -c -W GC16 -g file=/mnt/us/dashboard/hello.png

Restart KUAL (or the device) to rescan extensions/.

5. Getting out of managed mode — and the wipe nobody warns you about

  • Wi-Fi toggles are dead in managed mode (“Your Account: UNREGISTERED”). Exit it with ;demo → press the right-side button → it “enters demo” then resets into normal English mode.
  • Exiting managed mode wipes /mnt/us — the whole USB-visible partition: KUAL, usbnet, extensions, mrpackages, all gone. The jailbreak itself lives on the system partition and survives. Keep a staging copy of extensions/ + mrpackages/ on your PC; after re-registering, re-copy everything and re-run ;log mrpi.
  • Once in normal mode, register the device (or skip) — only then join Wi-Fi (Airplane off → Settings → Wireless).

6. SSH over Wi-Fi (drop the cable here)

  • usbnet etc/config: USE_WIFI="true" and USE_WIFI_SSHD_ONLY="true"; drop your pubkey into etc/authorized_keys — all over USB before unplugging (password login over Wi-Fi won’t work).
  • Toggle with ;un in the search bar; sshd starts over Wi-Fi (ssh root@<kindle-ip>). Find the IP via router or arp -a — the PW3’s MAC OUI was 74:c2:46 here (checkable on-device: Settings → Device Info → Wi-Fi MAC).
  • usbnet’s bin/ has curl, fbink, fbgrab (screenshot the e-ink over SSH: fbgrab /tmp/s.png), busybox, nano…

7. OTA block: the partial-dir trick is dead

update.bin.tmp.partial (empty dir at drive root) no longer works on FW ≥ 5.11. The real block is hius07’s renameotabin KUAL extension — it renames /usr/bin/otaupd + otav3 and auto-reboots. Install it before turning airplane mode off.

Part 2 — Making it display things

8. From “Hello World” to a live dashboard

The Kindle is a dumb display, not a web client — its browser is a decade-old WebKit and there’s no kiosk mode. The working architecture:

  • Mac/PC renders: a Pillow script draws a 1072×1448 grayscale PNG from any data sources, served over HTTP.
  • Kindle pulls: a loop does curl → fbink with the framework stopped (zero UI fighting the e-ink).
  • Near-instant updates without polling: HTTP long-poll — GET dash.png?since=<mtime>&hold=60 returns 204 while the file is unchanged, 200 + X-Board-Mtime the moment the server regenerates it. One curl per update, no persistent connection, no SSH needed on the display path.

Debugging without a display cable: fbgrab /tmp/screen.png + scp captures the e-ink framebuffer over SSH so you can verify what the Kindle is actually showing.

9. Screen resolution gotcha (an hour of confusion)

Every Kindle-dashboard guide renders at the K4’s 600×800, and the PW3 is universally listed as “758×1024”. Both wrong here: fbink and fbgrab report the PW3 framebuffer as 1072×1448. Rendering at 758×1024 produced a board filling only ~70% of the screen — everything looked “correct but small”. Render at the real framebuffer size; the logical resolution tables floating around the web describe the UI coordinate space, not the panel.

Also worth knowing: a stale status-bar clock can ghost through the GC16 refresh at the top edge. Push content ~40px below the top or schedule periodic full clears.

10. Trap list (each cost us real time)

SymptomActual cause / fix
Kindle on USB but no drive mountsDevice still charging or framework not in USB drive mode. Wait for the “USB Drive Mode” screen; check system/version.txt once mounted.
Boot shows USB Drive Mode instead of demo wizardIt was plugged into the PC during boot. Unplug and reboot.
CONFIGURE DEVICE does nothingDead button by design; the misconfiguration screen is bypassed by the two-finger secret gesture.
;uzb/;log do nothingSubmit with the keyboard’s return key (not the → arrow), and do one clean reboot after jailbreaking first.
“Update Your Kindle” greyedNo valid .bin detected — either already consumed by auto-install, or use the ;log mrpi route.
MRPI: “no MR package found”Shown after packages were already eaten. Check usbnet/, documents/KUAL.kual.
KUAL doesn’t list your extensionMissing config.xml in the extension folder.
Junk ._* files on the drivemacOS AppleDouble — harmless, but clean them (dot_clean or rm ._*) for tidiness.
KUAL item runs, screen just returns homeeips doesn’t exist on 5.16 — use usbnet’s fbink -q -c -W GC16 -g file=….
Wi-Fi settings greyed, “UNREGISTERED”Still in managed mode — exit via ;demo → right button.
Everything vanished from the USB driveExiting managed mode / registering wiped /mnt/us. Re-stage extensions + mrpackages, re-run ;log mrpi. JB itself survives.
SSH times out on the IP you foundWrong host — confirm the Kindle’s MAC (Settings → Device Info) against arp -a, and that ;un actually started dropbear.
update.bin.tmp.partial created but OTA might still runTrick is dead on FW ≥ 5.11 — use renameotabin.
Board fills only ~70% of the screenRendered at the “documented” 758×1024; the real PW3 framebuffer is 1072×1448.

Part 3 — Wiring real data

12. API integration — what the board actually shows

RowSourceAuthNotes
School plan, today + tomorrowsynergia.librus.pl przegladaj_plan_lekcjiOAuth cookie flow (login/pass POST → oauth_token)HTML scrape of timetableEntryBox cells; week nav = POST tydzien=Mon_Sun + requestkey. Extra classes (the “yellow cells” in the school Excel) are NOT in Librus — manual weekday-keyed dict.
Weather (now / today / tomorrow)Open-Meteononeforecast + WMO codes, free, no key
Air quality verdictOpen-Meteo air-quality APInonePM2.5/PM10/EAQI → CLEAN..BAD badge
Bus departures (ZTM Warszawa)dane.um.warszawa.pl get_ztm_odjazdy_linii_z_przystankuJWT in Authorization: header (POST)timetable times, not real-time GPS positions
Stocks (NVDA)Yahoo v8 /finance/chart/{SYM}none (UA header helps)~15-min delayed
FX USD/EUR→PLNapi.nbp.pl tables/anoneofficial NBP mid rates, daily ~12:00
Podcast chart positionpodcastcharts.byspotify.com /api/charts/{chart}?region=plnone — undocumented but publictop-podcasts + trending rank & UP/DOWN move. Subscriber counts remain Creators-login-only.
Google AnalyticsGA4 Data APIservice account JSONplaceholder until credentials land — MCP-browsable numbers don’t help an unattended script

13. Architecture in one picture

Mac: boards.py ──render──▶ out/dash.png ◀──serve.py──┐
        ▲  (every 15 min + on demand)                │
        │         GET ?since=mtime&hold=60           │ 204 idle / 200+X-Board-Mtime
Kindle: fbink ◀── board.png ◀── curl long-poll ◀─────┘
        ▲
   autoloop.sh (framework stopped, preventScreenSaver=1)

Summary — and the real lesson

Final state: jailbroken PW3, mkk keystore, KUAL + MRPI + USBNetwork, OTA binaries renamed, root SSH over Wi-Fi at a fixed LAN IP. Kindle long-polls the Mac; a Pillow-rendered 1072×1448 board shows school hours, weather, air quality, next bus, stocks, FX and podcast chart position — refreshed the instant the PNG changes. Total effort: ~3 hours, most of it on the Kindle-side traps documented above (dead buttons, wiped partitions, nonexistent eips, wrong resolution tables). The code part — server, renderer, loop — was the easy hour.

Here’s the part worth reflecting on: most of that “code hour” wasn’t typed by a human. The APIs were probed, the fetchers written, the layout iterated (five rounds of “move it down, bigger font, add a divider”), and the article you’re reading — all done in a live session with an AI coding agent that could run commands on both the Mac and the Kindle over SSH. The bottleneck in 2026 isn’t implementation speed anymore. It’s imagination and integration: knowing what you want the board to show, which data sources exist for it (some you didn’t know had an API — Spotify’s podcast chart, the city bus timetable endpoint), and how to decompose the wish into tasks small enough to hand off: “find the ZTM endpoint and test my JWT”, “render a table row per section, full framebuffer size”, “make the server hold the request until the file changes”.

An old Kindle, a drawer’d device, is a nice reminder that the hardware for the project you want probably already exists in your home. What’s scarce is the picture of what it should do — and the patience to connect the dots. The dots themselves, these days, connect fast.

Device: Kindle Paperwhite 3 · FW 5.16.2.1.1 · LanguageBreak 1.0.2.1 · December 2026