yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] tdhite:
Ok, brother -- we have work to do. It's not TWRP2 (at least not the build), but there's definitely a problem on your phone. From the boot process:

/cache | /dev/block/mmcblk0p38 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent

Primary_Block_Device: /dev/block/mmcblk0p38

Display_Name: Cache

Storage_Name: Cache

Backup_Path: /cache

Backup_Name: cache

Backup_Display_Name: Cache

Storage_Path: /cache

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

The /cache partition *cannot* be 0MB, by definition. That's easy to fix, though. The question is -- why do you have an invalid /cache partition??? We need to solve that -- forget this new recovery.

I'm sharing a proper boot sequence (attached) for the partitions. The key is notice the correct /cache partition block device:

/cache | /dev/block/mmcblk0p38 | Size: 629MB Used: 24MB Free: 605MB Backup Size: 24MB

. . .

wft, man -- what's with your cache partition?

[Edit]: the problem with the phone was the use of "fastboot erase cache" as opposed to using "fastboot format cache" for 'hand' clearing the cache partition before booting the recovery. The former remove the file system from the partition, therefore there's nothing to mount (thus the errors). The latter does create a file system on /cache. Do the latter in all cases if you really feel the need to clear /cache manually. I updated the OP for this as well in the event others do the same.
[Sprint HTC One (M7)] Sloth:
Ok here is an update [MENTION=4988866]tdhite[/MENTION] and I got a few things figured out.

I was always told to type fastboot erase cache after flashing a recovery, that seems to be an issue with this recovery so don't do it lol.

The other thing I had a problem with is, that I made a backup using TWRP 2.6.3.0 and tried to restore using TWRP 2.6.3.4 and it said successful but never made it past the splash screen. I had to hard reset and re-flash TWRP 2.6.3.0 in order for the backup to work.

[MENTION=4988866]tdhite[/MENTION] is gonna do some more digging around with that issue he will keep us posted.

I have not tried doing a backup using TWRP 2.6.3.4 and restoring with 2.6.3.4 so not sure if that will work either.

Update #2

Re-flashed TWRP 2.6.3.4

Made a backup using TWRP 2.3.6.4

Flashed rom...flashed fine

Restored my backup using TWRP 2.3.6.4 was successful, booted just fine.

So it seems backups made with 2.6.3.0 are not compatible with 2.6.3.4

I'm sure [MENTION=4988866]tdhite[/MENTION] will get it sorted out shortly :D
[Sprint HTC One (M7)] Aldo101t:
BD i restored a backup from 2.6.3.0 with 2.6.3.4 and it was fine??(this was after the failed rom and a complete wipe, then i restored the backup made on 2.6.3.0)
[Sprint HTC One (M7)] Sloth:
IDK bro I tried 3 times once while I was on hangouts with tdhite

Gets stuck at the splash screen
[Sprint HTC One (M7)] Aldo101t:
crazy, man
[Sprint HTC One (M7)] elvisypi:
Yes it's a problem with the fastboot erase cache I believe. But even if you do it, you should boot the phone first, than afterwards go to recovery, not directly. I am sure it's not a problem with this recovery, I have had it with previous version aswell.
[Sprint HTC One (M7)] Sloth:
This is the first time I have ever had a problem with fastboot erase cache

I'll just stop using it lol
[Sprint HTC One (M7)] elvisypi:
Probably the other times you didn't boot direcly to recovery to wipe. I just tried to restore an old backup with the old recovery, stuck at boot.
[Sprint HTC One (M7)] avwheeler:
On earlier revisions I experienced similar restoring, I knew better, but kept on using the theme I really liked. So I would usually have something to flash after restoring, so I would wipe cashes, however due to theme it would wipe cache and system. Anyway was not recovery just my stubbornness to get rid of theme. Also wiping caches is now 1st and 3rd vs 1st and 2nd so have to get used to newer layout.

Sent from my HTC One on some Awesome Rom..
[Sprint HTC One (M7)] elvisypi:
Restoring 2.6.3 backups doesn't work. Backups made with the new recovery work though
[Sprint HTC One (M7)] rootlinux:
I found this out last night.

Made 2.6.3.4 into a flashable zip so I can easily switch between the 2.6.3.0 and 2.6.3.4 to access old backups.

Will probably just make new backups of my old roms though.
[Sprint HTC One (M7)] tdhite:
So the gist is: inconvenient that backups are not (currently) backward compatible. Worst case for folks (at the moment) is restore any desired backups with old TWRP, backup with new TWRP, good to go). Painful? Possibly. Critital? not so sure. With all the other fixes, it's hard to imagine (to me, anyway) foregoing those for a bit of backup transfer work. No matter -- a fix I'll find.

With all that said, recent commits on TWRP source (and in this recovery) changed the tar archiver -- likely culprit (see commit). I'll find a fix over time -- nothing yet has stopped me from squashing bugs once noted :).
[Sprint HTC One (M7)] elvisypi:
If you just wanna switch recoveries, install recovery tools from play store, it installs them pretty easily no need for pc or anything

---------- Post added at 01:55 PM ---------- Previous post was at 01:44 PM ----------

It's really no problem at all. Just write it in the OP so that people don't mess things up.
[Sprint HTC One (M7)] rootlinux:
I can flash easily within Android but there could be a time when you become locked out of Android and with the wrong recovery flashed.

That is why I made the flashable.

Covering all bases to save any headaches in the future.

In case anyone wants to test this or use it.

If OP wants it removed I will take this link down.

http://d-h.st/PRL

Much thanks for this recovery as ViperONE had to have it to backup.
[Sprint HTC One (M7)] tdhite:
Hmmm -- realistically I can't stop anyone from making new distribution models -- it is, after all, open source. With that said -- so long as you're willing to deal with any support requests from folks trying out your flashable, and you updated it all the time with new builds that I produce, then it seems fine and I can post that on the 'custom builds' area. Frankly I'm a believer in community additions (@elvisypi gave me some cool graphics for battery animations while charging off-line -- I plan to repack the recovery with those and post that soon as well).

Let me know how you want to handle the flashable. My visceral reaction is we need to either: 1) keep things supported and open in the first posts; or 2) nix them before all sorts of madness ensues. Recoveries are really important. On the flip side -- my ego is so big I could care less about download counts, if that's what you were thinking I might worry about.:D
[Sprint HTC One (M7)] rootlinux:
I am willing to keep up with packaging the recoveries to make flashable.

That is no problem at all my friend. :)

I don't have a big ego but on the flip side I do love giving back to the community so it all works out. ;)
[Sprint HTC One (M7)] ccs86:
Anyone??
[Sprint HTC One (M7)] n0mad73:
There aren't any issues with the latest that I've come across.
[Sprint HTC One (M7)] inor0276:
Can I use this "Bootloader control block (BCB) reset script" on my M7ul?

Please let me know, thanks in advance.
[Sprint HTC One (M7)] tdhite:
Did you even read the OP set? The Change Logs tell you about things to consider. Upgrade should be fine.

http://xdaforums.com/showpost.php?p=50383578&postcount=4

Look for "TWRP2 Things to Watch Out for[.]"
[Sprint HTC One (M7)] ccs86:
I did read the OP, including that section. Just making sure that nothing else had evolved, that wasn't mentioned there. I'm sensing a tone that this annoys you.
[Sprint HTC One (M7)] Sloth:
I have a better idea...since all your posts concern troubleshooting and are not development related I'll move your posts to Q&A, Help, Troubleshooting.

Maybe you will get less flooding. :)
[Sprint HTC One (M7)] nick_fc:
as you wish.

the same my thread is already there in Q&A, but still nobody answred. http://xdaforums.com/htc-one/help/problem-installing-launching-twrp-m7-t2954112

and you are very wrong with name of thread you've created from my posts. it seems to me like you even did not read my posts before giving name to the thread. you are not serious
[Sprint HTC One (M7)] Sloth:
The reason you are not getting much help in your Q&A thread is because it's posted in the wrong section.

Changed the title of the new thread to match yours.

So please no more off topic here.
[Sprint HTC One (M7)] letmeputdatipin:
Has anyone flashed cm 12 lollipop with this recovery without issues?
[Sprint HTC One (M7)] tdhite:
Working on PAC-man ROM 5.x and flash pretty much every day. CM 12 is a basis of PAC, so it's the same basic game.

Are you having probs?

With all that said -- I'm considering putting out a 2.8.1.x build because it seems the TWRP folks are a tad busy with OmniROM right now getting it LP ready as well. Thus no recent updates to the TWRP. If y'all want that, let me know.
[Sprint HTC One (M7)] Aldo101t:
works fine with cm12
[Sprint HTC One (M7)] letmeputdatipin:
I've compiled my own cm12 build but can't get it to boot past the HTC screen and I'm trying to narrow down what my issue might be.
[Sprint HTC One (M7)] hotaru2k3:
could you do a 2.8.2.x build? it would be really nice to have support for lollipop encryption, but the latest official build for our device is 2.8.1.0.
[Sprint HTC One (M7)] Cj719:
Update from twrp released will this be updated also
[Sprint HTC One (M7)] galaara98:
I am also reliant on this.... but to be honest, I prefer your versions over the official and am willing to wait

Aaron
[Sprint HTC One (M7)] tdhite:
I'll cut a couple builds in the next couple days. One CM12 based, one CM11 based. That way you can have Android 5.0 based code where you really want a Lollipop base, and KitKat for known stability.
[Sprint HTC One (M7)] galaara98:
Bump... Because we love your recovery

Aaron
[Sprint HTC One (M7)] v1ral:
Is there differences from 2.8.0.3 to say 2.8.4 official, I'm trying to narrow down something. Been using 2.8.0.3 since last year and haven't updated or seen an update to this, while official just got a 2.8.4.x or something like that.
[Sprint HTC One (M7)] Osama Zabin:
here is the change log:

http://teamw.in/project/twrp2

one new feature is flash img files from recovery GUI, anyways this was already available since long time, thanks to [MENTION=2719389]z31s1g[/MENTION] for his awesome themes

http://xdaforums.com/google-nexus-5/themes-apps/theme-twrp-materialised-dark-light-play-t2915611
[Sprint HTC One (M7)] tdhite:
LOL -- ooooooookkkkkkkk. I'll crank something up tomorrow -- have to sit on a plane anyway. :). But for the most part, there'll just be a minor tweak to the feature set of official TWRP, other than the build will be based on CM (not OmniRom) as a base.
[Sprint HTC One (M7)] coal686:
If I'd have known all we had to do was bump the thread to get an update, I'd have done it a long time ago! :highfive:
[Sprint HTC One (M7)] Cetus Corr:
Flashable zip

Can we get a flashable zip of the latest version? I got a new laptop and can't get it to connect to phone via adb or fastboot.
[Sprint HTC One (M7)] coal686:
Usually [MENTION=1741545]repl1ca[/MENTION] will update the recovery flasher that [MENTION=1877667]rootlinux[/MENTION] created and post it in this thread. He usually does it soon after an update here so that's where I'd look.
[Sprint HTC One (M7)] repl1ca:
2.8.0.3 is already in the latest version of RecoveryFlasher (link in previous post). I'll update it when [MENTION=4988866]tdhite[/MENTION] uploads a new build :)
[Sprint HTC One (M7)] coal686:
That's what I meant. There's no need for [MENTION=4988866]tdhite[/MENTION] (mention spam!) to make a flashable zip of his new update because you have it covered with a really nice tool (that sounds wrong :rolleyes:).
[Sprint HTC One (M7)] tdhite:
Moreover, after a lot if builds and testing (various optimizations and mods to performance profiles) reality is as of the OFFICIAL 2.8.4.0, there is really no further need for me to build for you folks. The mods I would make at this point are performance, and of diminishing returns now (just not worth it -- seriously).

My true suggestion is that this thread now close, unless in the next couple weeks I see some compelling reason to keep it alive. All of the work I did for this particular TWRP (as I noted before) was folded into the official sources a while ago, in various ways across various devices.

So -- go get the official, and if it really has some problem, I'll start putting out builds again.

So -- two weeks from now, unless there's some odd upheaval, I'll close this thread. Bittersweet moment (love the work), but it's time. :good:
[Sprint HTC One (M7)] coal686:
Hey man, we all appreciate the hard work (yes I speak for everyone). As I said before, I'll only switch when you give the official build your stamp of approval and stop building here. So, over to the official one I (reluctantly) go.
[Sprint HTC One (M7)] GadgetFreak:
I'm right there with you, Coal! Bittersweet, indeed...
[Sprint HTC One (M7)] aornelas1:
If this is true that TWRP has included some of your improvements, I hope you get some credit. Your recovery was a godsend when needing a stable and fast resource. Thanks for your hard work.

You mention that the performance mods in your recovery would be the only advantage, but isn't that a huge advantage? Or has the main TWRP brought up the performance level for the quad core phones?
[Sprint HTC One (M7)] tdhite:
The performance mods were merged into the official source a while ago:

See: https://gerrit.omnirom.org/#/c/9481/

Further tweaks I tested recently simply didn't give enough of an increase in performance to be worth the time and effort.

As for credit -- of course -- the TWRP guys are not kangers by any means. The code follows a standard Gerrit review process. I committed the stuff a while ago (as shows by that commit (see the author) and others in the trees).

It's all good :cool:
[Sprint HTC One (M7)] tdhite:
Closed 'til further notice ...

All -- the time has come to move on as the official recovery has everything we need now.

Mods -- please close this thread until further notice (which I can say will likely not be coming in the near future).

:cowboy:
[Sprint HTC One (M7)] Sloth:
Thread closed at OP request.

Report if and when you are ready to re-open :)
[Sprint HTC One (M7)] Paleryder:
Thanks for all the hard work here! Banana on the way.
[Sprint HTC One (M7)] tdhite:
Done, brother -- see the contributions portion of downloads.
[Sprint HTC One (M7)] quicksilvergts:
Well, funny story. I tried rooted my phone

For about 3 months. EVERY .img would not flash BUT this one .

It was a total Mystery why nothing would flash, I even 're run RUU multiple times along with unlocking. I have rerooted this phone multiple time before.

Anyways, thanks a lot.

This works perfect!!

Sent from my HTC One using Aftermath 3.0 + Elemental X and xda app-developers app
[Sprint HTC One (M7)] systemshock869:
First bug I think I've found: I disabled screen timeout, and it doesn't seem to stick. First world flashing problems :D

Awesome work!!!!
[Sprint HTC One (M7)] tdhite:
Hmmm -- just saw this taking a break from my day-work. We've seen no instance of this across many, many phones now, so not sure there's a bug there other than the possibility you have a theme forcing it? Either that or a read-only setting on your twrp settings file?

I'll need more info than 'it did not stick' to help you resolve. Thanks for using this in any event. The more I hear about it, the more I'll know what kind of things folks run into so will have more direct answers later.
[Sprint HTC One (M7)] elvisypi:
How to edit the recovery images yourself

1.Download Android Image Kitchen made possible by [MENTION=4544860]osm0sis[/MENTION]

2.Extract the zip file.

3.Drag and drop the recovery img file over "unpackimg"

A window will show up, wait till it finishes and says done.

4.Now go to \ramdisk\res\images\charger and replace the files with the charging images you prefer. To replace the curtain go to \ramdisk\res\images and replace curtain.jpg

Finally click on "repackimg".

A new file will be created called "image-new.img".

5.Flash the recovery (many ways)

Charging animations:

http://xdaforums.com/showpost.php?p=50414069&postcount=68

http://xdaforums.com/showpost.php?p=50379954&postcount=405

http://xdaforums.com/showpost.php?p=50414834&postcount=70

Splash screen:

http://xdaforums.com/showpost.php?p=50301533&postcount=382
[Sprint HTC One (M7)] elvisypi:
I am curious what's the purpose of "mount usb storage"? We can already mount and unmount usb in "partitions". If I select mount it won't let me go back and if I than choose unmount and go to "partitions" usb it sill mounted???

Edit: it's the theme. I forgot you removed it. I'll ask the theme dev if he can remove it too
[Sprint HTC One (M7)] elvisypi:
Charging animation 1

New charging animation
[Sprint HTC One (M7)] tdhite:
You MANIAC!!! I was just looking around for the other zips and presto -- better stuff!
[Sprint HTC One (M7)] elvisypi:
Charging animation

Last one
[Sprint HTC One (M7)] Riff76:
Dude you're awesome!
[Sprint HTC One (M7)] systemshock869:
I haven't tried changing any themes, it's the stock file. Maybe I should re-flash. I don't know what more specific information I can provide but the option never stays how I set it.

I am using rumrunner 1.55.5555 hboot. Flashed the modified firmware from the badboyz thread. TWRP img from the OP.
[Sprint HTC One (M7)] budeone:
What FrozenRiff said
[Sprint HTC One (M7)] whitetiger2429:
Is there a way to flash this thru terminal emulator. My new pc doesn't like fastboot.
[Sprint HTC One (M7)] tdhite:
Let's see if we can't get you fixed up. Send me your last_log file from /cache/recovery.

Another option is rename your TWRP folder in /data/media temporarily and reboot into recovery.

Hboot could affect things, but I doubt that's your issue.
[Sprint HTC One (M7)] whitetiger2429:
What do you mean cache recovery. And where do I find that.
[Sprint HTC One (M7)] tdhite:
Please don't keep copying in post quotes -- your post is taking up a good amount of whitespace now and distracts readers. Maybe you could go back and edit that post to clean it up?

As for /cache/recovery -- that's a directory (file folder) on your phone. You should be able to see it with Root Explorer or a similar file browser.
[Sprint HTC One (M7)] whitetiger2429:
Sorry did not mean to still learning how to respond thru the app.

Ok I got the log saved. Where should I send it.
[Sprint HTC One (M7)] adamiscool:
Interesting little bug(?). RUU'd back to stock 4.3 before 4.4 was released. Did OTA update upon its release, so I have updated hboot (1.56?) and firmware/radio. After using stock kitkat for a bit (waiting for devs to build custom roms from the new base), flashed insertcoin on twrp 2.6.3.0. Had been working fantastic. Decided to try updating the recovery upon seeing this thread, and also maybe give a new rom a whirl. New recovery flashed fine, and began trying to flash Renovate 8.1. Bootloop. Decided to try new ViperOne 5.0. Boots, but really wanted to check out Renovate. re-flash Renovate. Stuck at HTC boot screen before boot animation. Go back to Viper, Bootloop. At this point I'm thinking, "What the heck? Bad download?" Download Renovate using computer (used phone before), file sizes same for each download. Went ahead and tried flashing the zip I downloaded with computer, still bootloop/freeze at HTC logo.

tldr: after several attempts of flashing different roms on this new recovery, I decided to revert back to 2.6.3.0, and now everything flashes fine. Could new hboot have something to do with this?
[Sprint HTC One (M7)] tdhite:
Post it here -- if you prefer edit it any line that has "serial" in it (search for that in an editor" and X out your serial number. Remember that you need to rename the file to last_log.txt or you cannot attach it -- you can just edit your post above to add it, I'll see it.
[Sprint HTC One (M7)] tdhite:
Unclear -- I've not see such issues with any ROM, but frankly never flashed Renovate 8.1. Not heard of any similar issues from any one else among quite a few users, so still, quite unclear to me. We'll get you fixed, one way or another.

What I really need in cases that folks see what they think is a bug is a log file. Now -- one thing is for sure, some ROMs have badly written installers that can really mess things up. Remember, this recovery is based on Android 4.4 code, not 4.3 so Renovate itself may have a problem with that -- not sure, not so claiming either -- just a hunch. I'll take a look at Renovate when time permits today.
[Sprint HTC One (M7)] elvisypi:
[MENTION=4988866]tdhite[/MENTION] I sent you a pm, seems like it's not sent though. Anyway I edited a post http://xdaforums.com/showthread.php?p=50409190 and explained how to modify the images for users and the links to the mods.
[Sprint HTC One (M7)] avwheeler:
Hang tight, the Renovate team has had reports by a small group of users who are experiencing flashing issues, they posted up a 8.2. I would follow the progress in the Official Renovate forum in the international section.
[Sprint HTC One (M7)] whitetiger2429:
Well I've tried attaching it thru the app and web page on my phone and it fails to attach I named it exactly what you told me the name it.
[Sprint HTC One (M7)] Rydah:
Would it be possible to use the HTC off-charging animations with percentage?
[Sprint HTC One (M7)] adamiscool:
Thanks for the rapid response. So, you're thinking it's not a recovery issue? I need to experiment flashing other roms using new recovery, then. I only tried the two (Renovate and Viper). It seems unusual that the ROM would flash flawlessly on the older recovery, but not the new? Maybe I'll try using a ROM that does NOT use an AROMA installer, and see what might happen in that case. I really would like to help troubleshoot with everyone, so we can make sure we have a working updated recovery! Thanks for all the work, and now I'll do my part to help out by getting logs if necessary.
[Sprint HTC One (M7)] fr0st420:
Will the new version be added to goomanager? 2.6.3.0 still shows up.
[Sprint HTC One (M7)] tdhite:
I hope to do that soon -- right now, still waiting on 'acceptance' by the Goo folks for my account. Sigh ... seems to take forever. :(
[Sprint HTC One (M7)] tdhite:
Just fyi -- the good folks on the Renovate team PM'd me they had issues with their recent versions (not just on this recovery). I'm going to try to help out over there.

First of all, that they contacted me tells me these are first class folks and are aware of their surroundings (they heard I was willing to dig in a little). Man, talk about on top of things! They are clearly hard at work solidifying their ROM. These things happen, but recoveries are not usually at issue. There's just not that much black magic to recoveries, trust me. It's just a teeny little Android build with some cool apps on top (TWRP in particular, imho). Honestly, there's just no voodoo or black magic to the recovery at all. But there is some black magic in getting ROMs to install across many phones, so give the good folks at Renovate some breathing room, imho, they deserve it. We'll figure it out and all will be good, one way or another.'

And as for Aroma -- not an issue. I flash InsertCoin 8.x daily (svn updates) if not more often. It's a *very* complex set of Aroma scripts and multi-stage installs for customization. Recovery handles it all perfectly.
[Sprint HTC One (M7)] tx_jaycee:
I'm trying to backup my data partition to dirty flash ViperROM 3.5 to 5.0 I keep getting an error "Unable to locate storage device" I got it with 2.6.3 and 2.6.3.4 versions. Please help.