yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

Are you sure you did a reboot recovery after your "Format Data"? And you're sure you did the format where you have to type "yes" and not just the Advanced Wipe? The reason I specifically said you have to reboot recovery is because otherwise Magisk will think the device is encrypted when you flash it, and it won't patch the boot.img. The error message you say you got suggests that you didn't reboot recovery first. If you want to be extra sure that Magisk patches the boot.img, after rebooting recovery after the format of data, you can put a file called .magisk under /data with the contents KEEPFORCEENCRYPT=false, and then flash the Magisk zip.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wiQbold:
no I didn't reboot the recovery afterwards. but the last hundret times it works without a recovery reboot. and yes, I did format it and not wiped it.

but at the next possibility I will try the reboot afterwards.

Thanks in advance
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

There was a recent update to Magisk that detects the encryption state of the device and preserves it, which is probably why it worked before.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] steelmaggot:
install TWRP recovery

was a long time user of viper but as that was discontinued i went back to stock nougat via ruu,then took ota to oreo,but i would like to install TWRP so i can go into the light and install LeeDroid,can't remember which mode you flash recovery,is it download mode or fastboot oem rebootRUU mode? Thanks in advance

EDIT

nevermind found which mode now
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] benny3:
Flash in download mode
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pandumaruto:
Is it same way like i install ruu zip firm download mode? Rename it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] santod040:
It says exactly how to flash it in the OP.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pandumaruto:
OP? What is it? Sorry, noob question.. ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] santod040:
http://bfy.tw/GNbZ
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sgtslaughter64:
I laughed so hard at this I just snarfed some whisky up my nose! :svetius:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] hgoldner:
Such a better response than "come here and bring something I can smack you with."
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] uggitt:
Failed to mount data device or resource busy

Hi, I just installed the oreo firmware Full_3.16.401.2_NoBootImg_Twrp3.2.1-2_firmware.zip so i can install Leedroid Oreo latest svn.

Firmware flashed without any problems.

I went to format after i rebooted into recovery and I get the following message. 'Failed to mount '/ data (device or resource busy) twice then 'Unable to recreate /data/media folder.

I have rebooted several times and get the same every time I try to format. Any ideas on what to do?

Thanks in advance

ugg
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
Reboot from twrp to bootloader then back to twrp
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] uggitt:
Thank you, Format completed ok after your help
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cyber Akuma:
I can't seem to boot to TWRP without installing it on my HTC 10.

My Bootloader is unlocked and I have flashed TWRP to recovery many times before. I am currently on stock recovery and just trying to run TWRP without installing it.

When I type "fastboot boot twrp-3.2.1-2-pme.img" however, it says "downloading 'boot.img'...", and on my phone I can see it downloads successfully, but then when it says "booting..." it just gets stuck. My phone does not reboot and fastboot does not say anything else until I unplug my phone, at which point it will say it failed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
You can't on the HTC 10. Has to be flashed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
Doesn't work. Fastboot boot is deactivated on HTC10.

You can flash the Recovery to boot partition and flash original boot.img to boot in recovery after you've done everything. then reboot into system.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Debizzle:
Guys Im so confused can we decrypt the HTC 10 or not?? The FAQ says no but yet people say they can do in with TWRP? If so how? Formatting is not working
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] khanjui:
2. I decrypted my device and now I don't have signal. Did a TWRP update cause this?

No, this is not a TWRP issue. It appears that on the HTC 10, having a decrypted device prevents the SIM card/telephony from initializing, resulting in no mobile signal or data connection. The device comes with forced encryption enabled and currently must remain that way in order for mobile signal/data to work. TWRP does not change or affect any of that.

You should install Magisk after decrypting your device with format data option. But that's not worth, as you can guess.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raintrooper:
Good evening, please request your help. My mobile came the update ota a android oreo and at the end of the installation came out an encryption error and the mobile only restarted but if I can enter the recovery twrp, or fastboot or download mode.

Previously I had unlocked the bootloader and installed twrp but it was not rooted or installed any rom.

The errors that I get are the following:

If I want to restore system with a backup in the sd deploy, I can not restore system mounted in read mode.

If I try to install the ota it comes out invalid zip format.

The configuration is as follows:

Unlocked

S-ON

htc-pmeuhl pvt s-on

lk-1.0.0.0000

os-2.41.400.51

Cid HTC-060

Mid 2PS620000

Twrp version: 3.2.1-1

If someone can tell me what to do, thank you very much.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
2PS6IMG_PERFUME_UHL_N70_SENSE80GP_MR_HTC_Europe_2. 41.401.4_Radio_1.0.U010241a@61229_89.09_F_release_ 693552_signed_2.zip

This isn't to be flashed in twrp..

https://xdaforums.com/htc-10/help/how-to-flash-ruu-zip-file-physical-sd-t3403261

However you'll need S-OFF, or get an RUU that corresponds to your 2.41.400.51 firmware and/or above
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hollilightman:
Devlog?

Hello friends

I have a problem. "Devlog could not be inserted (invaled argument)".

I can't hang it either.

What is devlog?

How can I fix it?

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
[MENTION=1162986]Captain_Throwback[/MENTION] I know that you're inactive on XDA, but kernel sources for oreo had been relased. Maybe you can take a look in order to fix "reboot to recovery" option. Thanks in advance for your work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

I just saw this link on AFH - maybe it's what you're looking for?

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
Thank you very very much!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kami2k:
please share latest twrp off. or non off. which support encryption etc thx
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
Literally 1 post above you -_-
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] roirraW "edor" ehT:
For anyone who hasn't noticed, there's v3.2.1-4_CPTB in the Downloads section ("newer" version than the official new 3.2.1-3 on twrp.me).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

Looks like the official is now newer again.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
You are on HTC 10 forum, of course it will not work. Go to your device thread and flash that twrp reacovery. Really, read before doing something, it is clearly that something for HTC 10 WONT work on samsung
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nitramus:
Delete
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
You're in the wrong thread. Try here instead
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
No problem. Without the device, devs cant do much to help you
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
First thing you should do is to toss the Samsung crap in the garbage then head over to the Samsung TWRP recovery forum and check it out there (if you have decided to keep the Samsung garbage):

https://xdaforums.com/samsung-a-series/development/recovery-samsung-sm-a800i-exynos5433-t3312809

Or this one (I dont know your model) so do a little research BEFORE flashing anything you dont understand to prevent making an expensive brick:

https://xdaforums.com/galaxy-a8-201.../twrp-3-2-1-1-a8-sm-a530f-02-02-2018-t3744169

I am just teasing you about the Samsung phone, I used to be a long Samsung user but since the Note 4 dying on me not once but FOUR times with motherboard failures, I moved on to HTC and haven't looked back.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] hiquepf163:
fastboot doesn't work

guys, i'm sorry im very slow in this subject but is there any easier way to install the twrp? i just unlocked the bootloader and now i found the twrp (fastboot method) very difficult to install, im trying but it doesnt work and i dont have root.

i'm just doing it cause this oreo update screwed up my phone
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
No

You sure you didn't use download mode instead of bootloader?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
As it was mentioned above you need to make sure you flash twrp in download mode. It really is an easy process. However you could give THIS a try. I have never used it, but it does everything automatically.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mattie_49:
What's the best way to do a full system backup. I tried numerous times in Nougat and could never get it to complete. Running Oreo currently

As far as what to back up. Everything? Please and thank you beforehand
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
Full system?

System Image.

If you mean the whole phone?

Internal Storage excluded nandroid.

System Image, boot, recovery, UserData.

If you mean ALL partitions.

Connect phone via USB and try DD command.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] intentionallyblank:
twrp-3.2.1-4-pme bootlooping after installing Leedroid 10 V5.2.1

Hi there,

sorry for popping in.

I have an htc_pmeuh1

s-on

with

OS-3.18.206.1 (CID o2___102)

I got twrp-3.2.1-4-pme installed, took a backup, flashed Leedroid 10 V5.21 and now have the device bootlooping.

I can get into download mode, when booting into recovery the twrp welcome shows up but then the device enters into bootloop.

I assume the boot partition is somehow messed up.

I have no idea how to restore my wonderful twrp backup without entering into twrp.

As far as I have googled I won't find an o2 branded RUU file that I can simply flash via SD card to start all over again.

As the device is s-on, I will neither be able to change the CID to let another RUU install.

As I have no twrp to boot into, I can't put the device s-off to change that or try the oreo->nougat rollback that has been discussed otherwise.

Does anybody have an idea to get into twrp again or restore the twrp/nandroid backup from outside via fastboot?

EDIT: Is this supposed to work with backups of current twrp versions?

https://xdaforums.com/showthread.php?t=2746044​

Or is there probably an older version of twrp working? I tried down to 3.2.1-2 without success.

I know it's a ROM problem rather than an twrp problem, but I assume the solution might be closer on the twrp side.

Any help appreciated.

I.B.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aligh2014:
I think this issue is related to your bootloader ,

Can u plz try this command in the location of your recovery image

Fastboot boot nameoftheimage.img

If this command run the twrp for u so there is a chance to restore i guess

First think u should try after booting successfully into recovery is to wipe data or cache on your device to make sure that your partitions are still healthy if your partitions got messed up it will show errors like wipe failed

Note : i used this command for a device that was in a hard break and magically it worked!..... so i think it should work for u too ...i hope this command fix your problem and you didn't mess up your partition... remember if your device recognized in fastboot mode and u have a unlocked bootloader so there's always a chance to get your phone back if you didn't damage your partition.....and if u somehow damaged your partition , with considering the level of the damage i will share a guide from a thread to fix that ....by the way tell me the results:p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] intentionallyblank:
Unfortunately, HTC has blocked this command. You cant's boot into an external recovery, need to flash.

I.B.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mr Hofs:
If you REALLY can't get into twrp you can flash twrp to your boot partition.

Fastboot flash boot (recovery.img name)

Then reboot and see if it boots to twrp
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aligh2014:
what was your android version while u flashed leedroid ?

Because before flashing that rom u need to be on oreo firmware and this is one of the reasons that causing bootloops.

Did u try to flash ruu manually via fastboot ?

( i think at the end u need your phone alive, with or without your data:rolleyes:)

EDIT

Sorry I wrote that command wrong, u need to use this one :

Fastboot boot nameoftheimage.img

It will directly jump into recovery
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
As stated above, you can't fastboot boot to recovery with the HTC10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mattie_49:
You can fostboot to bootloader then to recovery from there
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] yldlj:
Delete
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] intentionallyblank:
Thanks for not leaving me alone.

The phone is "new" to me, thus no data is in danger and I'm ready to do any wipe.

I can boot up the phone to download mode via vol- and power and boot into bootloader from there as well.

Booting into bootloader is NOT the problem.

When booting into recovery from the bootloader, I get the same bootloop as in "normal" boot.

I was on oreo before installing LeeDroid, with OS 3.18.206.1.

That is the reason I can't simply flash an ruu. I don't have a current .206. RUU with the o2___ CID, and older RUUs won't work because of the oreo firmware, as the signature keys are hardcoded in the firmware. Firmware rollback to nougat requires a working twrp.

I did not flash a RUU via fastboot but via zip-on-sd, getting the signature error mentioned before.

I did flash several twrp versions (3.2.1.4, 3.21.3, 3.2.1.2) since the bootloop occured without success.

I also did flash the boot.img I extracted and renamed from the twrp backup.

I.B.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sdamark:
[MENTION=1162986]Captain_Throwback[/MENTION]

XDA is saying there's a TWRP update today 7/3/18,

but the latest download I can find is 3 months old.

I've been on 3.2.1-4 for a while now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

Did you try the official download link in the OP? There's a newer version there.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sdamark:
Well actually the latest on the download tab is still showing 321-4

there is a tiny note on top that says 322 is now available.

No matter. Downloaded through official TWRP app without issue.

Later y'all.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

The Downloads tab is for unofficial releases. The official site is for official releases, which, according to the OP, the new version is. There's the announcement you're referring to, the Change log in the OP, and the update of the Stable version at the bottom of the OP. The FAQ also says that the version that should be used is the latest official version, listed as 3.2.2-0. Seems pretty straightforward to me, so I'm not sure where the confusion was.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi [MENTION=1162986]Captain_Throwback[/MENTION],

I just wanted to say thanks for the unofficial update to support decryption on AOSP Oreo. I've tested it and it's working well for me. Your continued work is appreciated!

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bluedimensional123:
hey all,

i am getting this in twrp: "

could not mount /data and unable to find crypto"

and many

"unable to mount storage"

under that.

i get this in TWRP if i try to do a `restore`. it has been like this ever since i received my Verizon 10 back from the mail-in rooting service. what steps should i take to fix this? The mail-in service did root it, but i need to install ROMs! i'm a little rusty on all this stuff so pardon if it's been covered.

Any insight would be great!

i am Verizon HTC 10, TWRP 3.1.1-0.

---------- Post added at 09:22 PM ---------- Previous post was at 08:36 PM ----------

UPDATE! in case this helps anyone else, i updated TWRP and that fixed it! **Face-Palm Emoji**
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Thank you for your hard work Captain and for giving us a stable recovery.

I hope there is someone who continues the project.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] twinnfamous:
Twrp pie support

https://twitter.com/Cpt_Throwback/status/1099411332116430851

https://github.com/CaptainThrowback/android_device_htc_pme/releases

Tested by me on lineage 16.0
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sir-Shadow:
Captain is back with new updates for TWRP on Pie ROMs.

He Doesn't have this device anymore so he counts on our help for fixing bugs such as decryption problem.

He currently has just one tester.

Let's make our HTC 10 great once more.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Deleted
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scutworker:
Just to let you know that the latest version can decrypt LineageOS 14 (Nougat) as well.

Captain Throwback requested confirmation of this, so here it is!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
[MENTION=4453138]fagyi[/MENTION] [MENTION=1162986]Captain_Throwback[/MENTION]

The NSA will hate me for that. [emoji12]

I have just successfully encrypted my phone. (LOS 16.0)

Everything worked perfectly.

Good job and thanks for the update with the encryption Captain Throwback.

And of course, fagyi keeps our beloved HTC 10 alive.

A big thank you to you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scutworker:
Captain_Throwback, you wanted a recovery log of decryption, so here it is.

This is LineageOS 14 (Nougat) where it works fine.

And thanks so much for updating TWRP for us: made a big difference for me. Cheers!

Ta.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
silly question - does the latest version also decrypt nougat, or do i need nougat branch build for it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
edit:delete
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

I just checked the last unofficial release post, and it looks like [MENTION=1162986]Captain_Throwback[/MENTION] saw your post and answered your question: https://github.com/CaptainThrowback/android_device_htc_pme/releases/tag/3.2.3-1_CPTB-20190226-03

(See "UPDATE 2")

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
Ooooh, great, I didnt actually think he would respond, thank you for your your time
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
There are new version (3.3.0-0) out in official twrp website https://dl.twrp.me/pme/. Thanks [MENTION=1162986]Captain_Throwback[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
Did you try this out?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wetxxx:
I have magisk 18.1 Can I instal new TWRP from TWRP img mode?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Yes. I use it now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Wow, there are new update again in official website. Thanks again [MENTION=1162986]Captain_Throwback[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Thanks for the new update Captain and for keeping this project alive. [emoji106]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
There's a new one? Latest on github is from 27/02.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

The versions on Github are superseded by the official releases. There have been two since the last Github release.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] twinnfamous:
Twrp update

[MENTION=1162986]Captain_Throwback[/MENTION] is at it again.

Please check here for updated changelog and download.

https://github.com/CaptainThrowback/android_device_htc_pme/releases
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nitramus:
How is it so far?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

Have you flashed it? He was asking for logs on it but I haven't seen any posted? Can you try it?

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] twinnfamous:
Works on lineage 16 but I don't think encryption is working on los 17 so I could not test to see if it decrypts data.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alonso_91:
[EDIT] I started flashing all the recovery versions one by one until I finally was able to format data with 3.1.0-1 phew!! turns out I updated to the latest and later realized it didn't support nougat so it was only a matter of finding the correct recovery I had prior to the update.

Hello, I'm hoping someone can help me bring some life back into my beloved m10. I was trying to set up my device for s-off but after uninstalling magisk the data became encrypted and now I cannot seem to be able to format it. I've tried through terminal in recovery and even some general fastboot format method I found online.

Has anyone had experience with this? Can't seem to find a working solution that's HTC specific.

Any helps is greatly appreciated
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] The_Walking_Playground:
Hi,

FYI, the FAQ tells you which TWRP version to use based on your firmware.

TWP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] xunholyx:
Do you still have TWRP installed on your HTC 10? If so format data with it to disable encryption. NOT wipe, but format. TWRP > wipe > format data > you'll have to enter "yes" to confirm

EDIT: I should have read more thoroughly. It looks like you have already tried to format your data
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alonso_91:
Hi xunholyx,

Thank you for the suggestion, I was able to find a recovery that formatted data for me in the end. It wasn't working with any recovery versions upwards of 3.2.0 so I did it with 3.1.0, have now moved to the recommended 3.2.3 and everything seems to be going well :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] raul16:
Hello,

as i clean flash my new build of LOS 18.1 (A11) on HTC10 with TWRP 3.4.0.0 I got "Updater process ended with signal: 11" (try again ?) and TWRP states that flash has failed.

if I reboot to system it boots and i can setup OK A11 on my HTC...

looking at TWRP recovery.log file (attached) i could not find the issue that generates that.

@Captain_Throwback please let me know if there is any way to check what actually is the root cause for this issue and maybe try to fix it (!)

with builds of LOS 17.1 (A10) never had this issue.

help appreciated,

thank you