yashsingh1/xdaforums huggingface dataset:
[Android] The_Walking_Playground:
Hi,

What exactly are you trying to accomplish? This tool has done its job. If you were just trying to flash the RUU, then you didn't need this tool in the first place. Maybe you should explain what it is you want to do, and then someone can direct you to an appropriate thread to get some assistance.

TWP
[Android] tiancris:
hi, i accidentally delete the OS of may htc one a9 thru TWRP

but i try this , if you see my posthere.

then i search other thread, while waiting for the answer, i see this thread

https://xdaforums.com/one-a9/development/rom-a9-base-roms-recovery-flashable-t3282335

i got OS "Sprint" but i want OS global ROM
[Android] The_Walking_Playground:
Hi,

I don't think the global ROM is compatible with Sprint. But if that's the RUU you extracted, you can try fastboot flashing the boot and system images that were produced by the tool. You may not have any mobile network or data, or it may work. Either way, you should probably move the discussion to another thread, as it's no longer related to this tool.

TWP
[Android] tiancris:
thanks for your reply, maybe i search other thread for my problem,
[Android] JEANRIVERA:
Does anyone here knows how to generate a new key file for U12+ ruuzip?
[Android] santod040:
Possibly, if it's available(now), I'll take a look.

Haven't had time to look yet...

***Edit

Found all I need.

Will get it done and uploaded as soon as I get a few free moments.

Which model in particular are you after?
[Android] santod040:
I decrypted and uploaded the keyfile. :good:

Update/download new keyfiles and you should be all set now, assuming that the Unlocked models current keyfile is the same as the other variants.

If it doesn't work, let me know...
[Android] qriozum:
Hello.

I wanted to extract from the RUU for HTC U12 + (v1.15.401.4) stock recovery, because in the topic [MENTION=5832952]5m4r7ph0n36uru[/MENTION] with aggregated RUU, firmware for this model, in the combinated firmware there is no recovery.

https://xdaforums.com/u12-plus/how-to/collection-htcu-u12-ruu-firmware-t3794664

But despite unpacking the RUU twice with "Decrypt_Tool", I achieve the same result:

- lack of recovery in decompressed RUU.

Do you have any suggestions or suspicions about why this is happening?

Is it RUU did not contain recovery?

regards

q.
[Android] 5m4r7ph0n36uru:
Recovery is sharing it's partition with boot_a and boot_b respectively, due to project treble. Thanks to treble things got a little bit different yet again. You'll thus no longer find any recovery inside a RUU.
[Android] qriozum:
Thank you for the quick reply.

Does it mean that currently we will not have stock recovery any more so that in the event of "in" doing their own flash after restoring the system from the image?

regards

q.
[Android] 5m4r7ph0n36uru:
It means what I told you. Stock recovery is now embedded into the boot image. This you need a full stock nmboot image at hand, instead of a recovery image. Same applies to my Huawei MediaPad M5 running treble a/b.
[Android] The_Walking_Playground:
Hi,

The lack of a recovery partition isn't due to Project Treble. It's seamless updates, which use an A/B partitioning system, that have led Google to removing the recovery partition. There are devices that support Project Treble (the U11+ comes to mind) that do not support seamless updates, and thereby retain a recovery partition.

TWP
[Android] 5m4r7ph0n36uru:
I know. But as you might have seen and read the question has been about a treble a/b device specifically the U12+), and thus my answer ( if you read it you might have seen that I wrote about a/b devices!) holds true......
[Android] The_Walking_Playground:
Hi,

The U12+ happens to be an AB device that also supports Project Treble. The two are not mutually exclusive. Either way, Project Treble isn't the reason that the U12+ doesn't have a recovery partition. That's simply incorrect.

TWP
[Android] 5m4r7ph0n36uru:
Well then. If you think so. Damn why's Nobody readingevery detail of an answer and just starting to correct everyone due to the very fact he or she didn't take every detail of the answers into account. That's simply pissing me off..... I'm out.....
[Android] silver2004:
Thank you so much for the tool, thank to you i was able to extract the stock recovery img for HTC 825 which i couldn't find anywhere in the web :) Everything works as expected (Win 7 64bit)
[Android] sbiricuda:
Hi, I'm interested in the same device (HTC u12+).

I need the proper stock boot.img from the 1.15 RUU.

I just really can't figure where to download the new keyfiles. I find no keyfile folder in the tool zip (WIN7 x64), at least not in the last one (the former has a keyfile folder, tho).

EDIT: Nevermind, I did it!

Thank you anyway.

If I am allowed to say such a thing, I would suggest a bit more explanation about how to use this tool.

I am no expert, but I have been messing (yeah, right term I guess) with all this stuff for a bit already. And still it really took me a lot of time to understand how to use it.

Maybe saying in the OP that you just need to drag and drop the RUU.zip on the .exe would save lot of time to someone in the future (and prevent question from noobs like me).

Whatever the case, thank you for creating and updating this tool :)
[Android] santod040:
The latest/last version of the tool downloads them from an online database, if they have already been submitted.

If they haven't, you'd need to supply the tool with the proper image to extract the keys from, as instructed on the first page.

Assuming you're using the last version of the tool (3.6.8), you shouldn't need to do anything.

As I believe the keyfile I uploaded should still be working.

If it's not, what's the full version of your firmware?

Doesn't the latest update start with 1.21 or 1.24?
[Android] santod040:
I'm glad you got it sorted.

Just be aware that the awesome creator of this very user friendly(already way too NOOB friendly) tool has gone on to dance out eternity with the angels above...

(ie: no requests)
[Android] sbiricuda:
Yes, it's 1.21, but I don't know why I get the CID error with that RUU. Even if I pick the RUU for my CID, I can't go on with that.

1.15 works for me, so I'm using that one.
[Android] Hollilightman:
How do you do?

I'm new here.

My brother has an HTC U12+ single SIM I need from the current OTA HTC_Europe_1.25.401.4 the Boot.img. I got the Boot.img from the 1.21.401.4 in the other forum.

I would like to use Magisk. For this I need the Boot.img to make it a patched_boot.img.

I have the "OTA_IMAGINE_UHL_O80_SENSE10GP_HTC_Europe_1.25.401.4-1.21.401.4_release_527683.zip" with a payload.bin (138,9 MB)

It seems that the tool doesn't work.

How do I get to the "boot_stock.img"?

Thanks
[Android] The_Walking_Playground:
Hi,

This tool is specifically for extracting HTC RUU files. An OTA zip is not the same as an RUU. I'm sure that if you search around on XDA, you'll find a tool that can dump a payload.bin.

TWP
[Android] Hollilightman:
Thank you only found this

https://xdaforums.com/chef-central/android/tool-extract-repack-dat-img-android-5-8-t3670763

but unfortunately it doesn't work.
[Android] The_Walking_Playground:
Hi,

That tool doesn't appear to be specific to dumping a payload.bin. I found this with a simple search on "dump payload.bin":

https://xdaforums.com/nokia-7-plus/how-to/guide-how-to-extract-payload-bin-ota-t3830962

TWP
[Android] smart123123:
I followed the steps... But didnt got rom.zip... I only got 8zips... That were also encrypted... I m having desire820u india m60 ruu.zip
[Android] The_Walking_Playground:
Hi,

See here: https://xdaforums.com/chef-central/...-htc-ruu-rom-decryption-t3382928/post66943723

TWP
[Android] smart123123:
What sir... I m only having the detected large zip file and those 8 dumps.... Then some error.m. thats it... No rom.zip
[Android] xunholyx:
A ROM.zip is the same thing as an RUU.zip. Actually, ROM.zip is the proper name for it.

If you have the RUU.zip, then you already have the ROM.zip.
[Android] smart123123:
Then how to take out system image... And why it gives error while extracting even though i had checked it that it is not corrupt by flashing it in hboot....
[Android] The_Walking_Playground:
Hi,

Maybe this will make my previous post more clear:

TWP
[Android] smart123123:
1.0PFJIMG_A51_DTUL_M60_DESIRE_SENSE70_MR_hTC_Asia_India_3.17.720.3_Radio_01.01.010_U10305041_08.01.51015_release_476185_signed.........

2.i dont know how to take out terminal output
[Android] The_Walking_Playground:
Hi,

If you can't provide the terminal output, there's no way anyone can help you. There is a keyfile for the RUU you mention, so there's no reason it shouldn't be decrypting. I'm assuming there's something you're doing incorrectly, but if you can't copy/paste the terminal output, there's no way to know what you're doing wrong.

TWP
[Android] KP@2016:
Error: UnRUU Failed to produce rom.zip

Hello! Thanks for the wonderful tool. Actually I got an error while extracting my HTC Desire 626.

Here is the log that is produce by Unpack tool (using 32bit version)

$=>: ruu.exe C:\Users\Dell\Documents\Roms\RUU_A32E_UL_L51_DESIRE.exe

+++ Welcome to the HTC RUU Decryption Tool 3.6.8 +++

RUU identified as Executable file

Please enter your choices
* Create a logfile [Y/n]: Y
* Extract system.img and boot.img [Y/n]: Y
* Extract the firmware files [Y/n]: Y
* Create an sd-card flashable zip [y/N]: N
* Do you wish to check for new keyfiles [Y/n]: Y
* If a new keyfile is generated, do you wish to upload it [Y/n]: Y
* Enable debugging options [y/N]: N

Downloading keyfiles...
Connecting...
Found 89 keyfiles
89 0P3P_keyfile_4.bin 96B ...DOWNLOADED
88 0P4E_keyfile_1.18.950.5.bin 96B ...DOWNLOADED
87 0P4E_keyfile_2.14.631.15.bin 96B ...DOWNLOADED
…………………...……bla bla bla files ………..............………………..
2 PO68_keyfile_5.16.709.103.bin 96B ...DOWNLOADED
1 u11use_keyfile.bin 96B ...DOWNLOADED
Downloaded 89 new keyfiles.
Download_Keyfiles took 2 minutes 35.134 seconds.

Checking keyfiles' state...
Analyzing 89 files
Finished: 89 valid and unique keyfiles found.
Check_All_Keyfiles took 0.080 seconds.

Extracting rom.zip from RUU_A32E_UL_L51_DESIRE.exe
Extracting temporary files...
Error: Failed to extract required files from C:/Users/Dell/Documents/Roms/RUU_A32E_UL_L51_DESIRE.exe
Cleaning up...
ERROR: UnRUU failed
ERROR: UnRUU failed to produce either rom.zip or rom_01.zip+rom_02.zip aborting!
UnRUU took 54.025 seconds.

Removing unneeded work folders

Overall process completion time: 3 minutes 29.293 seconds.

Finished: Tool has finished but there was an error, please
check the console output and your OUT folder
'C:/Users/Dell/Documents/Roms/OUT'

Writing logfile to: C:/Users/Dell/Documents/Roms/OUT/RUU_Decrypt_LOG-__2018-11-12_204840.txt
[Android] The_Walking_Playground:
Hi,

I think there might be an issue with the 32-bit versions of the tool. I know when trying them on my 64-bit OS (Windows, at least), they don't work properly. Do you have a way to try the Linux version of the tool, or do you have a 64-bit OS somewhere you can use with the 64-bit version of the tool?

TWP

P.S. If you have a link to download the RUU you're trying to extract, I can try it locally and see if I can extract it, to confirm there isn't an issue with the file itself.
[Android] KP@2016:
Actually I have 64bit OS but simple I was trying 32bit one. I don't know if that caused issue, anyway if you want to try here is the link for the RUU of my device http://dl3.htc.com/application/RUU_A32E_UL_L51_DESIRE_SENSE70_Aio_Wireless_US_1.23.506.6.exe

Well if you say I will try 64 bit one also! soon will report you the results
[Android] The_Walking_Playground:
Hi,

I was able to decrypt your RUU without issue on my U11. The 64-bit version of the tool should work fine.

TWP
[Android] xunholyx:
On your phone? Never knew that was possible. Very cool and good to know.
[Android] The_Walking_Playground:
Hi,

Yes, [MENTION=1162986]Captain_Throwback[/MENTION] uploaded a Magisk module version of the tool a while ago. I personally updated it to the latest Magisk module template and it still works fine.

TWP
[Android] KP@2016:
That's very helpful for me:angel:
[Android] KP@2016:
Still Failing

Sorry to bother you again when I tried 64bit version on Win10 it still didn't work though. Same error as mentioned in my first reply
[Android] The_Walking_Playground:
Hi,

Is there a reason you renamed the executable for the tool? Can you try downloading the tool into a clean folder, and just dragging the RUU you want to decrypt onto the RUU_Decrypt_Tool.exe file (WITHOUT renaming it) and see if that works? I just ran the 64-bit version of the tool in Win10 on your RUU and it ran without an issue. I've attached the log of the successful run.

TWP

EDIT: Actually, I'm thinking the tool isn't the issue at all, but that you may have a bad download of the RUU file. Can you confirm the checksum of the RUU file you linked? According to HTC (and I confirmed locally), the MD5 hash of the file is b979a8d8e72d2165b101efa621a5119b. Can you confirm that's the hash of your local file?

EDIT 2: I also just tried the 32-bit version of the tool in my 64-bit Win10 and it decrypted the file fine as well. So it's almost definitely an issue with your downloaded file and not the tool at all.
[Android] KP@2016:
You are correct, the checksum didn't match at all. Definitely my download has been corrupted.
[Android] The_Walking_Playground:
Hi,

It looks like there was an error with your internet connection, as all of the keyfiles didn't download. You should try running the tool again.

TWP
[Android] dmc123:
i extract hosd and some other files from a firmware.zip inside the appropriate OTA.zip ,but how can i use them for a keyfiles ? my phone is htc u ultra ,the OTA file is OTA_OCEAN_NOTE_DTWL_N70_SENSE80GP_HTCCN_CHS_2_1.18.1405.3-1.17.1405.1_R3_release_4980649m9f02fkwj5sdrxb.zip . is these files can use for a keyfile for other version such as 2PZFIMG_OCEAN_NOTE_DTWL_O80_SENSE90GP_MR_HTCCN_CHS_2_2.21.1405.6_Radio_2.0.U010051 ?

---------- Post added at 03:41 PM ---------- Previous post was at 03:25 PM ----------

if the RUU.zip is split into 2PZFIMG...._signed_2.zip and 2PZFIMG..._partial_2.zip , what command should i type ？
[Android] yoshjosh1985:
Hi there is an error in download link. Says couldn't parse url to load download page. Any help?
[Android] The_Walking_Playground:
Hi,

I believe the U Ultra is already supported. Did you just try running the tool on the RUU you're trying to decrypt? If it isn't supported when you run the tool, just put the hosd into the folder with the RUU_Decrypt_Tool and add the hosd file name to the end of the command line when running the tool, as indicated in the OP.

Hi,

I was able to download from the Download tab just fine. Maybe there was an issue with XDA at the time you tried to download? Try it again and see what happens.

TWP
[Android] yoshjosh1985:
Tried to do just now and still same error.
[Android] The_Walking_Playground:
Hi,

Try a different browser. Like I said, the downloads work fine for me. Which file are you trying to download, exactly?

TWP
[Android] xunholyx:
I just tried myself, although I already have the latest version (for 64), and I had no problems with the download using Chrome browser.

You should try with Chrome if you aren't already
[Android] yoshjosh1985:
Sorry I don't understand what is problem

In OP there is a section that says all download in download section which is in itself a link. This link to download doesn't work.

I can't see any other link to the site hosting the files.

Can someone please post a link? I can't see except for one that doesn't work. I haven't even made it to website with the files.
[Android] xunholyx:
A link for what? You've already been asked which file it is you want, but you never answered. If you did, I could probably link you up
[Android] yoshjosh1985:
Sorry, for this tool, the htc decrypt tool from this thread . So strange. Using the XDA app and can dl other things no worries or go to other site etc
[Android] xunholyx:
Why are you trying to download it with your phone? Use a PC, because you can't use the tool on your phone. That might be why you can't download it (?)

Here's the link though: https://xdaforums.com/devdb/project/dl/?id=27470
[Android] yoshjosh1985:
Yes it's true. Trying to prepare all, files to do downgrade so when I get home it's all preped.

Thanks very much for the help
[Android] dmc123:
maybe you need a VPN

---------- Post added at 10:59 PM ---------- Previous post was at 10:53 PM ----------

i download a ruu.zip file has tow part : 2PZFIMG...._signed_2.zip and 2PZFIMG..._partial_2.zip , i think is a splited files , what command should i？
[Android] The_Walking_Playground:
Hi,

Just run the tool on each file, if you need both of them extracted.

TWP
[Android] dmc123:
i have a google Pixel brick in Qualcomm HS-USB QDLoader 9008 mode ,somebody tell me can save it use the qpst but need rawprogram.xml and patch0.xml and the firehose or programe.mbn files .But i don't have that and can not fine them in the internet . Creating rawprogram.xml and patch0.xml method has been released , but still no firehose , is there some way to extract it form rom or RUU(google 'rom is ota or zip )?

below is the Creating rawprogram.xml and patch0.xml method:

https://www.youtube.com/watch?v=BmAuzbG9re4

pixel factory images

https://developers.google.com/android/images

---------- Post added at 12:46 PM ---------- Previous post was at 12:42 PM ----------

i open the bootloader-sailfish-8996-012001-1703151359.img with winhex , i found something similar about these files
[Android] xunholyx:
This tool only works with HTC devices. Although the Pixel hardware is made by HTC, the software and stock ROM are not.

I'm asuming here that you have the original Pixel; not XL; so I would suggest that you ask for help in the Pixel Q&A/Help forum.

Good luck!
[Android] dmc123:
yes , you are right . somebody said it's bad quality because made by HTC .There are too few people in Pixel forum ，

I think the author of this software(Decryption Tool ) probably knows what to do .so i ask for help :D:D:D
[Android] xunholyx:
The author of this thread is deceased. He passed away a year ago just after Christmas (RIP buddy)
[Android] dmc123:
...........Are you serious？
[Android] JEANRIVERA:
https://www.google.com/url?sa=t&sou...BhAB&usg=AOvVaw0RfDKwLLPowwL4WBxqusPI&ampcf=1
[Android] xunholyx:
Of course I am. That isn't something I would ever joke about.
[Android] dmc123:
I'm so sorry to hear that...

---------- Post added at 08:41 PM ---------- Previous post was at 08:33 PM ----------

That's a loss of XDA ......God bless his soul
[Android] donmarkoni:
It's been a year... You are missed... Rest in peace my friend... :(
[Android] KP@2016:
Sorry to hear, I wasn't knowing about this untill this post. After all this years I've been using his work for almost all my HTC devices and now the feeling that he is no more with us feels empty. I can't add anything more to this :(.

Rest in peace
[Android] Dukenukemx:
Is there a way to use this tool to remove a file like tp_SYN3708.img from a HTC 10 rom? Or could I use it to encrypt files into a rom for SD card flashing?
[Android] xunholyx:
This tool is for decrypting the stock RUUs from HTC. What you do with the unencrypted files is up to you.

When you say "remove an .img from a ROM", it will only work for that if you are using the stock ROM/RUU.

This tool isn't made to encrypt files into a ROM. Decrypting is all that it does.
[Android] nakpakhome:
sir i need recovery file or software wo htc 901t in ruu please

please
[Android] joey118:
[MENTION=1162986]Captain_Throwback[/MENTION] asked me to post this updated version of the mobile Decrypt Tool to the thread which is now compatible with the latest Magisk. Just tested on latest stable magisk :highfive: worked just fine

https://www.androidfilehost.com/?fid=8889791610682887604
[Android] miya1996:
Hi,

Someone can download this tool from the Downloads section?

I tried many times with different browsers (chrome, edge and vivaldi), but always show me "404 Not Found".

What I need is for Windows version (including RUU_Decrypt_Tool.exe), please help me.

Sorry for my poor English.
[Android] xunholyx:
I've uploaded it to dropbox for you. Here's the link: https://www.dropbox.com/s/5s9z43na1m2pzgd/RUU_Decrypt_Tool.exe?dl=0
[Android] Captain_Throwback:
I'll see if I have the latest versions of the tool and will upload the AFH when I have a chance.
[Android] xunholyx:
The version I uploaded is 3.6.5, which I believe was the last version before nkk's passing.

Edit: I thought you weren't posting here anymore after you hit 20k. Welcome back CT :)
[Android] Captain_Throwback:
Well the thread title says 3.6.8, so there should be a newer version than that. I'll check and see what I have.
[Android] Captain_Throwback:
Latest versions have been uploaded here: https://www.androidfilehost.com/?w=files&flid=314688

I'll try and contact a mod about switching the OP over to me so I can update the Downloads link in the first post.
[Android] miya1996:
Thanks for your kindness, xunholyx and Captain_Throwback.

I can downgrade my htc phone!
[Android] Captain_Throwback:
Download link in OP updated to AFH folder.
[Android] Captain_Throwback:
A 3-year break was long enough for me to get back into things. Plus I'm using ASUS devices now and they were kind enough to send me a device for TWRP dev. So I figured it was time.
[Android] woldo123:
Hello nkk71 and Captain_Throwback,

a huge, unmeasurable "Thank You" for this fantastic and immensely helpful work!

Even two years after the initial release this tool is extremely helpful, please do not stop to maintain it!
[Android] Captain_Throwback:
Unfortunately there's no more maintenance to be done with the tool, since nkk71 passed away 3 years ago and it's fully functioning afaik. Hopefully it continues working and if it ever needs updating, maybe someone else can take on the mantle and update it.
[Android] Samfire_The_chromeOS_Fan:
how do you run the tool?
[Android] xunholyx:
Instructions are in the first post.
[Android] metropical:
Mac OS Big Sur

RUU decrypt tool 3.0.8 and 3.6.5

2PZCIMG_OCEAN_WHL_P90_SENSE10GP_MR_NA_Gen_Unlock_3.37.617.1_R2_Radio_8998-200321-1905211056_release_545430_signed_2_4.zip​

I get "permission denied" when I try to decrypt -s to get boot.img for Magisk.
[Android] Captain_Throwback:
There's no support for the Mac version, sorry.
[Android] metropical:
Darn the Luck ! ! !

any Mac users have this working and able to decrypt for boot.img for use installing Magisk?
[Android] xunholyx:
Give me a bit and I'll get it for you. I'm downloading the 3.37.617.1 zip now. It might take a bit because downloading from AFH is slow right now, but it should be in an hour or less.
[Android] metropical:
cool. thanks. I was trying on VBox with Mac OS. But I'm not Windows smart anymore.

Just updated mine to 3.37.617.2 today.
[Android] xunholyx:
Here you go:

3.37.617.1_boot.img | by xunholyx for U11

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Android] metropical:
cool. thanks very. see if i can get magisk installed and get my xposed modules back.
[Android] captain008:
I might be hosed but how do you generate keyfiles? I have a U23 Pro and was hoping to extract the Boot.img from the payload.bin file from a recent OTA. My guess is no keys exist for this device yet. I have attached the output log if needed.
[Android] nkk71:
Could I kindly ask you to edit your post and remove the quote; not a good idea quoting the entire OP :rolleyes:

As to your question, you could mount the system.img in a linux system,

but to be honest, I can't help you with that, perhaps SuperR's Kitchen is what you're looking for, dunno.

And I hope you're doing some research about this, depending on the phone,

changing system may have consequences

. If you're not familiar with the procedure, then it may be best to read the many guides out there, and/or open a thread in the Q&A section of your specific device.
[Android] nkk71:
I like virtual machines, i always keep several around :D
[Android] Sneakyghost:
Thank sneakyghost for nagging nkk71 into a challenge he wasn't happily accepting.

Takes some perseverance with this man. Stubborn as he is [emoji23]