Remove All Ads from XDA
Honor View 10

[RECOVERY][TOUCH] TeamWin Recovery Project (TWRP) [UPDATE!]

246 posts
Thanks Meter: 452
By dbx4, Senior Member on 6th June 2012, 03:23 AM
Post Reply Email Thread

Are you tired of scrolling through huge lists of files in ClockworkMod with the volume rocker?
Don't you wish there was a recovery with a graphical interface and controlled using the touchscreen?

Team Win Recovery is just that!

Built by TeamWin from the ground up based on AOSP recovery, it has a themeable GUI with touch interface, file manager, keyboard, terminal emulator and much much more...


Note: A few devices experience random reboots/shutdowns in recovery with the latest version. If this is the case for you, use version 2.2.1 which is completely stable.

  • Graphical touchscreen interface with buttons and drag-to-scroll!
  • Compressed backups that can save you up to 50% disk space
  • Ability to choose which partitions to back up and which to restore
  • Custom names for backups, rename and delete backups inside recovery
  • Integrated Terminal Emulator
  • Install queues allow you to install multiple zips in one go (e.g. CM9 zip together with gapps zip)
  • Easy one-button cache & dalvik cache clearing after an installation
  • Recovery settings are saved to the sdcard and persist through reboots
  • File Manager that allows you to move, copy, delete and rename files and change their permissions
  • Battery percentage indicator, charging indicator and clock (set your timezone in settings!)
  • Reboot into download mode (bootloader)
  • ADB support
  • Sideloading for automated ROM install:
  • Detailed logfile
  • Themeable

  • as installable zip
    Install by copying the zip file to your sdcard, booting into recovery (VolumeUp+Power) and then using "install zip from sdcard" ("apply update form sdcard" on stock recovery) to install it.

  • as flashable image file
    Flash using broodplank's Quickflasher. Connect phone via USB, start sgsflasher_x86.exe, activate "Flash a new Recovery", select the twrp2.2.1-recovery.img and press "Start Now".

  • Please pay particular attention to this:

    Some zips may no longer work in TWRP 2.3 if the developer is using an out-of-date update-binary. If this is a problem for you, please use TWRP 2.2.1 (download link in post below)! Zips can be fixed by replacing their old update-binary with this one.

  • I installed this but my phone keeps booting into recovery over and over again.

    You need to re-flash your bootloader as described here.

  • Can I use TWRP to restore my CWM backups?

    No. The only way is to convert your uploads like this: flash CWM, restore a backup, flash TWRP, create new backup, repeat.

  • Where is my external SD card?

    The external SD is under /emmc (as is standard for all CyanogenMod-based ROMs). The internal SD is under /sdcard.

  • What is the size vs speed tradeoff for compressed backups?

    For my test, compression shrunk the total backup size by 43% and took 1.4 times longer.

  • Can I use this to flash CyanogenMod9?


  • Can I use this to flash XYZ ROM?


  • The clock shows the wrong time!

    You need to set your timezone under Settings -> Time Zone. The setting is saved in a config file on your sd card so you only have to do this once.

  • My .zip file won't install!

    Turn off signature verification!

  • Can I mount my SD cards on my PC in recovery?

    Yes, but only one at a time. Go into the Mount menu and select which card to mount with the "Use external SD" or "Use internal storage" radio buttons. Connect your USB cable and press "Mount USB storage".

  • How can I restore single apps (and/or their data) from a TWRP backup?

    Use TitaniumBackup, it supports TWRP! In Titanium Backup, open up the menu and select "Extract from Nandroid backup...". It will list all your TWRP and CWM backups and allow you to restore as many apps and their data as you want.

    Even though all TWRP backup files carry the extension .win, they are either tar archives or filesystem images. System, data, cache and .android_secure are backed up as tar archives or gnu-zipped tar archives if compression is enabled. You can rename those .win files to .tar (.tar.gz if compressed) and extract them like a regular archive. Boot and recovery partitions are backed up as .img files using dd.

I have tried to test all recovery features and they all seem to work. I successfully flashed several different ROMs and performed backups and restores. However, there could still be bugs lurking somewhere - if you find one please report it!


  • TeamWin - Everything here is their work, I only provide a precompiled binary for our device. Particular thanks to Dees_Troy from TeamWin for his help.
  • arco - For the config files for our device.


Do not install this if you don't know what you are doing. Incorrect flashing of a recovery can lead to a hard brick! Bugs in the recovery could result in data loss so always have a backup! I am in no way responsible for anything you do to your phone and offer no guarantees.

