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.

TWRP Recovery Features

| In Case you Need Google Apps (GApps) then download  From Our Gapps category | Android 14 Gapps

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

| 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

Dibyashree Sharma
Dibyashree Sharma
Editorial Leader
Dibyashree Sharma graduated in Computer Science from NIT Rourkela. For the past eight years, she has been blogging about Android, which she is really passionate about. She has built a good reputation as a reliable source. Away from the digital sphere, Dibyashree enjoys playing tennis, a sport she is as passionate about as she is about technology.

Comments (62)

  1. Avatar of Robb
    Robb

    Please root options for smg928t my edge plus. I traded up from a note 5… looks like a bad decision. any help would be appreciated

    Reply
    • Avatar of Dibyajyoti Kabi
      Dibyajyoti Kabi

      Check out this Xda thread–>>http://www.xda-developers.com/root-t-mobile-s6edge-on-5-1-1-without-tripping-knox/
      This is for S6 Edge Plus

      Reply
    • Avatar of Dibyajyoti Kabi
      Dibyajyoti Kabi

      Here is our Guide to root S6 Edge Plus–>>https://rootmygalaxy.net/how-to-safely-root-s6-edge-plus/

      Reply
  2. Avatar of sanjay
    sanjay

    Bro after following all steps my j7 still showing stock recovery not in twrp help plz

    Reply
  3. Avatar of Batheand Yıldız
    Batheand Yıldız

    Oh god i wish i didnt switch from ip6s+

    Reply
    • Avatar of Croz Ier
      Croz Ier

      what the fuck are you on about you stupid cunt?

      Reply
      • Avatar of Rajput Rider
        Rajput Rider

        Hey hey! Cool 😀

        Reply
  4. Avatar of Rajput Rider
    Rajput Rider

    For me, its saying

    I even have PDANet installed in my Windows 8

    Reply
  5. Avatar of Aloke Ghosh
    Aloke Ghosh

    Can i install TWRP in my intex cloud swift

    Reply
    • Avatar of Dibyajyot
      Dibyajyot

      You have to install the right twrp for your device if it is available.

      Reply
      • Avatar of Aloke Ghosh
        Aloke Ghosh

        Thank you for replying . Would you please help to install TWRP on my device . Any kind of help will be appreciated . Keep replying

        Reply
  6. Avatar of Saurabh Todia
    Saurabh Todia

    unknown usb device (device descriptor request failure) and saying waiting for device

    Reply
    • Avatar of Dibyajyot
      Dibyajyot

      Download & install latest Usb drivers for your device on your computer

      Reply
  7. Avatar of Thomas Fodor
    Thomas Fodor

    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
  8. Avatar of Antonio Caser
    Antonio Caser

    To fastboot is need inform ID Vendor device, without this does not work.

    Reply
  9. Avatar of Darius Arian
    Darius Arian

    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
  10. Avatar of Muhammad Habib Zulkhamsyah
    Muhammad Habib Zulkhamsyah

    Hi,
    it showed me like this

    sending ‘recovery’ (13258 KB)…
    OKAY [ 0.426s]
    writing ‘recovery’…
    OKAY [ 0.884s]
    finished. total time: 1.310s

    but i still couldn’t boot into recovery

    Reply
    • Avatar of Dibyajyot
      Dibyajyot

      Just reflash and then try to boot into recovery using fastboot command

      Reply
  11. Avatar of यादब धिताल
    यादब धिताल

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

    Reply
    • Avatar of Dibyajyot
      Dibyajyot

      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
  12. Avatar of यादब धिताल
    यादब धिताल

    Galaxy grand 2

    Reply
  13. Avatar of jilo iha
    jilo iha

    NXT-L29C185B180,keeps coming like this,someone help

    Reply
    • Avatar of Dibyajyot
      Dibyajyot

      You have renamed the TWRP file to TWRP.img?

      Reply
      • Avatar of jilo iha
        jilo iha

        yes i did

        Reply
        • Avatar of Dibyajyot
          Dibyajyot

          On Your pc enable showing file type after dot, few users had a problem with it, when they were typing recovery.img because after You rename it it was recovery.img.img, so try to rename it to just recovery without img as file typw

          Reply
  14. Avatar of Steven Brozda
    Steven Brozda

    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
    • Avatar of Dibyajyot
      Dibyajyot

      Just download the right TWRP recovery for your device

      Reply
  15. Avatar of Metalmanaic
    Metalmanaic

    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
    • Avatar of Dibyajyot
      Dibyajyot

      From TWRP’s official website.Search on the internet for TWRP recovery image for your device

      Reply
  16. Avatar of Wraith6842
    Wraith6842

    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
    • Avatar of Dibyajyot
      Dibyajyot

      First you have to unlock the bootloader of Mi5 then you can flash the recovery

      Reply
  17. Avatar of ansh
    ansh

    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
    • Avatar of ansh
      ansh

      I am stuck, please help!!!

      Reply
      • Avatar of ansh
        ansh

        I am using miui 8 global stable version in MI Redmi note 4G.

        Reply
        • Avatar of Dibyajyot
          Dibyajyot

          No twrp is available yet.Wait for few more days

          Reply
  18. Avatar of pissed off
    pissed off

    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
  19. Avatar of Christain Xs
    Christain Xs

    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
    • Avatar of Yasser Behardien
      Yasser Behardien

      Got the same error
      did you receive a response

      Reply
  20. Avatar of Imran Predhanekar
    Imran Predhanekar

    What is the procedure to come out of bootloop in LG G4 (H815). It is not getting to recovery mode as well

    Reply
  21. Avatar of Menaid Nocic
    Menaid Nocic

    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
  22. Avatar of Diane Cole
    Diane Cole

    Does anyone know if there is a cwm recovery for alcatel 5010x pls

    Reply
  23. Avatar of thijs
    thijs

    i have a huawei p8 lite but my computer says . help please

    Reply
  24. Avatar of Frincu Adrian
    Frincu Adrian

    i did it many thanks for the tutorial

    Reply
  25. Avatar of harshit gupta
    harshit gupta

    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
    • Avatar of GGG KILLER
      GGG KILLER

      Your OEM and/or fastboot is probably locked.

      Reply
      • Avatar of harshit gupta
        harshit gupta

        No it has been unlocked and i have checked it but the problem is no resolved

        Reply
        • Avatar of GGG KILLER
          GGG KILLER

          You spelled “recovery” wrong, try using fastboot flash recovery “C:UsersHarshitDownloadsTWRP recovry.img” instead

          Reply
  26. Avatar of Robso
    Robso

    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
  27. Avatar of filut123
    filut123

    Thanks for help, you save my old Moto 🙂

    Reply
  28. Avatar of Mpiesa
    Mpiesa

    Hey, TWRP installed nicely but when i boot into TWRP ,it just freezes and cant touch anything

    Reply
  29. Avatar of Zaid Khan
    Zaid Khan

    hi dude my lg g4 is not getting to recovery after doing everything fine pls help what should i do

    Reply
  30. Avatar of Visal Varghese
    Visal Varghese

    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
  31. Avatar of Gaurav Patil
    Gaurav Patil

    MY PHONE saying that partition ‘recovery’ not support flash. doing it by Fastboot Flash Recovery method

    Reply
  32. Avatar of Winston Smith
    Winston Smith

    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?

    root@lap:/sd/data/android/root# adb reboot bootloader
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    root@lap:/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
    root@lap:/sd/data/android/root#

    Reply
  33. Avatar of daniel
    daniel

    All this did was wipe my phone and all the settings, still can’t boot into TWRP to install a new ROM..

    Reply
    • Avatar of Dibyashree Sharma
      Dibyashree Sharma

      Which phone?

      Reply

Leave a Comment