[HTC One A9] CSnowRules:
I think the issues that some people are having are related to the encryption of the RUU itself. I don't think it is going to install on firmware bases other than 1.57.617.60 due to that.

The encryption is different than previous RUUs.

[MENTION=1162986]Captain_Throwback[/MENTION] [MENTION=2605798]nkk71[/MENTION] The HTC RUU Decryption Tool 3.1.0 will not decipher this RUU. I guess the time has come for 2PQ9_keyfile_2.bin.

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

by nkk71 and Captain_Throwback

Mac OS X support by topjohnwu

RUU identified as Executable file

Extracting rom.zip from RUU_HIA_AERO_UL_N70_SENSE80GP_ATT_MR_NA_Gen_Unlock_2.18.617.1.exe

Extracting temporary files...

Extracting rom zip files...

Extracting rom.zip...done.

Extracting android-info.txt...done.

Cleaning up...

Done!

Information extracted from RUU.EXE:

INFO: RUU modelid: 2PQ912000

INFO: RUU mainver: 2.18.617.1

Extracting ZIP files

Normal Zip format detected, using unzip

Archive: /nougat/OUT/romzip/rom.zip

extracting: info.bin

extracting: zip_0.zip

extracting: zip_1.zip

extracting: zip_2.zip

extracting: zip_3.zip

extracting: zip_4.zip

extracting: zip_5.zip

extracting: zip_6.zip

extracting: zip_7.zip

extracting: zip_8.zip

extracting: zip_9.zip

extracting: zip_10.zip

extracting: zip_11.zip

extracting: zip_12.zip

extracting: zip_13.zip

extracting: zip_14.zip

extracting: zip_15.zip

extracting: zip_16.zip

extracting: zip_17.zip

extracting: zip_18.zip

extracting: zip_19.zip

extracting: zip_20.zip

extracting: zip_21.zip

extracting: zip_22.zip

Finished: Successfully extracted zip files to 'dumped_zips'

Attempting to find suitable keyfile

Find First Encrypted ZIP

Encrypted zip to be used for testing: 'zip_0.zip'

No proper keyfile, trying known keys instead...

Testing keyfile '0P3P_keyfile_4.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0P6B_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0P6B_keyfile_6.20.654.3.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0P6B_keyfile_6.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PAJ_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PCV_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PFH_keyfile_2.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PGZ_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PJA_keyfile_2.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PKV_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PM9_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PN7_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PN7_keyfile_4.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '0PN7_keyfile_5.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '2PQ9_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '2PRG_keyfile_2.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '2PS6_keyfile_1.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile '2PST_keyfile_1.08.401.2.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile 'PJ75_keyfile_4.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing keyfile 'PO58_keyfile_4.bin'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Processing ZIP... 32768/131716851

Still no proper keyfile, trying all ruuveal built-in keys...

Testing ruuveal device 'cp2dcg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp2dtg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp2dug'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp3dcg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp3dtg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp3dug'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp3edtg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp5dtu'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp5dug'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'cp5dwg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'csndug'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'deluxe_j'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'deluxe_u'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'deluxe_ub1'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'dlpdtu'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'dlpdug'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'dlpdwg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'dlxp_u'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'dlxp_ul'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'endeavor_td'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'endeavor_u'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'enrc2_u'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'enrc2b_u'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'evita'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'evitare_ul'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'fireball'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'jel_dd'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'jewel'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'k2_plc_cl'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'k2_u'...1

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'k2_ul'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm4_u'...1

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm4_ul'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm7_u'...1

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm7_ul'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm7_wlj'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm7_wls'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm7_wlv'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm7cdtu'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm7cdug'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'm7cdwg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'magnids'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'monarudo'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'mystul'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'proto'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'protodcg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'protodug'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'prototd'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 't6dug'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 't6dwg'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 't6tl'...1

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 't6u'...51

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 't6ul'...1

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 't6ula'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 't6whl'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 't6wl'...1

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'tc2'...51

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'ville'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'villec2'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'z4td'...1

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'zara_cl'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Testing ruuveal device 'zara_wl'...

ruuveal

-------

Invalid zip file - aborting!

failed to decrypt zip file!

Processing ZIP... 32768/131716851

Trying force extraction of hboot/hosd...

Archive: zip_0.zip

warning [zip_0.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

inflating: tmp/hosd_signed.img

error: invalid compressed data to inflate

caution: filename not matched: hboot*

Archive: zip_1.zip

warning [zip_1.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_2.zip

warning [zip_2.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_3.zip

warning [zip_3.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_4.zip

warning [zip_4.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_5.zip

warning [zip_5.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_6.zip

warning [zip_6.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_7.zip

warning [zip_7.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_8.zip

warning [zip_8.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_9.zip

warning [zip_9.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_10.zip

warning [zip_10.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_11.zip

warning [zip_11.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_12.zip

warning [zip_12.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_13.zip

warning [zip_13.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_14.zip

warning [zip_14.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_15.zip

warning [zip_15.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_16.zip

warning [zip_16.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_17.zip

warning [zip_17.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_18.zip

warning [zip_18.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_19.zip

warning [zip_19.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_20.zip

warning [zip_20.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_21.zip

warning [zip_21.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

Archive: zip_22.zip

warning [zip_22.zip]: 384 extra bytes at beginning or within zipfile

(attempting to process anyway)

caution: filename not matched: hboot*

caution: filename not matched: hosd*

... assuming hosd, going to unpack it...

Android Image Kitchen - UnpackImg Script

by osm0sis @ xda-developers

Supplied image: hosd_signed.img

Setting up work folders...

Splitting image to "split_img/"...

BOARD_KERNEL_CMDLINE console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk androidboot.hardware=htc_hiae androidkey.dummy=1 androidboot.selinux=permissive

BOARD_KERNEL_BASE 80000000

BOARD_NAME hosd:0

BOARD_PAGE_SIZE 2048

BOARD_KERNEL_OFFSET 00008000

BOARD_RAMDISK_OFFSET 01000000

BOARD_TAGS_OFFSET 00000100

Unpacking ramdisk to "ramdisk/"...

Compression used: data

Error!

ERROR: Unable to unpack hosd (res=1)

Working directory cleaned.

ERROR: Could not find suitable decryption key!

Please provide a suitable keyfile, hboot or hosd (depending on device).

Removing unneeded work folders

INFO: RUU modelid: 2PQ912000

INFO: RUU mainver: 2.18.617.1

Finished: Tool has finished but there was an error, please

check the console output and your OUT folder

'/nougat/OUT_2PQ9_2.18.617.1'