Post: [Tutorial] CEX2DEX using Rebug CFW4.21
11-11-2012, 11:19 PM #1
DEREKTROTTER
You're Goddamn Right
(adsbygoogle = window.adsbygoogle || []).push({});
[Tutorial] CEX2DEX using Rebug CFW4.21


You must login or register to view this content.


Downloads:
CEX2DEX: You must login or register to view this content.
EID Root Key Dumper: You must login or register to view this content. | You must login or register to view this content. | You must login or register to view this content.


Preparation:
Dumping EID root key
First you need to dump your EID Root Key which can now be done on most CFW Version.
  • Install and run the EID PKG for your CFW, the PS3 will just show a black screen and beep several times. You can now restart the PS3 and retrieve your eid_root_key from either:
    /dev_hdd0/tmp/eid_root_key or for 4.xx in /dev_hdd0/game/FLTZ00010/USRDIR.


*You can now dump you EID Root Key directly via the Rebug Toolbox ( utilities > dump EID Root key )

Dumping NOR/NAND
You can do this on rebug CFW using the toolbox.
  • Find the option "Export Flash to File", this will dump it to USB000 (right slot).


You must login or register to view this content.


Converting your CEX dump to DEX
  • First download and extract the c2d_openssl.rar to C:/ and install openSSL, this is required for c2d to work properly. Make sure you rename the folder to "openssl".
  • Now take you eid_root_key and your NOR/NAND dump and place in the folder with c2d.

  • Rename your original CEX dump to flashCEX.bin
  • Add .bin extension to eid_root_key.


Should now have a folder like this:

You must login or register to view this content.

  • Open a CMD window in the current directory (CTRL+SHIFT + right click > Open a command window here)


Usage:
    c2d.exe eid_key_file.bin in_flash.bin out_flash.bin [target_id]

So type in CMD or copy/paste the following: c2d.exe eid_root_key.bin flashCEX.bin flashDEX.bin 82
You must login or register to view this content.

Should give you an output like this:
You must login or register to view this content.

If you are unsure you have done it correctly, you can convert back to your original target ID (mine is 87)
Then compare this one with your original and they should match.


Switching to DEX using rebug CFW
Take your two dumps (flashCEX.bin + flashDEX.bin) and rename as below:

Rename your original CEX dump to CEX-FLASH.EID0.NORBIN (16mb) or CEX-FLASH.EID0.NANDBIN (239mb or 256mb)
Rename your converted DEX dump to DEX-FLASH.EID0.NORBIN (16mb) or DEX-FLASH.EID0.NANDBIN (239mb or 256mb)
Then place in the directory of your USB storage drive and insert in PS3 on USB000 (right slot)

Load up Rebug Toolbox and first click the option:
You must login or register to view this content.
A couple of warning boxes pop up, click YES to both.

Now Swap LV2 kernal, reboot and you are in DEX Mode within 10 seconds Smile
You must login or register to view this content.

Switching back to CEX
Very easy, simply rewrite target ID and it will auto swap lv2 kernal to CEX.

To access PSN in DEX mode, there is a feature in Rebug Toolbox to spoof IDPS. Choose EID5 and you will be able to sign in fine.

btw, if anything in this tut doesn't make sense - let me know so i can make it even more noob friendly.

Troubleshooting
Q: Command prompt says cant find openssl.exe in c: \openssl\bin even though i checked and openssl.exe is definately there.
A: Make sure the openssl folder is at root C:/ and is named exactly "openssl"

Q: Im having a error telling me that wrong format EID 48 bytes.
A: Make sure the filesize of your key is either 48 bytes (NOR) or 256kb (NAND)
Also dont forget you need to add the file extension .bin to the key.


How to get Online 4.21 DEX
Simply go to Rebug Toolbox > Utilities > Change Active PS3ID > EID5 CEX then go Sign in.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 239 users say thank you to DEREKTROTTER for this useful post:

_L0st_my_Gh0st_, ResistTheMoon, -SuperMan, {OM}1337{OM}, ⓙω мσ∂z, Nana, ★RAMPAGE★, Eddie Mac, 1reyalp, A Friend, A1narchy.com, AcnxMods, alexis strider, AlexNGU, Asian, bandphan, BASEBALL4EVER12, bhoot-iq, TheDeadLift, BKG98, BkxRich, BoatyMcBoatFace, Britis-, BroIDontMod, byVexHD, canadiancaper, CantStopMark, celahudini, Cesei, CEXREXDEX, Chnorzy, CITYCOMET, cl_21, clossky, codmadz332, Creepz, cuartaesfera, Dan Dactyl, Dan94, DannyBoiSmith, Daweeyz, Demmonnixx, dolby1, Dr. Mayham, Durnethe3, emcrew2, EquakeCSharp, FarSideX, Luckeyy, FLIX_Hosting, flynhigh09, FOX-727, Frank Ryan, FwiskyFIFA, gaming_nation, popcornmods, GangDePlot, gatecrasher, geeklogik, Geo, Ali D Killer, Ghozt007, Gommy, GuMMyOreOs, Harry, Hate, HaTeRM4NR33T, Heaney, JLM, hibye3, HighModzz, Hori_By_Nature, I-HATE-NGU, ibombo, Callumeleyy, iDunkPingazBrah, iifire, ilasthope, iLLy-i, Im Po, ImAzazel, ImGsus, ImIrIsH, ImPiffHD, iRoyal // MoDz, Island Time, It's Kevin, JakeP0500, JamesSwagger, Jasdeep, Jimmy, JohanMoya, joni_djESP, JPClyde, juham, kazeFATALITY, Kearns- and 139 other users.
06-11-2013, 03:22 PM #380
Nice <3
06-14-2013, 11:30 PM #381
Originally posted by DEREKTROTTER View Post
if anyone has trouble with CMD (quite a few)

make a bat file like this, and double click it
You must login or register to view this content.


what do you do after making the batch file
06-15-2013, 06:12 AM #382
Swervestar
I am error
I'ce figured it out.... lol thanks for the thread!
Originally posted by DEREKTROTTER View Post
did you add the file extension (.bin) ?
the ps3 dumps the key without any file extension so just add it on


I have this same problem. My key is a .bin file but it says the file size is -1 but when I look at the properties of the key file it says 48 bytes... I don't know what to do

Ok so I figured that part out, but now the same thing is happening but for the "in-flash.bin" part. It says it cannot be opened just how it did for the key. The "flashCEX.bin" says its 16 mb... idk

Thanks in advance

---------- Post added at 02:12 AM ---------- Previous post was at 01:12 AM ----------

I hate to be annoying but I ran into another problem... I went to Rebug toolbox and clicked "Rewrite Target ID in Flash" and I accepted the warning signs but when I went to click "Swap LV2 Kernel" is says "This function is not available in CEX mode. Please flash a DEX NOR first"

But I though the "Rewrite Target ID in Flash" was me flashing a DEX
06-15-2013, 09:57 AM #383
Originally posted by DEREKTROTTER View Post
[Tutorial] CEX2DEX using Rebug CFW4.21


NOTE: Guide is almost the same for Rebug 4.30 users, simply dump your NOR/NAND on 4.30 - though this should be obvious anyway :dumb:

You must login or register to view this content.


Downloads:
You must login or register to view this content.
You must login or register to view this content.

Preparation:
Dumping EID root key
First you need to dump your EID Root Key which must be done on 3.55 cfw(downgrade using the 999 pup if needed).
  • Install and run the eEID_RKDumper.pkg, the PS3 will just show a black screen and beep several times. You can now restart the PS3 and retrieve your eid_root_key from /dev_hdd0/tmp/.


That is all you need from 3.55, you can go back to rebug 4.21.

Dumping NOR/NAND
You can do this on rebug 4.21 using the toolbox.
  • Find the option "Export Flash to File", this will dump it to USB001 (right slot).


You must login or register to view this content.


Converting your CEX dump to DEX
  • First download and extract the c2d_openssl.rar to C:/ and install openSSL, this is required for c2d to work properly. Make sure you rename the folder to "openssl".
  • Now take you eid_root_key and your NOR/NAND dump and place in the folder with c2d.

  • Rename your original CEX dump to flashCEX.bin
  • Add .bin extension to eid_root_key.


Should now have a folder like this:

You must login or register to view this content.

  • Open a CMD window in the current directory (CTRL+SHIFT + right click > Open a command window here)


Usage:
    c2d.exe eid_key_file.bin in_flash.bin out_flash.bin [target_id]

You must login or register to view this content.

Should give you an output like this:
You must login or register to view this content.

If you are unsure you have done it correctly, you can convert back to your original target ID (mine is 87)
Then compare this one with your original and they should match.

Video

You must login or register to view this content.



Switching to DEX using rebug 4.21
Take your two dumps (flashCEX.bin + flashDEX.bin) and rename as below:

Rename your original CEX dump to CEX-FLASH.EID0.NORBIN (16mb) or CEX-FLASH.EID0.NANDBIN (239mb or 256mb)
Rename your converted DEX dump to DEX-FLASH.EID0.NORBIN (16mb) or DEX-FLASH.EID0.NANDBIN (239mb or 256mb)
Then place on USB001 (right slot)

Load up Rebug Toolbox and first click the option:
You must login or register to view this content.
A couple of warning boxes pop up, click YES to both.

Now Swap LV2 kernal, reboot and you are in DEX Mode within 10 seconds Smile
You must login or register to view this content.

Switching back to CEX
Very easy, simply rewrite target ID and it will auto swap lv2 kernal to CEX.

To access PSN in DEX mode, there is a feature in Rebug Toolbox to spoof IDPS. Choose EID5 and you will be able to sign in fine.

btw, if anything in this tut doesn't make sense - let me know so i can make it even more noob friendly.

Troubleshooting
Q: Command prompt says cant find openssl.exe in c:\oppenssl\bin even though i checked and openssl.exe is definately there.
A: Make sure the openssl folder is at root C:/ and is named exactly "openssl"

Q: Im having a error telling me that wrong format EID 48 bytes.
A: Make sure the filesize of your key is either 48 bytes (NOR) or 256kb (NAND)
Also dont forget you need to add the file extension .bin to the key.


How to get Online 4.21 DEX
Simply go to Rebug Toolbox > Utilities > Change Active PS3ID > EID5 CEX then go Sign in.

Enjoy your debug [img]https://www.**************/images/smilies/sFi_hitman.gif[/img]


Awesome post I've got one problem thou I get a error when I run the cmd its saying process cannot access because it is being used by another user? I checked taskmanger and couldnt see any thing unusual..any ideas please help
06-15-2013, 06:43 PM #384
DEREKTROTTER
You're Goddamn Right
Originally posted by Swervestar View Post
I'ce figured it out.... lol thanks for the thread!


I have this same problem. My key is a .bin file but it says the file size is -1 but when I look at the properties of the key file it says 48 bytes... I don't know what to do

Ok so I figured that part out, but now the same thing is happening but for the "in-flash.bin" part. It says it cannot be opened just how it did for the key. The "flashCEX.bin" says its 16 mb... idk

Thanks in advance

---------- Post added at 02:12 AM ---------- Previous post was at 01:12 AM ----------

I hate to be annoying but I ran into another problem... I went to Rebug toolbox and clicked "Rewrite Target ID in Flash" and I accepted the warning signs but when I went to click "Swap LV2 Kernel" is says "This function is not available in CEX mode. Please flash a DEX NOR first"

But I though the "Rewrite Target ID in Flash" was me flashing a DEX


im guessing you used the wrong target ID

MUST be "82" for dex mode

The following user thanked DEREKTROTTER for this useful post:

Swervestar
06-15-2013, 11:40 PM #385
Wuddupx3
Do a barrel roll!
can u help me with the 4.41.2 rebug lite, i use to be on rogero 4.30... i got the rebug 4.41.2 lite rebug toolbox version 2.1.4 in my new jb ps3 but when i try to go into the selector it says rebug selector functions not available it says install the rebug firmware... didnt i jus do that?
06-16-2013, 05:33 AM #386
Originally posted by DEREKTROTTER View Post
im guessing you used the wrong target ID

MUST be "82" for dex mode

I used "82" for the target id, but it still said that "wrong eid key format" and the saying of it being -1 and what not. My key is also 48 bytes. I don't understand why? Please help.
06-16-2013, 10:23 AM #387
plazmanu
Bounty hunter
hi guys,
can someone help me because everytime i will do ( Rewrite Target in Flash ) comes this message :

1st Message : Please provide the following file and try again:
/dev_usb000/DEX-FLASH.EID0.NORBIN

2nd Message : Flashing the whole NOR is disabled.
Name your NOR dump properly to enable FLASHING ONLY THE EID0 SECTION
Input *.EID0.NORBIN must be 16MB and also be from YOUR console.
Only 192 bytes will be written to flash (EID0)

Anyone know what that means ?
06-16-2013, 03:27 PM #388
Anyone help me? Im in the CMD part and whenever I put in the codes I get this...

Cannot open eid_key_file.bin

WRONG FORMAT OF EID KEY: 48 BYTES OF 256 KB, BUT -1 FOUND!

I checked and its 1 kb or 46 bytes.... HELP!!!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo