fastboot Command Examples

Communicate with connected Android devices when in bootloader mode (the one place ADB doesn't work). More information: https://cs.android.com/android/platform/superproject/+/main:system/core/fastboot.

fastboot oem unlock

fastboot oem lock

fastboot reboot bootloader

fastboot flash {{path/to/file.img}}

fastboot flash recovery {{path/to/file.img}}

fastboot devices

fastboot getvar all