leonardoliveira & Idc's clean decrypted roms

PCB problems and fixes
User avatar
MrSandman
Posts: 356
Joined: October 9th, 2010, 9:00 pm
Location: Germany
eBay: bigpileofshame
Initials: NOR

Re: leonardoliveira & Idc's clean decrypted roms

Post by MrSandman »

leonardoliveira wrote:If anyone is wondering how this CPS3 revival stuff works, it has to do with that "unknown" chunk of code at address 0x7FF00 every game has and that doesn't seem to decrypt with the game keys....
leonardoliveira wrote: Supposed facts:...
Thanks for the explanation.

But i am a bit confused about the bootloader bit: the bootloader is part of every game CD, it is decrypted by a set on stone key (where is that stored), which differs according to the 4 different security chips and carries the (4 different) security keys for the game?

There are encrypted bootladers for each of the four security chips and each games, that will re-write the security key for the game to the cart?
"Hans, I've just noticed something."
User avatar
Wurstkopp
Mister Dick Statue
Posts: 742
Joined: March 26th, 2009, 6:50 pm
Location: Hamburg, Germany
eBay: nachmittagsprogramm
Initials: NIK

Re: leonardoliveira & Idc's clean decrypted roms

Post by Wurstkopp »

Forgive me, I still didn't get it :palm:: does it really mean you are now able to desuicide any working CPS3 game? :wtf:
Collin
Banned
Posts: 20
Joined: June 3rd, 2012, 7:12 pm
Location:

Re: leonardoliveira & Idc's clean decrypted roms

Post by Collin »

Very nice! Will you be willing to re flash carts for other people in the same wy eventually? I have a second impact setup on the way. And would be happy to do any testing I'm capable of, and pay you for your time and work to re flash.
samsho
Please Continue...
Posts: 6
Joined: April 14th, 2011, 7:09 am
Location:

Re: leonardoliveira & Idc's clean decrypted roms

Post by samsho »

What will I need to achieve this when all is said and done?
I have a good programmer but I need an adapter for a AMD MACH111?

Are you going to be releasing everything on how and what to program? Maybe a step by step guide to the "leonardoliveira process"?
If so, I would make a donation if you setup a donation page somewhere.

Thanks again!!!
User avatar
idc
Ralf Little impersonator
Posts: 1311
Joined: October 16th, 2008, 9:17 pm
Location: Tamworth, Staffordshire
eBay: iancourt
Initials: IAN

Re: leonardoliveira & Idc's clean decrypted roms

Post by idc »

As I see it, a battery free "zombie cart" fix would require a modified BIOS, therefore the flash ROM would need to be de-soldered, reprogrammed and re-soldered, so we're talking some fine SMT work there, which might not be for everyone.

However, a new battery with a security key re-flash should theoretically be a plug and play job.

We'll see how things progress as to which "services" will be offered and which information will be released for free. Everyone involved in the project would need to come to an agreement.

Suffice to say, this isn't some massive money-making scheme, but if we have to invest in hardware or carts for testing, it might be nice to come out at the end of it without being out of pocket. ;)
ImageImageImageImage
Image
User avatar
Rossyra
Supermod
Posts: 7910
Joined: February 12th, 2009, 1:24 am
Location: UK

Re: leonardoliveira & Idc's clean decrypted roms

Post by Rossyra »

Would donate to the project...
Image
User avatar
cools
Armed Police Buttrider
Posts: 13625
Joined: August 17th, 2008, 4:49 pm
Location: Wales, United Kingdom
eBay: hordarian
Initials: CLS

Re: leonardoliveira & Idc's clean decrypted roms

Post by cools »

idc wrote:As I see it, a battery free "zombie cart" fix would require a modified BIOS, therefore the flash ROM would need to be de-soldered, reprogrammed and re-soldered, so we're talking some fine SMT work there, which might not be for everyone.
Piggyback board no good?
Image
User avatar
leonardoliveira
Posts: 692
Joined: August 30th, 2012, 5:53 am
Location: Brazil
Initials: leo

Re: leonardoliveira & Idc's clean decrypted roms

Post by leonardoliveira »

Rossyra wrote:Would donate to the project...
I really could use dead cartridges of the types I don't have yet.
The two I have are of the exact same type and both work the same way with the same keys at 0x7FF00.

Now, for the confused people:

We figured out that there's no boot loader. The bootloader is the BIOS on the flash.

What the chip seeks is a set number of bytes at 0x7FF00 to reprogram it's encryption engine.
Image
Collin
Banned
Posts: 20
Joined: June 3rd, 2012, 7:12 pm
Location:

Re: leonardoliveira & Idc's clean decrypted roms

Post by Collin »

IDC, great to see you over here, buddy! Thanks for the info. I meant to say in my initial post, I'm happy to donate, or to pay a premium for an early suicide-free cart!

Leonardo, what carts do you need? I've got a couple dead ones coming to me. Am happy to help in whatever little way I can, and/or to donate money to help you and everyone involved recoup expenses.
User avatar
Rossyra
Supermod
Posts: 7910
Joined: February 12th, 2009, 1:24 am
Location: UK

Re: leonardoliveira & Idc's clean decrypted roms

Post by Rossyra »

I meant cold hard cash ;)

If I had dead carts idc would already have 'em :whoopsie:
Image
User avatar
IDCHAPPY
c***3
Posts: 2609
Joined: May 3rd, 2010, 7:25 pm
Location: Edinburgh
eBay: Arcadedreams2013
Initials: IDC

Re: leonardoliveira & Idc's clean decrypted roms

Post by IDCHAPPY »

Rossyra wrote:Would donate to the project...
This for sure man, i'd donate :)
User avatar
MrSandman
Posts: 356
Joined: October 9th, 2010, 9:00 pm
Location: Germany
eBay: bigpileofshame
Initials: NOR

