Category PS4 Guides and Tutorials       Thread starter PSXHAX       Start date Oct 28, 2016 at 2:41 AM       16,572       30            
PlayStation 4 developer zecoxao shared a guide today on how to decrypt and dump PS4 usermodules with help from skeu. :thumbup:

To recap for those new, the first decrypted PlayStation 4 game was done by PS4 scene release group EPEEN, and scene group TRSi also sent out a call for decryption testers recently.

Read all about it below, to quote: Tutorial: How to decrypt and dump usermodules

First of all I'd like to say thank you to the person who has allowed me to post this tutorial. His English isn't perfect so he asked me to make this tutorial on his behalf. Thanks, grass skeu :)

So for this, you'll need:
Steps:

1- Fire up elf loader on your 1.76 console
2- Let it load all the way up to stage 5 without memory errors!
3- Compile the payload source. You can specify in between:
Code:
ps4KernelExecute((void*)path_self_mmap_check_function, NULL, &ret, NULL);
and
Code:
ps4KernelExecute((void*)unpath_self_mmap_check_function, NULL, &ret, NULL);
which module(s) you want to decrypt. if you want, you can even decrypt all modules from 1.76 Dump released a while ago! This includes elf, self, prx, sprx, sexe, sdll and eboot.bin.

However, take into notice that you can only decrypt usermodules from disc or psn apps when you have loaded them and minimize them (by pressing ps button), and only from absolute path! (due to npdrm management)

I have left an example:
Code:
decrypt_and_dump_self("/mini-syscore.elf", "/mnt/usb0/mini-syscore.elf");
so, the elf will be written to usb0 (rightmost port), but you can specify others

4. Run listener (if you want, this is optional):
Code:
socat - TCP:my.ps4.ip.here:5052
where ps4 ip is your local ip (mine is 192.168.1.72)

5. Finally send payload:
Code:
socat -u FILE:path/to/DumpFile TCP:my.ps4.ip.here:5053
specifying the path to the payload and the ip. if the payload fails to be executed with out of memory error just stabilize on stage 5 WITHOUT restarting console and try again.

Any doubts please ask. And all credits go to grass skeu for this awesome trick :)

Just a small note. segment 0x6fffff01 cannot be "decrypted" from game eboots because... it's a plaintext segment in encrypted file :)
Decrypting and Dumping PlayStation 4 UserModules Guide by Zecoxao.jpg
 
:idea: Reminder: Those without a Verified Badge yet on Discord to access the private areas we recommend Joining Us! Why? The waiting process takes a week for new Members, and there's a lot we're unable to share on public forums including the latest PS4 PKG Games. 🏴‍☠️

Comments

nanpsx

Senior Member
Contributor
I just want to play ps4 games from the external hdd hahaha like the ps3 ^^ Playing ps1,2,3 and 4 games omg!!!!! PS4 best console ever!:bananaman:
 
Recent Articles
Minecraft Dungeons Battles Onto New PS4 Game Releases Next Week
Inspired by classic dungeon crawlers, get ready to begin a new quest in the action adventure game Minecraft Dungeons, set in the unmistakable blocky Minecraft universe next week on PlayStation 4...
SpecterDev Shares Low-Level Details on Porting MUSL to PS4
Since the OpenOrbis PlayStation 4 Toolchain release and related guides on his YouTube Channel, PS4 scene developer @SpecterDev of SpecterDev.ca (Patreon) shared via Twitter a Blog Post detailing...
Sony's Days of Play 2020 Sale Offers Deals on Games and More
With Memorial Day weekend and the unofficial start of summer upon us things are heating up outside as well as in Sony's Days of Play 2020 sale with deals on PlayStation games, accessories, PS Now...
Super Console Wars 1.0 PS4 Homebrew Game PKG by Lapy & Acekone1!
A few weeks back we saw PS4-Xplorer File Manager Theme and Avatar Maker followed by a PS4-Xplorer 1.19 update, and today PlayStation 4 homebrew developer @Lapy returns via Twitter with designer...
Top