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][sprat] TWRP 2.8.1.0 touch recovery [2014-10-29]

OP Dees_Troy

26th July 2014, 03:56 AM   |  #1  
Dees_Troy's Avatar
OP Senior Recognized Developer
Flag KC MO
Thanks Meter: 9,761
 
1,611 posts
Join Date:Joined: Mar 2008
Donate to Me
More
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.1.0:
-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

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

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.
Last edited by Dees_Troy; 29th October 2014 at 03:35 PM.
The Following 11 Users Say Thank You to Dees_Troy For This Useful Post: [ View ]
26th July 2014, 03:57 AM   |  #2  
Dees_Troy's Avatar
OP Senior Recognized Developer
Flag KC MO
Thanks Meter: 9,761
 
1,611 posts
Join Date:Joined: Mar 2008
Donate to Me
More
Thanks to @AdamOutler for testing!

It took a lot of effort to make this happen. Adam was able to get UART working. When the kernel source dropped I compiled a kernel. We used information from the UART output to determine correct addresses for kernel, ramdisk, and tags to make our first image. We could tell that it was init'ing and booting via the UART output, but no adb. We were eventually able to get adb by kanging the init.rc from the LG G Watch which allowed us to finally get a rooted shell via adb to dump the factory images. From there we determined that TWRP needed to use Qualcomm's overlay graphics to get display working. With that and some more init.rc work we got TWRP booting up and adb working. With 4 cores running, the Gear Live gets very hot and the battery drains quickly. With more changes to the init.rc we're now running with only 2 cores with a max frequency of 600MHz to keep thermals and battery drain in check.

The theme is undersized. Hopefully next week I can work on upscaling the the 240x240 theme up to 320x320 to fit the full screen. Still, for now I present the first fully working recovery for the Gear Live.

Manual install instructions.

Download folders with current and prior versions:
Mirror 1
Mirror 2
Last edited by Dees_Troy; 26th July 2014 at 05:06 AM.
The Following 11 Users Say Thank You to Dees_Troy For This Useful Post: [ View ]
26th July 2014, 10:06 AM   |  #3  
Senior Member
Thanks Meter: 47
 
179 posts
Join Date:Joined: Jul 2005
TWRP installed and backup made. Let the custom ROMs begin

Sent from my D6503 using XDA Premium 4 mobile app
26th July 2014, 04:07 PM   |  #4  
Member
Thanks Meter: 6
 
44 posts
Join Date:Joined: Nov 2004
Recovery installed fine, but now my only option appears to boot into recovery, regardless of what I select from twrp or bootloader, cannot boot into the OS.
The Following User Says Thank You to rant For This Useful Post: [ View ]
26th July 2014, 09:32 PM   |  #5  
Quote:
Originally Posted by rant

Recovery installed fine, but now my only option appears to boot into recovery, regardless of what I select from twrp or bootloader, cannot boot into the OS.

Sounds like you did Fastboot flash boot recovery.img.
The Following User Says Thank You to AdamOutler For This Useful Post: [ View ]
26th July 2014, 11:04 PM   |  #6  
Member
Thanks Meter: 6
 
44 posts
Join Date:Joined: Nov 2004
Quote:
Originally Posted by AdamOutler

Sounds like you did Fastboot flash boot recovery.img.

Crap, you may be right. Any suggestions on how to resolve? I did download your factory image but not sure where to start
26th July 2014, 11:13 PM   |  #7  
Junior Member
Thanks Meter: 4
 
4 posts
Join Date:Joined: May 2009
Same issue here. Recovery seemed to install fine, but every time I try to boot to system it loops back to recovery. Trying to figure out Adams factory image too. Doesn't seem like there's a download mode on the watch so I assume odin is out?
26th July 2014, 11:24 PM   |  #8  
Senior Member
Thanks Meter: 47
 
179 posts
Join Date:Joined: Jul 2005
I installed twrp fine using fastboot flash recovery recovery.IMG. have to use a PC to boot into it tho

Sent from my D6503 using XDA Premium 4 mobile app
27th July 2014, 12:09 AM   |  #9  
Dees_Troy's Avatar
OP Senior Recognized Developer
Flag KC MO
Thanks Meter: 9,761
 
1,611 posts
Join Date:Joined: Mar 2008
Donate to Me
More
Those of you who flashed TWRP to the boot partition can download the boot.img from Adam's dump of the stock software and flash it using fastboot mode with this command:
fastboot flash boot boot.img
The Following User Says Thank You to Dees_Troy For This Useful Post: [ View ]
27th July 2014, 01:07 AM   |  #10  
Junior Member
Thanks Meter: 4
 
4 posts
Join Date:Joined: May 2009
Still no luck. Flashed stock boot.img. Trying to boot to system returns to TWRP. Trying to install SuperSU, factory wipe, or ADB sideload all generate errors "unable to mount '/data'", '/data/media', storage, etc. Applying KVM78X update will get me as far as the spinning colored dots..

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

Advanced Search
Display Modes