For Developers
  • TWRP has an optional companion app called GooManager. It offers a frontend for the archive which hosts ROMs and the gapps. Unlike CWM and ROM Manager, it is completely free, developers can upload their ROMs to and users can easily flash them with GooManager. It would be awesome if developers started uploading their ROMs there!
  • To take screenshots inside the running recovery, use adb to dump the framebuffer and then use ffmpeg to convert the raw image to a jpeg like this:

    adb pull /dev/graphics/fb0
    ffmpeg -vframes 1 -vcodec rawvideo -f rawvideo -pix_fmt rgba -s 480x800 -i fb0 -f image2 -vcodec mjpeg fb%d.jpg

  • Sources:
    - TWRP2 github
    - arco github with etc. for I9001/ariesve
    - Configuration parameters for TWRP in
    DEVICE_RESOLUTION := 480x800
    TW_EXTERNAL_STORAGE_PATH := "/external_sd"
    This is a straight, unmodified compile of TWRP2 sources. TWRP2 is made available under the Apache License 2.0.
The Following 105 Users Say Thank You to dbx4 For This Useful Post: [ View ] Gift dbx4 Ad-Free
6th June 2012, 03:30 AM |#2  
dbx4's Avatar
OP Senior Member
Thanks Meter: 452
Over 27000 downloads as of November 17th! Rock on!

    - Small bugfixes
    - Fixed keyboard not working for backup rename bug
    - Faster boot
    - Much faster permission repair
    - Charging indicator (only updates once a minute)
    - Major code rewrite to C++ and Jelly Bean base
    - ADB Sideload functionality - for automated ROM installs, see
    - USB storage mounting now mounts both internal and external sd cards simultaneously
  • 2.2.1
    - Small bugfixes
    - Trying to fix the random shutdown bug that happens on some devices
  • 2.2.0
    - Integrated Keyboard
    - Set custom backup name
    - Terminal emulator
    - Rename files in file manager
    - Set file permissions using octal notation in file manager
    - Rename and delete backups
    - Restore menu has switch for internal/external SD
    - Fixed timezone names
    - Wipe external SD option
    - Wipe battery stats and rotation data options removed (Google says it's unnecessary. You can still do it manually/with apps if you want.)
    - Fixed themes not loading bug
  • 2.1.8-fix
    - Fixed USB storage mounting
  • 2.1.8
    - Initial release for the Galaxy S Plus

Old Downloads:
The Following 26 Users Say Thank You to dbx4 For This Useful Post: [ View ] Gift dbx4 Ad-Free
6th June 2012, 03:52 AM |#3  
UpGado's Avatar
Senior Member
Flag Berlin
Thanks Meter: 215
Cm9 compatible ?
6th June 2012, 03:58 AM |#4  
dbx4's Avatar
OP Senior Member
Thanks Meter: 452
Thumbs up
Originally Posted by UpGado

Cm9 compatible ?

The Following 4 Users Say Thank You to dbx4 For This Useful Post: [ View ] Gift dbx4 Ad-Free
6th June 2012, 04:15 AM |#5  
Senior Member
Flag Segamat,Johor
Thanks Meter: 12
no problem in cm9? example.. wifi .BT....because arco recovery fixed some problem in cm9

Sent from my GT-I9001 using XDA
6th June 2012, 04:43 AM |#6  
dbx4's Avatar
OP Senior Member
Thanks Meter: 452
Originally Posted by Ezekiel1998

no problem in cm9? example.. wifi .BT....because arco recovery fixed some problem in cm9

This is a Recovery, not a ROM!

A recovery is a small bootable operating system on a seperate partition on your device. Changing your recovery does not in any way affect your running system. And when booted in the recovery you don't have access to WiFi or Bluetooth anyway.

The reason FeaMod does not work with CM9 is because it was compiled with a wrong list of partition sizes. I compiled this using arco's CM9 repository, so it has exactly the same settings, kernel config etc. as the CM9-compatible CWM that arco compiled.
The Following 9 Users Say Thank You to dbx4 For This Useful Post: [ View ] Gift dbx4 Ad-Free
6th June 2012, 05:12 AM |#7  
kunalwanvari's Avatar
Senior Member
Flag mumbai
Thanks Meter: 50
looks awssum shall try flashing an

Sent from my GT-I9001 using Tapatalk 2
6th June 2012, 06:28 AM |#8  
Senior Member
Flag Rzeszow
Thanks Meter: 77
Is this somewhat related to cmw touch recovery ?
6th June 2012, 06:32 AM |#9  
faust.deaconu's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 37
Awsome work!!!

Sent from my GT-I9001 using XDA
6th June 2012, 07:07 AM |#10  
nikku_hot123's Avatar
Senior Member
Flag Kannur
Thanks Meter: 41
In restore it is showing nothing....can anybody else confirm it?

Sent from my GT-I9001 using Tapatalk 2
6th June 2012, 07:10 AM |#11  
db1901's Avatar
Thanks Meter: 9
You must make a backup with teamwin recovery. Maybe you can copy your CWM Backup into the Teamwin recovery folder for restore your backup.
Sorry for my english.

Gesendet von meinem GT-I9001 mit Tapatalk
The Following User Says Thank You to db1901 For This Useful Post: [ View ] Gift db1901 Ad-Free
Post Reply Subscribe to Thread

lubie placki, recovery, teamwin, touch, twrp

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes