New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

[TOOL/UTILITY][TWRP][ 2.8][RECOVERY] TWRP 2.8.7.x TeamWin Recovery Project 6/24

5,743 posts
Thanks Meter: 4,978
By bigbiff, Senior Recognized Developer on 22nd October 2013, 02:33 PM
Post Reply Subscribe to Thread Email Thread
[RECOVERY] [6/24/15] TWRP 2.8.7.x - TeamWin Recovery Project

TeamWin is proud to present TWRP 2.8.7.x for the Samsung Galaxy Note 3 (Interntional Qualcomm and Exynos)!

Youtube video:

Full TeamWin credits are on the TWRP page on the TeamWin website:


Team Win Recovery Project or twrp2 for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's 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.

Key Features:

Touchscreen driven with real buttons and drag-to-scroll
XML-based GUI that allows full customization of the layout true theming!
Settings are saved to the sdcard and persist through reboots
Ability to choose which partitions to back up and which to restore
Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
Onscreen keyboard
Decryption of /data
Easy selection of internal/external storage
See changelog below for new features

In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe cache & dalvik, and run a backup.

We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.


Information on TWRP 2 Theming -

Known Issues:

CWM backups are not compatible - please make a fresh backup in TWRP as soon as you have flashed it

Source Code:

GitHub -

Gerrit for TWRP Official Device Configs -

Gerrit Instance -

If you have made your own twrp build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.

hlte Device Config:



All official devices are listed at the top of the page on the Team Win website. Search for the device in the textbox.


Click for live support or join us in #twrp on Freenode IRC servers
Last edited by bigbiff; 24th June 2015 at 04:08 PM.
The Following 141 Users Say Thank You to bigbiff For This Useful Post: [ View ]
22nd October 2013, 02:33 PM |#2  
OP Senior Recognized Developer
Thanks Meter: 4,978
Donate to Me

- Initial ground work for software drawn keyboard (_that)
- Fix handling of wiping internal storage on datamedia devices (xuefer)
- Allow DataManager to set and read values from the system properties (xuefer)
- Fix crash when taking screenshots on arm64 devices (xuefer)
- Fix error message after an ORS script completes (Dees_Troy)
- Fix crashes / error when creating encrypted backups (_that, Dees_Troy)
- Add system read only option - more details below (Dees_Troy)
- Add resize2fs and GUI option to run resize2fs (Dees_Troy)
- Fix crash loop caused by empty lines in AOSP recovery command file (_that)
- Prevent duplicate page overlays such as multiple lock screens (mdmower)

System read only option: Devices that ship with 5.0 and higher as their initial OS are using block level OTA updates. With this style of OTA update, the update script checks to see if the system partition has ever been mounted read/write. Further, the script also usually runs an SHA sum of the entire system partition to detect if any changes have been made. If any changes have been made, the OTA update will refuse to install. Since not all OEMs and devices have factory images available, we have created a new feature in TWRP that detects if the system partition has ever been mounted read/write. If not, you will be prompted asking if you want TWRP to mount system as read/write. If you choose not to allow TWRP to mount as read/write, TWRP won't prompt to install SuperSU and TWRP won't try to patch the stock ROM to prevent TWRP from being replaced by stock recovery. The goal of this option is to hopefully allow the user to make a raw system image backup that they can use to get back to a state where they can take OTA updates again.

resize2fs feature: On some devices like the Nexus 6, the factory images include a userdata image that is the proper size only for the 32GB units. If you flash the factory image to a 64GB Nexus 6, the data partition will appear as if it only has the free space of a 32GB device. Using the resize2fs option, TWRP can resize your data partition to take up the full space available. The resize2fs may also be useful to resize system partitions on devices where custom ROM system images don't take up the full partition space. Lastly, resize2fs may be useful in some cases to reserve the proper space at the end of a data partition for a full disk encryption key, should your partition be formatted incorrectly for some reason.

This new version also marks our first set of full builds using our new jenkins build server. You can track the progress of builds at and we have taken additional steps to make it easier for device maintainers to step up and submit patches to our gerrit server at to help us keep devices up to date and working.

hlte only
- Fix cmupdater build issues by building in omni-5.1

- Allow mulitple overlays for popup boxes (Dees_Troy)
- Add pattern style password entry for decrypt (Tassadar)
- Keyboard improvements (_that)
- Update AOSP base to 5.1 (Dees_Troy)
- Reduce theme count to 5 and rely on scaling (Dees_Troy)
- Various scaling improvements (Dees_Troy)
- Improved handling of resources in the GUI (_that)
- Make scroll bar size proportional to list size (_that)
- Allow scoll lists to render without a header (_that)
- Make console scroll per pixel with kinetic scrolling (_that)
- Support styles in XML to reduce XML size and improve consistentcy (Dees_Troy)
- Various other fixes and improvements (mdmower, bigbiff, codelover, etc)
- Scale the GUI - TWRP can read the theme's resolution and scale it up or down to fit the theme to your screen's resolution
- Improve thread handling and move input handling into the main rendering thread to improve stability
- Make MTP work even if unplugged and plugged back in
- Unify scrollable list code and make kinetic scrolling feel more natural
- Fix handling of mapped zip files for OTA updates (CM12 updater)
- USB keyboards should now work on all devices that support USB host mode via a USB OTG cable
- Add Cancel Backup capability
- Other small fixes and improvements
- MTP fixes and improvements - you can now copy zips to the root of storage - thanks to _that
- Add flashing of boot and recovery images via the TWRP GUI (Find the Images button on the Install page)
- Fix some MTP related crashes and bugs
- Eliminate TWRP toggling USB IDs during boot if MTP is enabled
- Fix various adb sideload issues
- Improve threading of actions
- Eliminate separate thread for screen timeout
- Update libblkid to 2.25.0
- Use power button as back button on watch themes for easier navigation
- Add mutex locking to data manager
- Improve custom theme handling on encrypted devices
- Allow the stock theme to be offset by build flags so we can center a lower res theme on a higher res screen especially for watches with round screens

