{2020 Guide} How to Install TWRP Recovery via Fastboot On Any Android

Full Step By Step Guide to Safely Install TWRP /  CWM Recovery via Fastboot On Android: Here in this guide you will be guided on How To Install a custom Recovery On Android device using some fastboot commands on a computer. This not that difficult as it sounds, but you need to follow all the steps carefully.

If you are new to these terms then let me explain what Fastboot/bootloader means. Bootloader / Fastboot mode allows you to flash any partition on an Android device like a system, boot, recovery, cache.. etc. Using Fastboot / bootloader, you can also flash the custom-built .img files via fastboot. For example, a custom recovery like TWRP or CWM.

If you want to flash TWRP recovery via fastboot then just follow the easy and simple step by step guide on how to Install TWRP Recovery via Fastboot On Any Android Device. This is applicable for most of the android devices. But there are some devices like Samsung devices which may not work with this guide. You have to use Odin Flash tool to Install TWRP recovery.

What Is TWRP Recovery and Some of its benefits?

TWRP is a custom recovery for Android. It is the most popular Android custom recovery. It replaces the stock recovery On Android devices. It comes with many extra features compared to the stock recovery. It needs the bootloader to be unlocked. Some devices like Xiaomi and Huawei phones need a unlock code.

| In Case you Need Google Apps (GApps) then download  From Here Marshmallow GApps / Nougat GApps

Note: For Samsung Devices, we recommend using Odin Flash tool to Install TWRP recovery [/symple_box]

| Samsung Galaxy Devices Guide > How to Install TWRP Recovery On Samsung Devices Using Odin

Important:

Warning:

rootmygalaxy.net will not be held responsible for any kind of damage occurred to your Android device while following this tutorial. Do it at your own risk.

How to Install TWRP Recovery via Fastboot On Any Android Device

Install TWRP Recovery via Fastboot On Any Android Device

Open cmd from here

  • Connect your device to the PC. And type the following into the command window we opened in step 4 above to boot your device into bootloader/fastboot mode:
    adb reboot bootloader

    └ If your asks for permission to “Allow USB debugging”, tap OK.

  • Once your device boots into bootloader mode, issue the following command into command window to flash the TWRP recovery .img file:
    fastboot flash recovery twrp.img

    └ Here modify twrp.img with the name of your TWRP recovery .img file, OR change your TWRP recovery filename to twrp.img and use the command above.

  • Once TWRP is successfully flashed on your device, issue the following command to reboot:
    fastboot reboot

Done!!! Now you should have TWRP on your device

Rootmygalaxy a.k.a RMG was started in 2015 with a solo goal of Helping users with easy How-to guides. Slowly the website started sharing exclusive Leaks and Tech News. In these 5 years, we have been credited by the likes of Forbes, CNBC, Gizmodo, TechCrunch, Engadget, Android Authority, GSM Arena and many others. Want to know more about us? Check out our About Us page or connect with us Via Twitter, Facebook, Youtube or Telegram.

Dibyashree Sharma

An NIT Rourkela Graduate in CS, Blogger, Android Geek, and a Tennis Fanatic. I have been writing about Android OS for Last 8 years.

