-
Notifications
You must be signed in to change notification settings - Fork 38
Problem encrypting rom.zip file #83
Comments
Encrypt support was never really applied to the largezip format, but, that aside... There's not really a reason to re-encrypt (is there?) Although there is probably a reason to support regenerating a decrypted "largezip" |
It did not occur to me that I can flash the unencrypted rom.zip file? Can I? We will soon find out. Support for regenerating a decrypted "largezip" would be good (not sure I follow you here). Thank you! |
I see no reason you couldn't flash an unencrypted file (with S-OFF / unlock). However your newrom.zip file isn't valid... You have a zip containing 6 zip files, not a format I believe hboot will understand. |
Probably not. Got it... that's why we need "support for regenerating a decrypted largezip! Thank you! |
Kenny... that support regenerating a decrypted "largezip" that you mentioned... boy, that would be good. We would still have the HTC signature key to deal with with... unfortunately no one has figured out a way of S-OFFing this HTC Desire 510. |
Hi Kenny, first of all, thanks for this great program.
I have managed to use bruutveal to find the HTC Desire 510 key for the rom.zip file. I then used that key to decrypt the rom.zip file and in the process I got 6 zip files named 01_rom2.zip through 06_rom2.zip; these files I can open, view and change. I zipped all 6 files into one zip using "zip newrom 0?_rom2.zip" and then, using the bruteforce branch (because the encrypt branch does not support the -K flag, I ran:
./ruuveal -E -m 1.47.652.1 -k 0x006e -c 0x0a -K ./htc_a11chl.key ./newrom.zip newrom_enc.zip but I get Invalid zip file - aborting! failed to encrypt zip file!
I must be missing something, but I can't get there and would appreciate if you could provide some guidance. Thanks
again!
root@luxsrv:~/ruuveal-bruteforce# ./ruuveal -K ./htc_a11chl.key ./rom.zip rom2.zip
ruuveal
Large zip format detected containing 6 zipfile(s)
Decrypted RUU (zip) written to: 01_rom2.zip
Decrypted RUU (zip) written to: 02_rom2.zip
Decrypted RUU (zip) written to: 03_rom2.zip
Decrypted RUU (zip) written to: 04_rom2.zip
Decrypted RUU (zip) written to: 05_rom2.zip
Decrypted RUU (zip) written to: 06_rom2.zip
root@luxsrv:
/ruuveal-bruteforce# zip newrom 0?_rom2.zip/ruuveal-bruteforce# ./ruuveal -E -m 1.47.652.1 -k 0x006e -c 0x0a -K ./htc_a11chl.key ./newrom.zip newrom_enc.zipadding: 01_rom2.zip (stored 0%)
adding: 02_rom2.zip (stored 0%)
adding: 03_rom2.zip (stored 0%)
adding: 04_rom2.zip (stored 0%)
adding: 05_rom2.zip (stored 0%)
adding: 06_rom2.zip (stored 0%)
root@luxsrv:
ruuveal
Invalid zip file - aborting!
failed to encrypt zip file!
root@luxsrv:~/ruuveal-bruteforce#
The text was updated successfully, but these errors were encountered: