How To

How to Install TWRP Recovery via Fastboot On Any Android Device

Install TWRP Recovery via Fastboot
Written by Dibyajyoti Kabi

Updated On Feb 25, 2017 – Full Step By Step Guide to Safely Install TWRP /  CWM Recovery via Fastboot On Android

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 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.

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 

Guide using Odin Flash tool > How to Install TWRP Recovery On Samsung Devices Using Odin

Important:

  • Your device should have an unlocked bootloader.Guide > How To Unlock Bootloader Of Any Android Using Fastboot
  • Make sure your device has more than 50% battery

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.

Install TWRP Recovery via Fastboot On Any Android Device

How to Install TWRP Recovery via Fastboot On Any Android Device

Step By Step Guide

Install TWRP Recovery via Fastboot

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-2.8.x.x-xxx.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 have TWRP on your device

 

About the author

Dibyajyoti Kabi

Dibyajyoti an Android enthusiast, a tech-blogger and an avid reader.He is graduated in B.tech.He is the founder and chief editor in rootmygalaxy.net

  • 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

    • 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

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

  • sanjay

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

  • Batheand Yıldız

    Oh god i wish i didnt switch from ip6s+

    • Croz Ier

      what the fuck are you on about you stupid cunt?

  • For me, its saying

    I even have PDANet installed in my Windows 8

  • Aloke Ghosh

    Can i install TWRP in my intex cloud swift

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

      • 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

  • Saurabh Todia

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

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

  • 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.

  • Antonio Caser

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

  • 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

  • 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

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

  • यादब धिताल

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

    • 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.

  • यादब धिताल

    Galaxy grand 2

  • jilo iha

    NXT-L29C185B180,keeps coming like this,someone help

    • You have renamed the TWRP file to TWRP.img?

      • jilo iha

        yes i did

        • 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

  • 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

    • Just download the right TWRP recovery for your device

  • 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.

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

  • 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

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

  • 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.

    • ansh

      I am stuck, please help!!!

      • ansh

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

        • No twrp is available yet.Wait for few more days

  • 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

  • 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?
    🙁

  • Imran Predhanekar

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

  • 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?

  • Diane Cole

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

  • thijs

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

  • Frincu Adrian

    i did it many thanks for the tutorial

  • 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

    • Your OEM and/or fastboot is probably locked.

      • harshit gupta

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

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

  • 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”

  • filut123

    Thanks for help, you save my old Moto 🙂

  • Mpiesa

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

  • Zaid Khan

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

RMG's OnePlus 3T International Giveaway (April 2017)Enter Now
+