Editing Mounting HDD in Linux
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Unlike PS3, where every part of per-console security (including the HDD) is dictated by the eid_root_key, PS4 has two per-console keys for the HDD, one handled by SAMU (we cannot obtain this key | Unlike PS3, where every part of per-console security (including the HDD) is dictated by the eid_root_key, PS4 has two per-console keys for the HDD, one handled by SAMU (we cannot obtain this key atm) and the other handled by the South Bridge (Aeolia / Belize) which can be obtained. | ||
Here are described the steps to mount a PS4 HDD on PC using the cryptmount utility on Linux. | Here are described the steps to mount a PS4 HDD on PC using the cryptmount utility on Linux. | ||
= Setup = | = Setup = | ||
Line 16: | Line 7: | ||
== Prerequisites == | == Prerequisites == | ||
* Per-console PS4 EAP HDD Key (check in your kernel dump and in | * Per-console PS4 EAP HDD Key (check in your kernel dump and in hxxps://github.com/Ps3itaTeam/ps4-kexec/blob/master/magic.h kern_off_eap_hdd_key offset) | ||
* A PC running a Linux Distribution (ex: ubuntu, xubuntu live) that supports cryptmount | * A PC running a Linux Distribution (ex: ubuntu, xubuntu live) that supports cryptmount | ||
Line 35: | Line 26: | ||
40 00 30 50 DE DB 76 EC 5A D3 D2 8B B3 86 60 D2 | 40 00 30 50 DE DB 76 EC 5A D3 D2 8B B3 86 60 D2 | ||
6B FA DD 0A 1F 3C 03 4B 59 A8 3D 44 04 AE D6 15 | 6B FA DD 0A 1F 3C 03 4B 59 A8 3D 44 04 AE D6 15 | ||
</pre> | </pre> | ||
Line 57: | Line 42: | ||
* Add write permission on cmtab file: | * Add write permission on cmtab file: | ||
<pre> | <pre> | ||
sudo chmod 777 / | sudo chmod 777 /dev/cryptmount/cmtab | ||
</pre> | </pre> | ||
Line 109: | Line 94: | ||
* Remove write permission on cmtab file: | * Remove write permission on cmtab file: | ||
<pre> | <pre> | ||
sudo chmod | sudo chmod 775 /dev/cryptmount/cmtab | ||
</pre> | </pre> | ||
* Mount PS4 "user" partition: | * Mount PS4 "user" partition: | ||
Line 129: | Line 114: | ||
cipher=aes-xts-plain64 | cipher=aes-xts-plain64 | ||
ivoffset=25769803776 | ivoffset=25769803776 | ||
keyfile=/home/eap_hdd_key.bin | keyfile=/home/eap_hdd_key.bin | ||
keyformat=raw | keyformat=raw | ||
Line 187: | Line 150: | ||
keyformat=raw | keyformat=raw | ||
} | } | ||
</pre> | </pre> | ||
{{Linux}} | {{Linux}} | ||
<noinclude>[[Category:Main]]</noinclude> | <noinclude>[[Category:Main]]</noinclude> |