Post Reply

[RECOVERY][09-18-2014] TWRP2 Touch Recovery 2.8.0.3

OP tdhite

16th February 2014, 11:32 PM   |  #1  
OP Senior Member
Flag DFW
Thanks Meter: 2,171
 
1,081 posts
Join Date:Joined: Dec 2012
Donate to Me
More
[RECOVERY] TWRP 2.8.0.3 Touch Recovery
The most up to date TWRP available for the M7SPR, with enhancements others are now migrating to their repos / phones (battery feedback, performance, etc.).
--------------------------

With permission graciously granted by the venerable @Dees_Troy I am opening this thread for further developing and maintaining the TeamWin Recovery Project (TWRP or TWRP2) for the Sprint HTC One (m7wls) device.

Want to Donate to me?
Cool! Not required, but I certainly appreciate all donations. I do risk my phone with every build I test, so some backup bucks for a dev phone (or even a dev phone if you have one to send) would be great. To donate, click my Donate button or just Go Here.

** General Description and Use **

Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. 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. For more details, look to @Dees_Troy's original description.

Why the new thread? Because TWRP2 is now as up to date for Sprint HTC Ones (m7wls) as any other device. Indeed the issues so many have complained about regarding the first release of the recovery for our phone are all fixed. @Dees_Troy once wrote, quite accurately, that anyone could compile and fix the issues if they wanted because TWRP2 is fully open source. Well, that's the point -- it's done now, and I plan to keep updating, regularly, this recovery.

What Works (see also Change Logs and Issues List):
It appears everything, including OTG Support, off-line charging with notifications (LED and UI), screen-blank, and much more. Alas, bugs happen so if you find one, please post the relevant information about the bug here and create an issue on the github project for TWRP2 Sources given below. Devs, please use the updater-binary provided in this thread. Please read the "TWRP2 Things to Watch Out For" section in Change Logs and Issues List for details on why.

Reported Issues, Recent Updates and Things To Watch Out For: Read the Change Logs and Issues List.
To save you some headaches -- seriously -- read the Change Logs and Issues List -- particularly dealing with backups on newer versions like this and older versions, e.g., 2.6.3 or below.

FIRST AND FOREMOST NOTICE:

*** Use this custom recovery at your own risk. It is possible that use of this software may violate your carrier's Terms of Use/Terms of Service. Read the DISCLAIMER before committing to the use of this application.***

SECOND (AND JUST AS 'FOREMOST'), We all should recognize and give generous thanks to @Dees_Troy and the contributors to Team-Win-Recovery-Project ("TWRP"). Further, the same recognition and thanks should go to Steve Kondik And Koushik Dutta and team for creating CyanogenMod. Both of those projects are the basis of all TWRP builds you download here. Between these giants we get to reap huge benefits and just add that which we need. In short, any work I do here is merely standing on the shoulders of those mentioned above. To see the history of TWRP on our Sprint HTC Ones, look to this thread. Finally, give thanks to @kushdeck for his initial work on the device tree for m7wls devices.

** PREREQUISITES **

1) A rooted, Sprint HTC One (m7wls) Android phone;
2) The phone has an unlocked bootloader.

If you don't know what the above means, don't try to install this recovery by yourself -- that's why we have the Sprint HTC One Q&A, Help & Troubleshooting thread.

** INSTALLING **
Install through fastboot. If you don't know how to do that, you should not yet try to do so or even download this recovery. This is not a support thread for installing recoveries, it is a development thread for developing and enhancing the TWRP2 recovery for m7wls devices. To learn about installing recoveries, please post to the Sprint HTC One Q&A, Help & Troubleshooting thread.

Source Code:
The sources for the entire recovery are open source and you can build your own if you like. To do so, read How to compile TWRP touch recovery. For the specific sources necessary for the Sprint HTC One (m7wls) I keep sources up to date here:Feel free to fork those and send pull requests as you see fit.
Last edited by tdhite; 19th September 2014 at 08:50 PM. Reason: Version update, adding Source link to System/Core
The Following 51 Users Say Thank You to tdhite For This Useful Post: [ View ]
16th February 2014, 11:33 PM   |  #2  
OP Senior Member
Flag DFW
Thanks Meter: 2,171
 
