yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cavist:
Then why I can not restore my backups then?

Is there a paticular way to do backups to avoid this issue? I do not want to backup my phone and then be screwed again by some files issues.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Tallywacker:
probably got a real ez one for ya ...Verizon HTC 10 S-OFF UNLOCKED on nougat FIRMWARE VERSION 2.41.605.20 newest TWRP installed ..... everything I try flashing ends up with RED TEXT "unable to mount storage" ...idk wtf I did lol but "Google" told me that the fix is to format my data in TWRP...I know that this will wipe my phone like pics videos all my downloads ect ..but is that all I need to do to fix this and is that all that will happen (wiping stuff) or will I have to reflash firmware and rom afterwards ? is there a link someone can post with all the details so I can self-educate ?

Thanks in advance for any help !!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
NOTE: Posts that are reporting bugs or issues without an accompanying recovery log will be ignored!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Tallywacker:
man I would love to post a screenshot of a recovery log or the log itself !!! and I found out how to do so !!! buuut I can't get to the root directory of my file system to upload it ... having no root permission and all ,which was the exact file I was trying to flash when I noticed that the log ended with "unable to mount storage"...can we treat this like a totally hypothetical situation...like can we say this hasn't happened yet so I can't post a hypothetical recovery log and can I say I just want you know what to do in a event of this type of situation?....please ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Tallywacker:
fixed it !!!! thanks for nothing but a hard time !!! I totally understand why a recovery log was wanted ...but it sure as **** wasn't needed to answer my question !!! anyway if anyone has my previous problem send me a dm no formatting or recovery log needed !!! lol
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mattie_49:
You have to go into twrp and wipe Data. The section where you must type yes to continue. I'm Verizon as well and running latest viper with magisk. Pm me if you need anything.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
[MENTION=5038791]Tallywacker[/MENTION] [MENTION=2338414]mattie_49[/MENTION]

He does not necessarily *have to* format everything (possibly yes, possibly no)

It's irrelevant whether you're on Verizon or not

^^ Unless if you are at the same time S-OFFing and bootloader unlocking. Though I'll doubt that's the problem since Verizon does not allow htcdev bootloader unlock.

What's up with all the DMs and PMs... something you guys know that the rest of the universe isn't supposed to know??

So that said, the recovery.log would have shown:

Which version of TWRP is being run (I know it's supposed to be latest, but I have over a dozen latest builds on my drive, so ?)

Where *it* actually fails, whatever that *it* may be.

And possibly the relevant information to solve this easily.

Finally, a friendly reminder: The HTC 10 and the U11 (and whatever else devices I don't know about) use vold_decryptTM :p

Silliness aside, that means it depends /

requires

your primary ROM to be the same type as your encryption is based upon, otherwise TWRP will not be able to decrypt you data partition.

This is normal and expected (even if not ideal), but (again) given the choice between no decryption at all and this *evil*, I'm okay living with this.

Without a recovery.log (to start with) we cannot determine what's not being mounted, what's not being decrypted, etc.

And if you want an easy one: I could easily post a, "Please fix", screenshot attached

But given the lack of context, I don't know if it's "an easy one for you guys", but feel free to DM me on twitt.

All the bla bla aside, it comes back down to the simple fact: a recovery.log is needed to determine where and what is potentially wrong with the current situation.

If you want a hypothetical case, feel free to look at the "picture of a *screenshot*" above, took about 2 seconds to make that and the recovery.log would have shown me exactly what I want to see.

(Oh and the device boots just fine, in case you're wondering)

So yes, a recovery.log is needed, it's not a luxury

nor a pleasure

we I enjoy reading, but we still do, so if you do not wish to do it, okay, but don't expect much in return.

And just wow: you do not wish to share your discovery? Really wow, thanks for being a contributing member on DM (whatever twit account that may be)

My apologies to the OP (especially at this time) for this rather random and quite unworthy post, but it does however seem that very few people know how much effort goes into "getting things done", so I for one, will take my liberty (to some extent) at voicing my opinion.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
TWRP 3.2.0.0

Download

Changelog
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Thanks bro for these much energy you spend here and anywhere else to help other people and keeping them up to date as soon as you can...we really appreciated:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Petert87:
When I'm on twrp-3.0.3-11_UNOFFICIAL I can restore full backups with system and data. When I'm on those official builds it stops when restoring data. Is this a known problem? Didn't test it with this last one.

Edit: it's kinda this: Error during restore process. extractTarFork() process ended with ERROR: 255
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Install the new TWRP update, it will fix that
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Petert87:
Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] atomantmk:
Hi,

after installing new recovery 3.2.1-0 i have a problem, when i'm rebooting my phone wont boot and goes back to recovery
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
Not related to TWRP, unless if you flashed TWRP to your boot partition instead of your recovery partition.

Dirty flash your ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] atomantmk:
I'm always flashing with Flashify and until now no problems, I have tried to flash older version of recovery it was always on the last version.

Now I have flashed ROM again and phone has booted.

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KotTHECat:
A backup takes much longer time since 3.2.0-0+

For example:

3.1.1-0 = ~200 sec.

3.2.0-0 and newer = ~270 sec.

Of course same system and amount of data. Partitions to backup: System, Data, Boot.

Can you also explain what does "*Digest Created" mean?

Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bigbiff:
Digest Created is the simplified message that is now used instead of MD5 created in order to simplify translation. We now allow SHA2 hashes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KotTHECat:
Its ok, but why does it take that longer to backup compared to 3.1.1-0?

Btw., is it possible to restore a backup with 3.2.1-0 created by 3.1.1-0 (and vv)?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bigbiff:
It looks like you turned on create digest, but had it off in 3.1?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KotTHECat:
Did not change anything since then. Kept just System, Boot and Data to backup. On both versions same settings
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kimba99:
[MENTION=1162986]Captain_Throwback[/MENTION] : could there be a potential issue ... regarding partition layout ... using these TWRP builds for htc_pmeuhl (like 3.1.1 or 3.2.1) on a "htc_pmeuhl XC" 64GB edition ... which has its MID converted from 2PS6500 -> 2PS6200 (to run on WWE/EU firmware) ... the device is currently S-OFF/LOCKED (just in case you are asking) ...

further details including the captured partition-layout can be found in this separate question-thread:

https://xdaforums.com/htc-10/help/s-off-flash-boot-img-via-twrp-via-t3722175
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
man, I have the same f#cking issue with the 32gb version of the phone, never had any issue like this before. but I have to patch the boot.img for magisk and flash it via fastboot, otherwise I'm not able to use magisk and custom kernels fail to install too! even with the install img option it does NOT work!

thought I'm the only one, talking to nkk71 and captain at the moment, to see what's causing it
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wetxxx:
Guys,

I have a question about restore from backup. In previous version of TWRP (htc 10) Im backups only Data, System Image and Boot partition. But now when I try to restore my backup I have a lot problem with root etc. From version 3.2.1.0 I should do backup System and System Image and other partition?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
only backup system/data and boot and restore then also only those, if you gonna backup system image (for OTA etc) don't restore data or so with that. system image is only needed for installing OTA
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] goodman_east:
data decryption doesn't work on RUU3.16.617.2 android 8.0 with twrp-3.2.0-0-pme.img

and so does twrp-3.2.1-0-pme.img

[MENTION=1162986]Captain_Throwback[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
Try factory reset, format data, and then use this command:

https://xdaforums.com/htc-10/how-to/script-disable-force-encryption-t3604856

Should be able to run unencrypted.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sonophilos:
This did not work on my dear friend the HTC 10 with the new 8.0 RUU. I suspect there's something about the ROM or kernel that is forcing re-encryption on boot, as it survives multiple reboots of recovery but not even one boot of the system.

Hope this helps.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] roirraW "edor" ehT:
Same experience here. Used the SuperSU commands with SuperSU v2.82 SR5.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Wonders_Never_Cease:
TWRP 3.2.1 will decrypt data, kernel needs modified specifically fstab.qcom
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Dlind:
Dont mind if I recommend a zip to flash? It force disables encryption, its worked on every rom ive used with my one plus 3 and htc 10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mbwambo:
Fail to work here on oreo firmware
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Dlind:
Sorry, that was the nougat version I think. Here is 6.0 it may work for oreo
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] goodman_east:
It doesn't work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Dlind:
What the hell. Sorry a few zips I had didnt work. Thats all I can try until Verizon gets their hands on oreo.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] goodman_east:
I will look into the boot.img to see how to disable the force-encryption.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ColonelSeamus:
Okay, I may have messed up but I'm not sure. I created a System Image backup, but only that. I unchecked all other boxes. Is that all I need should I ever have to use it, or did I bone myself? I've already installed a custom ROM after doing that, for context.

Also, TWRP asks for a password every time I load it. Judging by the FAQ, it seems there's nothing I can do about that?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stonew5082:
If there's an update will flashify be able to implement it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
An update to what? You can flash new TWRP images from right within TWRP itself, as described in the OP.

P.S. Huge shoutout [MENTION=711482]beaups[/MENTION] for finding the one line in the TWRP code that was breaking decryption, lol. I'll have to post a temporary update to the thread until the code is reviewed and merged, but it should be good to go.

P.P.S. You'll also notice the time is now correct ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stonew5082:
I know TWRP can be flashed in recovery I was just curious if our unique problems with encryption would effect flashify being able to do it. I guess I just got used to flashify for no particular reason, anyway stupid question because there no reason it wouldn't be able to
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Okay everybody, give it a whirl:

http://xdaforums.com/devdb/project/dl/?id=18423

I haven't tested it with a password on boot, so I'll test that now, but it at least decrypts the default password. Hopefully PIN, pattern and password all work as well.

EDIT: Tested Pattern, PIN and Password - ALL WORKING!!

Again, big thanks to [MENTION=711482]beaups[/MENTION] for his help with this. Go find a post by him and thank it ;).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Behold_this:
Hugest thanks, [MENTION=711482]beaups[/MENTION]!?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JEANRIVERA:
is it normal that the data backup is 10gb?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Behold_this:
Sounds right
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JEANRIVERA:
on my M8 they dont use to be that huge only around 4gb or 5gb with same apps
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Behold_this:
Yep and they were even smaller on the M7. I believe on the 10 data backup should be around 7 gigs, so I think you're on par, just a little heavy. Lots of stuff in data partition that has nothing to do with your user installed apps.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
You might want to delete /data/hrdump* or whatever it is before taking your backup. That file gets created after S-OFF and doesn't need to be backed up.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JEANRIVERA:
we don't have that on the Beta Rom i am currently using devs removed that folder already.... ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
It's not a folder, it's a file, but in that case you should be good.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] BartLuke94:
So now can we decrypt it?!

A very big thank you to [MENTION=711482]beaups[/MENTION]!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LeeDroid:
Excellent work as always [MENTION=711482]beaups[/MENTION]!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
awesome man [MENTION=711482]beaups[/MENTION] :D :D :D

now twrp is back to its full swing thanks to you again :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] guidogsbn:
Mine is 8,37 GB with new twrp version -3. With the old twrp 3.0.2-2 it was 24.46 GB
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Light1984:
Thanks [MENTION=711482]beaups[/MENTION] you are killing it on the HTC 10!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sneakyghost:
Guys you're great. Makes me envious to see the progress ya'll are making.

Gotta pick up my sh!t again slowly I reckon...

Good luck and thanks a million! Very much appreciated!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dems86:
Absolutely fantastic, thanks [MENTION=711482]beaups[/MENTION] for cracking this open for us!!!

Big thanks to [MENTION=1162986]Captain_Throwback[/MENTION] too!!!

You both are wonderful!!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
[MENTION=1162986]Captain_Throwback[/MENTION] can you please tell us about latest twrp of AFH? https://androidfilehost.com/?fid=673791459329073061
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

I don't think you'll get a response from him, since according to this post he won't be posting on the forum anymore. Also since [MENTION=2605798]nkk71[/MENTION] passed away, he probably is staying away for a while. But maybe if you try it and post a log from it, he'll see it and will eventually take a look. It could be updated for Oreo support?

TWP

UPDATE: It looks like the download link was updated with some information about the build...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
give it a try, gonna test it later too, only thing would be no data decrypting, so you're free to test it :P
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
After updating to oreo i faced with "unable to mount data" in recovery but after flashing this version no more errors
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] goodman_east:
twrp-3.2.1-1_CPTB-20180114-01-pme.img can decrypt data perfectly. Thanks very much. [MENTION=1162986]Captain_Throwback[/MENTION]

Here is the link from Captain_Throwback
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bob-ttz:
what should i do after flashing [MENTION=1162986]Captain_Throwback[/MENTION] recovery? it asking for password to decrypt.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Magnum_Enforcer:
Read the FAQ in post #2 of this thread.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sonophilos:
Confirming twrp-3.2.1-1_CPTB-20180114-01-pme.img decrypts /data every time, despite HTC still force encrypting it again on every boot of the 8.0.0 RUU. Also, two minor issues I don't necessarily expect to be fixed (I'm just grateful this works as well as it does):

The mouse cursor is persistently active despite the fact that no such input device is connected;

The 'reboot recovery' button consistently reboots system and not recovery. (Can be worked around by telling it to reboot to bootloader instead, but bears mentioning anyway.)

Hope this helps. :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rolo42:
Likewise; I'm running 2.51.617.32 firmware with PureFusion Oreo and wasn't able to decrypt with TWRP 3.2.1-0 but can with this. Thanks, [MENTION=1162986]Captain_Throwback[/MENTION] and good luck in your future.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
So here we go with a Recovery.log

Known Bugs:

Mouse Pointer

Date is wrong.

Firmware: 3.16.709.3

TWRP 3.2.1-1_CPTB-20180114-01-3eb70edb

Even after rebooting into system and back into recovery date is still wrong.

P.S i did backup system image and data... that might have flooded the LOG a little -.-
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
There is a new Version in the Downloads Section here on XDA.

Fixes the Bugs with showing Pointer and wrong Date!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks [MENTION=1162986]Captain_Throwback[/MENTION] for the update! Much appreciated with the impending oreo bump. I'm trying to contact HTC for kernel sources, but their comment host is off service :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
Oh... thats why i got a white Page -.-

I really envy Sony and their dev forum. But hey... at least HTC does publish their source.... when they feel it's time...

P.S [MENTION=1162986]Captain_Throwback[/MENTION]

I:Copying file /tmp/recovery.log to /data/media/0/recovery.log

Wasn't that supposed to go to the EXTERNAL SD card?

Or was that just a workaround for issues with encryption on local storage.

Edit: Okay, it just saves to the current selected locations.... normally thats External_SD for me which is why i didn't expect anything else^^
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] roirraW "edor" ehT:
For anyone who hasn't noticed, [MENTION=1162986]Captain_Throwback[/MENTION] has another new version available in the Downloads section:

twrp-3.2.1-1_CPTB-20180116-01-pme.img

Thanks [MENTION=1162986]Captain_Throwback[/MENTION] !
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
How about this:

https://dl.twrp.me/pme/twrp-3.2.1-1-pme.img.html
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] roirraW "edor" ehT:
Thanks! I confirm that the two are different and feel pretty safe in assuming the official release is the newest. :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
We really appreciate this much speed and responsibility from twrp team specially [MENTION=1162986]Captain_Throwback[/MENTION] that haven't forgotten us yet... Thanks alot!:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wetxxx:
I have 2.41.401.41 Stock, S-off, locked.

I try make backup before I will install OTA Oreo with TWRP 3.2.1.1 (new version):

1) system.img

2) system_image.img

3) boot.img

4) data.img

and when my data was backuped I see:

"E: recv error on uevent

E: recv error on uevent"

What kinde of error this is?

Maybe I try make backup previous version of TWRP (3.2.1.0) ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
you should use the older version for backup, the one is for Oreo firmware/roms.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

According to the FAQ, the unofficial version is the recommended one.

TWP

---------- Post added at 02:50 PM ---------- Previous post was at 02:49 PM ----------

Hi,

The newest version works on Nougat too, according to the release notes. I don't think that error breaks anything, but I guess posting a log for [MENTION=1162986]Captain_Throwback[/MENTION] to look at might confirm.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rolo42:
*ahem*

https://dl.twrp.me/pme/twrp-3.2.1-2-pme.img.html

The TWRPs are hard at work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wetxxx:
Second try when I try reboot was successful done and without errors.

"Live long and prosper"
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Martybug:
Hello guys, in the last version of TWRP, the 3.2.1.2 the reboot when no OS is present don't found.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] roirraW "edor" ehT:
I'm sorry but I don't understand what you're trying to say. I realize it's a language barrier. If you're talking about "Reboot Recovery", I know one of the last versions, if not the current version, the changelog in this second post said something about Reboot Recovery not working (you have to reboot Bootloader and then choose to boot Recovery from there, I believe).

If that's not what you're talking about, could you word it any differently please?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Martybug:
No, you are right, sorry for my bad english.

I have reboot Bootloader and then choose to boot Recovery from there.

But in the previous version (3.2.1.1) the Reboot Recovery working.

Inviato dal mio HTC 10 utilizzando Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

The "Known Issues" in the OP mentions this. It's because the new version uses a patched stock kernel.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] quantan:
Anyway to disable force encrypting on every boot?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sonophilos:
The answer is currently no, someone much more well-versed than me would need to look into the boot.img and see if that's in fact what initiates the force encrypt on every boot (it likely is). Then they would need to create a forked boot.img that had this protection not just completely removed, but replaced with empty data (as I'm pretty sure the filesize of the boot.img is checked somewhere).

I might have no idea what I'm talking about. I'm just an ARISE contributor and recently a themer, not an HTC 10 dev by any stretch. :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

You can do a "Format Data" in TWRP, reboot recovery & then flash Magisk and it'll patch your boot.img so it doesn't re-encrypt on boot. As a happy side effect, you'll also be rooted :) (though you'll probably need to reinstall Magisk Manager).

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wiQbold:
are you sure? for me, it doesn't work. tried it, days ago. TWRP gave some mount errors of /media/data and after reboot Magisk Manager says encrypted.