Re: leonardoliveira & Idc's clean decrypted roms

Post by MrSandman »

leonardoliveira wrote:
Rossyra wrote:Would donate to the project...
I really could use dead cartridges of the types I don't have yet.
I have a dead Warzard cart if you'd need, but I can't see any stickers on it to tell which of the 4 chips it is.
"Hans, I've just noticed something."
YZRider926
Please Continue...
Posts: 23
Joined: October 19th, 2009, 6:48 pm
Location: VA, USA

Re: leonardoliveira & Idc's clean decrypted roms

Post by YZRider926 »

I have a dead 3rd strike cart. Would need to take the cover off and see what the number or letter on it is. I'm also in the states so not sure if that will be a pain with shipping and all.
User avatar
leonardoliveira
Posts: 692
Joined: August 30th, 2012, 5:53 am
Location: Brazil
Initials: leo

Re: leonardoliveira & Idc's clean decrypted roms

Post by leonardoliveira »

Well, while I am not on this for money, I would indeed welcome hardware to aid on this project.

Mostly I need carts (at least one of each kind) for "butchering" and "testing".

I surely have some ideas on how to build an device to reprogram the keys without opening the carts but, flashing the exact same 8 byte sequence CAPCOM feeds the SH2 chip to set the key at the flashrom inside the cart (0x7FF00) and removing the battery will cause it to restore itself every time it's powered on.

Effectively making it battery free.

So anyone who is willing to send me some hardware (for now, dead carts different than the "D" ones I have here is all I need) can PM me. (some did already, thanks)
Image
samsho
Please Continue...
Posts: 6
Joined: April 14th, 2011, 7:09 am
Location:

Re: leonardoliveira & Idc's clean decrypted roms

Post by samsho »

idc wrote:so we're talking some fine SMT work there, which might not be for everyone.
I can solder/desolder 29f016 flash chips. Those AMD MACH111 on the CPS3 carts look much easier if that is the chip that needs to be reworked.

I am hoping the code gets put out there for anyone to do on their own if they have the skills.
Right now people are charging $150 a pop to reflash a cart which is robbery.
User avatar
DandySephy
Please Continue...
Posts: 1475
Joined: October 7th, 2008, 4:54 am
Location: Canterbury, UK
Initials: SEP

Re: leonardoliveira & Idc's clean decrypted roms

Post by DandySephy »

samsho wrote: Right now people are charging $150 a pop to reflash a cart which is robbery.
Unfortunately the knowledge being public or semi public can often mean there are more people doing the same thing. A certain american guy selling Naomi stuff springs to mind...
User avatar
leonardoliveira
Posts: 692
Joined: August 30th, 2012, 5:53 am
Location: Brazil
Initials: leo

Re: leonardoliveira & Idc's clean decrypted roms

Post by leonardoliveira »

samsho wrote:
idc wrote:so we're talking some fine SMT work there, which might not be for everyone.
I can solder/desolder 29f016 flash chips. Those AMD MACH111 on the CPS3 carts look much easier if that is the chip that needs to be reworked.

I am hoping the code gets put out there for anyone to do on their own if they have the skills.
Right now people are charging $150 a pop to reflash a cart which is robbery.

MACH111 is there as glue logic, it has nothing to do with the security.

The SH2 CPU needs to see a specific sequence of 8 bytes at a certain address (0x7FF00) when it has no keys programmed before it can operate.
If you take a dead cart now and remove the battery, it will start to do this key reset process every time it's powered on. But for the boot to happen the number feed to it must be correct match with the data on the flash (bios) and the kind of chip it is as there's some sort of obfuscation on the chip for this "keys". Each type of chip will need a different number stream to play, for example SF3 Third strike.
Image
User avatar
leonardoliveira
Posts: 692
Joined: August 30th, 2012, 5:53 am
Location: Brazil
Initials: leo

Re: leonardoliveira & Idc's clean decrypted roms

Post by leonardoliveira »

Dandy_Sephy wrote:
samsho wrote: Right now people are charging $150 a pop to reflash a cart which is robbery.
Unfortunately the knowledge being public or semi public can often mean there are more people doing the same thing. A certain american guy selling Naomi stuff springs to mind...

Well I discovered this by pure luck, accident. Who knows if someone else did the same thing as me years ago and instead decided to get rich from it ? :lol:
Image
YZRider926
Please Continue...
Posts: 23
Joined: October 19th, 2009, 6:48 pm
Location: VA, USA

Re: leonardoliveira & Idc's clean decrypted roms

Post by YZRider926 »

leonardoliveira wrote: The SH2 CPU needs to see a specific sequence of 8 bytes at a certain address (0x7FF00) when it has no keys programmed before it can operate.
If you take a dead cart now and remove the battery, it will start to do this key reset process every time it's powered on. But for the boot to happen the number feed to it must be correct match with the data on the flash (bios) and the kind of chip it is as there's some sort of obfuscation on the chip for this "keys". Each type of chip will need a different number stream to play, for example SF3 Third strike.
So could you essentially reflash any cart to any game once all the keys are discovered?
User avatar
DandySephy
Please Continue...
Posts: 1475
Joined: October 7th, 2008, 4:54 am
Location: Canterbury, UK
Initials: SEP

Re: leonardoliveira & Idc's clean decrypted roms

Post by DandySephy »

leonardoliveira wrote: Well I discovered this by pure luck, accident. Who knows if someone else did the same thing as me years ago and instead decided to get rich from it ? :lol:
Well it wouldn't be a surprise. Of course some people can't or won't do things like this by themselves even if the knowledge is there so having people able to do it is good. They certainly couldn't charge a lot if it's common knowledge.