Quick Guide to Decrypting an HTC RUU on Ubuntu
If you own or have owned an HTC device, chances are that you have come across a ROM Update Utility. RUUs are Windows-based utilities that do as their names suggest: They update your mobile device’s ROM. What do you do if instead of installing the ROM directly, you would rather extract the ROM contents from the RUU? Thankfully, XDA Recognized Contributor matt95 has created a series of guides aimed at doing exactly this.
Matt95’s first guide shows you how to build and use the required tool (created by Kenny Millington) to UnRUU your HTC ROM Update Utility. For those who would rather not bother with compiling the tool, matt95 has also included the executable in a later post. Once your ROM.zip has been extracted, you then need to decrypt it to be able to work with it. Thankfully, matt95 has also created a second guide aimed at doing exactly this. In other words, you take the ROM.zip generated by the previous guide, and you then apply a second tool (also created by Kenny Millington) to finish the job.