HDD Not working

im now stuck on this command

cryptsetup create -c bswap16-ecb -d /dev/zero ps3hdd-bs /dev/sdx

am i supposed to change anything? im reading the hdd from the board.
 
im now stuck on this command

cryptsetup create -c bswap16-ecb -d /dev/zero ps3hdd-bs /dev/sdx

am i supposed to change anything? im reading the hdd from the board.

i changed it to sdb and got the message

Device ps3hdd-bs already exists.

and afer i run...
cryptsetup create -c aes-xts-plain64 -d /home/mint/ps3/ata_key.bin -s 256 ps3hdd
/dev/mapper/ps3hdd-bs

i get

bash: /dev/mapper/ps3hdd-bs: Permission denied
 
Honestly im starting to think the hdd got screwed when i tried to clone it. Jus out of curiosity i took the new hard drive and tried to use the hhd tool and it worked with no problems.
Do you know a way to try and unscrew it?
 
cryptsetup create -c bswap16-ecb -d /dev/zero ps3hdd-bs /dev/sdx
am i supposed to change anything? im reading the hdd from the board.

Choose sdx which is Yours PS3 HDD. It can be sda, sdb, sdc etc. depend how Linux enumerate devices. I see that You reading "quick guide" instead full tutorial. Quick guide is for advanced users which know what they doing! You will stuck several times based only on it. Use tutorial in PDF for Your sanity or else You will be frustrating in cycles. :)

i changed it to sdb and got the message
Device ps3hdd-bs already exists.

It means that You have already created mapper named "ps3hdd-bs" so You cannot create another with the same name; probably in earlier attempt. Remove it ("cryptsetup remove ps3hdd-bs" or choose another name i.e "ihatelinux" or whatever ;]). You can see all devices and virtual devices by typing "lsblk".

cryptsetup create -c aes-xts-plain64 -d /home/mint/ps3/ata_key.bin -s 256 ps3hdd
/dev/mapper/ps3hdd-bs
i get
bash: /dev/mapper/ps3hdd-bs: Permission denied

If You didn't byte swapped (by bswap16-ecb) PS3 HDD, creating in the process "ps3hdd-bs" mapper, this will not sweep You anywhere. Bytes swapping is mandatory because PS3 CPU is in opposite Endian family to PC CPU so CellOS write data in different way. Only after swap it on the fly, You can try to decrypt drive (also via mapper and also on the fly which will make mapper "ps3hdd" in the process).

Anyway, this means that You have not permission to do that. Only Root (consider it as Administrator on Windows) have access to devices, mappers etc. You need elevated permissions to do all this stuff.

Honestly im starting to think the hdd got screwed when i tried to clone it. Jus out of curiosity i took the new hard drive and tried to use the hhd tool and it worked with no problems.
Do you know a way to try and unscrew it?

All things You are doing (trying to do ;]), are on the RAM. Nothing is written to the HDD.

What do You mean by "new hard drive"? The one inside PS3, currently assigned to it? If his first sector looks similar to my screenshot and HDD Reader recognized it, then for sure it is fully ok. But, it doesn't prejudge anything, as still this "old hdd" can be ok (in assumption that only those values from 0x1B8 are in use in first sector - which we don't know and no one know yet).
 
Last edited:
Now I'm going to sleep, but tomorrow I'll try experiment with wipe out first sector and wipe out it except 0x1B8-0x1C0. If this will work, this means that Your HDD must also be able to be decrypted and user partition mounted.

If this will not work, this means that You somehow overwritten first sector and have very annoying and long journey before Yourself. :D But it is doable.
 
Bad news. It doesn't work. So You have indeed wiped out first sector. This can be fixed in this way: https://www.psx-place.com/threads/tutorial-fixing-windows-disk-initalization.27599/

However, for You it will be easier and have more sense to just decrypt HDD or his image and just mount by hand (from specific sector number) UFS2 partition to retrieve data like saves.

So, that-s why no other tool worked right?
How do i do what you mentiioned in that last phrase?
 
That's why none of the tools will work: not HDD Reader (Windows/Linux) and his GUI, not multipath-tools (Linux), and not any tool which not exist yet, and not PS3.

First of all, You need HDD image but decrypted, so this You can be make from Linux as in my tutorial (all steps until mounting via kpartx) and then using dd from a mapper with decrypted stuff. Or using ENCDEC Emulator (on Windows). After that, You must calculate user partition address and mount it by hand using Linux (or buying R-Studio and UFS Standard Recovery (Windows) licenses use its scan option then open it in another).
 
Last edited:

Similar threads

Back
Top