To quote: A update, I finish the FAT read support, for dev_hdd1 on NAND and NOR and dev_flash, dev_flash2 and dev_flash3 on NOR. A big THX on sguerrini97 and sinsizer for test the tool on slim-ps3, and on 3absiso for test it on fat (NAND/NOR) ps3's.
Usage: A simple on-the-fly decrypter and ufs2 reader as comandline tool for windows. To see the content of your gameos(dev_hdd0) and copy files and folders to PC. No write suport! Hdd will only read.
Put your eid_root_key file in the program folder and connect your ps3_slim_hdd to your PC. Comands are "dir" or "ls" for see a directory, e.g.:
ps3 dir /
to see the root of dev_hdd0, or
ps3 ls /home/0000000X
to see your user folder. To copy a file or folder use "cp" or "copy", e.g.:
ps3 cp /home/0000000X/exdata/act.dat
to copy act.dat to the program folder, or
ps3 copy /home/0000000X/exdata
to copy the whole exdata folder. Its not a profie app, quickly written, maybe you found bugs.
Big THX again to ALL involved! Specially to Graf, Glevand, Naehrwert and Flatz.
Glevand show it for a slim hdd, ok, but for a fat only the decryption is other.
Next is, compile the kernel for UFS write support, and mount gameOS rw. Work perfect for me. So why a maybe risky hombrew, if i can use a brilliant OS with proper coded device driver.
About: It decrypt a ps3-hdd on a windows pc. Show you the content of the partitions, and offers the possibility to dump this content to your pc.
If you have a ylod, or the ps3 is in a other way death, than all data on hdd are lost. All your game-saves, trophys, music, videos, ... Only the ps3 on which this hdd was formatted/installed can read this hdd, no other ps3 can this.
If it was a cfw-ps3, and was you clever enough to dump your eid-root-key, than you can use this tool to get your data back.
If you have a corrupted hdd, and the ps3 say, you have to formatte, than also all your data are lost. Or you put the hdd on the pc and use this tool and your root-key. If you was not clever, and have no root-key, can you use another hdd to get him.
The tool will maybe not correct work with a corrupted hdd. But there is a chance to get some data back. And if it work, be aware: A file can have the right name, size, attributes, timestamps.... but there is no warranty that the file data are correct, no tool or os can repair such
data. No tool or os can divination.
Only to clear a misunderstanding, what i add is FAT(the filesystem) support. Not fat-ps3 support. Fat-ps3 support was already implemented, weeks ago. But the tool has befor only read UFS2, gameOS.
I read that some people would read also the vflash regions and dev_hdd1, so I add FAT12/16/32 read support. I read some people have a old backup, created with dd or a hexeditor and would read this to recover data, so I add the possibility to use a file as source instead of a hdd.
ps3 hdd print (show a sector in a simply hex-view)
Finally, from zecoxao: Today i stopped by irc as usual, and had a nice chat with 3141card , who provided me the source of his hdd reader in exchange for the community to improve it and add more features to it.. you can check the source here (linked above).
Some things that need improvement are:
fat module needs to be remade without windows dependencies
fat write support
ufs write support
As for the fat and ufs modules, a LOT of information can be obtained from www.kernel.org (linux kernel can support ufs read write and supports fat natively)
Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!
To quote: Ok, with much help from mind i get it work. A BIG THX to mind for help me debug the prog. The app can now read, and copy from, fat and slim hdd's.
Some words to safety. The app has only read access, self the incredible bug of all bugs, can not lead to a write access. The app can not destroy your ps3-hdd.
Windows knows not about a PS3-hdd, its a unknown format for Windows. That means, if you not initialize the PS3-hdd, AND DO IT NEVER, the ps3-hdd is not existing for windows, no random read or write processes to a device which not exists for the OS.
1) The App will NOT destroy your PS3′s HDD.
2) Now you can COPY from PS3 Fats too.
3) Avast warning about detected "Win32:Evo-Gen [Susp]". False Positive? = It's not infected.
Some information about corrupted ps3 hdd's:
This Tool was writen to work with a intact ps3 hdd, without filesystem errors! My test hdd, a slim hdd, is intact and work perfect.
Some people try out hdd's from ps3's with corrupted ps3 hdd's. For example, you play a game, after the game you are back in XMB and the ps3 say something like "error occurred, must format... ". In this case are some files not correct written, maybe a save or trophy file from the just played game.
This files are simple bad, and not the ps3 or linux or my tool can repair this files magical! The ps3 and even linux mount the ufs2 volume (dev_hdd0 aka gameOS) aktiv. The ps3 will say furthermore "error occurred, must format... ", linux will simply freeze it it come to the corrupted parts.
The ps3 hdd reader mount no aktive volume. He read passive! So he simply not copy the corrupted files. If errors like "error: can't open file ..." occur, than is this not a prob in the app! So be happy that you can recover anything, than otherwise you have nothing.
Here is a lightweight utility for your PS3 HDD raw backup, decryption needs, and other features. Right now it only supports slim PS3s.
It's written from scratch except for some ported code form naehrwert's PoC. If you have any feed back, please put it here.
Dumping raw images from external disks.
Image decryption is done in chunks to save memory.
Extracting file block tool. Allows user to dump specified parts of a file.
I'm not responsible in ANYWAY for what is done with this app.
This tool is only for testing. It's not a one-app-solution to recovering data from PS3 HDD yet.
Decryption for NAND will be added later.
If you want to mount GameOS or do on-the-fly enc/dec, linux offers that in it's "device mapper". (I didn't test it and know nothing about it except its name)
Connecting via eSATA is much faster. Speed is affected by other factors as well.
If anyone knows/finds a way to mount GameOS in Windows, please put it in this thread.
This app uses some modified parts of the PoC code released by naehrwert.
WD Scorpio Blue 1TB
Windows 7 X64
Thanks to glevand, naehrwert, flatz, PS3 dev wiki & everyone who worked on it.
Select your eid_root_key file.
Connect HDD to PC, ignore any initialize/format offers from windows.
Select the HDD index as it appears in "Disk Management" or HxD.
If the key and device are correct, the partition table should appear.
Click on "tools" to do whichever operation you want.
Dumping raw images requires access as "admin".
To do an operation on a whole file, set its "size" field to 0.