Cex to Dex Flash Patcher Released

July 12, 2012

andbey0nd has released an easy CEX to DEX conversion tool. This tool currently only works with the 16mb NOR.

To quote:

 works for 16MB flash dumps (NOR) only

 also if for some reason a WRONG EID key is provided - the program will abort and will not generate invalid DEX flash.. so no chance for bricking

 if an output DEX flash file is created - it means that it is valid

Readme:

c2d.exe (win32 app)
===================

Requires:

* OpenSSL 1.0.1 installed in c:openssl or d:openssl (http://slproweb.com/download/Win32OpenS … 1_0_1c.exe)
* EID root key (per_console_key) obtained with metldrpwn
* CEX (NOR) flash dump
* Extract c2d.rar in a local folder (c:c2d or d:c2d)

Usage:

* c2d.exe eid_key_file.bin in_cex_flash.bin out_dex_flash.bin

Output:

c:c2d> c2d.exe eid_root_key.bin flashCEX.bin flashDEX.bin

EID key : 48 bytes (eid_root_key.bin)
Flash size : 16 MB (flashCEX.bin)
Target ID : $85

EID ROOT KEY: 64D20967DEACDA16ACADBE289B0EE2C25EE77331A5040C5DC9DF67B3FE574F6D
EID ROOT IV : 6BD7C324D3B213A647DC31987345595E

EID0 KEY : 9C1C4A93666EF67941F54679A7199D7553C8F0F50F3548C8966D6872FC8CD668
EID0 IV : 2DC374E270F851EB0D524F89790F2563

EID0 SEC KEY: 4C40F3E244EF2BF29A9D48BE26FEEEEB

Target ID : $85 (from decrypted EID0 section)
CMAC HASH : F1053CC3818DD6CE2775F0273DFC212E

Writing modified flash (flashDEX.bin)…

Done!

Enjoy!
andbey0nd

[Download]
[Source]

Tweet this!Tweet this!

Previous post:

Next post: