yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
The latest FOR YOUR VARIANT, which isn't the International variant. The ROM base and your variant are two different things. Either update to 1.53 or stay as you are and flash the ROM. Those are your options.
[HTC 10 Guides, News, & Discussion] TeChNoC4AzY:
Can I update to 1.53 then flash rom?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Yes.
[HTC 10 Guides, News, & Discussion] TeChNoC4AzY:
Okay...so I get this exe and just run on PC?
[HTC 10 Guides, News, & Discussion] Indianboy89:
They don't. My bad, I meant the last Bouygues Telecom rom available for HtC 10
[HTC 10 Guides, News, & Discussion] passion4tech:
hi people I own htc 10 How can I access recovery again when stuck in boot loop will I lose my data? : (

HTC 10 oreo stuck in boot loop I can only access bootloader I cant access recovery : (

[YOUTUBE]fcZDDnstvCM[/YOUTUBE]

[YOUTUBE]UgDDwkVpk_8[/YOUTUBE]

[YOUTUBE]pMj-MAM_cQk[/YOUTUBE]
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Answered you many times already.....its getting a bit boring by now. Sell the phone for parts and get another phone.

https://xdaforums.com/htc-10/help/htc-10-stuck-boot-loop-access-bootloader-t3838984
[HTC 10 Guides, News, & Discussion] s.mitchell:
Hi everyone, I am trying to get back to stock Android 6.0 on this phone but I tried to follow 3 different guides and I always get stuck at the point at which I should be flashing the Stock RUU. I get different errors when the phone boots the zip file on the sd card. Is it because I am using the wrong file? I am sure the CID is correct but probably the zip is not.
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Your given information leaves us guessing, please come back with valuable info like what you did, with which files, what is your official (OS line in download mode) firmware. S-off ..... S-on ?
[HTC 10 Guides, News, & Discussion] s.mitchell:
Yes, I know, because I was just asking for a hint to get to the right direction since I am new to this and not so sure of how to get to the native OS for my phone.

Anyways, basically I am S-ON and the OS version is 3.16.709.15, other (possibly) relevant info is:

htc pmeuhl PVT S-ON

LK-1.0.0.0000

RADIO-2.0.U010241a@80125

OpenDSP-v23.0.8996.00007_1028

May 25 2018, 19:33

CID HTC__621 TWM-TW

I did basically nothing, since I was just able to enable developer's mode and then I tried to download the stock RUU .zip file from this thread's front post. Turns out I cannot find the .exe for my CID.

Whenever I put the zip to the main SD card directory and try to flash it after renaming I get errors which do not help me in understanding the problem, actually.

If you need more info that I forgot to list, please let me know. Thanks in advance for the help!
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Downgrade for S-ON..... Use this thread.

https://xdaforums.com/htc-10/how-to/downgrade-problems-downgrading-htc-10-t3735658/page47

It involves many steps like flashing a hostd file, changing firmware number with HTC version tool, flashing the firmware, flashing RUU. It's not "just" flashing an older RUU.

Check that thread, understand what you are doing.
[HTC 10 Guides, News, & Discussion] usernome:
After you packed firmware.zip , you renamed it to 2PS6IMG.zip or you put it inside the OTA file and after that renamed the OTA ?
[HTC 10 Guides, News, & Discussion] pepperg:
hi guys

i have an htc10 and this is my situation:

ANDROID 7 + ROOT

UNLOCKED + S-ON + TWRP 3.1.1-0

*** UNLOCKED ***

htc_pmeuhl PVT S-ON

LK-1.0.0.0000

RADIO-1.0.U010241a@61226

OpenDSP-v20.0.8996.00007_0809

OS-2.41.401.41

(bootloader) kernel: lk

(bootloader) product: htc_pmeuhl

(bootloader) version: 1.0

(bootloader) max-download-size: 1579200000

(bootloader) serialno: ************

(bootloader) current-slot:

(bootloader) imei: ****************

(bootloader) version-main: 2.41.401.41

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.U010241a@61226

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PS620000

(bootloader) cid: HTC__034

i need help, i need to reset my htc10 and i dont know if is better to upgrade to OREO or stay with Marshmellow?
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Download the 2.41.401 RUU.zip, rename it to 2PS6IMG.zip, copy it to the sdcard, boot to download mode and flash it.

Upgrading to Oreo will be your own decision.
[HTC 10 Guides, News, & Discussion] pepperg:
can i flash 2PS6IMG.zip with TWRP ?
[HTC 10 Guides, News, & Discussion] ziand:
Flash file hosd.img from this firmware 3.16.401.2 in bootloader:

fastboot flash hosd hosd_signed.img

https://www.androidfilehost.com/?fid=818070582850503877

After that you will be able to flash Oreo RUU 3.16.401.2:

https://www.androidfilehost.com/?fid=673956719939830809

Enjoy HTC :good:;)
[HTC 10 Guides, News, & Discussion] pepperg:
i decided to do this:

RUU 2.41 -> stock updates 8.0
[HTC 10 Guides, News, & Discussion] Mr Hofs:
No because i specifically wrote "boot to download mode" otherwise it would have said "boot to TWRP and flash it"

?
[HTC 10 Guides, News, & Discussion] Aryamehr1366:
I have WWE version on 2.41.401.3 and wanted to flash 3.16.401.3 in download mode

it gave me 12 RU_ZIP_ERROR

do you mean that i should first flash Latest OREO Firmware and after that flashing RUU?
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Yes
[HTC 10 Guides, News, & Discussion] Aryamehr1366:
Hi

thank you for gathering these useful files

I have WWE version with S-ON Unlocked and viper ROM installed its firmware is 2.41.401.3 and wanted to flash 3.16.401.2 in download mode

it gave me

12 RU_ZIP_ERROR

12 RU_ZIP_ERROR

FAIL12 RU_ZIP_ERROR

what Should i do?

---------- Post added at 07:51 PM ---------- Previous post was at 07:49 PM ----------

i thought that a single RUU Flash would do all the tricks

i mean doesn't a ruu have firmware inside it?? :confused:
[HTC 10 Guides, News, & Discussion] Mr Hofs:
It's different this time. To flash the Oreo ruu over nougat you need to flash the firmware first. Or flash the nougat ruu and update via OTA.

It is how it is

:svetius:
[HTC 10 Guides, News, & Discussion] Aryamehr1366:
ok thank you

but how can i flash firmware? TWRP flashing or download mode flashing? :silly:
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Fastboot flash it, via download mode or HTC ruu mode. But why don't you flash the 2.41 ruu and OTA up. No fastboot flashing needed.
[HTC 10 Guides, News, & Discussion] ziand:
You are not able with S-ON to flash any combined firmware.. they are for S-OFF only.

Variants to flash / to get Oreo 3.16.401.2 :

1. Here is a signed by HTC company firmware Oreo 3.16.401.2 for S-ON too:

Full_Stock_Firmware_3.16.401.2_R4_FullWipe_signed.zip

Flash this full signed firmware and after that Oreo RUU.

2. From bootloader flash host_signed.img file from any firmware 3.16.401.2.

fastboot flash hosd hosd_signed.img

https://www.androidfilehost.com/?fid=11410963190603854673

After that your can flash Oreo RUU in download mode.

3. You can also flash not full incremental signed firmware from OTA, but be careful.. you have to flash all such firmware in line as OTA arrives:

In your case: 2.41.401.3 -> 2.41.401.41 -> 3.16.401.2

After that you can flash Oreo RUU without any mistakes.

4. Flash last Nougat RUU 2.41.401.41 and get over the air / flash manually Oreo OTA 3.16.401.2.
[HTC 10 Guides, News, & Discussion] Aryamehr1366:
mainly because i want to keep this oreo ruu as a life saver in serious cases. honestly i prefer to not download a nougat ruu :D

to flash firmware in HTC RUU mode should i change the name of the firmware zip file to 2PS6IMG.ZIP too? just like full RUU file? :confused:
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Why go the hard way. You don't seem to be a very experienced flasher. Take the easy route. Download the 2.41 zip, rename it to 2PS6IMG.zip and copy it to the SD card and boot to download mode. Let it flash and OTA to oreo.

After that you can do whatever you like with Oreo roms, if you don't like any you can always run the Oreo ruu.

I really have no clue why people tend to make it so difficult for themselves......seriously
[HTC 10 Guides, News, & Discussion] tst1212:
Lost in RUU space

I'm lost. I have a Unlocked HTC 10 that I've flashed and sideloaded and whatever else so many different things in an attempt to get a working Verizon I have no idea where I am. About te only thing I have going for me is the phone is S-Off and I have adb/fastboot access. Getvar info below;

Any help would be greatly appreciated.

*** UNLOCKED ***

*** FUSED ***

htc_pmewl PVT S-OFF

CID-BS_US001

MID-2PS650000

OS-3.18.605.13
[HTC 10 Guides, News, & Discussion] Tarima:
Change your CID to the verizon one (or super CID) and run the Verizon Oreo RUU
[HTC 10 Guides, News, & Discussion] Aryamehr1366:
well thank you

i want to try option 1

how can i flash a signed firmware like that one you put its link?
[HTC 10 Guides, News, & Discussion] ziand:
Instruction of flashing a firmware is the same as RUU.
[HTC 10 Guides, News, & Discussion] MarylandCookie:
Hi Guys,

I've been out of the android scene for while and could do with some pointers.

I have managed to get my hands on a HTC with the following information in download mode:

*UNLOCKED*

*FUSED*

htc_pmeuhl PVT S-ON

LK-1.0.0.0000

RADIO-2.0.U010241a@71204

OpendDSP-v23.0.8996.00007_1028

OS-3.16.401.2

Jan 3 3018,21:18:28(1012001)

Can anyone advise if i'm on the latest firmware?

And if so, can i just go ahead and flash an Oreo rom? I have already installed twrp.

Other than this, is it better to be on Oreo or Nougat and which rom is recommended? (I know it's subjective, though id get some views :) )

Thank you
[HTC 10 Guides, News, & Discussion] Mr Hofs:
1: yes

2: yes

3: oreo or nougat....all subjective

4: rom is also subjective

Try some and see what you specifically like.

Cheers
[HTC 10 Guides, News, & Discussion] MarylandCookie:
Thanks Hoff

Are you able to point me in the direction of a oreo Ruu?

I’ might need to restore back as I have a feeling my banking app won’t work! :(
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Links to your ruu is only 1 page back :cool:
[HTC 10 Guides, News, & Discussion] wetxxx:
Guys do you know about firmware update to our HTC 10? Maybe 8.1 or 9.0?

"Live long and prosper"
[HTC 10 Guides, News, & Discussion] Mr Hofs:
There won't be any update anymore.
[HTC 10 Guides, News, & Discussion] RoryUK:
Hi all,

EDIT: Now that my brain has engaged and i'm not half asleep when writing posts! I'm going to go back to stock Nougat 2.41 and then OTA to oreo, seems the simple way to me.

EDIT 2 : Did the above successfully.:good:

If anyone is interested, I transfered to Nougat 2.41.401.4 onto the root of the sdcard, changed the name of the zip file to 2PS6IMG.ZIP. Rebooted into download mode and from there selected to flash and it did the rest., now a fully stock nougat HTC 10. Decision now is whether to upgrade to oreo?

Original post..

I have for many years gone forward (i.e. root etc and venom/leedroid roms etc but never gone back to stock)

Now my HTC 10 has gone into retirement (I went mate 20 pro - why did HTC not build a phone like this that is customisable! I was an loyal HTC user since the desireHD!)

All is not lost however for the 10 as it is going to find a new home with my wife to replace her dying M8.

Many thanks in advance, you are always a great help!

Rory
[HTC 10 Guides, News, & Discussion] Hubird:
I need help, HTC is doing my head in, it's complicated compared to Google / OnePlus devices.

I have an Australian HTC-10 with a software number 1.21.841.8. S-On with TWRP

I was previously running LineageOS 14.1 and want to upgrade to a LineageOS15.1 build.

To do this I first need to upgrade to stock Oreo, is this right? I can't get OTA's because my device has been modified.

I think I need to flash 1.21.841.8 -> 1.53.841.6 from this thread but the link is dead.

Can anyone post a link or offer suggestions on how I can get LOS 15.1 working.
[HTC 10 Guides, News, & Discussion] Tarima:
Have you tried what's posted here?

https://xdaforums.com/showpost.php?p=67472559&postcount=693

I just did a search for 841 in this thread and that was the first reply
[HTC 10 Guides, News, & Discussion] Hubird:
Thanks for the reply.

I did see those but dismissed them for some reason.

I am now running 1.95.841.3 but it is still Marshmallow 6.0.1 unfortunately.
[HTC 10 Guides, News, & Discussion] Mr Hofs:
So that means you updated to 195.841 via official OTA ? Via the OS ? Or did you do that "yourself" if you know what i mean ?
[HTC 10 Guides, News, & Discussion] Hubird:
The official OTA doesn't work, it says the system partition is corrupt (because it has been modified).

I updated via TWRP.
[HTC 10 Guides, News, & Discussion] Mr Hofs:
But you restored an unmodified backup 1.53 and updated to 1.95 via OTA ? Or what was your process now ? I'm missing something
[HTC 10 Guides, News, & Discussion] Hubird:
When I first got the phone it was on HTC sense based on Android 6.0.1 and was Telstra branded.

I unlocked the bootloader using the HTC site, flashed TWRP and created a NANDROID backup.

From memory (it was a while ago) I then flashed LineageOS 14.1 and gave the phone to a family member.

They were recently complaining that it had started to get sluggish so I decided I'd try and flash a Oreo 8.1 or Pie 9.0 ROM and see how it goes.

From what I've read to update to a newer Oreo or Pie based ROM I first need to be on stock HTC Oreo which I have not been able to do.

The post you linked to contained compatible stock 6.0.1 TWRP back ups I was able to flash but they do not enable the OTA to work.

See pictures.
[HTC 10 Guides, News, & Discussion] Mr Hofs:
So you need a 1.95 pure stock backup because the one you restored isn't truly stock. Or you need a 1.95 or 2.48 ruu file.

A stock backup, don't know where to find it for this model instantly but the ruu files are available at "gem flash firmware" it may cost about 3 dollars but it's a genuine website. Ruu files for this model is very hard to find outside that website.

Oh and i believe it was [MENTION=3862046]Tarima[/MENTION] that linked you files ?

But again i have some questions ?

You say in your first post that your device is on firmware 1.21 but your picture shows that it is on 1.95 now ? What exactly did you do, did you restore a 1.21 or 1.53 stock backup from here and updated officially to 1.95 because if you did that your system can't be modified, or did you use your own created backup and your device was on 1.95 firmware all along.

Remember that rom and firmware are 2 different things.
[HTC 10 Guides, News, & Discussion] Hubird:
I was able to go from 1.21.841.8 to 1.95.841.3 by flashing the files in this post

https://xdaforums.com/showpost.php?p=67472559&postcount=693

I downloaded and flashed this with TWRP

https://drive.google.com/file/d/0B6MWrHVBWC-xY0ZtV2VNWUdad0U/view?usp=drivesdk
[HTC 10 Guides, News, & Discussion] Mr Hofs:
The first link is incomplete (404 not found) but i guess that was the firmware, and the backup you flashed isn't truly a backup because if you flashed the zip it's a rom and not a backup. A backup comes in a folder and file structure which you have to restore in TWRP. Flashing and restoring are also 2 different things.

EDIT :

I bet these files comes from Sneakyghost firmware flashing thread. Please take some time reading things because i checked that thread and did some reading there and immediately see that flashing those zips breaks the OTA function. So in order to fix your issue i would say you have 3 options now which in my opinion are the easiest :

1 : Root your rom and get S-OFF (for 25 dolllars) and convert the device

2: Get the 1.95.841 RUU from gem flash firmware (which is less than S-OFF)

3: Find a TRUE stock backup 1.95.841 (which will be hard to find i guess at this point)
[HTC 10 Guides, News, & Discussion] Hubird:
First link has been fixed.

Flashing backups from TWRP isn't enough to return the device to stock, for this a compatible RUU file is needed or OTA updates won't work.
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Basically it comes to this. You need

A: the stock recovery

B: the stock OS that matches the firmware

Did you also flash the stock 1.95 recovery.img ?
[HTC 10 Guides, News, & Discussion] Hubird:
Yes, OTA still did not work.

---------- Post added at 12:02 PM ---------- Previous post was at 11:54 AM ----------

Yes...

I am checking gem flash firmware but it doesn't look like they have what I need
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Yes they have, I've seen a 2.48 ruu file for your region.

EDIT :

What i would do is if i were in your shoes is this :

1: Flash this firmware :

https://www.google.com/url?q=[url]h...528000&usg=AFQjCNF0Yshl9Ti2w6xi4uh_niDXEp1v0A

1A : Or flash this firmware if you have some credits left on the gem website after you downloaded the RUU

https://firmware.gem-flash.com/index.php?a=downloads&b=file&id=51695

2: Download this RUU :

https://firmware.gem-flash.com/index.php?a=downloads&b=file&id=51444

3: Rename the RUU to 2PS6IMG.zip and copy it to the sdcard, boot to download mode and confirm to flash it

4: That should be the succes to get to 2.48 official and from there you can choose and should be able to update all the way up to firmware and stock OS 3.18.841.x oreo.

If the above doesn't work then either settle with the OS types you can run (either stock or custom) or go S-OFF.
[HTC 10 Guides, News, & Discussion] Hubird:
Thanks for your suggestions, downloading now.

How do I flash this file, it doesn't look like a TWRP back-up?

Renaming it to "2PS6IMG.zip" and trying to flash it from my SD card didn't work.

Judging by the zip file contents and size it looks like an OTA update?
[HTC 10 Guides, News, & Discussion] Mr Hofs:
Try just the RUU, it should update from 1.95 to 2.48. If not you need to fastboot flash the firmware prior to the RUU.

Edit :

You can also forget the first firmware from sneaky's thread, those are for S-OFF devices only. So when you need to flash a firmware you definitely need the signed one from gem flash.

And no it's not an OTA btw, it's the standalone firmware which contains the bootloader, recovery etc....and it's also no backup files.

The RUU stands for Rom Update Utility which contains all to put the device back to stock. But the devices firmware and the ruu need to match certain criteria to work. You can't any ruu file, not lower ones but also not all higher ones.
[HTC 10 Guides, News, & Discussion] Hubird:
RUU did not work

12 RU_ZIP ERROR

12 RU_ZIP ERROR

FAIL 12 RU_ZIP ERROR

I'm not sure how to go out flashing the first zip, does it require s-off?
[HTC 10 Guides, News, & Discussion] Tomatenjoghurt:
Hi everyone,

I've got an HTC 10 with CID T-MOB101 (T-Mobile Germany), unlocked bootloader and S-ON. Is there any way to go back to stock? I only found Stock images for T-MOB010 (T-Mobile US). Is it possible to change CID to HTC__034 and then use the corresponding RUU? Will this unbrand the device and make is usable in other networks? Branding is not important for me as warranty has already run off. Just want to go back to stock to give it to my family members, as I've already got a new phone.

Thanks in advance :)
[HTC 10 Guides, News, & Discussion] Mr Hofs:
You can change your CID indeed but you need S-OFF for that. That will cost you 25 dollars via "sunshine"

But i will give you my opinion since you going to give it to relatives. Keep the 25 dollars in your pocket, flash maximus oreo rom (which is very close to stock) and leave it at that. There won't be any updates from HTC anyway
[HTC 10 Guides, News, & Discussion] Tomatenjoghurt:
Good advice, thanks - do you know if this rom passes safety net by default? Because I had some trouble with this phone and playing nintendo games on lineage OS...

EDIT: stupid question, it's in the thread :)

Thanks for this advice!
[HTC 10 Guides, News, & Discussion] santod040:
If I recall, HTC 10 on T-Mobile never got Oreo.

Which means there would be a firmware/software conflict with using an Oreo based rom.

Which would then require the s-on downgrade method to fix network and other related issues.(or s-off and cid change, and firmware upgrade)

If I'm wrong, then disregard...
[HTC 10 Guides, News, & Discussion] Mr Hofs:
That indeed does ring a bell now you mention it again. The downgrade s-on method isn't needed when the oreo rom is flashed on a nougat firmware, only thing is that the nougat rom has to be flashed again and the "erase persist" command has to be executed from TWRP to fix signal.
[HTC 10 Guides, News, & Discussion] maynard_jk:
HTC 10 GSM International --> back to stock

Hello guys,

I need a tip how to revert my HTC 10 back to stock because i'm not using it anymore since a couple of months and want to sell it.

Currently the device is S-OFF and has TWRP and a LeeDroid Oreo Rom (v. 5.2.1) installed.

Now I need the correct RUU for the latest "back to stock" german Rom and I'm not sure which one I should use. Could you point me to the correct download?

Thx in advance!
[HTC 10 Guides, News, & Discussion] santod040:
Post the output of: fastboot getvar all

Remove the serial and imei from the the pasted info for security purposes.

The "version main" will show what OS version/RUU you need.
[HTC 10 Guides, News, & Discussion] maynard_jk:
Here it is:

(bootloader) version:0.5

(bootloader) ramdump-mode:false

(bootloader) variant:Surf eMMC

(bootloader) boot-mode:FASTBOOT

(bootloader) secure:yes

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0xe000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x61e000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0xef000000

(bootloader) serialno:

(bootloader) kernel: lk

(bootloader) product: htc_pmeuhl

(bootloader) version: 1.0

(bootloader) max-download-size: 1578400000

(bootloader) serialno:

(bootloader) slot-count: 0

(bootloader) current-slot:

(bootloader) imei:

(bootloader) version-main: 3.16.401.2

(bootloader) boot-mode: download

(bootloader) version-baseband: 2.0.U010241a@71204

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PS620000

(bootloader) cid: 11111111
[HTC 10 Guides, News, & Discussion] santod040:
So, as mentioned, you search for version main, which is 3.16.401.2

That would bring you to this in the end... https://androidfilehost.com/?fid=673956719939830809
[HTC 10 Guides, News, & Discussion] maynard_jk:
TY very much!
[HTC 10 Guides, News, & Discussion] maynard_jk:
I've been trying to download the file from AFH for quite some time, but every single download fails after a while and there are no mirrors available. Is there another source from where I can download the RUU?
[HTC 10 Guides, News, & Discussion] santod040:
Try a different browser, or from a PC if you've been trying from your mobile device.

Afh sometimes doesn't agree with some browsers.

I am able to download from there just fine.
[HTC 10 Guides, News, & Discussion] santod040:
If that doesn't help, try this link:

https://drive.google.com/file/d/1jU80ngxHGKiioPrKHJ_l7d9S5vVfIZDR/view
[HTC 10 Guides, News, & Discussion] alexmurug:
Hi All any one has possibility to upload 2PS6IMG_PERFUME_UHL_O80_SENSE90GP_MR_H3G_UK_3.18.771.1 stock RUU firmware please?
[HTC 10 Guides, News, & Discussion] santod040:
https://androidfilehost.com/?fid=962187416754475427
[HTC 10 Guides, News, & Discussion] katak.bali:
Hi everyone, I downloaded SKU 710 from here but when I extract the file hosd_signed.img its error/corrupted. I would like to downgrade from Oreo to Nougat. Anyone have a solution?
[HTC 10 Guides, News, & Discussion] Mr Hofs:
The file is not corrupt.....its encrypted.
[HTC 10 Guides, News, & Discussion] katak.bali:
how to decrypt it?
[HTC 10 Guides, News, & Discussion] santod040:
Same way as all HTC RUU files for the last several years or more...

https://www.google.com/amp/s/xdafor...niversal-htc-ruu-rom-decryption-t3382928/amp/

Or else find a stand alone matching firmware zip and just extract it from there.