5,815,179 Members 38,936 Now Online
XDA Developers Android and Mobile Development Forum

[RECOVERY][N1] TWRP 2.8.0.1 touch recovery [2014-09-12]

Tip us?
 
Dees_Troy
Old
(Last edited by Dees_Troy; 12th September 2014 at 09:15 PM.)
#1  
Dees_Troy's Avatar
Senior Recognized Developer - OP
Thanks Meter 9,401
Posts: 1,597
Join Date: Mar 2008
Location: KC MO

 
DONATE TO ME
Default [RECOVERY][N1] TWRP 2.8.0.1 touch recovery [2014-09-12]

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:


CHANGELOG for 2.8.0.1:
-Fix a bug that causes weird graphics glitches and touch issues

CHANGELOG for 2.8.0.0:
-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.

CHANGELOG for 2.7.1.0:
-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

CHANGELOG for 2.7.0.0:
-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.

DOWNLOAD:
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
OR:
You can find more information and download links on our website!

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

SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
The Following 9 Users Say Thank You to Dees_Troy For This Useful Post: [ Click to Expand ]
 
Dees_Troy
Old
(Last edited by Dees_Troy; 21st November 2013 at 08:06 PM.)
#2  
Dees_Troy's Avatar
Senior Recognized Developer - OP
Thanks Meter 9,401
Posts: 1,597
Join Date: Mar 2008
Location: KC MO

 
DONATE TO ME
Default Reserved

Device page on our website with instructions for a manual install.

Link to download.
Mirror
The Following 4 Users Say Thank You to Dees_Troy For This Useful Post: [ Click to Expand ]
 
willverduzco
Old
#3  
willverduzco's Avatar
Portal Administrator
Thanks Meter 2,855
Posts: 6,327
Join Date: Apr 2010
Location: n͖̜̺y̥͔̗̝̠̩̜c̖͙͇̲̞

 
DONATE TO ME
Fantastic work, as always, @Dees_Troy. It's always nice to see (official) TWRP on new (and dev-friendly) devices. I've posted this to the XDA Portal.
Want something on the XDA Portal? Send us a news tip! - [moderate | film | foto | develop]
The Following 2 Users Say Thank You to willverduzco For This Useful Post: [ Click to Expand ]
 
Harfainx
Old
#4  
Harfainx's Avatar
Recognized Contributor
Thanks Meter 607
Posts: 974
Join Date: Apr 2010
This is fantastic! It couldn't have come at a better time. So many things to flash...
team d3rp

nVidia Shield Tablet Archos Gamepad 2 OUYA Nexus 10 Nexus 7 (2013)
OnePlus One HTC One M8 HK (Sprint) Samsung Galaxy S4 (Sprint)

Recycled phones: Oppo N1, HTC One M7, HTC EVO 4G LTE, SGS3, HTC EVO 3D, HTC EVO 4G, HTC Hero, HTC Touch Pro 2, LG Rumor 2, + Older
Recycled Tablets: Archos Gamepad, Nexus 7 (2012), Archos G9 101, Archos G8 101, Archos 9 PC, Archos 5 (Android)
 
rayfin
Old
#5  
Senior Member
Thanks Meter 92
Posts: 155
Join Date: Jan 2011

 
DONATE TO ME
Anyone happen to have the stock recovery? TWRP works great for flashing all the things, except the stock CM ROM. I know, I know, I didn't make a backup. I'm a baddie.
Current Devices:
Moto X, Oppo Find 7a, Nexus 7 2013

Past Devices:
HTC Droid DNA, Nexus 7 2012, Acer Iconia A500, Nexus 4, Galaxy Nexus, HTC Incredible

Circle me on Google+
 
Entropy512
Old
#6  
Senior Recognized Developer
Thanks Meter 24,381
Posts: 13,280
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by rayfin View Post
Anyone happen to have the stock recovery? TWRP works great for flashing all the things, except the stock CM ROM. I know, I know, I didn't make a backup. I'm a baddie.
Try the attached test build

It's almost identical but was built from a 4.3 tree instead of 4.4, which resolves the issues with 4.4 recoveries flashing older update-binaries

(For complete source, look at the android-4.3 branches of the oppo n1 on omnirom along with a few patches to the 4.3 n1 branch on omni gerrit - note that the 4.3 device tree is ONLY intended to support recovery building and nothing else.)
Attached Files
File Type: img n1_twrp_43.img - [Click for QR Code] (7.06 MB, 125 views)
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
 
rayfin
Old
#7  
Senior Member
Thanks Meter 92
Posts: 155
Join Date: Jan 2011

 
DONATE TO ME
Quote:
Originally Posted by Entropy512 View Post
Try the attached test build

It's almost identical but was built from a 4.3 tree instead of 4.4, which resolves the issues with 4.4 recoveries flashing older update-binaries

(For complete source, look at the android-4.3 branches of the oppo n1 on omnirom along with a few patches to the 4.3 n1 branch on omni gerrit - note that the 4.3 device tree is ONLY intended to support recovery building and nothing else.)
Hehe This is who you worked with last night. Thanks again for all of your work last night
Current Devices:
Moto X, Oppo Find 7a, Nexus 7 2013

Past Devices:
HTC Droid DNA, Nexus 7 2012, Acer Iconia A500, Nexus 4, Galaxy Nexus, HTC Incredible

Circle me on Google+
 
Entropy512
Old
#8  
Senior Recognized Developer
Thanks Meter 24,381
Posts: 13,280
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by rayfin View Post
Hehe This is who you worked with last night. Thanks again for all of your work last night
LOL. Didn't mouseover your G+ link... :P
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
 
giuliano rigon
Old
#9  
Member
Thanks Meter 5
Posts: 60
Join Date: Oct 2011
Quote:
Originally Posted by Entropy512 View Post
LOL. Didn't mouseover your G+ link... :P
Can i just flash 2700 in recovery , i am on 2630.. Thank you
 
giuliano rigon
Old
#10  
Member
Thanks Meter 5
Posts: 60
Join Date: Oct 2011
Quote:
Originally Posted by Entropy512 View Post
LOL. Didn't mouseover your G+ link... :P
Can i just flash 2700 in recovery , i am on 2630.. Thank you

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes