- TWRP is an open-source custom recovery that replaces the stock recovery and adds advanced features for flashing ROMs, managing backups, and obtaining root access.
- Its touch interface and tools such as NANDroid, OTG support, file manager and ADB Sideload make it the foundation of current Android modding compared to classic recoveries like CWM.
- Installing TWRP varies depending on the device and usually involves unlocking the bootloader and using fastboot, Odin, or other tools, following model-specific guides.
- Flashing a custom recovery carries real risks of data loss, potential bricking, and warranty voiding, so it's essential to make backups and use reliable builds.

When you really start tinkering with Android and want to go beyond what the manufacturer allows, sooner or later acronyms like TWRP, custom recovery, root, or flashing ROMs will appear . For someone new to this, all of this might sound like gibberish, but behind it all are a few very powerful tools and some key concepts that are worth understanding.
This guide will explain in detail what TWRP (Team Win Recovery Project) is, what it's used for, how it relates to your phone's original recovery mode, its advantages and risks, and the most common ways to install it depending on your device. The goal is that, by the end, you'll have a clear understanding of why TWRP has become almost indispensable for those who want to fully customize Android.
What is the recovery mode on Android?
All Android phones include a built-in recovery mode located on a separate partition from the system . This small environment runs before Android boots and is intended for support and emergency tasks, especially when the system fails to start correctly.
Typically, the factory recovery allows you to clear the cache, restore the device to factory settings by deleting the data partition, run diagnostic tests, and install official updates from ADB or from internal storage and/or SD card, depending on how each manufacturer has prepared it.
To enter this mode, you usually turn on the phone while it's off by pressing a combination of physical buttons such as Volume Down + Power, sometimes also Volume Up . In other cases, all three buttons are used simultaneously; each brand and model has its own combination documented in manuals or forums.
If you can't find the right combination or your phone has very few buttons, you can always reboot into recovery mode using ADB from your computer by running the command `adb reboot recovery` . After connecting the device via USB and configuring ADB correctly, the phone will reboot directly into this special mode without needing to touch any physical buttons.
What is a custom recovery and why is it used?
The biggest problem with the stock recovery is that its functions are very limited and geared almost exclusively towards support tasks and official updates . If you want to root your device, install custom ROMs, or apply deep modifications, the stock recovery falls far short.
To meet these needs , custom recoveries emerged—recovery environments developed by third parties that replace the manufacturer's recovery on the same partition. These custom recoveries add a wide range of advanced tools to push the device far beyond what the official software allows.
Since recovery is located in a separate partition and runs before Android boots , it's the ideal place to flash ROMs, modify partitions, install ZIP packages with patches, system apps or Google services on devices that don't have them, and generally to do things that would be risky or impossible on running Android.
For years, the two big names in this field have been CWM (ClockWorkMod) and TWRP (Team Win Recovery Project) . CWM pioneered and popularized many of the features we now take for granted, but its development was abandoned long ago. TWRP, on the other hand, is still active, frequently updated, and has become the de facto standard for most advanced users.
CWM: The first great custom recovery
ClockworkMod, better known as CWM, was the first widely adopted custom recovery in the Android scene . Created by developer Koush (also responsible for tools like AllCast, Vysor, and Inkwire), its appearance was very reminiscent of a classic recovery: text menus, navigation with the volume keys, and selection with the power button.
Its major contribution was allowing the flashing of ZIP files directly from recovery, opening the door to custom ROMs, patches, and packages of all kinds that could be installed without booting into Android. This capability became the foundation of most serious modifications for years.
In addition, CWM introduced the famous NANDroid backups, which allow you to save an almost complete image of the system (system partition, data, boot, etc.) and restore it later to return to the exact point where the phone was at the time the backup was made.
Over time, the project fell behind: CWM stopped being updated, and its author announced that he had stopped developing recoveries and apps that depended on root access . Today, it only makes sense on older devices where it's still available, while on modern phones, it's common to forget about CWM and go straight to TWRP.

What is TWRP (Team Win Recovery Project)?
We can describe TWRP as the natural evolution of CWM: a much more modern, complete, and fully touch-sensitive custom recovery . It's an open-source project maintained by a small group of developers and supported by a huge community on forums like XDA Developers, where ports and builds for countless devices are published.
When you install TWRP, it replaces the factory recovery in its own partition and offers the same basic functions, but with a good assortment of advanced options geared towards those who want to root, change ROMs or make serious backups of their system.
One of its defining features is its fully touch-sensitive interface, written in XML and customizable , which makes life much easier compared to the text menus of classic recovery programs: you can move through folders, select files and confirm actions simply by touching the screen, without depending on the volume buttons.
Since its inception, TWRP has adapted to new versions of Android, including Android 9, Android 10, and later . Each new branch incorporates support for more models, improves encryption handling (FDE and FBE), fixes bugs, and updates internal components to remain usable on recent devices.
Main features and advantages of TWRP
Installing TWRP isn't just a cosmetic change from the stock recovery: it's like adding a Swiss Army knife for managing the system from outside of Android . Its features cover virtually everything someone needs to fully customize their device.
The standout feature is the Install option, which allows you to flash ZIP files containing custom ROMs, modified kernels, Google Apps packages, system patches, or root tools like Magisk . It can also install images to specific partitions (boot, recovery, etc.) when required by the file.
Another key feature of TWRP is NANDroid backups, which allow you to save a near-complete snapshot of your phone's state . You can choose which partitions to include (System, Data, Boot, EFS, etc.) and restore them later to leave your phone exactly as it was before experimenting with a ROM or patch.
The Wipe menu allows you to selectively delete partitions such as /data, /cache, /system, or Dalvik/ART . This is critical for performing clean installations of new ROMs, resolving boot loops, or cleaning up remnants that cause instability and strange errors.
Advanced TWRP features
Among the most powerful options is support for external drives via OTG, such as USB flash drives or hard drives . This allows you to save backups to external storage, restore them without using internal memory, or flash ZIP files that are too large for the phone's storage.
Another very useful tool is the integrated file manager, along with a basic command console . With these, you can delete problematic files, change permissions, move folders, or make minor system adjustments without needing to boot Android or connect from a PC.
TWRP also includes ADB Sideload mode , which allows you to send a ZIP file from your computer and flash it on the fly . This is especially useful when the system won't boot and you can't copy anything to internal storage: you enable Sideload in recovery mode and use adb sideload from your PC to send the package.
At the interface level, the project is incorporating improvements such as updated translations (including Spanish), theme support, brightness adjustments, screen rotation, and expanded compatibility with various file formats . All of this makes using TWRP quite comfortable, even on large screens.
What's new in recent versions of TWRP
With newer branches, TWRP has been expanding its list of compatible devices and introducing significant internal improvements . Versions like 3.5.x, for example, added support for devices such as the Pixel 4, Pixel 4 XL, and some Galaxy Note 10 models with an Exynos processor, among many others.
From a technical point of view, corrections have been applied to the handling of FDE/FBE encryption, improvements with specific files such as OZIP, adjustments for Selinux and changes to make data decryption work on a wider range of devices and configurations.
Also included are touchpad optimization, improvements to OEM builds, graphic theme updates, and minor fixes to tasks such as cache clearing and multi-user management on mobiles with encrypted storage and multiple accounts configured.
All this work is supported by the fact that TWRP is an open-source project where the community can contribute patches, translations, and device trees . Thanks to this, builds continue to appear for relatively modern devices that otherwise would never have a functional custom recovery.
TWRP Main Menu: What Each Section Does
When you boot TWRP, you'll usually see a screen with several large buttons that summarize their key functions. It's a good idea to know what each section does before you start clicking around , because some actions are irreversible.
The Install button is the central hub: from there you select a ZIP file or image and flash it to the appropriate partition. This is what you'll use to install custom ROMs, alternative kernels, Google packages, root modules, and any other compatible patches.
The Wipe menu controls wipes, from a simple cache and Dalvik/ART wipe to more aggressive wipes that include the data or system partition. This is where you typically perform full wipes when changing ROMs to avoid conflicts.
The Backup section lets you create NANDroid backups by selecting which partitions to save and where to store them : internal memory, external SD card, or even OTG devices connected via USB. It's one of the first things you should do before experimenting.
Thanks to the Restore menu, you can select a previous backup and return your phone to the exact state it was in when you created it. It's a lifesaver when a ROM won't boot, something gets corrupted, or you've messed with things too much.
The Mount section is used to mount or unmount partitions and control their access . It's very useful when working with ADB from your PC or with the internal file manager and you need certain paths to be accessible for copying, deleting, or modifying files.
The Settings area includes general settings such as language, time zone, brightness level, vibration, and log-related details . It's not the most critical aspect, but it helps you customize the environment to your liking.
Finally, the Advanced section includes extra tools such as log copying, command-line access, a full file manager, and the ADB Sideload option . These features are geared towards users who frequently flash ROMs or need to debug more complex errors.
Relationship between TWRP, root, and custom ROMs
For most advanced users, TWRP is the gateway to rooting and custom ROMs on Android . It's not the only way, but it is the most flexible and widespread, especially on devices with a strong community behind them.
One of the most common tasks involves flashing ZIP packages like Magisk or SuperSU through TWRP to gain root access . From there, you can install apps that require root, modify the system, and load advanced modules that extend the device's functionality.
Similarly, TWRP is the standard tool for installing custom ROMs or alternative firmwares to the manufacturer's . The typical process involves copying the ROM ZIP file to the phone, rebooting into recovery mode, performing the necessary wipes, and flashing the ROM, then adding other ZIP files such as Google Apps or a different kernel.
Precisely because it allows all of this, TWRP has become an almost essential component of Android modding . Without a custom recovery, it's considerably more complex, if not impossible, to easily switch ROMs, test different kernels, or safely apply certain deep patches.
TWRP compatibility and support per device
Not all phones have a custom recovery available, but the official list of devices supported by TWRP is huge and constantly growing . On the project's website, you can filter by manufacturer and model to see if there's an officially maintained build.
In addition to these official versions, there are numerous unofficial builds created by independent developers , which are usually posted in specific threads on XDA Developers. These typically include their own instructions, bug warnings, and status notes (alpha, beta, stable, etc.).
Depending on the case, IMG images are distributed for flashing via fastboot, Odin, or other specific tools, as well as ZIP packages that are installed from a working recovery . Thanks to this, many TWRP updates can be performed without using a PC.
Supported devices include high-end and mid-range models from brands like Google (Nexus, Pixel), Samsung Galaxy, Xiaomi (Mi, Redmi), as well as models from other manufacturers . However, initial versions for new devices sometimes contain significant bugs that should be checked in the official support forums.
Important prerequisites and warnings

Before attempting to install TWRP, it's important to understand that it's not a harmless process and can affect your warranty and device stability . Proceeding step by step and knowing what you're getting into is crucial to avoid ending up with an expensive paperweight.
You'll almost always need to enable developer options on Android—by tapping the build number several times in Settings > About phone—and enable USB debugging . This allows ADB to recognize the device and lets you send commands to it from your computer.
On many models, unlocking the bootloader is mandatory before flashing a custom recovery . This is usually done with fastboot commands like `fastboot oem unlock` or `fastboot flashing unlock`, or through manufacturer-specific processes. This step almost always involves a complete erase of all data on the phone.
You'll also need to have the appropriate software installed on your PC: ADB and Fastboot for most devices, or other utilities like Odin in the case of Samsung . These tools allow you to communicate with the phone in bootloader, fastboot, or download mode to flash the TWRP image.
It's important to remember that installing a custom recovery can void the warranty depending on the brand and your country's laws , and that an error during flashing (wrong image, power outage, misspelled commands) can brick the phone, sometimes recoverable with official firmware and other times much more complicated.
Installing TWRP with root and via direct flash
There are two main ways to install TWRP on an Android device: take advantage of the fact that you already have root access using an app, or flash the image directly from your computer using fastboot, Odin, or other tools depending on the manufacturer.
If your phone is already rooted, you can use apps designed to install or update custom recoveries . There used to be the official TWRP app, and CWM had ROM Manager, both capable of downloading the appropriate image and writing it to the recovery partition without needing a PC.
When root access is unavailable, the usual method is to flash TWRP from a computer using fastboot on compatible devices, or with specific tools like Odin on Samsung phones . On devices from brands like Xiaomi, Google, or older Nexus/Pixel phones, fastboot is generally the cleanest approach; in other cases, each community publishes its own method.
Regardless of the procedure, it's crucial to download the exact image for your model, hardware revision, and, if applicable, Android version . Flashing the wrong file can cause serious boot errors, render the recovery unusable, or even corrupt critical partitions.
Generic TWRP installation with fastboot
On most devices that support fastboot, the general procedure involves rebooting the phone into bootloader mode and flashing the TWRP IMG image from a PC . While each model has its own nuances, the process is quite similar.
After installing ADB and Fastboot on the computer and downloading the specific TWRP image, the first thing to do is enable USB debugging, connect the phone and use adb reboot bootloader to enter the bootloader without touching any physical buttons.
With the phone now in bootloader mode, it's advisable to verify that fastboot detects it correctly using the command `fastboot devices` . If it appears in the list, you can proceed to flash the image with `fastboot flash recovery twrp.img` (adjusting the filename accordingly).
On some devices, it's safer to temporarily boot TWRP using `fastboot boot twrp.img` instead of flashing directly . This way, the recovery runs from memory without overwriting the existing one, and once inside, you can install the final version as a ZIP file using ADB Sideload or TWRP's own Install option.
Using ADB Sideload and TWRP Installation ZIP
On certain modern terminals, especially those using A/B partitions or somewhat more complex boot schemes , the recommended method combines a temporary TWRP boot with the installation of a ZIP package from the recovery itself.
The typical procedure is to temporarily boot TWRP with fastboot boot, enter the Advanced menu and activate ADB Sideload by sliding the switch that enables receiving files from the PC.
From the computer, run `adb sideload` followed by the path to the official TWRP ZIP file for that device . The recovery environment receives the package, verifies it, and installs it on the appropriate partition so that TWRP becomes the permanent recovery after the next reboot.
This approach reduces compatibility problems between the IMG image and the partition structure of each model, since it lets TWRP itself handle a large part of the writing process , minimizing the margin of error for the user.
Example: Installing TWRP on Nexus, Pixel, and similar devices
In the Nexus family and many Pixel devices, the TWRP installation process has traditionally been quite straightforward using ADB and Fastboot from Windows, macOS, or Linux , something that has helped make these devices classics in the modding scene.
After installing the tools and, if necessary, configuring the udev rules in Linux so that the system recognizes the phone , the key step is to unlock the bootloader with fastboot, accepting on screen that all data will be erased.
Once the bootloader is unlocked, you can flash the corresponding TWRP image with `fastboot flash recovery image-name.img` , or first run `fastboot boot` to check that everything is working correctly before permanently writing anything.
With TWRP already installed or booted, the usual procedure is to flash a root ZIP file (such as Magisk) from the Install menu . You can copy the file to internal storage, push it using adb, or use ADB Sideload, and then select it in recovery to complete the rooting process.
Example: Installing TWRP with fastboot and ADB Sideload (Xiaomi Mi A2 case)
A very common procedure in mobile phones with fastboot support, such as the Xiaomi Mi A2, consists of combining a temporary bootable IMG image with a permanent installation ZIP , using Minimal ADB and Fastboot on the computer.
Before starting, you need to unlock the bootloader (if the model requires it), have a reliable USB cable, and download both the IMG image and the ZIP file of the appropriate TWRP version for that specific device, from the official website or from the threads in its community.
With the files ready, the first step is to enable developer options, enable USB debugging, and connect the phone to the PC . From Minimal ADB and Fastboot, run `adb devices` to verify that the device is detected and accept the authorization dialog box that appears on the phone's screen.
Next, reboot the device into bootloader mode with `adb reboot bootloader` and verify the connection using `fastboot devices` . When the device appears in the list, launch `fastboot boot` followed by the full path to the TWRP IMG file, thus booting into recovery mode without installing it yet.
Once TWRP boots into "live" mode, go to Advanced, select ADB Sideload, and toggle the switch to enable file downloads . From your PC, run `adb sideload` followed by the path to the previously downloaded TWRP ZIP file.
Once the transfer is complete, TWRP writes its components to the device's recovery partition, becoming permanently installed . From then on, the phone will always be able to boot into this custom recovery using the corresponding button combination or reboot commands.
In a scenario like this, it's crucial to remember that the method may not be valid for all models, that installing TWRP can void the warranty, and that an error in any of the steps could render the phone unusable . Therefore, it's advisable to review several guides specific to your device before proceeding.
Installing TWRP on other devices and special cases
On brands like Samsung, the process is quite different because instead of fastboot, they use a proprietary mode called Download and tools like Odin on the PC . This involves following a series of specific steps documented in specialized guides and forums.
You usually enter Download Mode using a specific key combination, connect the phone to the computer, load the TWRP image into the appropriate section of Odin and flash it , often disabling options such as Auto Reboot to manually control the first boot after flashing.
Other devices may require additional procedures, such as applying pre-patched software, using modified firmware, running specific scripts, or following custom command sequences . In these cases, it's essential to follow the instructions in your model's official guide to the letter, as found on forums like XDA Developers.
Very early builds of recent models have shown serious problems, such as data loss, general instability, disappearance of previously installed root tools, and errors with memory encryption . Again, reading other users' experiences and the developer's warnings can save you a lot of trouble.
Risks, limitations, and best practices with TWRP
Working with TWRP and custom recoveries in general has many advantages, but it also carries risks that must be accepted and managed carefully . It's not something you can just do by randomly pressing buttons, especially if your phone is your primary device.
The most obvious danger is that a mistake during the installation or flashing of a ROM could brick the phone . In some cases, this is reversible by reinstalling the original firmware, but in others, recovery can be quite complicated, especially if there is no easily downloadable official software.
Regarding the warranty, many brands consider that unlocking the bootloader and flashing TWRP involves modifying the device beyond what is allowed , which can void or at least hinder support claims, especially when an internal flash counter is activated.
TWRP Security
From a security standpoint, using outdated or unreliable recoveries can expose you to known vulnerabilities, problems with newer versions of Android , or failures in decrypting data that prevent you from accessing your own information from the recovery.
To minimize surprises, it's wise to carefully read the official threads for your device, always perform full backups (NANDroid or external), keep your recovery and ROMs up to date, and never flash anything that isn't clearly indicated for your model . Rushing or doing things without understanding what each ZIP file does is a recipe for disaster.
With everything we've seen, it's quite clear that TWRP has established itself as the most versatile tool for customizing Android, managing advanced backups, and recovering phones that seemed lost . As long as you meet the prerequisites, download the correct build for your device, and follow reliable guides, this custom recovery becomes an almost indispensable ally for rooting, installing ROMs, applying complex patches, and experimenting with your phone while maintaining a solid technical safety net. Share this information so more users can learn about it.
Table of Contents
- 1 What is the recovery mode on Android?
- 2 What is a custom recovery and why is it used?
- 3 CWM: The first great custom recovery
- 4 What is TWRP (Team Win Recovery Project)?
- 5 Main features and advantages of TWRP
- 6 What's new in recent versions of TWRP
- 7 TWRP Main Menu: What Each Section Does
- 8 Relationship between TWRP, root, and custom ROMs
- 9 TWRP compatibility and support per device
- 10 Important prerequisites and warnings
- 11 Installing TWRP with root and via direct flash
- 12 Generic TWRP installation with fastboot
- 13 Using ADB Sideload and TWRP Installation ZIP
- 14 Example: Installing TWRP on Nexus, Pixel, and similar devices
- 15 Example: Installing TWRP with fastboot and ADB Sideload (Xiaomi Mi A2 case)
- 16 Installing TWRP on other devices and special cases
- 17 Risks, limitations, and best practices with TWRP