Requirements -
•Your Device Bootloader must be Unlocked•
Minimal ADB and fastboot Tool installed on your computer/laptop.
How to Flash TWRP/Recovery using Minimal ADB and Fastboot Tool-Step 1-Download TWRP recovery for your device & rename it to
recovery.imgStep 2- Now, move the recovery.img file to the Minimal ADB and Fastboot folder (i.e C:Program FilesMinimal ADB and Fastboot).
Step 3: Now, Open
MAF32.exe or py_cmd.exe from the Minimal ADB and Fastboot folder.
Step 4: Give the Following Command:
adb devices
The above command will help you to know the list of adb devices attached to the computer.
Step 5 : Now, Give another command:
adb reboot bootloader
The above command helps you to boot into the adb mode.
Step 6: Now, give another command:
fastboot
flash recovery recovery.img
Important : If you don't want to delete stock recovery.img then use this command :
fastboot boot recovery.img(it will boot once) Now, TWRP recovery will be installed on your phone.Now reboot your device by tapping reboot system now in TWRP menu.
Congratulations! You Successfully Installed TWRP recovery on your device.