Bootloader mode (Fastboot mode) allows you to do various amazing things. You can flash any partition using this mode. If you are familiar with the android stuff, these are .img that can be flashed via fastboot mode.
In some devices, you need to flash recovery image using ADB and Fastboot. Majorly this applies to the device which has Google’s stock UI such as nexus, pixel, most Motorola device, etc. You can learn what is custom recovery from our previous article is.
Here is the complete tutorial on how you can flash recovery via fastboot on your Android device.
Before taking any step further, we request you to take a backup of your Android device. This will be very useful if something goes wrong while flashing. In almost all cases, everything will work out fine.
- Recovery Image.
- Android device drivers.
- ADB and Fastboot Drivers.
- If Bootloader is available, then it should be unlocked. Read: Unlock HTC Bootloader, Unlock Sony Bootloader.
- USB Cable.
- Windows PC/Laptop.
- An Android Device. ;)
Steps To Flash Recovery Image Using ADB and Fastboot
Follow these steps to flash the recovery image to your android device using ADB and Fastboot:
Install your device drivers and Minimal ADB and Fastboot on your computer.
Enable USB Debugging
Enable USB Debugging On Your Device.(Go To Settings -> Developers Option -> Tick The USB Debugging Option)(In Case You Does Not Find Developer Options In Your Device Then Go To Settings -> About -> Tap On Build Number Many Times…A Pop Will Show That You Are Now A Developer….)
Connect your device to your computer via USB cable.
Open Minimal ADB & Fastboot
Open Minimal ADB and Fastboot on your computer.
To check whether your device is detected or not by the computer type “adb devices”
Reboot into Bootloader
Reboot into bootloader mode using the command “adb reboot bootloader”
Copy recovery image to C drive and rename recovery image to recovery.img
Flash the Recovery Image
Type the following command to flash the recovery image “fastboot flash recovery c:\recovery.img”
Type the following command to reboot the bootloader “fastboot reboot bootloader”
Type the following command to erase cache “fastboot erase cache”
Reboot the Device
Type the following command to reboot your device “fastboot reboot”
Now disconnect your device.
You have successfully flashed the recovery image to your Android device
Thank you for reading this post, and keep connected to Tech Arrival to continue enjoying wonderful posts. Share your views about this post in the comment section below. If you still have any queries, throw them in the comment section.
If you find this post helpful, don’t hesitate to share this post on your social network. It will only take a moment, and also it is quite easy and helpful for others.