Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,486 Members 44,366 Now Online
XDA Developers Android and Mobile Development Forum

[RECOVERY][hammerhead] TWRP touch recovery [2014-06-05]

Tip us?
(Last edited by Dees_Troy; 5th June 2014 at 09:12 PM.)
Dees_Troy's Avatar
Senior Recognized Developer - OP
Thanks Meter 9,173
Posts: 1,592
Join Date: Mar 2008
Location: KC MO

Default [RECOVERY][hammerhead] TWRP touch recovery [2014-06-05]

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:

-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

-Faster graphics rendering by disabling alpha blending on fully opaque objects thanks to Tassadar
-Allow sideloading from /tmp on encrypted devices
-Check for a crypto footer before asking for a password to prevent user confusion
-Additional checks for validity to auto generated backup names
-Text wrap in the console output
-Proper caps lock support in the keyboard
-Mouse support via USB OTG for devices with a broken digitizer
-Improve scanning of storage locations for OpenRecoveryScript
-Haptic feedback for buttons, keyboard, and vibration at the end of longer running actions thanks to Samer Diab
-Fixed ext4 wiping when no selinux contexts are defined for that partition (e.g. sd-ext)
-Update SuperSU to 1.93 and improve installation process
-Added selinux contexts restoration to fix permissions
-Load RTC offset on Qualcomm devices to fix the date/time in recovery
-USB Mass Storage fixes Add SELinux support checking
-Add Disk Usage class to better handle excluded folders (e.g. Google Music cache)
-Add 4.4 decrypt support
-Add some toolbox utilities to TWRP (namely to support SELinux functions not supported in busybox)
-Various SELinux fixes and bug fixes

Note: 2.7 marks the first time that we are dropping support for older devices. We are doing this because of the SELinux support needed to install 4.4 Kit Kat ROMs. The non-TWRP parts of the recovery image have to be built in at least a 4.1 tree and the kernel that is included in the recovery image has to support writing SELinux contexts. We don't own most of the devices that we support so we depend on outside testers and developers to help us update devices. In many cases we can't find someone readily. Come to #twrp on Freenode if you want to help bring your device up to date. You can tell right away if your device will support 4.4 ROMs in 2.7. Boot TWRP and press the console button (the square-ish button either in the bottom middle or upper right) to view the console output. If it doesn't say "Full SELinux support" in the console, then your device still needs some work. Help us help you.

-Proper backup and restore of SELinux contexts (thanks to Tassadar)
-Pull in some ROM information for backup name generation
-Merge all recent patches from AOSP bringing TWRP up to date with Android 4.3
-Add 1200x1920 theme (thanks to Tassadar)
-A few other fixes 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.
The Following 211 Users Say Thank You to Dees_Troy For This Useful Post: [ Click to Expand ]
(Last edited by Dees_Troy; 4th November 2013 at 05:53 PM.)
Dees_Troy's Avatar
Senior Recognized Developer - OP
Thanks Meter 9,173
Posts: 1,592
Join Date: Mar 2008
Location: KC MO

Default Reserved

Note, is down due to an upgrade and thus GooManager will not work.

Page on our website with instructions, etc.

Direct download link

If you have just used fastboot oem unlock, you should let the device boot up normally first before trying to install TWRP. If you boot TWRP first before booting normally, you will be prompted for a password. Hit cancel and got to Wipe -> Format Data. Type yes at the prompt and hit the "enter" key. Hit the home button at the bottom and Reboot -> Recovery. Unlocking the device will cause you to lose all userdata, apps, pictures, downloads, etc.

To root, when you select to reboot from the GUI in TWRP, you will be asked if you want to install SuperSU. Swiping to confirm will root your device.
The Following 51 Users Say Thank You to Dees_Troy For This Useful Post: [ Click to Expand ]
yellowdie's Avatar
Senior Member
Thanks Meter 1,301
Posts: 1,166
Join Date: May 2011
Location: Orlando, FL
Thanks! I assume since you posted it, it's totally fine to flash on the N5, but are you expecting there to be issues with 4.4? I know a lot of stuff changed, so are we going to run into problems early on?

Thanks again for all of your work. I've been using TWRP for well over a year now!
Senior Member
Thanks Meter 294
Posts: 799
Join Date: Apr 2011
Party can start now TWRP is here!

Thanks for all your hard work Dees_Troy
Tony_YYZ's Avatar
Senior Member
Thanks Meter 95
Posts: 427
Join Date: Oct 2012

Awesome! Thank you for your hard work OP!
CANADA | ROGERS | NEXUS 5 | D820 | KK 4.4 | Stock w/Root
Nexus 7 FHD Tablet | FLO | KK 4.4 | Stock w/Root - Check us out for cheap US roaming plans (Canadians)
mithun46's Avatar
Recognized Contributor
Thanks Meter 1,659
Posts: 1,231
Join Date: Oct 2012
Location: ▒▅|▆|█|▆|▅▒


Boss is finally here!! Good work as always!
If you consider my efforts worthwhile then Donate or Thank me
(Last edited by dankoman; 5th November 2013 at 12:34 AM.)
dankoman's Avatar
Recognized Themer
Thanks Meter 7,621
Posts: 2,173
Join Date: Oct 2008
Location: Philly


nuff said.
The Following 4 Users Say Thank You to dankoman For This Useful Post: [ Click to Expand ]
Primokorn's Avatar
Recognized Contributor
Thanks Meter 2,054
Posts: 3,876
Join Date: Nov 2012
Location: Annecy

My favorite recovery is here!
Nexus 5 | Ask any questionTWRP themesDark XDAGetting started on XDA

LGE Nexus 5 | TWRP Recovery | Mahdi | Uber!!!

Searching can take less time than waiting for an answer
ifti_a's Avatar
Senior Member
Thanks Meter 150
Posts: 1,299
Join Date: Apr 2010
Location: London
This is stable ? I still waiting for my phone to get delivered zzzz

Sent from my GT-I9505 using Tapatalk
Phone : Nexus 5 32GB - AOKP Nightly 2014-04-30
Tablet : Motorola Xoom 32GB Wifi - BigPart Structure - EOS 4 Build 203
djkinetic's Avatar
Senior Member
Thanks Meter 1,024
Posts: 2,788
Join Date: Feb 2011
Location: Chicago

Hoping the N5 isnt as slow as the G2 when it comes to wiping partitions in recovery.
Current Devices:

One Plus One Sandstone Black 64GB
LG G3 D851 SIM Unlocked (ATT) 32GB
HTC One M8 32GB Gunmetal Grey
LG G-Pad 8.3 GPE
Google Nexus 7 16 GB (2013)

Google Chromecast

Add me to your Google+ Circle:

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes