View Full Version : PS3 Flash ECC Algorithm Reversed!


makija
09-27-08, 04:37 PM
Hackers have managed to reverse the code on the ECC protection on the PS3. What is the ECC Protection? The ECC protection basically kept the PS3 from booting with a custom flashed rom, with the ECC now claimed to be reversed, we can now generate custom ones to allow the rom to boot! The hackers have also claimed that through the reversing of the ECC they have found where the encypted keys are stored for SELF's, PKG's etc.

They also report that they were able to recover a "bricked" PS3 through this (bad flash recovery).


Originally Posted by http://www.ps3scene.com/news/static/Playstation3FlashECCAlgorithmReversed-1222105885.php
First, a small technical explanation. We were not able to modify any data on the PS3's flash chips due to the ECC. The ECC is a checksum basically, that ensures whatever data is in the block is not changed or corrupted, and if it is it errors. So, the problem was since when we tried to alter data, the ECC would then in turn be invalid, causing errors, making the system not boot. We did develop a way around this, however, it was time consuming and quite slow. We used the PS3 to write data to the flash, then dump it, with its proper ECC, then rewrite to where we needed it. This would take hours on end! We were not able to regenerate the ECC since we did not know the proper algorithm. But now, we can!!

After multiple tests done by NDT to see what the ECC algorithm was when the block was filled with some magic data, our very own RPS was able to reverse the algorithm!

What does this mean? Simple, we are now able to in minutes properly edit a flash dump, regenerate the ECC and flash it onto the PS3 in order to experiment with flash changes. Using this, we have already found where the encrypted keys are stored for SELF's, PKG's, and BD Pairing among other things, more on that in the weeks to come.

Furthermore, NDT implemented RPS's ECC regeneration code into his newest FlowRebuilder, which will be posted next week!

Finally, this has already saved one PS3! Hacked2123's PS3, which bit the dust long ago due to a bad flash was recently fixed thanks to RPS's ECC Regeneration code which was built into NDT's newest FlowRebuilder!

His PS3 had bad data that did not match the ECC data, resulting in a plethora of issues. However, as described here, it is now fixed!

More research is currently still being done, we will keep you updated on their progress.

UPDATE: It is unconfirmed if this was done on a TEST PS3, or a Retail PS3 with INFECTUS chip installed.

_Avarice_
09-27-08, 04:44 PM
Yay?

:confused:

Martez
09-27-08, 04:53 PM
So this means custom firmware like the PSP?

imdjenk
09-27-08, 05:08 PM
Does this mean we can run Linux and access all the PS3's cells and 3D Hardware?

makija
09-27-08, 06:05 PM
even more that means possible a new bootloader that will load games off hdd or a burned disc, also as they said they fixed bricked ps3 that way

makija
09-27-08, 06:07 PM
even more that means possible a new bootloader that will load games off hdd or a burned disc, also as they said they fixed bricked ps3 that way




Hackers have managed to reverse the code on the ECC protection on the PS3. What is the ECC Protection? The ECC protection basically kept the PS3 from booting with a custom flashed rom, with the ECC now claimed to be reversed, we can now generate custom ones to allow the rom to boot! The hackers have also claimed that through the reversing of the ECC they have found where the encypted keys are stored for SELF's, PKG's etc.

They also report that they were able to recover a "bricked" PS3 through this (bad flash recovery).

bdoyledimou
09-27-08, 07:09 PM
even more that means possible a new bootloader that will load games off hdd or a burned disc, also as they said they fixed bricked ps3 that way


or it means Sony will change the algorithm.

number1laing
09-27-08, 08:28 PM
even more that means possible a new bootloader that will load games off hdd or a burned disc, also as they said they fixed bricked ps3 that way

Uhh, yea, I'm not that excited about that.

_Avarice_
09-27-08, 09:49 PM
Uhh, yea, I'm not that excited about that.

Definitely not.

KingShorty
09-27-08, 10:35 PM
This is awesome news. Been waiting and researching on this for a few years now.

_Avarice_
09-27-08, 10:40 PM
This is awesome news. Been waiting and researching on this for a few years now.

Por que? :confused:

KingShorty
09-27-08, 10:44 PM
Por que? :confused:

Well, it allows you to build your own custom firmware which means you can boost the PS3's potential without Sony's authorization (read: Slowness).

If we could have done this from before, we would have had in-game XMB from a long time ago.

I hacked my PS2 back in the day and needless to say, I could do a lot more with that thing than Sony allowed and thought impossible. Have done the same to my PSP and iPhone.

_Avarice_
09-27-08, 11:03 PM
Well, it allows you to build your own custom firmware which means you can boost the PS3's potential without Sony's authorization (read: Slowness).

If we could have done this from before, we would have had in-game XMB from a long time ago.

I hacked my PS2 back in the day and needless to say, I could do a lot more with that thing than Sony allowed and thought impossible. Have done the same to my PSP and iPhone.

But don't you run the risk of bricking your PS3 if you use some random jerk's code? And not the kind of bricking due to a checksum error mentioned above; like irreparable damage to hardware, etc.?

Seems....unnecessary. But I guess if you're a tinkerer, what do I care? Not my PS3s :D

KingShorty
09-27-08, 11:09 PM
But don't you run the risk of bricking your PS3 if you use some random jerk's code? And not the kind of bricking due to a checksum error mentioned above; like irreparable damage to hardware, etc.?

Seems....unnecessary. But I guess if you're a tinkerer, what do I care? Not my PS3s :D

You do run the risk of bricking the system(s) however, if you do enough research and are able to analyze code then you won't have a problem.

So far, no bricked system(s) on my part and I've been hacking for a while now.

But like you said, it's not your system so you've got nothing to worry about!

_Avarice_
09-27-08, 11:12 PM
Initially when I read this, I though it might be more about cracking the PS3 to read pirated blu-rays, ps3 games, etc.....that is not a good thing, because it just ends up costing the rest of us who actually pay for things!

KingShorty
09-27-08, 11:18 PM
Initially when I read this, I though it might be more about cracking the PS3 to read pirated blu-rays, ps3 games, etc.....that is not a good thing, because it just ends up costing the rest of us who actually pay for things!

That's what will eventually happen (as it did with the PS2 and is happening with the PSP). But that's not what it's intended for.

If not for hackers/crackers, the PSP and PS3 would not really have much functionality at the moment. All of the customization of the XMB has come from the hacking community.

With this news, it's just the beginning of good things to come because it keeps Sony moving faster in terms of reaching out to the community.

number1laing
09-27-08, 11:26 PM
That's what will eventually happen (as it did with the PS2 and is happening with the PSP). But that's not what it's intended for.


lol... ok.

KingShorty
09-27-08, 11:27 PM
lol... ok.

:rolleyes:

Chacolla
09-27-08, 11:46 PM
Does this mean someone I'll be able to install an N64 emulator and play Goldeneye smoothly on my PS3? :D

number1laing
09-27-08, 11:48 PM
:rolleyes:

:rolleyes::rolleyes:

KingShorty
09-27-08, 11:51 PM
:rolleyes::rolleyes:

:rolleyes::rolleyes:

I see your two and raise you one :rolleyes:

NJ3118
09-27-08, 11:56 PM
YESSSS??? WOO HOO!!!! ok time for a nap

darklordjames
09-28-08, 12:43 AM
Soft-modded custom firmware killed the PSP's software lineup before it had a chance to properly mature. The end result? Amazingly flexible system with nothing of quality to play on it. The same thing happened previously with the Xbox 1, helping cause a drastically shortened hardware lifespan. Anyone cheering for this turn of events on the PS3 is cheering for the death of the platform.

_Avarice_
09-28-08, 12:50 AM
Soft-modded custom firmware killed the PSP's software lineup before it had a chance to properly mature. The end result? Amazingly flexible system with nothing of quality to play on it. The same thing happened previously with the Xbox 1, helping cause a drastically shortened hardware lifespan. Anyone cheering for this turn of events on the PS3 is cheering for the death of the platform.

Nah. It really only matters to the uber-nerds who would care to go to such lengths. That's not most of us :)

KingShorty
09-28-08, 01:17 AM
Soft-modded custom firmware killed the PSP's software lineup before it had a chance to properly mature. The end result? Amazingly flexible system with nothing of quality to play on it. The same thing happened previously with the Xbox 1, helping cause a drastically shortened hardware lifespan. Anyone cheering for this turn of events on the PS3 is cheering for the death of the platform.

That's very untrue. The PS2 was hacked as well and it was hacked very early in it's lifespan and looked what happened with that.

The PSP not gaining any steam really isn't just because of the ease of hacking, it's because the UMD was Sony's lockdown and their unwillingness to share it with other companies caused it to stutter. The PSP is still selling pretty well.

The first XBOX was just a trial attempt in the video game market. It was never meant to succeed.

Anthony1
09-28-08, 02:16 AM
As for piracy meaning a quick end to a video game systems life, just look at the Nintendo Wii. They got copied Wii games working on the Wii within months of it's release. Look at the Nintendo DS. People put roms of DS games on flash cards and play them on their DS via the GBA port. Both of those systems are fairly successful, and aren't going anywhere.


My main hope with any hacking on the PS3, is that they will eventually be able to put emulators on it. A modded Xbox 1 system can play lots of old games via emulation, but there are some gaming platforms that can't be emulated perfectly. With the power of the PS3, you'd think that you could get perfect emulation on alot of stuff. That would be pretty sweet.

steven975
09-28-08, 02:20 AM
actually, a lot of those mods on the original Xbox are the reason the 360 does a lot of the things it does now. Gates actually met with one of the more infamous Xbox hackers and thought that what the community did was a good idea.

darklordjames
09-28-08, 02:45 AM
"Both of those systems are fairly successful"

You win the understatement of the week award. :)

blklightning
09-28-08, 03:24 AM
So this means custom firmware like the PSP?

no. i think it means that pirated ps3 games are just around the corner.

sumavguy
09-28-08, 10:12 AM
surprised no one mentioned an emulator for ps2 games

number1laing
09-28-08, 11:41 AM
That's very untrue. The PS2 was hacked as well and it was hacked very early in it's lifespan and looked what happened with that.

The PSP not gaining any steam really isn't just because of the ease of hacking, it's because the UMD was Sony's lockdown and their unwillingness to share it with other companies caused it to stutter. The PSP is still selling pretty well.

The first XBOX was just a trial attempt in the video game market. It was never meant to succeed.

An ultra popular system will overcome a fair amount of piracy. A system of moderate success gets buried pretty quickly. The actual hardware is a loss leader, especially early on, so game sales are needed to make money for the hardware publisher, and game sales are also needed to attract 3rd parties early on. Look at the Dreamcast, look at the PSP, hell look at the PC now. The PSP sells well because everyone buys it, hacks it, and downloads games for free. The PSP game release schedule is a graveyard. Developers are fleeing the PC in droves. Etc.

A lot of the features these hackers build into the system are really great. I am not saying anything about that. But in my experience, most people really care first and foremost about being able to download and play games for free.

Anthony1
09-28-08, 12:43 PM
The amount of people that have pirated software is dramatically overrated. Everyone talks about the Dreamcast. How piracy killed it. But I was a pretty hardcore gamer during the time of the Dreamcast, and I never heard about the copied Dreamcast games until several years after the system was already dead. You'd be suprised how many people are out there that know nothing about the pirated games market.

The strange thing about the Dreamcast is that it was one of the first systems where you didn't need a mod chip or anything. Normally you need to get a mod chip, or get your system "flashed" or whatever. Everyday consumers don't want to deal with that. They don't want to take the chance. They know their system will no longer have a warranty etc, etc. I'm guessing 90 percent of the gaming audience isn't interested in this.

Tenkaipalm
09-28-08, 02:59 PM
Gamestop and the game resale market hurt consoles far more than piracy and homebrew. The PSP wasn't as popular mainly because of the price, and the DS. The PSP had a superior library to the DS early on, actually, but no one wanted to pay 250 bucks for a handheld.

Anyway, this is good news for the homebrew community. And maybe soon I can finally play my japanese PS2 copy of Victorious Boxers 2 without having to modify the drive.

BOBBY DIGITAL
09-28-08, 03:30 PM
will it effect region coding???

Vizion47
09-28-08, 03:37 PM
will it effect region coding???

*knock knock* The PS3 doesn't have region coded games.

BOBBY DIGITAL
09-28-08, 03:42 PM
i mean movies? sorry bout that.

KingShorty
09-28-08, 03:58 PM
The amount of people that have pirated software is dramatically overrated. Everyone talks about the Dreamcast. How piracy killed it. But I was a pretty hardcore gamer during the time of the Dreamcast, and I never heard about the copied Dreamcast games until several years after the system was already dead. You'd be suprised how many people are out there that know nothing about the pirated games market.

The strange thing about the Dreamcast is that it was one of the first systems where you didn't need a mod chip or anything. Normally you need to get a mod chip, or get your system "flashed" or whatever. Everyday consumers don't want to deal with that. They don't want to take the chance. They know their system will no longer have a warranty etc, etc. I'm guessing 90 percent of the gaming audience isn't interested in this.

Well said.

The Dreamcast did not use a mod chip, it actually used a bootloading disc which was hard to come by here in the US but very easy to find in Asia.

Also, I agree that while piracy may have played its part in the death of the Dreamcast, it was not the entire idea behind. Anyone that does a little research on the death of the Dreamcast will know that the system was very much ahead of its time and the fact that EA did not support it caused it to die.

In fact, the PS2 (aptly dubbed the Dreamcast killer) was a system that was easily modifiable and still had a great sales numbers.

number1laing
09-28-08, 04:07 PM
The amount of people that have pirated software is dramatically overrated. Everyone talks about the Dreamcast. How piracy killed it. But I was a pretty hardcore gamer during the time of the Dreamcast, and I never heard about the copied Dreamcast games until several years after the system was already dead. You'd be suprised how many people are out there that know nothing about the pirated games market.


It depends how old you are, I guess. I was finishing up high school when Dreamcast came out/was hacked, and virtually EVERYONE I knew with a system didn't buy a single game after the hacks came out. People are willing to go through the effort. I used to work at EB at the time, people I would talk to about the new games said, all the time, "yea I'll just go home and download it".

In any case, my whole point was and is is that these hacks might bring wonderful UI and functionality to these systems, but most people use them to play games for free. And that hurts the systems. The PSP is still selling well today, hell in Japan so far this year its outsold the DS by over 500,000 units, but the game release schedule is a wasteland. The PSP was hacked early on, and it has always appealed to hardcore techies and gamers - the type of people who do care about hacks and stuff. Did the fact that you were able to download and play games for free a few weeks after the system came out have anything to do with low game sales and/or nonexistant game development even while the system is selling well? I'd say so.

KingShorty
09-28-08, 04:21 PM
It depends how old you are, I guess. I was finishing up high school when Dreamcast came out/was hacked, and virtually EVERYONE I knew with a system didn't buy a single game after the hacks came out. People are willing to go through the effort. I used to work at EB at the time, people I would talk to about the new games said, all the time, "yea I'll just go home and download it".

In any case, my whole point was and is is that these hacks might bring wonderful UI and functionality to these systems, but most people use them to play games for free. And that hurts the systems. The PSP is still selling well today, hell in Japan so far this year its outsold the DS by over 500,000 units, but the game release schedule is a wasteland. The PSP was hacked early on, and it has always appealed to hardcore techies and gamers - the type of people who do care about hacks and stuff. Did the fact that you were able to download and play games for free a few weeks after the system came out have anything to do with low game sales and/or nonexistant game development even while the system is selling well? I'd say so.

The PSP not having many games has been documented to Sony not wanting to release the UMD specs to third parties.

Why does the DS have many games? Because it is easy to make and Nintendo doesn't have monopoly over the cartridges. It is just too expensive to produce a PSP game with the way Sony holds so much of the PSP close to their chests.

Would the Blu-ray be as popular if Sony decided to do the same thing as they did with the UMD? I'm sure that HD-DVD would have been more popular if that were the case.

makija
09-28-08, 05:47 PM
there is a nes emulator for ps3 this guy in japan made it an it works you can play super mario snake still in progress but they are moving further with that if anyone interested i can post the info

Turd Furguson
09-28-08, 06:37 PM
there is a nes emulator for ps3 this guy in japan made it an it works you can play super mario snake still in progress but they are moving further with that if anyone interested i can post the info

I already have some similar information on my site.

Anthony1
09-28-08, 09:01 PM
there is a nes emulator for ps3 this guy in japan made it an it works you can play super mario snake still in progress but they are moving further with that if anyone interested i can post the info

Isn't this if you're running Linux on the PS3? I think people are more excited about not having to do that. In all honesty, from the emulation standpoint, it will take some time before the PS3 beats the original Xbox. The Emulation world has worked with the original Xbox for so long now, that so many emulators on it are running almost perfectly, with High Def upconversion, special graphical modes, etc, etc. I took a old Xbox 1 and turned it into the ultimate emulation station. Put a giant 500 gig hard drive in there, and have basically 20 to 25 years of video game history on it. Heck, with Sega CD and TurboGrafx-16 CD games, you can even copy those to the hard drive and just play them from the hard drive. The convienence factor is off the meter.

I just think it will be quite some time before any situation like that with the PS3 exists. The promise of the PS3 is that when they finally do get everything running perfectly, it should be able to emulate additional systems, and has the power to emulate more systems perfectly. The Xbox 1 can run alot of MAME roms, but doesn't have enough memory to run a number of MAME roms. The PS3 would have no problem with that. The Xbox 1 can emulate a number of PS1 games, but the emulation is pretty spotty. Same thing with the N64. With the PS3, you'd expect those systems to be emulated flawlessly.

I'm guessing it will be 3 or 4 more years until everything is running proper enough where I can retire my Xbox 1, and move all my emulation stuff to the PS3. But it is exciting to think that maybe one day that will happen.

makija
09-28-08, 10:14 PM
no he created a emulator which runs of ps3 no second os or anything els onit there is even a video this is his txt


The busy Japanese developer who has developed the first BD-J NES emulator has recently released 3 new games and 1 update for his NES application.


http://www.ifonehax.com/multihost/images/2a15jy1wu2r7vfsha69.jpg

There is also a update for BD-J NES, changelog and download below:

Updates:
+(cool) new name change - ps3filer is unconsistant with the functionality of my (re)releases
+2nd controller support, although both controllers can control each character the same.
|-(activated using the blue button for compatibility)

+change file selected color from yellow to green (i hate yellow)
+press <- or -> to skip 5 files either way (in menu)
-no sound yet



here is the link to emulator at work
http://uk.youtube.com/watch?v=PXurflAjjKM

Remax
09-28-08, 10:48 PM
I cant see people really wanting to download and burn ps3 games. First of all the burners are expensive, blu ray discs are expensive, and most people dont want to download 10gb+ games. I had a modded wii, and it was annoyng to download a 4gb game when you dont belong to a good tracker. Fios isnt in Metro Detroit, so im stuck with a 4mb connection unless I want to spend another $10 for 6mb. I dont see pirating games for this syetm catching on for at least a few years when prices really start to drop, and internet gets even faster.

number1laing
09-28-08, 11:53 PM
The PSP not having many games has been documented to Sony not wanting to release the UMD specs to third parties.

Why does the DS have many games? Because it is easy to make and Nintendo doesn't have monopoly over the cartridges. It is just too expensive to produce a PSP game with the way Sony holds so much of the PSP close to their chests.


Documented where?

And the reason the DS has so many games is because it is the PS2/PSX of this generation. 80 Million units and counting... Nintendo can do whatever they want with it and developers will deal with it to reach that audience.

Shin CZ
09-29-08, 12:48 AM
If it can run ps2 games off my 40gb PS3, I'm all for it. Otherwise, useless for me. =/

KingShorty
09-29-08, 01:12 AM
Documented where?

And the reason the DS has so many games is because it is the PS2/PSX of this generation. 80 Million units and counting... Nintendo can do whatever they want with it and developers will deal with it to reach that audience.

If you've read or researched much on the PSP or listened to any of the journalists, you'll see that it's been attributed to Sony having held the UMD back from third party developers.

Again, the reason the DS is doing so well is because it's cheap to reproduce a cartridge. If Nintendo chose to do to the cartridge what Sony did to the UMD, they wouldn't be as marketable. Case in point, look at the Gamecube discs. Nintendo did not release that medium to any third party company and it did not do as well as the PS2 or XBOX (both of which ran the DVD format discs).

