Till just over a year back, ClockworkMod (aka CWM) was the go-to custom recovery for pretty much every mainstream Android device. Things have changed a lot since, with a newer player entering the game and gaining a lot of critical acclaim, as well as a huge user base. TeamWin Recovery Project – or TWRP for short – is a fully touch-based custom recovery that was initially developed for Nexus devices, but has since been made available for countless other smartphones and tablets as well, in form of both official and third-party builds. Just like we took you through a very detailed tour of ClockworkMod recovery and its features, we’re going to guide you through all the features of TWRP right after the jump.
In case you aren’t familiar with the concept of a custom Android recovery, we suggest you check out our ClockworkMod recovery guide (linked above) and go through the ‘About Android Recovery’ section. That said, let’s take a closer look at TWRP.
The first thing you’ll probably notice about TWRP is its GUI that looks impressively modern when it comes to a recovery environment, especially compared to that offered by ClockworkMod. You get the same basic set of features that you’d expect from any modern and full-featured custom Android recovery, all laid out in a very organized manner with large, touch-friendly buttons that make using it a breeze. Furthermore, the tablet variants are actually tablet-optimized. Here, take a look for yourself:
Installing TWRP is super-simple and if you’ve previously installed a custom recovery, you shouldn’t have any trouble doing it. Though for those who haven’t had any prior experience with custom recovery installation, we have you covered. Just head over to the guide linked below and follow the GooManager method for rooted devices or the fastboot method (for both unrooted and rooted devices with an unlocked bootloader) to get TWRP up and running on your device in no time. If neither of these methods work for you, the flash_image method should come handy, though it requires root access.
Installing a custom recovery on Android
TWRP gives you access to all the features you would expect from any custom recovery, and then some. Let’s take a look at them in detail.
The interface of TWRP comprises of large buttons that make it easy to spot the feature you require at a quick glance and select it with a quick tap. You’ll also find soft buttons for Home and Back here, along with one for the log view that shows progress of all the operations you’ve performed in recovery.
The log is normally shown automatically while any recovery operation is taking place, but goes into background when the operation is complete. By using the Log button, you can bring it up again if you missed out on anything, or needed to look up some info for troubleshooting purposes.
As the name suggests, the Install option lets you install any recovery-flashable zip file to your device. This can be a ROM, a kernel, a mod, a theme, a system app – pretty much anything that’s available in the recovery-flashable zip file format.
Upon hitting Install, you’re presented with the files and folders on your phone’s storage, from which you can select the file you want to flash. With the file selected, you can either swipe the slider to confirm and start flashing the selected file, or hit the ‘Add More Zips’ button to queue up more files for flashing one after the other in a batch – a feature we haven’t come across in any other custom recovery. It will present you with a file selection screen just like the first one, letting you add up to 10 files to the flashing queue before flashing them all in the selected order. You can also clear the queue any time by tapping the ‘Clear Zip Queue’ button to start file selection from scratch.
Once the flashing process is complete, TWRP gives you some handy options for quick access to certain tasks that many users would need to perform after flashing, eliminating the extra steps required to pick them from their individual sections. These include wiping cache and dalvik cache, and rebooting the system, in addition to a Home shortcut.
This section is dedicated to wiping all standard partitions on your Android device. By default, TWRP offers you to perform a full factory reset upon hitting Wipe, since it’s the most common form of wipe operation that most users need in recovery. This will wipe all your user data from the phone, including your installed apps, cache, and dalvik cache. This will not effect the internal or SD card storage area of your phone, meaning your documents, downloads, pictures, music, videos and other files will stay safe.
If you would rather want to wipe EVERYTHING including the aforementioned data, tap ‘Format Data’. This will wipe all your apps, backups, downloads, pictures, videos and media, and will also remove encryption on your internal storage, if you have applied it, essentially leaving nothing but the operating system itself on the device, in a complete factory state.
If you want to be more specific about the partitions you want to wipe, hit ‘Advanced Wipe’ instead. You can then select one or more common partitions to wipe specifically, leaving the rest untouched. The partitions available for wiping include system (where your operating system is stored), data, cache, Dalvik cache, and usb-otg in case of our Nexus 4, but may (or may not) include other partitions as well. Just remember – if you are unsure of whether to wipe a partition or not, NEVER touch it, especially if it’s the system partition. If you are following instructions provided somewhere, wipe only the partitions that the instructions clearly specify to wipe, and leave the rest untouched. Otherwise, you might be stuck with a device with no operating system installed, or lose all your data stored on the device.
A timely backup can save you from a lot of hassle later on in case of any data loss due to a faulty installation or an operation performed by mistake in recovery mode. That’s why all custom recoveries for Android come with a backup feature (also called NANDROID backup). TWRP’s backup section lets you take a backup of the current state of your phone, allowing you to select the partitions you want to be included in the backup, and even letting you give the backup a custom name on the go.
You are also shown your available storage space, and you can calculate if it’s enough for the backup, based on the sum of the individual partition sizes, that are shown with each partition.
This section lets you restore your phone to the state of any previously taken backup. Simply select the backup that you want to restore, optionally choose the specific partitions that you want to restore, and swipe the slider to begin the restore process.
Do remember that restoring a backup will essentially wipe the current state of your phone, meaning any changes made after that backup will be lost. However, your internal or SD card storage will remain untouched, and any files that you may have added there after the last backup will still be there.
Most casual users will never really need this section, but for power users, this can be immensely useful. Here, you can mount or unmount several key partitions of your device, in order to access them over ADB (or certain areas of the recovery, as we’ll see later.) You can also see the amount of free internal storage available on your device here.
TWRP lets you tweak a few recovery-specific settings, such as toggling signature verification for the zip files you flash, using the rm -rf command for wiping instead of the format command, wherever applicable, skipping MD5 generation during backup, enabling MD5 verification of backup files, using military-style time for the clock display, and a simulation mode in which you can test out recovery operations without actually performing them, which is super-useful for those creating custom TWRP themes, in testing them out to ensure they apply properly to all areas of the recovery.
The Time Zone option lets you specify your own time zone for the time display in recovery mode, by choosing it from a list of all global time zones, and optionally specifying any offset if required.
To keep things secure, TWRP also comes with a lock screen that activates automatically after a predefined screen timeout period, and can be unlocked with a swipe similar to the unlock gesture on the iPhone, as you can see in the screenshot above. This option can be toggled from the Screen section.
In the Advanced section, you’ll find some further features that many users might not require. You can copy the recovery’s log to SD card for accessing it later, which can be useful for debugging purposes. You can also fix file permissions, which can help if things aren’t working properly due to improperly set permissions for important files. There’s also a Reload Theme option that is useful for those developing a custom theme for TWRP.
The ADB Sideload mode is also accessible from here, which essentially allows you to put your phone into a mode where files can be flashed to it from a computer using the ADB sideload command. This mode shouldn’t generally be required by anyone who doesn’t already know how it works, and those unfamiliar with it don’t really need to worry about it. For those who are going to use it, the Wipe Cache and Wipe Dalvik Cache options can come handy to ensure that both these cache partitions are wiped after the ADB sideloading process completes.
There are two more options here – Terminal Command and File Manager. These (especially the File Manager) deserve a section of their own, so let’s now take a look at them.
Not many custom recoveries come with a built-in file manager, but TWRP has taken things one step further by adding one to the mix. Once you launch it from the Advanced menu, you are shown the file or folder selection screen. Simply navigate to the file or folder you want to manage, and hit the ‘Select’ button. For conveniently locating the required file or folder, you can use the sorting options.
Once a file or folder has been selected, you can then copy or move it to another location, set its permissions to rw-r—r– (755) by using the ‘chmod 755’ button, or to any other permissions you want by using the ‘chmod’ button, delete the item, or rename it. These options can come incredibly handy when attempting to fix things from recovery in case of any issues that have made the phone inaccessible in normal Android mode. However, use these only when you are sure of what you are doing, and don’t mess around with any files that you don’t know much about, or else you might end up harming your OS.
The Terminal Command mode found in the Advanced menu lets you run a batch file that contains Terminal commands that you want to execute. These files usually have a .sh extension, and if you are unsure about this mode, just let it be, as you won’t exactly need it in that case. For those advanced users who do need to run such a file, TWRP offers the same file selection interface in this section that’s featured in the other parts of the recovery, as we’ve seen above. Simply select the file and you’ll be able to run it right from recovery.
This menu provides you with handy options of rebooting your device directly into specific modes right from recovery. The options available include System (normal Android mode), Recovery, and Bootloader (fastboot mode). In addition, you can also directly power your device off from here.
TWRP is nothing short of a breakthrough when it comes to Android recoveries. It provides the most impressive user interface we’ve seen in recovery mode, making it a very easy-to-navigate GUI – a major jump from the traditional menu-based boring and complicated recovery interface found in most other recoveries including ClockworkMod. And the interface is just the icing on the cake; the several handy features offered by TWRP that are nowhere to be found in other custom recoveries make it THE best custom recovery currently available for Android, period! It also allows users to theme it to their liking by editing an XML file, and fully conforms to the OpenRecovery standard for its recovery operations, rather than going for its own non-standard ways. This standards-compliance makes it compatible with the excellent GooManager app for scheduling flashing of files without leaving the Android environment.
TWRP has replaced ClockworkMod on all our devices here at AddictiveTips, and we have no hesitation in recommending it to any Android user looking for a custom recovery for their device.
Visit TWRP Website