Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A HTC RUU decryption utility
tree: c3893fe296

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
htc
m4
tests
.gitignore
COPYING
Makefile.am
README.md
autogen.sh
configure.ac
htcaes.c
htcaes.h
htckey.c
htckey.h
htczip.c
htczip.h
main.c

README.md

ruuveal

THIS IS A TEST BRANCH FOR ENCRYPTION - IT IS ENTIRELY UNTESTED

ruuveal decrypts encrypted zip files contained in RUUs released by HTC.

ruuveal has been (somewhat) tested but that doesn't mean it won't cause the end of the world as we know it. You have been warned.

You will need to extract the zip file from the RUU executable before you can use this tool - use Google, there are a few methods.

One such method is unruu, available from:-

Supported Devices

The following devices are currently supported by ruuveal:-

  • HTC One ST (cp2dtg)
  • HTC One SU (cp2dug)
  • HTC J Butterfly (deluxe_j)
  • HTC J DNA (deluxe_u)
  • HTC Butterfly (deluxe_ub1)
  • HTC One XT (endeavor_td)
  • HTC One X (T3) (endeavor_u)
  • HTC One X+ (enrc2_u)
  • HTC One X+ (enrc2b_u)
  • HTC One X (S4) (evita)
  • HTC One X+ LTE (evitare_ul)
  • HTC Incredible 4G LTE (fireball)
  • HTC One XC (jel_dd)
  • HTC Evo 4G LTE (jewel)
  • HTC One SV (k2_ul)
  • HTC Droid DNA (monarudo)
  • HTC Desire X (proto)
  • HTC Desire V (protodug)
  • HTC T329t (prototd)
  • HTC One VX (tc2)
  • HTC One S (ville)

If your device is not supported and you would like it supported please open an issue in the tracker with the device name, codename and a link to the most recent hboot file for the device. (Not a link to the full RUU!)

Compilation

ruuveal requires the development files for mcrypt. On Debian/Ubuntu based systems you can probably get these by installing the libmcrypt-dev package. On Redhat based systems the package to install is probably libmcrypt-devel.

Once you have these files you can compile the development tree as follows:-

$ ./autogen.sh
$ ./configure
$ make

Please note that once release tarballs area made the autogen.sh step will not be required since release tarballs ship with the configure script and the Makefile already generated.

Downloads

Downloads are currently available from:-

Usage

$ ruuveal [options] --device DEVICE source.zip output.zip

For example:

$ ruuveal --device jewel rom_01.zip rom_01_decrypted.zip

Once you have decrypted the zip file, it should unzip with any standard zip utility.

Bugs/Issues

Please report any bugs/issues you find - Thanks!

Credits

  • joeykrim - Making me aware HTC has released an encrypted RUU.
  • RaYmAn - Being a sounding board / working through some weird logic.
  • HTC - For continuing to release great devices.
Something went wrong with that request. Please try again.