1,081 posts
Join Date:Joined: Dec 2012
Donate to Me
More
Disclaimer
*** Legal Disclaimer -- READ ALL OF THE FOLLOWING ***

If you use the software, or convey it to someone else, you and all subsequent
conveyees are bound by the following:

# LEGAL DISCLAIMERS AND ASSUMPTION OF THE RISK BY THE USER OF THIS PROGRAM

# Assumption of the Risk of Use
# YOU ASSUME, AND AGREE TO ASSUME, ALL THE RISK OF HARM BY USING THIS
# PROGRAM. THIS PROGRAM MAY VOID YOUR WARRANTY WITH A THIRD PARTY,
# IT MAY IMPROPERLY OPERATE AND DAMAGE YOUR DEVICE, IT MAY CAUSE ANY
# MYRIAD OF HARMFUL OUTCOMES REGARDING YOUR DEVICE OR THE USE OF THE DEVICE
# ON WHICH IT GETS INSTALLED. YOU ACKNOWLEDGE THAT YOU ARE AWARE OF THOSE
# RISKS, UNDERSTAND THOSE RISKS, AND VOLUNTARILY AND INTELLIGENTLY ELECT
# TO ENGAGE THOSE RISKS BY USING THE PROGRAM.

#Disclaimer of Warranty.
# THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
# LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
# OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
# EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
# THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
# YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME ALL LIABILITY AND
# AGREE THAT IN NO EVENT WILL YOU SEEK ANY FORM OF RECOMPENSE, WHETHER LEGAL OR
# EQUITABLE, INCLUDING BUT NOT LIMITED TO NECESSARY SERVICING, REPAIR,
# CORRECTION OR OTHERWISE.

#Limitation of Liability.
# IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
# ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE
# PROGRAM, PERMITTED OR NOT, BE LIABLE TO YOU FOR LEGAL DAMAGES OR EQUITABLE
# RELIEF, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
# ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT
# LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED
# BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
# PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGES.
Last edited by tdhite; 17th February 2014 at 03:03 PM. Reason: removed signature
The Following 19 Users Say Thank You to tdhite For This Useful Post: [ View ]
16th February 2014, 11:33 PM   |  #3  
OP Senior Member
Flag DFW
Thanks Meter: 2,171
 
1,081 posts
Join Date:Joined: Dec 2012
Donate to Me
More
Downloads
Current Releases:

TWRP2 Recovery 2.8.0.3
MD5: 4967f4139e6a89ec38fdcdf3363fa183
IMPORTANT!!!: If you are upgrading from a version less than 2.7.1.3, please run a nandroid backup of your ROM before loading the new TWRP. A latent command to wipe your data partition may be lurking in your /misc partition from a prior factory reset request if you ever requested that at the bootloader menu. This TWRP will honor that (as will all TWRP versions containing the new code).

Updater Binary (updater-binary for flashable zips) 2.7.1.2
MD5 Hash: 96d04c2df94e421bcd4cd2feba47cc17
Devs -- This updater-binary is for use in your flashable zips if your users are having problems with 'asserts on getprops.' This is fully TWRP2 compatible (in effect, Android 4.3 and Android 4.4 compatible). For documentation and supported updater-script functionality, see this post.
Prior Releases:

TWRP2 Recovery 2.8.0.2
MD5: aebcb0eb2fa171e77bdd7e005c45f8ba
IMPORTANT!!!: Before loading the new TWRP, please run a nandroid. A latent command to wipe your data partition may be lurking in your /misc partition from a prior factory reset request if you ever requested that at the bootloader menu. This TWRP will honor that (as will all TWRP versions containing the new code).

