Fastboot basically helps your smartphone to act smarter as it allows you to download APKs, have a full backup of your device, and even helps in rooting your phone. The SDK Platform includes tools like ADB and Fastboot that make it simple to debug and customise Android devices from a computer’s command prompt. In the below guide, we have mentioned some fastboot commands and a cheat sheet with explanations.
What is Fastboot?
On Android devices, fastboot is both a command-line application and a protocol. It functions as a channel for communication between your Android device and computer. Only after your device is booted into the Fastboot or bootloader mode, you’ll be able to use Fastboot commands. You may flash factory images, alter partitions, enable or disable OEM unlock, and reboot the bootloader with these commands.
Fastboot Commands List and Cheat Sheet with Explanations
Before you proceed with executing Fastboot Commands, there are the prerequisites you must obey.
- You must first download and install the fastboot and ADB platform tools for the Android SDK.
- Set up the OEM’s Android USB driver for your device.
- On your Android smartphone or tablet, enable USB Debugging.
What are different Fastboot Commands?
Below are some Fastboot commands you can use:
1. (fastboot devices)
Using this Fastboot command, you can check if your device has been detected or recognized by your computer or not.
(C: \Program Files (*86)\Minimal ADB and Fastboot> Fastboot devices 6θac2195 Fastboot
C:\ Program Files (*86)\ Minimal ADB and Fastboot>)
2. (fastboot oem)
There are a few intriguing variants of the “fastboot oem…” command that are compatible with various inputs:
- oem device-info in fastboot
With this command, a comprehensive set of data about your device will be displayed. Similarly, you can add these commands after “fastboot oem” to carry out certain actions and obtain specific data.
3. (fastboot oem unlock)
On Android smartphones manufactured by OEMs such as Google (Nexus/Pixel), OnePlus, Motorola, Nokia, etc., this command can unlock the bootloader. To unlock the bootloader, you might also require an unlock key from the manufacturer of your device.
4. (fastboot oem lock)
After the bootloader has been unlocked, you can use the mentioned command to relock it.
5. (fastboot reboot)
Reboot into the ROM on your Android device.
6. (fastboot reboot recovery)
You can reboot your Android smartphone into Recovery Mode using this command.
7. (fastboot reboot bootloader)
Occasionally when flashing images, you might need to restart Fastboot or Bootloader Mode. You can achieve that by using this command.
8. (fastboot flash)
Utilize this command to flash zip files, factory images, recovery images, boot images, radio images, system images, and other images to your Android device. See the following instances:
- fastboot flash boot boot.img
- fastboot flash system system.img
- fastboot flash recovery recovery.img
- fastboot flash cache cache.img
- fastboot flash modem NON-HLOS.bin
- fastboot flash sbl1 sbl1.mbn
- fastboot flash dbi sdi.mbn
- fastboot flash aboot emmc_appsboot.mbn
- fastboot flash rpm rpm.mbn
- fastboot flash tz tz.mbn
- fastboot flash LOGO logo.bin
Additionally, you can use this command to flash TWRP Recovery. –
(fastboot flash recovery twrp.img)
Using this command, you may determine whether the recovery file you’re using is a flashable ZIP file.
(fastboot flash recovery TWRP-recovery.zip)
9.(fastboot boot image_file.img)
If you need to temporarily boot your Android smartphone into a custom recovery mode without flashing it, use the above command.
10. (fastboot format:ext4 userdata)
To delete all of the data on your phone, execute this command.
Above is the detailed fastboot commands list and cheat sheet explanation. But before carrying out the commands, it is to know that your device may be bricked or damaged by fastboot commands. Please use them with caution. Please go to an authoritative instruction if you are unfamiliar with such things. Additionally, not all Android devices will necessarily respond to Fastboot commands. Their compatibility varies across OEMs.