5,596,637 Members 43,972 Now Online
XDA Developers Android and Mobile Development Forum

[RECOVERY][hammerhead] TWRP touch recovery [2014-03-10]

Tip us?
(Last edited by Dees_Troy; 10th March 2014 at 08:05 PM.)
Dees_Troy's Avatar
Senior Recognized Developer - OP
Thanks Meter 8579
Posts: 1,573
Join Date: Mar 2008
Location: KC MO

Default [RECOVERY][hammerhead] TWRP touch recovery [2014-03-10]

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:

-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

-Initial SELinux support (only a few devices, need testers so come by IRC if your device doesn't have it and needs it)
-Initial support for f2fs file system formatting (Moto X)
-Update SuperSU install for 4.3 ROMs
-Fixed a permissions bug on files created during backup
-Fixed a bug that caused TWRP to not wait for compressed backups to finish causing 0 byte files and md5sums to not match
-Fixed decryption of encrypted data so that both TouchWiz and AOSP decryption are possible
-Ignore lost+found folder during backup and size calculations
-Various other minor bug 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 178 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 8579
Posts: 1,573
Join Date: Mar 2008
Location: KC MO

Default Reserved

Note, goo.im 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 43 Users Say Thank You to Dees_Troy For This Useful Post: [ Click to Expand ]
yellowdie's Avatar
Senior Member
Thanks Meter 1178
Posts: 1,112
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: 796
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

http://www.infowerxsolutions.com - Check us out for cheap US roaming plans (Canadians)
mithun46's Avatar
Recognized Contributor
Thanks Meter 1632
Posts: 1,228
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
Senior Member
Thanks Meter 1536
Posts: 1,112
Join Date: Oct 2008
Location: Philly

nuff said.

This is called the search box. It is your friend. Don't be afraid to ask it questions.
Hammerhead Slim TWRP
The Following 3 Users Say Thank You to dankoman For This Useful Post: [ Click to Expand ]
Primokorn's Avatar
Recognized Contributor
Thanks Meter 1454
Posts: 2,914
Join Date: Nov 2012
Location: Annecy

My favorite recovery is here!
ifti_a's Avatar
Senior Member
Thanks Meter 147
Posts: 1,291
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-01-14 - Faux 005m
Tablet : Motorola Xoom 32GB Wifi - BigPart Structure - EOS 4 Build 203
djkinetic's Avatar
Senior Member
Thanks Meter 923
Posts: 2,644
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:

HTC One M8 32GB Gunmetal Grey
Samsung Galaxy S5 (G900T) Sim Unlocked For ATT
LGE Google Nexus 5 32 GB White/Black
LG G2 (D800) 32 GB Black
LG G-Pad 8.3 GPE
Google Nexus 7 16 GB (2013)

Google Chromecast
iPhone 5c 32 GB
iPad 2 Black 32 GB

Add me to your Google+ Circle: https://plus.google.com/106721746210047548500/posts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes