How To Install TWRP Recovery via FastBoot on Android

UPDATED TUTORIAL ON HOW TO INSTALL TWRP RECOVERY VIA FASTBOOT ON ANDROID


Android is amazing, and most of us have no idea that we can do a lot of interesting things with it. We can flash custom ROMs, overclock the processor, etc. So, it is not just a device to take photos and surf the web. Those who have done flashing and rooting stuff know how cool this is. Now, there are many terms that you need to understand when you are flashing a ROM or custom recovery. One of the most used terms is ‘Fastboot.’

For those who are not familiar with this stuff, let me explain what Fastboot/Bootloader means. Fastboot/Bootloader mode allows you to flash any partition on any Android device, like system, boot, cache, recovery. etc. With the help of fastboot/bootloader, you can also flash your custom-built .img files. You can flash a custom recovery like TWRP or OrangeFox on your device.

Now, TWRP recovery is a custom recovery for Android devices which is developed and maintained by TeamWin. TWRP lets you do tons of things on your Android phone, which stock android recovery doesn’t allow you to do. For example, if you want to flash a custom Android ROM on your smartphone, you cannot do this via the stock Android recovery, so you have to install a custom recovery like TWRP. TWRP is the most popular and the recommended custom recovery for any android device. Sometimes, the TWRP recovery is not available for every Android phone, so you can get the unofficial TWRP recovery via XDA as that’s the best place to get anything related to Android.

Now, If you wish to install TWRP recovery via fastboot on your Android device, just follow the step-by-step guide. These steps will work for almost every Android device.


Warning: DroidHolic won’t be responsible if anything goes wrong with your device. Do it at your own risk.


READ: [FIX] SafetyNet Failed: CTS Profile Mismatch Errors – Full Guide!

HOW TO INSTALL TWRP RECOVERY VIA FASTBOOT

Now, let’s see how you can install TWRP via Fastboot, and no need to think that this is going to be a complicated process as it is straightforward. We have tried our best to explain each step thoroughly so that you don’t get confused.

PRE-REQUISITES

  • Download the TWRP image file for your phone (if available from the official website) on the PC. The link to download it is given below –

DOWNLOAD TWRP IMAGE FILE

  • Make sure your phone has an unlocked bootloader! To unlock the bootloader of your device, you can search on Google and head to the XDA-Developers website link.
  • Make sure to have the Platform Tools folder on your PC. To get that, download the below ZIP file (from Google) & extract it in a folder. It is recommended that you extract it in the C drive in some location such as “C:\platform-tools”.

DOWNLOAD ANDROID SDK PLATFORM TOOLS ZIP

  • The last requirement is to “Enabled USB Debugging” in your smartphone. For that, the steps are simple. Go to Settings -> About Phone -> Tap the Build Number 7 times and now the Developer Options will be enabled. Now you can go back, go to System -> Developer Options, and now turn on the option that says “USB Debugging”.

STEP TO INSTALL TWRP VIA FASTBOOT

  • Make sure to place the TWRP image file that you downloaded in the same folder where you have extracted the platform-tools zip file.
  • Now, there are two ways to open fast boot mode on your Android device. One is via the Volume Keys + Power button combination and the other is via an ADB command. To open fastboot mode via ADB, connect your phone to the PC, and now, right-click in the “platform-tools” folder and click on “Open Powershell Window Here” (In some systems, it will say “Open Command Window Here”).
  • Once the Powershell/Command window opens, type the following command –

adb devices

  • What’s going to happen now is that you’ll get a pop-up on your Android phone which asks you if you want to “Allow USB Debugging” or not. Just tap on “OK”.

Install TWRP via FastBoot

  • Once that is done, you can now reboot your phone in the fastboot mode by writing the following command and pressing enter –

adb reboot bootloader

  • And voila! You have now booted into the fastboot mode. Another way is to use the button combinations. For example, in the case of Xiaomi devices, you have to power off your phone, then press the Volume Down + Power button together for some seconds to boot into fastboot mode. You can easily get to know the button combination for your particular phone on Google.
  • Here is a little tip. Normally, the TWRP image file that you downloaded will have a big name so we will suggest you rename it to something as simple as just “twrp”.
  • Now, while your phone is in fastboot mode, write the following command to temporarily boot into TWRP recovery. Please note here we are assuming the file name to be “twrp” –

fastboot boot twrp.img

  • As we mentioned in the previous step, this is a “temporary boot” into the TWRP recovery which means if you reboot your phone into recovery, it will go back to the stock recovery. So how to get TWRP recovery as your permanent recovery? Well, first, copy the twrp.img file from PC to your phone. You might wonder how to do it without turning on your phone? Well, while connected to the PC in temporary TWRP recovery mode, write this command in the Powershell/Command Prompt that is opened in the same folder where platform tools are present along with the recovery file –

adb push twrp.img /sdcard

Install TWRP Recovery via FastBoot

  • So now, we copied the TWRP file from the PC to our phone’s internal storage. Now, we are done with the work we had to do with the PC. It’s time to do the rest of the steps from the phone. So, while in TWRP mode, go to the “Advanced” and then select “Install Recovery Ramdisk”. Now, from the storage, select the TWRP image file that we just copied. To be on the safer side, we suggest checking the box that says “Back up existing image first”. This will back up the stock recovery image.
  • Finally, Swipe to Install the image.
  • Now, go back to the homepage of TWRP recovery, tap on “Reboot” and select “Recovery”.
  • And that’s it! Now your phone will boot into TWRP recovery and not the stock recovery because we have permanently installed TWRP on this device.

FINAL WORDS

Well, that’s all about How to Install TWRP Recovery via Fastboot on Android and we hope that steps were really straightforward. Still, if you are facing any issues, feel free to comment below and we will try to help. Now that TWRP is installed on your phone, it’s time to go flash some custom ROMs. You’re gonna love them!

Show Comments (6)
  1. HOLA !
    DISPONGO DE UN LG G8.LM-G810EAW.
    Con Android 10. Compilación: QKQ1.200614.002, KERNEL: 4.14.117 SOFTWARE: V20b-EEA-XX

    Gestor de Arranque lo tengo desbloqueado correctamente, depuración USB OK…etc..

    Intento flashear ultima imagen que encontré para LG (twrp.img) pero da error
    (No se puede flashear partición recovery en estado desbloqueado)
    Tampoco en estado bloqueado logicamente.
    Sale este mensaje==>

    PS C:\ADB> fastboot flash recovery twrp.img target reported max download size of 805306368 bytes
    sending ‘recovery’ (27685 KB)…
    OKAY [ 0.612s]
    writing ‘recovery’…
    FAILED (remote: Cannot flash this partition in unlocked state)
    finished. total time: 0.619s

    Por favor agradecería enormente me orientara sobre la solución a este problema
    He investigado en internet y no encuentro soluciones
    MUCHAS GRACIAS POR SU AYUDA POR ADELANTADO

  2. Twrp.img not booting by fast boot file-name.img.
    It’s showing all done and device reboot automatically.
    But it’s stuck on Android logo then simply fast boot reboot CMD and after that it’s come back again system recovery. I can’t see any twrp recovery installed.
    Any solution!!
    It’s happening in Nokia 8 (TA-1004) bootloader is unlocked
    And twrp.img is for my mobile download by official site.
    Provide me solution please if you can abled.
    Thanks to hearing.

Your email address will not be published. Required fields are marked *