Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[RECOVERY][maguro] TWRP touch recovery [2014-10-29]

OP Dees_Troy

10th April 2012, 09:37 PM   |  #1  
Dees_Troy's Avatar
OP Senior Recognized Developer
Flag KC MO
Thanks Meter: 9,877
1,613 posts
Join Date:Joined: Mar 2008
Donate to Me
Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Phone look:

Tablet look:

-MTP fixes and improvements - you can now copy zips to the root of storage - thanks to _that
-TrueType Font support - optional as it takes up a decent amount of space so may not be available on all devices - thanks to Tassadar
-Temperature support - thanks to bigbiff
-Various other bugfixes and tweaks

-Fix a bug that causes weird graphics glitches and touch issues

-Add MTP support to recovery thanks mostly to bigbiff with a little help from Dees_Troy
-Add command line capabilities - you can now execute various TWRP features via adb instead of the touchscreen
-Add support for color in the console and give error, warning, and highlight lines different colors
-Track backup and restore progress based on file sizes to provide a much more accurate indication of progress
-Improve handling of /misc thanks to mdmower
-Improve setting of time on Qualcomm devices thanks to [NUT]
-Allow using images on slidervalue GUI objects thanks to Tassadar
-Allow using variables and addition and subtraction in variables for easier theming
-Add support for 1440x2560, 280x280, and 320x320 resolutions and update 240x240
-Allow ui.xml file to include additional xml files to help break up the theme and make TWRP easier to maintain
-Other minor fixes and improvements

Over the course of the last year or so, bigbiff has worked to migrate various Java functions from Android's MTP implementation to bring you a fully C++ based MTP implementation that allows you to transfer files to both emulated storage and Micro SD cards. It's confirmed to work on various Nexus devices but we may have to make some changes on other devices to keep Windows happy. Windows is very picky about USB IDs and its drivers. We have tested it on Windows 7 and 8 as well as Ubuntu 14.04 Trusty. MTP is enabled by default, but we do toggle it off and on automatically during certain operations such as if you choose to wipe a storage partition. You can enable or disable MTP under the mount menu in TWRP. For more about what MTP is here.

Note: Due to a weird bug with our MTP setup, you cannot copy a zip file to the root of storage with Windows. You can change the .zip to something else like .txt and then copy it to the root and rename the file back to .zip once it's copied to the device. You can also copy the zip into any subfolder.

Command line support is also now available. You can perform various OpenRecoveryScript commands via the adb shell. Depending on what you are doing you may wish to do a "twrp set tw_mtp_enabled 0" and then reboot to prevent the MTP auto toggle from killing your adb interface. You can use this option to create and restore backups, wipe, install zips, and more. Via adb shell, type twrp followed by a space then enter the OpenRecoveryScript command and hit enter. Find more OpenRecoveryScript commands here.

-Add GUI option to change or repair file systems on individual partitions. The change is destructive so backup your data including internal sdcard first. This option should make it a little easier to migrate a device from ext4 -> f2fs, for instance. You will find this option under Wipe -> Advanced Wipe, then select only one partition and then press the Repair or Change File System button. If a developer has added f2fs support for your device and we don't have it in TWRP, please contact me via PM to arrange for it to be added.
-Various bugfixes to backup and restore
-Improvements to USB storage handling
-Added a class to search for files to make finding the correct brightness file automatic in most cases
-Various other bugfixes and tweaks

Most devices can be updated quickly and easily with the TWRP Manager app:
Play Store Link
1) Install TWRP Manager from the Play Store
2) Open TWRP Manager and provide root permissions
3) Hit Advanced->Install Recovery
4) Verify the correct device name on your screen then press Install Recovery if the correct device is showing
You can find more information and download links on our website!

If you have found a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to PM me directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

Live support is available via #twrp on Freenode with your IRC client or just click this link.
Last edited by Dees_Troy; 29th October 2014 at 03:34 PM.
The Following 257 Users Say Thank You to Dees_Troy For This Useful Post: [ View ]
10th April 2012, 09:39 PM   |  #2  
Pierre118's Avatar
Senior Member
Flag The Hague
Thanks Meter: 157
482 posts
Join Date:Joined: Apr 2011
Good work, looks wonderful! I will wait for the 720p GNexus version.
10th April 2012, 09:49 PM   |  #3  
Junior Member
Flag Kristiansand
Thanks Meter: 1
15 posts
Join Date:Joined: Oct 2009
Awesome will give it a try when the small bugs are sorted out!

Sent from my Galaxy Nexus using XDA
10th April 2012, 10:09 PM   |  #4  
Tweezydak1d's Avatar
Senior Member
Flag Sacramento, CA
Thanks Meter: 79
601 posts
Join Date:Joined: May 2009
Pretty nice. It's usable.. Can't wait till all the bugs r gone. Especially the wait time it takes to boot to recovery.. But very nice work tho.

Sent from my Galaxy Nexus using Tapatalk 2 Beta-6
10th April 2012, 10:09 PM   |  #5  
melvie's Avatar
Senior Member
Flag 5230'N 0525'E
Thanks Meter: 22
317 posts
Join Date:Joined: May 2010
Finally some development at the recovery site, i was spoiled with the 4ext recovery's at my HTC phones .

10th April 2012, 10:17 PM   |  #6  
sert00's Avatar
Senior Member
Flag cesena,IT
Thanks Meter: 505
1,082 posts
Join Date:Joined: May 2011
Originally Posted by melvie

Finally some development at the recovery site .


yeah,agree with that!it seems soo user-friendly...i want to try it right now!thanks OP,waited a lot for that!!!
11th April 2012, 03:13 AM   |  #7  
beekay201's Avatar
Senior Member
Thanks Meter: 1,139
4,725 posts
Join Date:Joined: Nov 2010
Thanks guys, the tablet version also looks very good.
Fresh air around these parts
11th April 2012, 05:03 PM   |  #8  
El Norupz's Avatar
Flag Hobro
Thanks Meter: 5
93 posts
Join Date:Joined: Jun 2010
This looks nice.. I will for sure try it out, but waiting until it's more stable
Last edited by El Norupz; 11th April 2012 at 05:03 PM. Reason: spelling accident
11th April 2012, 05:44 PM   |  #9  
Thanks Meter: 4
34 posts
Join Date:Joined: Feb 2012
WOW it's amazingggg .
12th April 2012, 05:30 AM   |  #10  
Senior Member
Thanks Meter: 55
131 posts
Join Date:Joined: Oct 2008
Definitely looks promising; but came across an issue and the link to the issues log seems to be down.

While trying to flash an update (CM9 Unofficial) the installation fails; however I can easily flash the update using Clockworkmod.

Here is the pastebin link for the log file of the issue: GSM Galaxy Nexus TRWP2 Log

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes