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...
NEW VERSION 188.8.131.52!
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: http://teamw.in/ADBSideload
- Detailed logfile
- 184.108.40.206 as installable zip
booting into recovery (VolumeUp+Power) and then using "install zip from sdcard" ("apply update form sdcard" on stock recovery) to install it.
- 220.127.116.11 as flashable image file
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.
- TWRP has an optional companion app called GooManager. It offers a frontend for the goo.im archive which hosts ROMs and the gapps. Unlike CWM and ROM Manager, it is completely free, developers can upload their ROMs to goo.im 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
- TWRP2 github
- arco github with BoardConfig.mk etc. for I9001/ariesve
- Configuration parameters for TWRP in BoardConfig.mk:
DEVICE_RESOLUTION := 480x800 TW_INTERNAL_STORAGE_PATH := "/sdcard" TW_INTERNAL_STORAGE_MOUNT_POINT := "sdcard" TW_EXTERNAL_STORAGE_PATH := "/external_sd" TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd" TW_DEFAULT_EXTERNAL_STORAGE := true TW_FLASH_FROM_STORAGE := true