- MTP fixes and improvements - you can now copy zips to the root of storage - thanks to _that
- MTP will now tell the host PC that storage is removed instead of disabling MTP completely
- MTP will now report the correct max file size based on the file system in use to the host PC (may fix transfer of large files)
- Update and improve fix permissions and make fixing contexts optional
- Update SuperSU in TWRP to 2.40 and update install process
- Make TWRP work properly on AArch64 (Nexus 9 is now built in true 64-bit binaries and libraries)
- Attempt to set correct permissions and contexts on all files placed in storage so backups will show in Android
- Fix kernel panic during MTP start on some devices
- Support unicode fonts on devices with True Type Font support
- Fix slider value not showing sometimes (vibration settings page)
- Toggle MTP off during adb sideload to set correct USB IDs
- Reduce library requirements for 5.0 L decrypt
- Other minor fixes and improvements
-add F2FS kernel
- add F2FS mkfs utilities
- 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 brightness path
hlte only
- fix mtp device to use to send mtp commands through
- 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 - hlte
- fix hlte kernel to mount f2fs
All thanks to @Dees_Troy
- fix crash in setting contexts on datamedia
- fix restoring data partition as f2fs after formatting f2fs
- mount data after being formatted
- 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. 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
-fix ramdisk size for dd and zip flashing
-fix encryption of backups
-fix booting
-Fix efs restore without md5 generated
-Fix splitting /system and backup size display
-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.

hlte only 4.4 Bootloader
Fix time
Update kernel for 4.4 Bootloader (exfat tested and supported)
Fix EFS Backup and Restore
Fix USB Storage flags again by adding storage flag
Last edited by bigbiff; 24th June 2015 at 04:35 PM.
The Following 26 Users Say Thank You to bigbiff For This Useful Post: [ View ]
22nd October 2013, 02:34 PM |#3  
OP Senior Recognized Developer
Thanks Meter: 4,978
Donate to Me
Last edited by bigbiff; 11th March 2014 at 02:23 PM.
The Following 15 Users Say Thank You to bigbiff For This Useful Post: [ View ]
22nd October 2013, 02:45 PM |#4  
tererai's Avatar
Senior Member
Flag Brisbane, Queensland, Australia, Australia
Thanks Meter: 114
Donate to Me
Thumbs up Thank You!!
This is awesome, my favourite recovery since you guys came out. Love you work, keep up the job, a little donation for a beer coming your way
The Following User Says Thank You to tererai For This Useful Post: [ View ]
22nd October 2013, 02:52 PM |#5  
Richard_10's Avatar
Senior Member
Thanks Meter: 47
Does the EFS Backup Issue (T-mobile note 3 TWRP) solved with this update ?
PS: I own a N9005 (not n900T)
22nd October 2013, 03:05 PM |#6  
Senior Member
Thanks Meter: 28

Thank you for TWRP Recovery.
Sorry for the stupid question but what is the compatible version of TWRP for the SM-N9005?

thank you
22nd October 2013, 03:19 PM |#7  
Senior Member
Flag Shanghai
Thanks Meter: 114
Very nice

Sent from my SM-N9005
22nd October 2013, 03:29 PM |#8  
Khizar's Avatar
Senior Member
Thanks Meter: 8,854
Originally Posted by bigbiff


wow.. really quick, you told me yesterday that you would port it in a couple of days and its already out.. great job.. btw i got a bug to report i have it on both twrp adn cwm, when i tried doing a factory reset on stock odexed rooted rom i start getting FCs... other than the tmo twrp that i have been using works fine

Edit- the goo link give me an erro but the mirror works fine

Originally Posted by Richard_10

Does the EFS Backup Issue (T-mobile note 3 TWRP) solved with this update ?
PS: I own a N9005 (not n900T)

yeah you have an option to not restore efs, and by default is it unselcted.. i resotred an backup about 30 mins ago and no issues

Originally Posted by Cole59


Thank you for TWRP Recovery.
Sorry for the stupid question but what is the compatible version of TWRP for the SM-N9005?

thank you

Last edited by Khizar; 22nd October 2013 at 03:33 PM.
The Following User Says Thank You to Khizar For This Useful Post: [ View ]
22nd October 2013, 03:42 PM |#9  
Senior Member
Thanks Meter: 28
Originally Posted by Khizar


The Following User Says Thank You to Cole59 For This Useful Post: [ View ]
22nd October 2013, 03:49 PM |#10  
Thanks Meter: 8
will this trigger the knox to 0x01?

Sent from my SM-N9005 using xda app-developers app
22nd October 2013, 04:01 PM |#11  
Khizar's Avatar
Senior Member
Thanks Meter: 8,854
Originally Posted by Cole59


no problem

Originally Posted by xuweisheng

will this trigger the knox to 0x01?

Sent from my SM-N9005 using xda app-developers app

yes...flashing any custom recovery, custom rom, or custom kernel will trip the knox binary counter
The Following 3 Users Say Thank You to Khizar For This Useful Post: [ View ]

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

Advanced Search
Display Modes