Post: [FIX] CEX to DEX Error "Wrong Format of EID Key file" in Command Window
08-23-2013, 08:35 PM #1
Hoen
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU, this is a quick fix for a common error in switching to DEX. I experienced it, I've helped many others experiencing it. Please don't groan this because I haven't seen other posts about this & I've seen people asking for help on it. Even if it's somewhere else, shouldn't it be more places for more people to see?

Anyways, this error happens when in the command window step if you're using DEREKTROTTER's tutorial. You should have this step all done & the files like this...

You must login or register to view this content.



Now when you open the command window & type in
    c2d.exe eid_key_file.bin in_flash.bin out_flash.bin [target_id]
you would get this in your command window...

You must login or register to view this content.



Now I got this my first time & nobody could help me. I was stuck for awhile on it. It really bugged me. When I checked the file properties, I noticed something. The file types would would be .bin.bin. There'd be 2 file types.

You must login or register to view this content.



I thought if I could fix that it would solve my problem... it sure did. Here's what you do. Go to "Control Panel" > "Folder Options" > "View" > Then uncheck "Hide extensions for known file types" and apply it.



Now if you go to your c2d folder with flashCEX.bin & eid_root_key.bin , the files will have .bin.bin on it. Just rename them each to have one .bin extension. Now go to your command window & re-do the process!

You must login or register to view this content.



There you go! Now just finish DEREKTROTTER's tutorial and you'll be on DEX. Any more questions? Quote me here & I'll answer, happily :vince:
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to Hoen for this useful post:

Pseudo_Soldier, Surz
08-24-2013, 03:26 AM #2
Default Avatar
WOLF
Guest
Or it can be a bad dump. Sometimes you just have to redump the key file.

The following user thanked WOLF for this useful post:

Pseudo_Soldier
08-24-2013, 10:12 AM #3
Good tutorial, maybe add a line in about redumping a couple of times to make sure it isn't a bad dump. Also, why not use the CEX2DEX application, it is the same exact thing only without the command prompt? Like the one Choco recommended in his tutorial WHICH SHOULD BE STICKIED!!!!!! But that's just me, like his way better but Rebug way is nice too. :P

You must login or register to view this content.
09-09-2013, 01:50 AM #4
Default Avatar
LOOLOLL
Guest
Originally posted by WOLF View Post
Or it can be a bad dump. Sometimes you just have to redump the key file.


HELLP ME ADD Modding---KSA
12-02-2014, 06:24 PM #5
When i do this it give me this command instead, please help me!

C:\c2d> c2d.exe eid_root_key.bin flashCEX.bin flashDEX.bin 82

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

EID ROOT KEY: 515F08ADF521499F76D0A898E95DCBB0604F7DA208BC00C1393C8CF840F26E3A
EID ROOT IV : D3F030CD02308B0C3B6943289CA3D858

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
EID0 KEY : DA742F721273DBECC0DB44208E2A81BC4DD3B2D6B2BB1F98D78319C53B5A892D
EID0 IV : 090727F5C7EDCCAE3298876F65058AE3

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
EID0 SEC KEY: EED2EF79DC073DE921459BD41D4D52FA

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
ERROR: Cannot decrypt EID0 SECTION!


C:\c2d>
12-02-2014, 07:08 PM #6
When i do this it give me this command instead, please help me!

C:\c2d> c2d.exe eid_root_key.bin flashCEX.bin flashDEX.bin 82

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

EID ROOT KEY: 515F08ADF521499F76D0A898E95DCBB0604F7DA208BC00C1393C8CF840F26E3A
EID ROOT IV : D3F030CD02308B0C3B6943289CA3D858

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
EID0 KEY : DA742F721273DBECC0DB44208E2A81BC4DD3B2D6B2BB1F98D78319C53B5A892D
EID0 IV : 090727F5C7EDCCAE3298876F65058AE3

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
EID0 SEC KEY: EED2EF79DC073DE921459BD41D4D52FA

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
ERROR: Cannot decrypt EID0 SECTION!


C:\c2d>

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo