---
title: "<code class=\"docutils literal notranslate\"><span class=\"pre\">pbl</span> <span class=\"pre\">image_recovery</span></code>"
canonical_url: https://developer.repebble.com/pebbleos/docs/pbl/image_recovery/
last_updated: 2026-10-21
sdk_version: 4.33.1
---
# <code class="docutils literal notranslate"><span class="pre">pbl</span> <span class="pre">image_recovery</span></code>

Source: https://developer.repebble.com/pebbleos/docs/pbl/image_recovery/

Write a recovery firmware (PRF) image over the serial console. By default it writes the build’s own firmware, so configure a `prf` build with [pbl configure](https://developer.repebble.com/pebbleos/docs/pbl/configure.md) first, or pass `--file`.

```
pbl -b build-prf image_recovery --tty /dev/ttyACM0
```

## Options

```
pbl image_recovery [-h] [-b DIR] [--dry-run] [--tty TTY] [--force-pulse]
                   [--file FILE]
```

`--tty TTY`

tty for serial imaging

`--force-pulse`

Force PULSE-based imaging even where sftool would be used

`--file FILE`

Binary to write (default: the build’s firmware)

Generated from PebbleOS [3a7b71785](https://github.com/coredevices/pebbleos/commit/3a7b71785fd439666c4a8bc116f561140e8dec01). This page is maintained in the pebbleos repository: [docs/pbl/image\_recovery.md](https://github.com/coredevices/pebbleos/blob/3a7b71785fd439666c4a8bc116f561140e8dec01/docs/pbl/image_recovery.md).
