blob: b70aa21b3d120830ee30d250d63093f82d8f8cd5 [file] [log] [blame] [view]
# fx flash
flash and, optionally, pave a connected device
```none
usage: fx flash [-s <serial>] [--build|--no-build] [--pave]
--build | --no-build Build (or not) the required dependencies
--pave Pave device after flashing (recommended)
-s Serial of device you wish to flash to (only necessary
if multiple devices in fastboot mode)
--skip-verify Skip hardware verification. This is dangerous, please be
sure the images you are flashing match the device. Only
supported with ffx
Defaults are defined by the "incremental" feature:
'fx --enable=incremental flash' defaults to "--build"
'fx --disable=incremental flash' defaults to "--no-build"
```
[flash source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/flash)