dozens
09-29-08, 02:27 PM
Would something like this allow the reverse engineering of game saves ? From what I understand alot of saves are encrypted and tied to a specific PS3.

KingShorty
09-29-08, 02:30 PM
Would something like this allow the reverse engineering of game saves ? From what I understand alot of saves are encrypted and tied to a specific PS3.

It's possible, but the PS3 has their developers tie game saves into the PSN IDs. I don't think Custom FirmWare will allow you to reverse engineer those as those are server based.

makija
09-29-08, 04:03 PM
same way as few months ago on cod4 there was a hack aimbot laser etc with edditing few files on ps3 which server didnt really check or something wasnt sure how it worked but it did


in due time it will be hacked an people will be able to mod it


btw king it said you reached maximum users on your friends list i tried to add you today lol :)

number1laing
09-29-08, 04:14 PM
If you've read or researched much on the PSP or listened to any of the journalists, you'll see that it's been attributed to Sony having held the UMD back from third party developers.

Again, the reason the DS is doing so well is because it's cheap to reproduce a cartridge. If Nintendo chose to do to the cartridge what Sony did to the UMD, they wouldn't be as marketable. Case in point, look at the Gamecube discs. Nintendo did not release that medium to any third party company and it did not do as well as the PS2 or XBOX (both of which ran the DVD format discs).

Any sources? I tried googling but couldn't find anything.

I do not think the reason the DS is doing so well is because its easy to squirt out cartridges. In fact I think that is an almost cartoonish viewpoint on how these things work. It does lower the cost of entry, but there are certainly other factors to consider, and a system is nothing without an audience to buy games for. Finally, companies will put up with a lot of ******** to release games for the top console.

bryansj
09-29-08, 04:14 PM
I cant see people really wanting to download and burn ps3 games. First of all the burners are expensive, blu ray discs are expensive, and most people dont want to download 10gb+ games. I had a modded wii, and it was annoyng to download a 4gb game when you dont belong to a good tracker. Fios isnt in Metro Detroit, so im stuck with a 4mb connection unless I want to spend another $10 for 6mb. I dont see pirating games for this syetm catching on for at least a few years when prices really start to drop, and internet gets even faster.

Who said that it would require burnt Blu-ray discs? It may be as easy as downloading an image file and storing it on the HDD like the PSN games.

KingShorty
09-29-08, 04:32 PM
btw king it said you reached maximum users on your friends list i tried to add you today lol :)

LOL... I'll clear a spot.

KingShorty
09-29-08, 04:46 PM
Any sources? I tried googling but couldn't find anything.

I do not think the reason the DS is doing so well is because its easy to squirt out cartridges. In fact I think that is an almost cartoonish viewpoint on how these things work. It does lower the cost of entry, but there are certainly other factors to consider, and a system is nothing without an audience to buy games for. Finally, companies will put up with a lot of ******** to release games for the top console.

Here's a quote that I found after googling PSP + UMD

You guys want to know why though? Here's some free market advice: UMD only plays in one device (the PSP), and the format is so closed consumers can't even buy recordable UMDs (and never will be able to), let alone play them in other devices. Where's the "universal" in this media disc?

Martez
09-29-08, 05:15 PM
The Universal relates to the Media, not the Disc; it means they can put any kind of media on it :p Video, music, games, you name it! Fun fact: my iPod is also a UMD!

chad473
09-29-08, 05:26 PM
I'm dreaming out loud here, but I'd buy a second ps3 with an xbmc port in a heartbeat.

Cucuy
09-29-08, 05:38 PM
I have a PS one, Dreamcast, and PSP that are hacked. Eventually I got tired of getting stuff that ended up sitting in my PC forever. I would play games but never got really into them. It took a lot of time and I would just play games for a little bit just to try them.

All this hacking is great if you have loads of free time but with my limited game time due to work and family time, I can barely find time to play the games I currently own.

number1laing
09-30-08, 02:45 PM
Here's a quote that I found after googling PSP + UMD

Here's a news flash: one guy bitching about it on his blog isn't serious analysis or discussion. You can't possibly be using that to prove your point.