kmdm / ruuveal

A HTC RUU decryption utility
GNU General Public License v3.0
57 stars 39 forks source link

Support for HTC Butterfly TW Model ( dlxub1 ) #95

Open DoomLander opened 8 years ago

DoomLander commented 8 years ago

Hi kmdm,

I was able to decrypt dlxub1 ( WWE ) RUU zip using ruuveal.

However, when I try to decrypt the RUU for the same device for Tiwan ( TW ) , ruuveal always says invalid zip.

X920d - dlxub1

ro.cwkey=HTC621 ............................... ro.aa.maincid=HTC621 ro.aa.modelid=PL9911000 ............................

ro.aa.cidlist=HTC__621

Below are the links to download & test:

Boot/HBoot > https://onedrive.live.com/redir?resid=99B69CA5BC1FB96E!993&authkey=!APFt6WD0Q7aK6Tw&ithint=file%2czip

RUU ( encrypted ) > https://onedrive.live.com/redir?resid=99B69CA5BC1FB96E!998&authkey=!AEZsFzxj9KVjUgI&ithint=file%2czip

I managed to gen an un-encrypted RUU ( without system.img ) & can confirm all the 23 files are exact match , all I need is that system.img decoded correctly from the full RUU zip.

Please help!!

0x2b commented 8 years ago

U just need get hboot file then use bruutveal to decrypt it

DoomLander commented 8 years ago

Yup, that did it...super...thank you for the pointer!!

First I used bruutveal from the bruteforce branch to find the key and writen it to a file: ./bruutveal hboot.img rom.zip keyfile.bin then I used ruuveal to use the key to decrypt the encrypted rom.zip:

./ruuveal -K keyfile.bin rom.zip output.zip

Perfect result!! THX a lot

0x2b commented 8 years ago

glad help you.bro :D