This command can be used to flash zip files, factory images, recovery, boot, radio, system, and other images to your Android device. Sometimes, you may need to reboot the Fastboot or Bootloader mode while flashing images. Reboots Android devices into Recovery mode. Once unlocked the bootloader, you can relock it later by using the above command.
Read Also: How to Unlock Android PIN and Pattern using ADB Commands fastboot oem lock You may also need an unlock key from your device manufacturer to unlock the bootloader. This command can unlock the bootloader on Android devices from OEMs like Google (Nexus/Pixel), OnePlus, Motorola, Nokia, etc.
Similarly, you can add the following command after ‘fastboot oem’ to perform certain tasks and get more info. The above command, for instance, will display a detailed list of information about your Android device.
There are some interesting variations of the ‘fastboot oem ‘ command that work with different parameters as described below: fastboot oem device-info It shows the list of device/s connected to your computer as shown below. Using this Fastboot command, you can check if your device has been detected and recognized by your computer or not. On some devices, you might need to use the Volume Up key instead. You can boot Android phones or tablets into the Fastboot mode by pressing the Volume Down + Power buttons simultaneously for 2-3 seconds. However, Fastboot commands require a connected Android device that is booted in the Fastboot or Bootloader Mode. Fastboot ModeĪDB commands just require an Android device or emulated connected via USB. You’ll see a toast message telling ” You are now a developer!” Now, return to the Settings menu page and you’ll find Developer options at the bottom of the page. To enable it, go to Settings> About phone and tap the Build number 7 times. Since the Developer options are not meant for average users as they contain sensitive settings, they remain hidden by default. USB Debugging is located under Developer Options on your Android device. The last prerequisite is enabling USB Debugging on your Android phone or tablet.
The next thing you need to do is to install the Android USB driver from your device’s OEM. However, before you can execute ADB and Fastboot commands, there are certain preparations that you must make beforehand.ĭownload the Android SDK Platform-tools that include ADB and Fastboot files and install them. Whether you want to flash a custom recovery or the stock firmware images on your Android device manually, you must execute specific Fastboot commands for the purpose. Using these commands, you can reboot the bootloader, enable or disable OEM unlock, and flash factory images or modify partitions on your device. Fastboot commands work only when your device is booted into the Fastboot or bootloader mode. It works as a communication bridge between your computer and Android device. Just like ADB ( Android Debug Bridge), Fastboot is a command-line tool as well as a protocol on Android devices. ADB and Fastboot are a part of the SDK Platform-tools that facilitate debugging and modifying Android devices using the command terminal on a computer. They can be used to perform different command-line operations using a computer.
ADB and Fastboot are protocols for Android meant to be used by developers and enthusiasts.
Have you ever used the Fastboot commands? If not, you might at least be familiar with the Fastboot mode on Android devices.