The ps5-pup-decrypt tool is a utility designed to decrypt PlayStation 5 (PS5) firmware update files, known as PUP files.
Developed by zecoxao, this tool leverages the PS5’s own capabilities to decrypt these files, which are typically encrypted by Sony. The decryption process is crucial for developers and enthusiasts who wish to explore or modify the firmware.
Credits And Contributions
The development of ps5-pup-decrypt involved contributions from several individuals and groups:
- SpecterDev: Provided SDK files.
- LeGend: Assisted with testing.
- Scene-Collective/l0lhax/idc: Contributed the original code.
- Anonymous: Helped reverse-engineer the protocol.
- LemonHaze: Provided reverse-engineering assistance.
- John Törnblom: Contributed to the ps5-payload-dev SDK.
To use ps5-pup-decrypt, follow these steps:
- Prepare the Update File: Place your PS5 update file in the root of a USB drive, naming it
safe.PS5UPDATE.PUP
. - Connect to PS5: Plug the USB drive into the PS5.
- Run the Tool: Allow the tool to decrypt the file. This process requires elevated privileges for most packages.
- Output Files: Depending on the type of update (system or recovery), one or two decrypted files will be produced:
PS5UPDATE1.PUP.dec
and/orPS5UPDATE2.PUP.dec
.
Requirements
- Operating System: Ubuntu 20.04.
- Compiler: GCC (or WSL alternative).
- Build Command: Use
make
to compile the tool.
Limitations
The tool only works with PUP files that are either:
- The same version as the PS5’s current firmware (e.g., 5.00 on a 5.00 PUP).
- A higher version but within the same major release (e.g., 5.02 on a 5.50 PUP, but not 6.00).
It does not decrypt certain files like system
, system_ex
, and wlan
.
Once decrypted, the PUP files can be unpacked using the ps5-pup-unpacker tool, which is also available from zecoxao.
This unpacker can extract the contents of the decrypted PUP files into individual files, although it does not handle nested filesystems.
ps5-pup-decrypt is a valuable tool for those interested in exploring or modifying PS5 firmware.
By leveraging the PS5’s own decryption capabilities, it provides a way to access the contents of firmware updates, which can be further analyzed or modified using additional tools like the ps5-pup-unpacker.