LIBREM5-FLASH-IMAGE(1)
π LIBREM5-FLASH-IMAGE π
okay bestie, gather round, because today we're talking about librem5-flash-image β the manual page for the Image flashing tool for Librem 5 devices. yes, that Librem 5. the phone. we're flashing it. it's giving main character energy and honestly? obsessed. β¨
πΈ NAME πΈ
librem5-flash-image β Image flashing tool for Librem 5 devices. no cap, that's literally the whole thing. π
β¨ DESCRIPTION β¨
so like, here's the whole vibe of how you call it:
usage: librem5-flash-image [-h] [--version] [--dir DIR] [--skip-cleanup]
[--skip-flash] [--skip-download]
[--download-attempts DOWNLOAD_ATTEMPTS]
[--dist DIST] [--variant {plain,luks}]
[--board {devkit,librem5r2,librem5r3,librem5r4}]
[--stable] [--snapshot] [--image IMAGE]
[--uboot UBOOT] [--debug] [--image-job IMAGE_JOB]
[--uboot-job UBOOT_JOB] [--embedded-boot] [--udev]
and what does it DO, you ask? Flash a Librem 5 or Librem 5 Devkit. that's it. that's the job. π¦
π OPTIONS π
-h,--helpβ show this help message and exit. the classic. the icon. π--versionβ show program's version number and exit. lil peek at the numbers.--dir DIRβ download files to DIR instead of yeeting them into a temporary directory. β¨--skip-cleanupβ skip temporary directory cleanup. leave the mess, live your truth.--skip-flashβ do all the preparations but don't flash. all dressed up, nowhere to go. π--skip-downloadβ use already downloaded files (specified with--dir) instead of downloading. we already have it at home, bestie.--download-attempts DOWNLOAD_ATTEMPTSβ maximum number of attempts to resume image download.0means unlimited, and the default is10. π«Ά
π IMAGE OPTIONS π
--dist DISTβ download an image for this distribution (byzantium,crimson,dawn,...) instead of the current release. pick your era. π--variant {plain,luks}β image variant to download (plain,luks), default is'luks'. π₯--board {devkit,librem5r2,librem5r3,librem5r4}β type of the board to download (devkit,librem5r2,librem5r3,librem5r4) default is'auto'. yes it'll figure it out for you, she's smart. β¨--stableβ download the latest stable image (default, use--snapshotto override). the safe pick. the sensible pick. π--snapshotβ download the latest CI snapshot instead of "blessed" images (takes precedence over--stable). living on the edge, love that for you. π--image IMAGEβ flash the given uncompressed image file instead of downloading one. bring your own. π--uboot UBOOTβ use and flash the given bootloader file instead of downloading one. same energy, but for the bootloader. π
π§ TESTING AND DEBUGGING OPTIONS π§
--debugβ enable debug output. turn on the subtitles. πΈ--image-job IMAGE_JOBβ Jenkins job to download the image from.--uboot-job UBOOT_JOBβ Jenkins job to download the uboot from.--embedded-bootβ set the bootloader embedded in the flashed image as bootable instead of using separate boot partition. fancy. π¦
π INITIAL SETUP OPTIONS π
--udevβ setup udev rules to flash without root permissions. nosudo, no crying, just vibes. periodt. β¨
fr fr, one thing to remember:--snapshottakes precedence over--stable, so if you pass both, snapshot wins. iykyk. π
and that's the whole page bestie, no notes. this was librem5-flash-image version 0.0.5, dated March 2025, straight from the User Commands corner of the manual-verse. go forth and flash responsibly, mwah ππΈπ¦ππ
π¦ where this page comes from
- debian trixie: librem5-flash-image 0.0.5-1 Β· GPL-3.0-or-later
- ubuntu resolute: librem5-flash-image 0.0.5-1 Β· GPL-3.0-or-later
- ubuntu stonking: librem5-flash-image 0.0.5-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms