flashpod
flashpod is both an iPod flash-card imager and a tool for syncing and organizing the music on it.
It handles the whole setup without iTunes, so you can revive a vintage iPod and run it from a modern desktop: it writes the firmware to the card, creates the initial music database, and loads the card with music. Then, once you pop the card into an iPod and connect it over USB or FireWire, flashpod manages the library on the device too — adding and removing songs right on the iPod.
Requirements
- iPod: Gen 1, 2, or 3 (tested successfully); Gen 4 should work but isn't tested yet. Later models (2007 and newer) aren't supported — they need an iTunesDB checksum/hash flashpod doesn't generate.
- Adapters: CF to 1.8" IDE adapter (common on eBay); CF to SD card adapter (if using an SD card).
- Flash cards: CompactFlash card, or SD card with a CompactFlash adapter.
- Card reader: USB CompactFlash reader (to flash the card and load the bulk of your music).
- Operating system: Linux, macOS (Intel, Apple Silicon, and vintage OS X 10.8), and Windows — card flashing is hardware-tested on all three. Managing music on the iPod itself is Linux and macOS; on Windows, load the card in the reader.
flashpod was originally written to run from a modern Linux desktop. The one-time flashing operation only needs a working USB card reader. For a 3rd- or 4th-gen iPod, a modern machine can flash the card and manage the iPod. For a 1st- or 2nd-gen iPod, you can still flash the card from a modern machine, but you'll need a FireWire interface to manage the music on the iPod afterward.
FireWire
A FireWire interface is a rarity these days. On a desktop, the easiest option is to add a FireWire card — Linux still supports FireWire well, so a Linux machine with a FireWire card lets flashpod manage a 1st- or 2nd-gen iPod.
That's not the only option, though. Older Macs shipped with FireWire built in,
and flashpod was deliberately written with as few external dependencies as
possible — and against a relatively old Python — to stay runnable on vintage
Mac hardware. It's been tested on a MacBook running OS X 10.8, listing and
adding music over FireWire. Since old Macs often can't get online, the
flashpod-macos-vintage-no-internet release is built for exactly that: the
firmware images are baked in, so you can copy it to a USB drive on a modern
machine and run it on the vintage Mac with no network at all.
One caveat on the Mac: these iPods' FireWire bridge corrupts the large reads
macOS uses to mount a volume, so macOS cannot mount the iPod and offers to
initialize it on every attach — always choose Ignore ("Initialize" opens
Disk Utility aimed at your iPod). flashpod is unaffected: it reads the raw
device directly, so ls, add, and rm all work with the volume unmounted.
Loading music
There are two complementary ways to get music onto a flash-modded iPod:
- Over FireWire, once the card is installed in the iPod — convenient, but slower.
- A one-time bulk load onto the flash card while it's still in the card reader — fast, but only possible before the card goes into the iPod.
flashpod supports both. We suggest loading the majority of your library onto the card while it's still in the (much faster) card reader, and saving the FireWire sync for occasionally adding new albums later.
Install
What changed in each release: CHANGELOG.md.
If you already have the pip Python package manager (or pipx), install with a single command:
pip install flashpod # or: pipx install flashpod
Otherwise, download the archive for your OS from the Releases page — each holds a single self-contained executable (no Python or anything else to install).
Linux (flashpod-linux-x86_64.tar.gz):
tar xzf flashpod-linux-x86_64.tar.gz
cd flashpod-linux-x86_64
./install.sh # to ~/.local/bin (no root); or: sudo ./install.sh
flashpod --help
Windows (flashpod-windows-x86_64.zip): unzip it and run flashpod.exe
from a terminal (an Administrator terminal for flash).
Modern Macs — Intel and Apple Silicon (flashpod-macos-universal2.tar.gz):
one universal binary, macOS picks the right architecture. Needs macOS 10.13
or newer.
tar xzf flashpod-macos-universal2.tar.gz && cd flashpod-macos-universal2
./flashpod --help
Vintage Macs (OS X 10.8) (flashpod-macos-vintage-no-internet.tar.gz):
this is the build for FireWire-era Macs — firmware baked in, no network
needed — not the one for a modern Mac. Extract and run it the same way
(including the quarantine note above, if macOS refuses):
tar xzf flashpod-macos-vintage-no-internet.tar.gz
cd flashpod-macos-vintage-no-internet
./flashpod --help
The Linux, Windows, and modern-macOS builds don't bundle firmware —
flashpod flash downloads the image you pick (verified by checksum), or you
supply your own with --firmware. (The Vintage Mac OS 10.8 build is the exception)
Building the binaries yourself is documented in BUILD.md.
Typical workflow
Set the card up in a USB reader first — transfers are far faster there than over FireWire. Flash it, then let flashpod initialize the database and load your music, all in one sitting:
flashpod flash # full workflow to partition and format a card,
# write the firmware, init the database, and
# add music all at once
See a full flashpod flash session — model and firmware pick, card selection, erase, verify, init, and first music load
$ flashpod flash
flashpod flash: writing to a disk needs root — elevating via sudo...
[sudo] password for david:
Which iPod are you flashing for?
# iPod Years How to identify it
- -------------- ------- ------------------------------------------------
0 1st generation 2001-02 scroll wheel physically turns
1 2nd generation 2002 wheel does not move (touch-sensitive)
2 3rd generation 2003 four buttons in a row above the wheel
3 4th generation 2004 click wheel, buttons on the wheel, grayscale
4 iPod photo 2004-05 click wheel, color display
Select model: 0
Firmware for 1st generation (newest first):
# Version Built Size Notes
- -------------- ---------- ---- ---------------------------------------
0 1.6 (flashpod) 2026-10-16 2.0M NOT AN APPLE RELEASE -- flashpod's 1.6:
Apple's 1.5 plus 23 fixes. Plays FLAC;
...
1 1.5 * 2005-02-18 2.0M Last stock Apple-released firmware for
1G/2G iPods
2 1.4 2004-04-23 1.9M Adds 20+ EQ presets, shuffle by album,
...
...
* recommended default
Select firmware [0]: 0
flashpod flash: downloading iPod_1.1.5_2005_02_18.bin.gz
from https://github.com/davidbarnhart/flashpod/releases/download/firmware/iPod_1.1.5_2005_02_18.bin.gz
91% (1.8/2.0 MiB)
flashpod flash: verified and cached iPod_1.1.5_2005_02_18.bin.gz
firmware OK: iPod_1.1.5_2005_02_18.bin.gz (5068800 bytes, structure validated)
Attached removable storage:
# Device Size Reader
- -------- --------- ------------------------------------------
0 /dev/sdb 119.1 GiB USB3.0 Card Reader (Genesys Logic), slot 1
MBR: unformatted 32 MiB, vfat 119.1 GiB 'IPOD' <-
looks like an iPod card
1 /dev/sdc 0 B USB3.0 Card Reader (Genesys Logic), slot 2
no card inserted
Select device number (or 'q' to quit): 0
PLAN — this will ERASE /dev/sdb
layout : MBR + FAT32
device size : 119.1 GiB (249737216 sectors)
firmware : sectors 63..65598 (32 MiB)
data (FAT32) : sectors 65599..249735167 type 0x0B (119.1 GiB)
Type "ERASE sdb" to proceed: ERASE sdb
wrote MBR partition table + firmware
formatted data partition (FAT32, 7798364 clusters @ 16 KiB, label 'IPOD')
verifying firmware on the card byte-for-byte (5068800 bytes @ sector 63) ...
verify OK: 5068800 firmware bytes on the card match the image exactly.
The card still needs the iPod database before it can take music ("flashpod init").
Run init on /dev/sdb2 now? [Y/n] Y
Initialized iPod directory structure on /dev/sdb2
Music can be loaded onto the card now, or later when it is in the iPod.
Load music onto the card now? [Y/n] Y
(the directory picker opens — Space to select, Enter to confirm)
Adding 1 selected path:
/mnt/homestore/sound/mp3/New Order/Technique/
flashpod add: this batch is 54.8 MiB. You've got 118.94 GiB more than you need, Dude. That's gnarly!
[6/9] Adding: Run — New Order... 100% (6.2/6.2 MiB)
[7/9] Adding: Mr. Disco — New Order... 100% (6.0/6.0 MiB)
[8/9] Adding: Vanishing Point — New Order... 100% (7.3/7.3 MiB)
[9/9] Adding: Dream Attack — New Order... 100% (7.2/7.2 MiB)
9 tracks added in 42s (54.8 MiB at 1.3 MiB/s)
flushing + ejecting /dev/sdb
Done. /dev/sdb is ready — insert it into the iPod.
Load the bulk of your library now, while the card is in the reader. Once the card is in the iPod, music transfers over FireWire are much slower — fine for a song or two, painful for a discography. So front-load it here.
Now pop the card into the iPod and connect the iPod to your computer. flashpod
finds it on its own — no mounting, no device paths, no sudo to type:
$ flashpod list
flashpod: looking for an iPod means reading attached disks, which needs root — elevating via sudo...
[sudo] password for david:
Found iPod on /dev/sdb2 (IPOD FireWire 119.1G) — 25 tracks.
iPod "iPod": 25 tracks, 2 artists, 3 albums
Can
Tago Mago (7 tracks)
New Order
Brotherhood (9 tracks)
Technique (9 tracks)
Add or remove the odd track right on the device:
$ flashpod add ~/music/New\ Order\ -\ Blue\ Monday.mp3
Found iPod on /dev/rdisk1 — 82 tracks.
[1/1] Adding: Blue Monday — New Order... 100% (6.8/6.8 MiB)
1 track added in 26s (6.8 MiB at 268 KiB/s)
$ flashpod rm album Substance
Found iPod on /dev/rdisk1 — 83 tracks.
Removed: New Order - Ceremony
Removed: New Order - Temptation
…
Removed 12 tracks
Commands
The easiest way to use flashpod is to run a simple command — like flashpod flash or flashpod add — and let it walk you through the options. Many
commands accept extra flags, but you don't need to supply any.
flashpod finds your iPod for you. With no flags, it uses one that's already mounted; otherwise it scans the attached disks and picks out the iPod by the iTunes database on it (no guessing from volume labels), then reads and writes it directly over the raw device with its own FAT driver — no OS mount required.
That raw path is what lets flashpod manage an iPod the OS can't mount, like a
flash-modded FireWire iPod on a Mac (macOS's read-ahead corrupts the boot
sector, so it refuses the volume). Raw access needs root, so flashpod re-runs
itself under sudo and prompts for your password — you never type sudo
yourself.
If more than one iPod is attached — say a freshly-flashed card sitting in a reader while a FireWire iPod is also plugged in — flashpod lists them and asks which to use rather than picking one for you. And on Linux, if a FireWire iPod is plugged in but the kernel hasn't attached it as a disk yet, flashpod loads the driver it needs first, so the iPod shows up instead of silently going missing.
All library commands — list, add, rm, init, rebuild — work this way.
flashpod list
$ flashpod list # artist → album tree with track counts
iPod "iPod": 25 tracks, 2 artists, 3 albums
Can
Tago Mago (7 tracks)
New Order
Brotherhood (9 tracks)
Technique (9 tracks)
$ flashpod list all # same tree + every track (id, track no., duration)
$ flashpod list artist # flat per-artist track counts (or `artists`)
$ flashpod list album # flat per-album track counts (or `albums`)
See full flashpod list all output — every track with its id, track number, and duration
$ flashpod list all
flashpod: looking for an iPod means reading attached disks, which needs root — elevating via sudo...
Found iPod on /dev/sdb2 (IPOD FireWire 119.1G) — 25 tracks.
iPod "iPod": 25 tracks, 2 artists, 3 albums
Can
Tago Mago
70 1. Paperhouse 7:28
71 2. Mushroom 4:03
72 3. Oh Yeah 7:24
73 4. Halleluhwah 18:28
74 5. Aumgn 17:33
75 6. Peking O 11:38
76 7. Bring Me Coffee or Tea 6:46
New Order
Brotherhood
61 1. Paradise 3:50
62 2. Weirdo 3:52
63 3. As It Is When It Was 3:46
64 4. Broken Promise 3:47
65 5. Way Of Life 4:05
66 6. Bizarre Love Triangle 4:21
67 7. All Day Long 5:12
68 8. Angel Dust 3:43
69 9. Every Little Counts 4:25
Technique
52 1. Fine Time 4:42
53 2. All The Way 3:24
54 3. Love Less 3:04
55 4. Round And Round 4:31
56 5. Guilty Partner 4:48
57 6. Run 4:31
58 7. Mr. Disco 4:21
59 8. Vanishing Point 5:17
60 9. Dream Attack 5:12
Track ids shown by list all are what flashpod rm <id> takes.
flashpod add [path ...]
Add audio files and/or directories. Directories are scanned recursively in
sorted order. Recognized extensions: .mp3 .m4a .m4b .aac .wav .aif .aiff.
Tags, duration, and bitrate are read automatically.
Files already on the iPod are skipped, so you can safely re-point add at an
overlapping set — e.g. add a single, then later add the whole album folder
that contains it, and only the new tracks are copied. A track is considered a
duplicate when its size, duration, and title all match one already present
(this also de-duplicates within a single batch). Re-encoded or re-tagged
copies have a different size and are added as new.
$ flashpod add # ← the usual way: prompts, with tab completion
$ flashpod add ~/music/Some\ Album # a directory
$ flashpod add a.mp3 b.mp3 ~/music/More/ # mix files and directories
Progress is one line per track, shown in a scrolling 4-line window so a big batch doesn't flood the terminal history (when output is piped or redirected, every line is printed instead). Skips and failures stay visible above the window, are counted in the summary, and don't stop the batch:
[3/14] skipping ._cover.mp3: not a recognized audio file
[4/14] skipping 01 Come Together.mp3: already on iPod
[11/14] Adding: Pet Cemetery — Relic Pop... ⌝
[12/14] Adding: Rarely Seen Violence — Relic Pop... | last 4 only;
[13/14] Adding: Sister Sky — Relic Pop... | older lines scroll away
[14/14] Adding: Thick as Thieves — Relic Pop... ⌟
12 tracks added, 1 skipped (already on iPod), 1 failed in 1m02s
See a full flashpod add session — adding an album to the iPod over FireWire
$ flashpod add
flashpod: add over the iPod's raw device needs root — elevating via sudo...
Found iPod on /dev/sdb2 (IPOD FireWire 119.1G).
(the directory picker opens — Space to select, Enter to confirm)
Adding 1 selected path:
/mnt/homestore/sound/mp3/New Order/Brotherhood/
flashpod add: this batch is 51.0 MiB. You've got 118.89 GiB more than you need, Dude. That's gnarly!
[6/9] Adding: Bizarre Love Triangle — New Order... 100% (6.0/6.0 MiB)
[7/9] Adding: All Day Long — New Order... 100% (7.2/7.2 MiB)
[8/9] Adding: Angel Dust — New Order... 100% (5.1/5.1 MiB)
[9/9] Adding: Every Little Counts — New Order... 100% (6.1/6.1 MiB)
9 tracks added in 2m38s (51.0 MiB at 330 KiB/s)
Run with no arguments, add finds the iPod itself and opens a full-screen
directory picker starting at your home directory: arrows navigate (Left/Right
move between directory columns), Space selects files or whole directories,
Shift+Up/Down sweep-selects (on Windows use v, the sweep lock), Enter
confirms, Esc cancels. Only the last four progress lines stay on screen —
tracks 1–5 scrolled away above.
Adding over FireWire is slow (~270 KiB/s — a hardware limit of these early bridges, not something a setting can fix). For bulk loads, pull the card into a USB reader and
addover the normal mount — USB bypasses the bridge and is far faster. Keep the raw FireWire path for quick incremental edits.
Early iPods can't load an arbitrarily large library. The firmware has a hard budget for the database file: past it the iPod boots normally but shows zero songs — no error. Measured on real 1st-gen hardware: the cliff is at ~3.78 MB of iTunesDB (roughly 5,000–5,500 tracks with typical tags; it's the bytes that matter, not the track count, so rich tags cost capacity).
flashpod addprojects the database size before copying and offers to trim the batch to what fits. Firmware with openpod's library-leak fix (flashpod 1.6) has no such ceiling: when a batch would pass it,addreads the card's firmware (a few sectors; over an OS mount that may ask for your sudo password), and if the fix is there the only limit left is the 32,000-track playlist cap.FLASHPOD_DB_LIMIT=<bytes>overrides the ceiling and skips that check (0disables it — e.g. for later models that may load more).
flashpod rm
$ flashpod rm 52 53 # by track id (see `flashpod list all`)
$ flashpod rm artist Relic Pop # every track by the artist
$ flashpod rm album Thick As Thieves # every track in the album
Artist/album matching is case-insensitive exact match; multiword names need
no quotes. remove, delete, and erase all work as synonyms for rm.
Removal is immediate — there is no confirmation prompt.
flashpod init [name]
Create the iPod_Control directory structure and an empty music database.
Use on a freshly flashed/formatted card or after a wipe. Destroys any
existing database, but not music files already in the F## folders. To
recover an iPod whose music files are intact but whose database is
missing/corrupt, use rebuild (below) — it keeps the music; init does not
re-index it.
flashpod rebuild [name]
Rebuild the iTunes database from the music files already on the iPod. Walks
iPod_Control/Music/F##, reads each track's tags, and writes a fresh database
pointing at the existing files — so a corrupt or missing database is recovered
without re-copying or losing music. (It reads every track to sniff its tags, so
it's slow over FireWire; fine for a one-off recovery.) flashpod list points you
here when it finds an iPod with an unparseable database, and flashpod add onto
such an iPod offers to rebuild first, then adds your new files on top.
flashpod flash [/dev/sdX]
Write the iPod firmware and partition layout to a CF/SD card. Erases the card. Writing needs root, so flashpod re-runs itself under sudo (prompting for your password) — you launch it as a regular user.
Just run flashpod flash with no arguments. That's the normal way: it lists
the removable disks, walks you through picking the right one, writes the
firmware, and then offers to initialize the database and load your music — the
whole card set up in one sitting. The forms below are only for when you want to
name the device yourself or preview the plan.
$ flashpod flash # ← the usual way: pick a disk interactively
$ flashpod flash /dev/sdb # name the device yourself
$ flashpod flash /dev/sdb --dry-run # print the plan, write nothing (no root)
$ flashpod flash --self-test # validate layout logic, no hardware
Firmware: with no --firmware, flashpod first asks which iPod you're
flashing for (or takes --model 1G|2G|3G|4G|photo), then lists only the
firmware that fits it, from the bundled catalog
(flashpod/firmware/firmware.json), with version, build date, and description
(the default entry is preselected; non-interactive runs use it outright). The
chosen image is then downloaded from GitHub, cached under
~/.cache/flashpod/, and verified against its SHA-256 before use; later
flashes reuse the cached copy (no network). The images aren't bundled with
flashpod — they're Apple's copyright (flashpod 1.6 is built from Apple's
1.5), hosted as
release assets.
The model question isn't cosmetic: firmware is not interchangeable across models. 2nd-generation (touch wheel) support first appeared in firmware 1.1.2, so the 2001 images (1G's 1.0 and 1.0.4) would leave a 2G unusable — asking first means they're never offered to one.
flashpod 1.6 (1st and 2nd generation). The catalog's one firmware that
isn't Apple's: Apple's last release, 1.5, with 23 fixes, built from the
openpod project's fix folder
(firmware/1/1.6). The picker marks it (flashpod) and NOT AN APPLE RELEASE,
inspect reports it as flashpod 1.6, and Apple's 1.5 stays the default.
What you gain over 1.5:
- FLAC. FLAC files play, fast-forward and rewind land at once, and there's no dropout when a track starts or while the file cache refills.
- Big cards. Disks over 128 GiB work (LBA48); flash with
--lba48to give the data partition the whole card. - Big libraries. 1.5 shows zero songs once the iTunesDB passes about
3.8 MB (around 5,300 tracks), because of a memory leak; 1.6 fixes the leak,
and a track's record takes 160 bytes instead of 448. It has run on
31,958 songs.
flashpod addsees the fix on the card and lets the library grow to the 32,000-track playlist cap instead of 1.5's limit. - Faster menus. Artists, an artist and Songs open in about 2 seconds instead of 4-6, and the other lists are built with less repeated work.
- Faster start-up. No whole-table name searches, no listing every music file at each start, no clearing free memory.
- Text. A character the font lacks is drawn as
?and sorted after every letter, instead of vanishing. - Shuffle Songs leaves audiobooks out without looking up every track.
- The iPod says it's version 1.6.
- Disk mode on big cards, but not after a normal flash: FireWire disk mode can see, read and write a card past 128 GiB only once the iPod's flash ROM has been reprogrammed with 1.6's updater (openpod's tooling). A flashpod flash leaves the ROM alone, so disk mode stays at 128 GiB as on 1.5.
Hardware-tested on 2026-10-16 on a 1st-generation iPod, with a 250 GB card of 31,958 songs and a 128 GB FLAC card of about 3,000. Known limit, as on 1.5: Shuffle Songs doesn't start on a library near 32,000 songs. It hasn't been tested on a 2G; it's offered for one because 1.5, which it's built from, is.
Arming a card for a disk-mode update (--arm). A 1G/2G firmware
carries a second program, the one the iPod runs in FireWire disk mode, which
lives in the iPod's own flash chip, not on the card. flashpod normally writes
the card with that update marked as already done, so the chip is left alone.
An armed card leaves it pending: on the next start from the card on
FireWire power, the iPod reprograms its flash chip with the card's
disk-mode program (flashpod 1.6's carries disk mode past 128 GiB). On battery
it shows the connect-power icon and does nothing. The risk is small but real:
if power is cut during the first part of the programming (the erases and the
first ~7%), the iPod won't start again without an external chip programmer;
after that, a failure repairs itself on the next start. flashpod has no dump
of your iPod's chip, so it can't rehearse the update first (openpod's
tools/flash_rom_update.py can). Only disk-mode programs flashpod knows can
be armed: flashpod 1.6's and Apple 1.5's. An interactive flash of one of them
asks "Arm this card for an iPod update to disk-mode during the next boot?
[y/N]"; only a yes brings the warning (FireWire power during the next boot;
halting the update can leave the iPod permanently broken) and a second
"Continue? [y/N]", and the card is armed only on both yeses. --arm arms
without asking either, --no-arm never arms, and a
non-interactive run never arms without --arm. card.flash(..., arm=True)
does the same in the library, and inspect reports whether a card is armed.
These early images have no low disk-size ceiling — 1.0 and 1.0.4 were tested on
a 128 GB card in full (the broken-folder icon on such a card means the data
partition wasn't initialized, since 1.0 doesn't auto-create iPod_Control; run
flashpod init). The only size limit is the 128 GiB LBA28 cap that binds all of
this firmware; see --lba48. A manifest entry may carry a max_data_gb
ceiling if some firmware ever needs one, and --max-data-gb sets it by hand.
Catalog images ship as .bin.gz (a gzipped raw Firmware-* image). To use a
firmware flashpod doesn't host (or to work fully offline), pass it with
--firmware <file> — that path never touches the network, and accepts a raw
Firmware-* image, a .bin.gz, or an Apple .ipsw (the format is detected
from the file's magic bytes, not its name). To add an image to the catalog,
upload it to the firmware release and add a manifest entry (file,
url/base_url, sha256, size, generation, version, description,
maker for anything not Apple's (the picker and inspect show it), and
build_date if known — it can't be recovered from the file later, since git
and release downloads both reset mtimes).
Options:
| Flag | Meaning |
|---|---|
--firmware <file> |
use a local image — raw Firmware-*, .bin.gz, or .ipsw (bring-your-own; no download). Default: pick from the catalog and download it |
--model <id> |
iPod model to flash for (1G, 2G, 3G, 4G, photo); decides which firmware is offered. Default: ask |
--yes |
skip the typed ERASE sdX confirmation |
--arm / --no-arm |
arm the card for a disk-mode update, or don't (and don't ask). Without either, an interactive flash asks, defaulting to no; see below |
--no-format |
keep the data partition and its music: rewrite only the firmware and partition table. Refused unless the card's data partition already starts and ends where the new table puts it |
--lba48 |
experimental: use the whole card for data, past the 128 GiB cap (LBA48-patched iPods only) |
--max-data-gb <N> |
cap the data partition to N decimal GB (e.g. to make a smaller partition, or probe a firmware's disk-size ceiling) |
--dry-run |
show the plan only |
--self-test |
check layout-building logic and exit |
Safety: only removable/USB disks are offered, the disk backing the running
system is always refused, partition nodes (/dev/sdb1) are rejected, the
target is unmounted first, and an explicit typed confirmation is required.
After writing, the firmware region is read back and compared byte-for-byte
before the card is ejected. Cards larger than 128 GiB are capped at the
iPod's LBA28 addressing limit — pass --lba48 to use the whole card instead,
but only on an iPod running an LBA48 patch (an unpatched iPod can't address the
extra sectors and will misread the card).
After a successful interactive flash, flashpod offers to run init on the new
card right away, and after that to load music onto it too — answer Y (the
default) to both and the card comes out of the flash step ready to play. The
offers are skipped for --dry-run, --no-format, and non-interactive runs.
A disk image instead of a card
Every command that takes a device also takes a regular file, and treats it as a whole card: the same partition table, firmware placement, FAT32 and iTunesDB. No root is needed, and the steps that exist only because a card is a device — unmounting, wiping signatures, re-reading the partition table, flushing caches, ejecting, the FireWire bridge's small transfers — are skipped. The file's size is the card's size, so give it one first:
$ truncate -s 1G ipod.img
$ flashpod flash ipod.img --firmware iPod_1.1.5.ipsw --yes
$ flashpod init --raw ipod.img
$ flashpod add --raw ipod.img ~/Music/*.mp3
$ flashpod ls --raw ipod.img
An interactive flash of an image offers init and music afterwards, as it does
for a card. The image is what an iPod emulator boots — openpod's
tools/ipod_emu_ui.py reads one with OPENPOD_DISK=ipod.img — and it can be
written to a real card with flashpod burn, below.
flashpod burn IMAGE [/dev/sdX]
Writes a card image file onto a real SD/CF card in a reader, byte for byte,
then reads the card back to check it. Like flash, it erases the card, needs
root (it elevates via sudo), and asks you to type ERASE sdX (--yes skips
that). Leave out the device to choose from the attached removable disks.
Before writing anything it refuses a target that isn't a removable whole disk
(USB, MMC or hot-plug, per lsblk), a disk backing the running system, a
FireWire disk (early iPod bridges crash on big writes), an empty reader slot,
and a card smaller than the image; and it refuses an image with no partition
table. The plan names the image's firmware and library and warns when the data
partition reaches past 128 GiB (only LBA48 firmware can address that).
--dry-run runs every check and writes nothing; --no-verify skips the
read-back. Linux only for now.
Using flashpod as a library
flashpod.card is the engine the CLI itself runs (every add, rm,
init and rebuild goes through it), for programs that manage card image
files (an iPod emulator's web front end, for one). It never prints,
prompts, mounts, asks for root or touches a device: given a path, every call
refuses anything but a regular file.
from flashpod import card
card.create_blank("a.img", 8 * 10**9) # sparse
card.flash("a.img", "iPod_1.1.5.bin.gz") # same bytes as `flashpod flash a.img --yes`
card.init("a.img", "My iPod")
plan = card.plan_add("a.img", ["/music/Album"]) # what would happen; writes nothing
report = card.add("a.img", ["/music/Album"], plan=plan,
policy={"full": "fit", "ceiling": "refuse"})
info = card.inspect("a.img") # layout, firmware build + fixes, FAT32, iTunesDB counts
card.remove("a.img", ids=[52, 53])
card.flash_firmware("a.img", "other.ipsw") # replace the firmware, keep the music
Also format_data, tracks, library, rebuild, apply_add (copy a
chosen subset of a plan), open_target (hold an image's lock across several
calls), firmware_catalog,
fetch_firmware, version() and API_VERSION (major.minor; a major bump
breaks callers). Results have to_dict(); errors are
flashpod.errors.FlashpodError subclasses with a stable code. Long calls
take progress(stage, done, total, item) and cancelled(); a cancelled add
keeps exactly the tracks already copied. Each image is locked with
fcntl.flock (shared to read, exclusive to write; CardBusy on a conflict),
which other programs using the same image should take too. The module's
docstring lists which of the CLI's safety rules it keeps and which only apply
to devices.
Notes
- Close Rhythmbox before syncing/ejecting — its libgpod plugin grabs the iPod mount and blocks unmount.
- A batch
flashpod addwrites the database once, at the end — not per track. If a batch is interrupted, you may be left with orphaned music files but an unchanged database; just re-run the sameadd(files already present are skipped). - Don't trust
fsck.vfaton iPod cards: dosfstools chokes on iPod boot sectors that the kernel mounts fine.
License
flashpod is released under the MIT License. The firmware .ipsw
images that flashpod flash downloads are Apple's copyright, not covered by
that license and not part of this source tree — they are hosted separately for
convenience, and you may supply your own instead.
Metadata
Release files for flashpod 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flashpod-0.5.2.tar.gz | 203.1 kB | With provenance | Details for flashpod-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flashpod-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for flashpod-0.5.2-py3-none-any.whl |
Total release size: 395.8 kB
Release files / flashpod-0.5.2.tar.gz
| Download URL | flashpod-0.5.2.tar.gz |
|---|---|
| Size | 203.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e6552c55628be2fbe3022c1c0f75740e45b80af43773ee11f8d53661bceae72
|
|
BLAKE2b-256 checksum How to use checksums |
f3cd139d9b5ea674a341dc2c209ee9f2d28bfc4da22d5bba158982da6d16ec29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logRelease files / flashpod-0.5.2-py3-none-any.whl
| Download URL | flashpod-0.5.2-py3-none-any.whl |
|---|---|
| Size | 192.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d829fc29b7e17c7e7ecf0e03a10899ee46f5f7505baaee92ffa7c6a2e04416c0
|
|
BLAKE2b-256 checksum How to use checksums |
8d350684ad57aebd358c2603fa5f6eda69350a394fd9f054438fcd1745916799
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logSecurity for flashpod 0.5.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for flashpod-0.5.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.