1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:42:08 +02:00
tldr/pages/common/fastboot.md
Vitor Henrique 61405c6e0e
pages*: fix small typos (#11850)
* pages*: fix small typos

* pages/*: make help and version commands consistent

* pages/*: follow "path/to/file" pattern

* nop: generic display help wording
2023-12-27 12:11:30 +05:30

671 B

fastboot

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.

  • Unlock the bootloader:

fastboot oem unlock

  • Relock the bootloader:

fastboot oem lock

  • Reboot the device from fastboot mode into fastboot mode again:

fastboot reboot bootloader

  • Flash a given image:

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

  • Flash a custom recovery image:

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

  • Display connected devices:

fastboot devices

  • Display all information of a device:

fastboot getvar all