TWRP2 Recovery 2.7.1.3
MD5: 9b62f4fc94fa2fc2c9c834e8602773cd
IMPORTANT!!!: Before loading the new TWRP, please run a nandroid. A latent command to wipe your data partition may be lurking in your /misc partition from a prior factory reset request if you ever requested that at the bootloader menu. This TWRP will honor that (as will all TWRP versions containing the new code -- official or not).

TWRP2 Recovery 2.7.1.2
MD5: 0078cafec08e3dae169191a31ca94571

Updater Binary 2.6.3.4a (updater-binary for flashable zips)
MD5 Hash: ac14398cc826e8932d1e007a5b476c12

TWRP2 Recovery 2.7.1.1
MD5: 0078cafec08e3dae169191a31ca94571

TWRP2 Recovery 2.7.0.9
MD5: c8c24a041802492543d533d8b3d3f853

TWRP2 Recovery 2.7.0.4b
MD5: 84f2c210b0cf4dcc5e00d6e7becec636

TWRP2 Recovery 2.7.0.4
MD5: d49f435e1d6ad1880ad0d938bd6fb38b

TWRP2 Recovery 2.7.0.3
MD5: 2cbeb54429a96063898578160720b4c1

TWRP2 Recovery 2.7.0.2
MD5: 8dd6520d18668f92c8daa29128ad07a7

TWRP2 Recovery 2.6.3.4a
MD5: 6c10577b5b587e7f44b2b1d7f0659216

TWRP2 Recovery 2.6.3.4
MD5: 107d81dcabacc777f14f42656847ec5c[/INDENT]
Last edited by tdhite; 19th September 2014 at 07:44 PM. Reason: Updated versions.
The Following 25 Users Say Thank You to tdhite For This Useful Post: [ View ]
16th February 2014, 11:34 PM   |  #4  
OP Senior Member
Flag DFW
Thanks Meter: 2,171
 
1,081 posts
Join Date:Joined: Dec 2012
Donate to Me
More
Change Logs and Current Issues
Current Release:
Version 2.8.0.3 (09-18-2014)
  • Includes all prior features from 2.7.x.x, 2.8.0.1 and 2.8.0.2;
  • Increased SELINUX and POSIX compliance for a bit more future-proofing;
  • Supports for older (Jelly Bean) crypto;
  • Battery LED support for charging (as always from this TWRP);
  • Updated off-mode charging battery graphics (now from latest (standard) CM 11.0 sources, which are quite nice);
  • Performance mode for long operations (as always from this TWRP);
  • Synced with Android 4.4.4 / CM-11.0 sources as of date of build (and don't worry -- still supports prior versions);
  • Synced with OmniRom TWRP2 underlying sources as of date of build;
  • Updated exFAT support.

Updater-binary Version 2.7.1.2-06-18-2014 Change Logs:
  • Android 4.4 source tree compatible -- particularly alleviates assert(getprop ...) errors on which old updater-binaries fail;
  • Built with CM11 with up to date TWRP2 sources as of date of the build.

Prior Releases:

Version 2.8.0.2 (09-14-2014)
  • Includes all features of 2.8.0.1 -- Note MTP support is very cool;
  • Battery LED support for charging (as always from this TWRP);
  • Performance mode for long operations (as always from this TWRP);
  • Synced with Android 4.4.4 / CM-11.0 sources as of date of build (and don't worry -- still supports prior versions);
  • Synced with TWRP2 underlying sources as of date of build;
  • Ext4 file system synced with HTC version (instead of CM-11, as that has bugs);
  • Updated exFAT support.

Version 2.7.1.3 (07-19-2014)
  • Fixes /misc partition overwrites to incorrect area (a long standing bug in the official TWRP);
  • Now using by-name partitioning scheme for all mounts;
  • More feedback while doing operations;
  • Added /devlog as a mountable partition (great for devs and those wanting to erase the files and/or look into the logs;
  • Synced with CM-11 underlying sources as of date of build;
  • Synced with TWRP2 underlying sources as of date of build;
  • Updated off-line battery charger application with latest android code and blue text.


Version 2.7.1.2 (06-18-2014)
  • General maintenance release includes kernel bug fixes/updates;
  • Synced with CM-11 underlying sources as of date of build;
  • Sycned with TWRP2 underlying sources as of date of build;
  • Updated off-line battery charger application with latest android code and blue text.

Version 2.7.1.1 (06-05-2014)
  • General maintenance release includes kernel bug fixes/updates;
  • Synced with CM-11 underlying sources as of date of build;
  • Sycned with TWRP2 underlying sources as of date of build.

Updater-binary Version 2.6.3.4-02-22-2014 Change Logs:
  • Android 4.4 source tree compatible -- particularly alleviates assert(getprop ...) errors on which old updater-binaries fail;
  • Built with CM11 with up to date TWRP2 sources as of date of the build.

Version 2.7.0.9 (05-01-2014)
  • Upgraded kernel to support (arguably inappropriately forced) CM-11 ROM updater-script changes;
  • Support for CM-11 based builds using only ".md5sum" as opposed to ".md5" as the suffix to md5 hash files;
  • Synced with CM-11 underlying sources as of date of build.
  • Sycned with TWRP2 underlying sources as of date of build.
  • Version bump to cover the fact that CM-11 team put out some TWRP builds with (seemingly) randomly picked version numbers to try to cover on the (forced) updater-script changes.
  • Many other fixes.

Version 2.7.0.4b (04-06-2014)
  • Fixes 'set_metadata_recursive some files failed" message, which caused install failure of some Sense 6 ROMs.

Version 2.7.0.4 (03-31-2014)
  • Minor change to /etc/fstab to help some troublesome USB sticks;
  • FITRIM support for ext4 (fstrim works in recovery);
  • New offmode battery charging app -- new graphics and real-time battery charge percentage reporting;
  • Synced with CM-11 underlying sources to date of the 03-29-2014.

Version 2.7.0.3 (03-25-2014) Change Logs:
  • Slipstreamed in fix for slow formats on zip flashables -- if you have a prior build of this (look at the date on your flash .img file), redownload this and reflash;
  • Upgraded all underlying bits to current CyanogenMod build (cm-11.0 as opposed to older Nov. 2013 snapshot of stable/cm-11.0) -- source code synced with CM repo commits as of the date of the build;
  • All new kernel - using the standard (supported) msm8960 cm11.0 Sprint kernel as opposed to m7 basis -- decreases recovery size by roughly 500Kbytes;
  • All TeamWin committed bug fixes up to the date of the build (see https://github.com/omnirom/android_bootable_recovery);
  • Fairly aggressive thermal CPU throttling when in performance mode -- tweaks will be forthcoming based on user feedback for allowing higher temps before throttling.
  • Note: the TeamWin splash page comes up later than before so don't let that confuse.

TWRP2 Version 2.7.0.2 Change Logs:
  • All changelogs consistent with official TWRP2 2.7.0.1 release
  • Includes backward compatibility with old update-binaries (@Dees_Troy's patch after 2.7.0.1 release)
  • All other tdhite's enhancements from prior builds
  • Modified Performance mode to run with OnDemand kernel governor as opposed to Performance (runs CPUs a little cooler)
  • Still based on CM11 -- I am debating whether, given the patch release above, that CM10.2 is worth it in the end.

TWRP2 Version 2.6.3.4a Change Logs:
  • Added multi-core support for flash and nandroid long running operations -- message notifies you when performance mode is on or off;
  • Added screen dim settings;
  • Enhanced file searching for openrecovery scripts;
  • @elvisypi's off-line charging graphics, now committed until another cool set arrives.

TWRP2 Version 2.6.3.4 Change Logs:
  • All known issues fixed (OTG support, Screen Blank/Revive, off-line charging animation and screen blank, and much more);
  • Battery Charging LED support (mimics standard booted ROM LED indicators).


TWRP2 Things to Watch Out for:
  • Users have reported incompatibility of backups from the (long ago) release 2.6.3.0, though no problems with backup/restore done with the current release. To work around, restore ROM in prior release then flash new TWRP2 release and backup again.
  • IMPORTANT: A number of flashable zips include old (only Android 4.3 or below compatible) updater-binary executables. Those may cause "getprop" assertion errors (though generally should not as TWRP2 2.7.0.2 and above detect that and provide internal mappings for the old updater-binaries).
  • There are some themes in use that prevent folks from seeing the Vibration settings. IF YOU ARE USING A THEME -- PLEASE RUN IT WITHOUT THE THEME BEFORE REPORTING BUGS -- TWRP DOES NOT PROMISE THEMES ARE BACKWARD COMPATIBLE
  • Some folks execute a "fastboot erase cache" after flashing a recovery. Do not do that! Instead, either "fastboot format cache" or leave it alone. The fastboot erase cache command just blows the file system away and leaves you with an unmountable /cache partition until it's formatted (wipe will do that if you end up with errors about 'cannot mount /cache').
Last edited by tdhite; 24th September 2014 at 12:59 PM. Reason: adding hides -- for smaller screen space 'taking'
The Following 23 Users Say Thank You to tdhite For This Useful Post: [ View ]
16th February 2014, 11:34 PM   |  #5  
BD619's Avatar
Forum Moderator
Flag Xda-Dev,NV
Thanks Meter: 7,918
 
8,274 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Nicely done sir

BTW first
@tdhite if you need a Dev-Host or AFH mirrors let me know I'll post here

AFH Mirror
Dev-Host Mirror
Last edited by BD619; 17th February 2014 at 12:07 AM.
The Following 7 Users Say Thank You to BD619 For This Useful Post: [ View ]
16th February 2014, 11:44 PM   |  #6  
Senior Member
Thanks Meter: 251
 
1,467 posts
Join Date:Joined: Jun 2012
Quote:
Originally Posted by BD619

Nicely done sir

BTW first

Let me know how it goes

Sent from my HTCONE using xda app-developers app
The Following User Says Thank You to androidforeve For This Useful Post: [ View ]
16th February 2014, 11:48 PM   |  #7  
budeone's Avatar
Senior Member
Flag Lombard IL
Thanks Meter: 1,893
 
3,354 posts
Join Date:Joined: Aug 2010
More
Cant wait to try this...
The Following User Says Thank You to budeone For This Useful Post: [ View ]
16th February 2014, 11:53 PM   |  #8  
OP Senior Member
Flag DFW
Thanks Meter: 2,171
 
1,081 posts
Join Date:Joined: Dec 2012
Donate to Me
More
Quote:
Originally Posted by BD619

Nicely done sir

BTW first
@tdhite if you need a Dev-Host or AFH mirrors let me know I'll post here

Yea -- I do. My mirrors are fine too, but I'd really like this in the mirrors most folks have familiarity with. Thanks so much. If you upload somewhere like that, lemme know and I'll update the download links.
The Following 4 Users Say Thank You to tdhite For This Useful Post: [ View ]
17th February 2014, 12:14 AM   |  #9  
FrozenRiff's Avatar
Senior Member
Flag Los Angeles, CA
Thanks Meter: 4,490
 
9,968 posts
Join Date:Joined: Feb 2010
More
Thanks for your contribution man!

Sent from my HTCONE using Tapatalk
The Following 4 Users Say Thank You to FrozenRiff For This Useful Post: [ View ]
17th February 2014, 12:37 AM   |  #10  
benny3's Avatar
Recognized Contributor
Flag MICH
Thanks Meter: 2,731
 
2,165 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Sweet well done!!. Thank you much sir. One request, can we get the option to turn off vibration please

The Following 2 Users Say Thank You to benny3 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
m7wls, recovery, twrp2
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Sprint HTC One Android Development by ThreadRank