Post Reply

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

OP dbx4

6th June 2012, 02:23 AM   |  #1  
dbx4's Avatar
OP Senior Member
Thanks Meter: 450
 
243 posts
Join Date:Joined: Sep 2011

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 2.3.2.1!

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.


Features
  • 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
  • Themeable


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

  • 2.3.2.1 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:
    Quote:

    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.



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

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

  • Can I use TWRP to restore my CWM backups?
    Quote:

    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?
    Quote:

    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?
    Quote:

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

  • Can I use this to flash CyanogenMod9?
    Quote:

    Yes!

  • Can I use this to flash XYZ ROM?
    Quote:

    Yes!

  • The clock shows the wrong time!
    Quote:

    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!
    Quote:

    Turn off signature verification!

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

    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?
    Quote:

    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!


Screenshots




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


Disclaimer

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 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:
    Quote:

    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 BoardConfig.mk etc. for I9001/ariesve
    - Configuration parameters for TWRP in BoardConfig.mk:
    Code:
    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
    This is a straight, unmodified compile of TWRP2 sources. TWRP2 is made available under the Apache License 2.0.
Last edited by dbx4; 24th November 2012 at 04:01 PM.
The Following 104 Users Say Thank You to dbx4 For This Useful Post: [ View ]
6th June 2012, 02:30 AM   |  #2  
dbx4's Avatar
OP Senior Member
Thanks Meter: 450
 
243 posts
Join Date:Joined: Sep 2011
Over 27000 downloads as of November 17th! Rock on!


Changelog:
  • 2.3.2.1
    - Small bugfixes
  • 2.3.1.1
    - Fixed keyboard not working for backup rename bug
  • 2.3.0.3
    - 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 http://teamw.in/ADBSideload
    - 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:
Last edited by dbx4; 17th November 2012 at 05:28 PM.
The Following 26 Users Say Thank You to dbx4 For This Useful Post: [ View ]
6th June 2012, 02:52 AM   |  #3  
UpGado's Avatar
Senior Member
Flag Berlin
Thanks Meter: 215
 
184 posts
Join Date:Joined: Jan 2012
More
Cm9 compatible ?
6th June 2012, 02:58 AM   |  #4  
dbx4's Avatar
OP Senior Member
Thanks Meter: 450
 
243 posts
Join Date:Joined: Sep 2011
Thumbs up
Quote:
Originally Posted by UpGado

Cm9 compatible ?

Yes!
The Following 4 Users Say Thank You to dbx4 For This Useful Post: [ View ]
6th June 2012, 03:15 AM   |  #5  
Senior Member
Flag Segamat,Johor
Thanks Meter: 12
 
124 posts
Join Date:Joined: Apr 2012
More
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, 03:43 AM   |  #6  
dbx4's Avatar
OP Senior Member
Thanks Meter: 450
 
243 posts
Join Date:Joined: Sep 2011
Quote:
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 ]
6th June 2012, 04:12 AM   |  #7  
kunalwanvari's Avatar
Senior Member
Flag mumbai
Thanks Meter: 50
 
269 posts
Join Date:Joined: Apr 2012
looks awssum shall try flashing an xperimental.zip


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

Sent from my GT-I9001 using XDA
6th June 2012, 06:07 AM   |  #10  
nikku_hot123's Avatar
Senior Member
Flag Kannur
Thanks Meter: 39
 
213 posts
Join Date:Joined: Nov 2011
More
In restore it is showing nothing....can anybody else confirm it?

Sent from my GT-I9001 using Tapatalk 2

Post Reply Subscribe to Thread

Tags
lubie placki, recovery, teamwin, touch, twrp
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes