PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!

Home PS4 News - Latest PlayStation 4 and PS3 News

July 8, 2011 // 6:59 pm - Today Spanish PlayStation 3 developer JaicraB has explained the Cobra USB JIG protection RTOC trick implemented for the PS3 against cloning the device.

To quote, roughly translated: Flynn sent me this text explaining this protective carrying the Cobra, I hope it will open the eyes of those interested in reversing the dumps.


The JIG Cobra has several protective measures to ensure that your code could not be used correctly even if your code could be dumped.

This trick RTOC in the registry is the first used for this purpose in addition to hinder analysis.
Registration is initially RTOC stored in the battery to keep the RTOC of lv2 and power it back later:

[Register or Login to view code]

At this point we have to explain that the OFFSET DELTA. DELTA OFFSET is a method used in the x86 in its original moments in the creation of computer viruses, to calculate the memory address in which we are in the sea of ​​bytes in RAM.

In the original time a computer virus when I did not know where he was pulled into an executable,
depending on the executable it could be an initial site or another, for it was invented DELTA OFFSET.

DELTA OFFSET can be used in any system, the procedure is:

  • Using the record that indicates the current execution address (or the next depending on the system)
  • Reducing the size of the previous code we use the value obtained from the registry.

Knowing this, and taking for example the x86 processor where the EIP register can not be read directly invented the trick make a call to a "subfunction" which is simply the following line to the call:

[Register or Login to view code]

X86 call instruction saves the top of the stack the address of the next instruction to itself. Thus using pop draw from the top of the stack this value, and stored in eax for example, and having the memory address where we only subtract the above would be missing and we have the exact calculation.

The PowerPC can use this trick using the BL instruction is equivalent (LINK BRANCH), which jumps to a "subfunction" but before you save LR in the record the following address to BL.

[Register or Login to view code]

At this point we see the trick used for the creation of the RTOC of charges at this time. If you look both r0 and RTOC are passed to 0:

[Register or Login to view code]

Subsequently, given the value 0x11DE0 to RTOC:

[Register or Login to view code]

A r0 is given the value 0x920:

[Register or Login to view code]

R0 is subtracted from the value of RTOC:

[Register or Login to view code]

Unlike the PowerPC x86 LR register can be read directly with mflr instruction, we put in RTOC the value obtained by the delta offset:

[Register or Login to view code]

To calculate the delta offset subtract final instructions executed before the delta offset, which were 4, or 16 bytes:

[Register or Login to view code]

Finally we add the value of r0 at the end of the delta offset RTOC, storing the result in the RTOC and this already takes RTOC suitable for this hook:

[Register or Login to view code]

It takes having the RTOC stored in the stack 3 arguments that the hook received:

[Register or Login to view code]

You call the function of the charges where the first argument will check for command 0x8202 (a special command to the usual):

[Register or Login to view code]

After making the necessary steps as charged, the battery recovers the original RTOC, like the arguments the hook received, it executes the original instruction that was overwritten in the syscall entry 379 (in this case) to have our hook, and call the original syscall lv2:

[Register or Login to view code]

Upon returning to retrieve the original LR from the stack and returns to the prompt

[Register or Login to view code]

JaicraB on Cobra USB JIG Protection RTOC Trick for PS3

Follow us on Twitter, Facebook and drop by the PS3 Hacks and PS3 CFW forums for the latest PlayStation 3 scene and PS4 Hacks & JailBreak updates with PlayStation 4 homebrew PS4 Downloads.

#1274 - windrider42 - November 2, 2015 // 10:44 pm
windrider42's Avatar
The dongle won't work on OFW. It can be used to put the PS3 into FSM though.

Since 2 years ago, the source code was released for the Cobra USB dongle, and developers created COBRA 7.00 (unofficial) Released & Implemented into Rogero 4.46 v1.00, and since them many Cobra CFW have been developed with no dongle being needed.

#1273 - PS4 News - November 2, 2015 // 10:27 pm
PS4 News's Avatar
I merged your post into our ongoing thread, and to answer your question all the related files can also be found within it but to save some time searching here is a link to all of the attached files of this thread:

This is the last news from their site as well:

Based on that, chances are if they plan to push new products they will probably renew their domain or get the site back online soon anyway.

#1272 - SSVegeta4511 - November 2, 2015 // 9:34 pm
SSVegeta4511's Avatar
does anybody have the newest custom firmware for the ps3 cobra usb dongle and all the files for it? and the files for the pc for it as well since the website to cobra is not up anymore.

and did anyone ever make a custom firmware for it that it will work on the newest ofw by chance??

#1271 - Pereb - October 15, 2015 // 4:12 am
Pereb's Avatar
Quote Originally Posted by gshadow1987 View Post
maybe a stupid question but do i need ODE for a PS3 Super Slim or is there anything to join the CEX/DEX Club without? Has anyone a good link or tip for a tutorial?

Unfortunately, no CFW possible for CECH-3000 and up (and CECH-2500 with 3.60 stock), only ODE.

#1270 - gshadow1987 - October 15, 2015 // 2:42 am
gshadow1987's Avatar
maybe a stupid question but do i need ODE for a PS3 Super Slim or is there anything to join the CEX/DEX Club without? Has anyone a good link or tip for a tutorial?

#1269 - macphistol - September 23, 2015 // 11:32 am
macphistol's Avatar
How play games in a ps3 test debug? thx

#1268 - PS4 News - September 17, 2015 // 7:26 am
PS4 News's Avatar
17 - 9 - 2015: Team Cobra is proud to present the next generation of ODE, the 5.10C.

Compatible with 25xx, 3xxx and 4xxx series consoles to 4.65 OFW. The 5.10C has inbuilt DMC (Drive Motor Controller) circuitry. We have greatly reduced the size of the PCB, with many optimizations in terms of components used. We are now running our own SATA core which allows for further speed increases and much more flexibility.

We have also worked hard to pass on the component cost savings to the end user, so you can expect a lower RRP from retailers. In short, the Cobra 5.10C ODE is much more compact, Flexible and faster design at a lower price!

We expect to start shipping soon, during October. Please reserve your 5.10C in advance by pre-ordering through Cobra resellers.

#1267 - misiozol - June 24, 2015 // 4:52 pm
misiozol's Avatar
I don't think there is as classics need full CFW and ode is just emulating physical bd drive, better/cheaper option would be getting second hand ps2 and using ESR with FMCB, or getting fat model and adding network adaptor + installing hdd

#1266 - sakran - June 24, 2015 // 8:49 am
sakran's Avatar
hello guys.. just wanted to ask if there's anyway to play a ps2 classic on a cobra ode?

i downloaded fatal frame 2 ps2 classic and GOD HAND from PSN stuff along with its rap... if i tried to resign edat file within each game like i did with most of my ps1 games that downloaded from psn stuff will it work?

and if not is there anyway to make it work? i have Superslim 4.53 cobra MCU 2.2

i tried the resigning way with all of ps1 games and it worked awesome without any use of fix or crack so hoping for a ps2 too

#1265 - meudayg1 - May 7, 2015 // 11:08 pm
meudayg1's Avatar
Hi All,

I'm new to PS3 and this forum.

I purchased a PS3 CECH-4208A PS3 (12GB) OFW 4.55 and installed Cobra ODE 5.30A. Red LED is glowing when i power on PS3 and I dont see any cobra ode manager in PS3.

I did only hardware install. do i need to do anything from software end?

I formatted pen drive in NTFS format and created folders as per the guide still no good

Please advice.