Fastboot

From HandWiki

Fastboot is a protocol[1] and a tool of the same name. It is included with the Android SDK package used primarily to modify the flash filesystem via a USB connection from host computer. It requires that the device be started in a boot loader or Secondary Program Loader mode, in which only the most basic hardware initialization is performed. After enabling the protocol on the device itself, it will accept a specific set of commands sent to it via USB using a command line.[2] Some of the most commonly used fastboot commands include:

  • flash – rewrites a partition with a binary image stored on the host computer.
  • erase – erases a specific partition.
  • reboot – reboots the device into either the main operating system, the system recovery partition or back into its boot loader.
  • devices – displays a list of all devices (with the serial number) connected to the host computer.
  • format – formats a specific partition; the file system of the partition must be recognized by the device.

Fastboot allows to boot from a custom recovery image. Fastboot does not require USB debugging to be enabled on the device.[3] Not all Android devices have fastboot enabled.[4] To use fastboot, a specific combination of keys must be held during boot.[5]

Android device manufacturers are allowed to choose if they want to implement fastboot or some other protocol.[6]

Keys pressed

The keys that have to be pressed for fastboot differ for various vendors.[7]

  • HTC: Power and volume down
  • Sony: Power and volume up
  • Nexus: Power, volume up and volume down

On Samsung devices, Power, volume down and home has to be pressed for entering ODIN mode. This is a proprietary protocol and tool as an alternative to fastboot.[6]

See also

References

External links