Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 Jailbreaking       Thread starter PSXHAX       Start date Jan 11, 2018 at 7:35 PM       162      
Status
Not open for further replies.
Hot on the heels of yesterday's PS4 Fake 4.05 updates, today PlayStation 4 developer @cfwprophet shared on Twitter a Fake PKG Generator for PS4 with documentation to generate fake packages which will support homebrew once the ShellCore patches (for fake PKG support) are implemented. :fire:

Download: Fake_PKG_Generator.rar (2.85 MB - v2.89) / Fake_PKG_Generator.rar (429.72 MB - Documentation) / make_fself.py (0.2 MB) / make_fself.py (Mirror) / make_fself.py (Mirror #2) / sc.exe_hack.rar (0.28 MB) / Fake PKG Generator 3.12 hotfix.zip / Fake PKG Generator 3.12 hotfix2.zip / Fake PKG Generator 3.38.zip (4 MB) / Fake PKG Generator 3.38.zip (Mirror) / Fake PKG Generator 3.38.zip (Mirror #2 - includes orbis-pub-sfo.exe) / Mirror #3 / PS4_Fake_PKG_Tools_v3.87.rar (3.35 MB) / PS4 Fake PKG Tools with Fake PKG Generator 3.87 Patched for FPKGs by CyB1K

Note: Use '00000000000000000000000000000000' for the PKG Gen password in case others need to ever unpack it, then everyone will know the PKG password.

From Pastebin come some Orbis-pub-prx.dll patches included in Fake PKG Generator:

Code:
PS4 Fake PKG Generator for Playstation 4 -PATCHES-
Publishing Tools 2.89
Orbis-pub-prx.dll

Orig file Hash:
SHA1 = F6CBCA3FC36C81D0F91C7895775F9ABB324D7863

This difference file has been created by IDA
Patch self stuff
0000000000057228: 0F 90
0000000000057229: 84 90
000000000005722A: 61 90
000000000005722B: 04 90
000000000005722C: 00 90
000000000005722D: 00 90
000000000005722E: 80 90
000000000005722F: 78 90
0000000000057230: 05 90
0000000000057231: 00 90
0000000000057232: 0F 90
0000000000057233: 84 90
0000000000057234: 57 90
0000000000057235: 04 90
0000000000057236: 00 90
0000000000057237: 00 90

0000000000057247: 0F 90
0000000000057248: 85 90
0000000000057249: 42 90
000000000005724A: 04 90
000000000005724B: 00 90
000000000005724C: 00 90

Patch unexpected elf format
00000000000570D7: 0F 90
00000000000570D8: 85 90
00000000000570D9: 5C 90
00000000000570DA: 05 90
00000000000570DB: 00 90
00000000000570DC: 00 90

0000000000057210: 0F 90
0000000000057211: 85 90
0000000000057212: 23 90
0000000000057213: 04 90
0000000000057214: 00 90
0000000000057215: 00 90

0000000000057278: 0F 90
0000000000057279: 85 90
000000000005727A: BB 90
000000000005727B: 03 90
000000000005727C: 00 90
000000000005727D: 00 90

Patch unexpected TitleId
00000000000570FC: 0F 90
00000000000570FD: 85 90
00000000000570FE: 7F 90
00000000000570FF: 05 90
0000000000057100: 00 90
0000000000057101: 00 90
0000000000057102: 3B 90
0000000000057103: CA 90
0000000000057104: 0F 90
0000000000057105: 85 90
0000000000057106: 77 90
0000000000057107: 05 90
0000000000057108: 00 90
0000000000057109: 00 90

000000000005729B: 0F 90
000000000005729C: 85 90
000000000005729D: E0 90
000000000005729E: 03 90
000000000005729F: 00 90
00000000000572A0: 00 90
00000000000572A1: 3B 90
00000000000572A2: CA 90
00000000000572A3: 0F 90
00000000000572A4: 85 90
00000000000572A5: D8 90
00000000000572A6: 03 90
00000000000572A7: 00 90
00000000000572A8: 00 90

Patch online check (1)
0000000000282548: 68 65
000000000028254A: 74 65
000000000028254C: 74 65
000000000028254E: 70 65
0000000000282550: 3A 65
0000000000282552: 2F 65
0000000000282554: 2F 65
0000000000282556: 70 65
...
till 0x00 0x00 (but leave them)

Patch online check (2)
000000000027E3AC: 73 65
000000000027E3AD: 64 65
000000000027E3AE: 6B 65
...
till 0x00 byte (but leave it)
From Pastebin:
Code:
loc_454B16 = loc_10057EF8
Location to patch 1005828F
RIF Location 10139AC6

unexpected format crap => loc_10058239
Download: libSceFios2.prx (0.38 MB) / libSceFios2.sprx (0.35 MB)
Download: eboot.bin (16.42 MB) / libc.prx (0.88 MB)
How to build PS4 Fake PKGs
A short and easy example of how to build Fake PKGs for the PS4 to use with your homebrew on a exploited device.
Download: fself.rar (5 KB)
Cheers to @hyndrid, @Konsolenzocker, @raedoob, @seanp2500, @segobi and @SSShowmik in the PSXHAX Shoutbox for the news tips! (y)

Fake PKG Generator for PS4 to Generate Fake Packages for Homebrew.jpg
 

Comments

This is possibly because you're trying to package an update file without the main game dump present. I.e. you're probably missing some dependency
 
Since we moved from 4.55 HEN to 5.05 HEN I thought it would be nice to also update our tools for it :)

Here is 3.12 version of Fake PKG Generator:

Fake PKG Generator 3.12.zip

It has been patched with the same stuff as the previous Generator was:
  • Patched key with Custom PKG key every HEN uses
  • Patched self stuff
  • Patched "unexpected elf format"
  • Patched "unexpected TitleId"
  • Patched online check (1)
  • Patched online check (2)
  • Fixed some stuff @cfwprophet did not notice (mostly unedited or broken strings)
fake PKGs made with this version will work just fine on previous HEN enabled Firmwares, as fpkgs made with 3.38 version work just fine on my 5.05 hen.

Here is some trivia:

Original Fake PKG Generator from @cfwprophet used 4.50 Publishing tools, version 2.89
Updated Fake PKG Generator from us used 5.00 Publishing tools, version 3.12
Next Fake PKG Generator we are going to release will use 5.50 Publishing tools, version 3.38

Massive thanks to SocraticBliss for helping me out with this!

In case anyone wants exact sources for this release, I've posted about it on twitter some while ago:

ZcPRZLW.png

Cheers and have fun :D
 
Wow! What a release... if this is what I think it is, I think the scene is going to go crazy and might see more releases!

Now just need firmware spoofer and essentially it's all systems go.
 
Well this new tool might have fixed the error I was getting with Pillars while compiling it. Oh well I fixed it by editing the pram.sfo.
 
Status
Not open for further replies.
Back
Top