60 thoughts on “{2020 Guide} How to Install TWRP Recovery via Fastboot On Any Android”

  1. This doesn’t work lol. LG G3 Canadian d852. Step 7 seems to work but the phone never boots into bootloader mode, hence, constantly waiting for device.

    Reply
  2. D:New folder>fastboot flash recovery twrp-3.0.2-0-h815.img
    target reported max download size of 536870912 bytes
    sending ‘recovery’ (31652 KB)…
    OKAY [ 0.720s]
    writing ‘recovery’…
    FAILED (remote: device is locked. Cannot flash images)
    finished. total time: 0.739s

    how do i unlock it

    Reply
  3. it only said waiting for device and the phone is in download mode. how long to stay seeing ms.doc ?

    Reply
    • That means your phone is not connected properly.First download & Install Samsung drivers (latest)
      Then install ADB and fastboot on your PC
      then follow the steps.

      Reply
  4. It shows me that! What can i do?
    C:adb>fastboot flash recovery twrp.img
    sending ‘recovery’ (8182 KB)…
    OKAY [ 0.315s]
    writing ‘recovery’…
    FAILED (remote:
    partition ‘recovery’ not support flash)
    finished. total time: 0.342s

    Reply
  5. Where do i get this img. file? I tried it with TWRP but its stuck on the message “Are you sure you want to reboot to recovery and complete specified actions?”, because the ok button doesnt seem to work.

    Reply
  6. xiaomi mi5
    C:UserswraitDownloadsroot portable>fastboot flash recovery twrp.img
    target reported max download size of 536870912 bytes
    sending ‘recovery’ (41812 KB)…
    OKAY [ 0.914s]
    writing ‘recovery’…
    FAILED (remote: Partition flashing is not allowed)
    finished. total time: 0.936s

    Reply
  7. even after doing all these steps twrp is not installed. everything every step is successfully completed but i am stuck with my default custom recovery.

    Reply
  8. none of this works, just end up with your search engine overridden with something else, you sir are corrupt, who knows what i have just infected my mac with, thanks jerk

    Reply
  9. C:adb>fastboot flash recovery twrp-2.8.x.x-xxx.img
    sending ‘recovery’ (11074 KB)…
    OKAY [ 0.417s]
    writing ‘recovery’…
    FAILED (remote: Command not allowed)
    finished. total time: 0.423s

    What is wrong?
    🙁

    Reply
  10. I’m also having trouble.
    I am using a LG G4 H815.
    I can connect and typ “adb devices” and it shows my phone.
    When I typ “adb reboot bootloader” it takes me to Fastboot mode on the phone, and it says “Waiting for device” on the CMD.
    I tried to typ “fastboot flash recovery twrp……..” but nothing

    What might be the problem?

    Reply
  11. C:adb>adb reboot bootloader

    C:adb>fastboot flash recovery twrp-2.8.x.x-xxx.img
    error: cannot open ‘twrp-2.8.x.x-xxx.img’

    C:adb>fastboot flash recovery twrp-2.8.x.x-xxx.img
    error: cannot open ‘twrp-2.8.x.x-xxx.img’

    C:adb>fastboot flash recovery twrp-2.8-TWRP recovry.img
    error: cannot open ‘twrp-2.8-TWRP’

    C:adb>fastboot flash revovery “C:UsersHarshitDownloadsTWRP recovry.img”
    target reported max download size of 536870912 bytes
    sending ‘revovery’ (17776 KB)…
    OKAY [ 0.395s]
    writing ‘revovery’…
    FAILED (remote: partition table doesn’t exist)
    finished. total time: 0.415s

    C:adb>fastboot flash recovery twrp-“C:UsersHarshitDownloadsTWRP recovry.img

    error: cannot open ‘twrp-C:UsersHarshitDownloadsTWRP recovry.img’

    C:adb>fastboot flash recovery twrp-C:UsersHarshitDownloadstwrp.img
    error: cannot open ‘twrp-C:UsersHarshitDownloadstwrp.img’

    C:adb>fastboot flash recovery twrp.img
    error: cannot open ‘twrp.img’

    C:adb>fastboot flash recovery twrp-2.8.x.x-xxx.img
    error: cannot open ‘twrp-2.8.x.x-xxx.img’

    i am not getting what should i type there can u please help me

    Reply
  12. Bootloader unlocked, USB debugging on, but when “adb reboot bootloader”, it keeps saying “device not found”. Tried several drivers, general ADB drivers etc. Uninstalled all the drivers, devices etc and once again tried the here provided ADB drivers but it keeps poping up “device not found”

    Reply
  13. Hey, I’ve tried everything and none of them seems to be working. Even though i installed twrp, and i can’t enter into twrp recovery mode, it gives me the default recovery mode of honor 5c where they ask me to download recovery mode. and i tried pressing power+volume up, the screen which i’ve got has a message with your device is booting. Please help me through this

    Reply
  14. The title of this page should be change as it doesn’t work for every android phone. Fastboot does nothing on a Galaxy Core Prime (Tracfone) SM-S820L. I gave up after 11 minutes of hanging. I’m assuming this phone has the bootloader locked. Any idea how to unlock the bootloader?

    [email protected]:/sd/data/android/root# adb reboot bootloader
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    [email protected]:/sd/data/android/root# time fastboot flash recovery twrp-3.1.1-0-coreprimelte.img

    ^C

    real 11m56.254s
    user 0m27.739s
    sys 3m6.554s
    [email protected]:/sd/data/android/root#

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.