Mounting PS4 HDD on WSL2

  Рет қаралды 1,914

(C)ode e(X)ecute

2 жыл бұрын

BAIKAL IS NOT SUPPORTED! YOU HAVE BEEN WARNED!
Need WSL2 (For mounting support)
Need HDD (Obviously)
Need HDD Script (Python, requires #binascii #pathlib #pycryptodome)
Need Sflash0 dump (either from console or from ftp server in hacked console)
sflash0 must be labeled like this and next to script
Need WSL2 Kernel with UFS Read Only Support (for user partition)
Need to install cryptmount
Need to generate keys.bin with script
need cmtab properly edited and proper permissions
644
Example of my cmtab:
# /etc/cryptmount/cmtab - encrypted filesystem information for cryptmount
# try 'man 8 cryptmount' or 'man 5 cmtab' for more details
user {
dev=/dev/sdc13
dir=/mnt/c/Users/zecoxao/Desktop/user
flags=user,nofsck
fstype=ufs mountoptions=ro,noatime,noexec,ufstype=ufs2
cipher=aes-xts-plain64
keyfile=/mnt/c/Users/zecoxao/Desktop/hdd_script/keys.bin
keyformat=raw
}
sudo cryptmount user will mount the user partition (found either at /dev/sdX27 or at /dev/sdX13)
Link for script:
www.psx-place.com/threads/hdd-script-by-anonymous.30863/
Link for WSL2 UFS RO Kernel:
mega.nz/file/Kl8SVBTT#2BdItX3ZONo4HhEvDQvlbb8Dn-WVipVmnUF8LaAJRpM
Commands:
Get Disk List (PowerShell Admin)
GET-CimInstance -query "SELECT * from Win32_DiskDrive"
Mount Disk with WSL2 (CommandLine Admin)
wsl --mount \\.\PHYSICALDRIVE1
Copy bzImage to User Profile (WSL)
powershell.exe /C 'Copy-Item .\arch\x86\boot\bzImage $env:USERPROFILE'
Add kernel entry to .wslconfig (WSL)
powershell.exe /C 'Write-Output [wsl2]`nkernel=$env:USERPROFILE\bzImage | % {$_.replace("\","\\")} | Out-File $env:USERPROFILE\.wslconfig -encoding ASCII'

Пікірлер: 31
@9799-h3z
@9799-h3z 8 ай бұрын
If I will mount it like this, will I be able to recover my save files, which I deleted (all of them for all games) by accident in GoldHen *Delete* menu? Do you know some software (easeUS let's say will be able at least to work with this mounted partitions? I have 2216A with 9.0.
@crustjunkie
@crustjunkie 2 жыл бұрын
I get error: line 30, in portability_seed_key = '***************************'.decode('hex') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'? Any help?
@ControleXecute
@ControleXecute 2 жыл бұрын
python 2 or 3 issue :)
@LaVemOCharmoso
@LaVemOCharmoso Жыл бұрын
Try to install python 2.7.8, it works for me.
@ghostbiker7391
@ghostbiker7391 Жыл бұрын
I have the same issue , did u find any fix?
@muratrisvan
@muratrisvan 2 жыл бұрын
Thanx master ♥️
@retroonyoutube5402
@retroonyoutube5402 Жыл бұрын
I am trying to retrieve save data from a good hard drive that came from a console that BLOD. This won’t help right? What other methods can I use to get my save data back?
@ControleXecute
@ControleXecute Жыл бұрын
it will. you need to dump the sflash0 from the chip your console has. the only exception that might not work is if your console has a belize 2 south bridge
@ControleXecute
@ControleXecute Жыл бұрын
usually the chip is a macronix
@retroonyoutube5402
@retroonyoutube5402 Жыл бұрын
@@ControleXecute I think that is beyond my scope. I thought it could be read directly from the hard drive. Thanks anyway.
@akim.saladin
@akim.saladin 2 жыл бұрын
😁👍
@FZFALCON
@FZFALCON 2 жыл бұрын
Thanks ❤️
@GamezDragon
@GamezDragon 2 жыл бұрын
Thanks zec
@deleted4755
@deleted4755 2 жыл бұрын
Can you please re-upload the WSL2 RO Kernal?
@ControleXecute
@ControleXecute 2 жыл бұрын
isnt it available? hold on
@ControleXecute
@ControleXecute 2 жыл бұрын
mega.nz/folder/axMR2SZQ#jXv4A2Y3zbMRSlceKX5Iyg
@deleted4755
@deleted4755 2 жыл бұрын
Thank you! Hopefully it’s still available in 2 hours when I get home to download it to my pc haha. Just one question for you if you have a moment. With this method, will this allow to write back to the hdd? The other methods I’ve come across doesn’t let you write(move or paste) anything into the user directory at all but this will allow it?
@ControleXecute
@ControleXecute 2 жыл бұрын
@@deleted4755 this is RO (read only). for read write you must compile the kernel with modified config for UFS RW (i've provided the sources)
@deleted4755
@deleted4755 2 жыл бұрын
@@ControleXecute Hey brother, to enable read and write on ufs where exactly in the config do you enable it lol or can you provide the modified config?
兔子姐姐最终逃走了吗?#小丑#兔子警官#家庭
00:58
小蚂蚁和小宇宙
Рет қаралды 14 МЛН
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 102 МЛН
Самые дешевые|смотреть до конца🤣
0:19
6КадроВ6
Рет қаралды 3,4 МЛН