PSXHAX.COM website and domain for sale. Contact Us with your offer!
PS4 Custom Syscall for Extended Symbol Resolving by Flatz
Since releasing his PS4 Shellcore Patch for external hard drives, PlayStation 4 developer @flatz shared more goodies with devs on Twitter including a sys_dynlib_dlsym_ex.c which is a custom syscall for extended PS4 symbol resolving. :ninja:

It utilizes PS4's extended dlsym() allowing the specifying of library name and flags to be able to use mangled symbol names on PlayStation 4.

Download: sys_dynlib_dlsym_ex.c

Code:
//
// Custom syscall for extended symbol resolving (allow specifying of library name, flags to be able to use mangled symbol names) on PS4.
//
// NOTE: slide offsets are for 5.00/5.01 kernel.
//

//
// PATCHES (syntax: offset,name,old,new).
//

// Allow sys_dynlib_dlsym in all processes.
DECLARE_PATCH_64(0x237E2A, allow_dynlib_dlsym, H64S(0F,82,C0,01,00,00,48,8B), H64S(E9,C1,01,00,00,90,48,8B));

// Don't restrict dynlib information.
DECLARE_PATCH_32(0x2B2350, dont_restrict_dynlib_info, H32S(65,48,8B,04), H32S(31,C0,C3,90));

// Allow usage of mangled symbols in dynlib_do_dlsym().
DECLARE_PATCH_BUF(0x2AF877, allow_mangled_symbols_in_dlsym, BYTES(45,31,FF,45,31,F6), BYTES(90,90,90,90,90,90));

//
// Kernel symbols, structures and definitions.
//

#define DYNLIB_DLSYM_FLAG_MANGLED_NAME 0x1

struct dynlib_obj;

#define SIZEOF_DYNLIB 0x100 // dynlib_proc_initialize_step1

TYPE_BEGIN(struct dynlib, SIZEOF_DYNLIB);
    TYPE_FIELD(SLIST_HEAD(, dynlib_obj) objs, 0x00);
    // ...
    TYPE_FIELD(struct dynlib_obj* main_obj, 0x10);
    // ...
    TYPE_FIELD(struct sx bind_lock, 0x70);
    // ...
TYPE_END();

#if FW_VER == 501
    DECLARE_FUNCTION(0x2AF7B0, dynlib_do_dlsym, void*, struct dynlib* dl, struct dynlib_obj* obj, char* name, char* libname, unsigned int flags);
    DECLARE_FUNCTION(0x2B0B40, dynlib_find_obj_by_handle, struct dynlib_obj*, struct dynlib* dl, int handle);
#endif

//
// Kernel code for payload.
//

enum {
    // ...
    SUPERCALL_DLSYM,
    // ...
};

struct sys_supercall_args {
    int cmd;
    int cmd__pad;

    union {
        // ...

#if FW_VER == 501
        struct {
            int handle;
            int...
PS4Updates.py by Zer0xFF and PS4 Title Update Checker by PoSsvkey
Following the PS4 Game Updates PKG Guide, his recent ReactPSPLUS work and the PS4 Game Saves FPKG Guide today Zer0xFF shared a PS4Updates.py python script with details on how PS4 games update meta data followed by a PS4 Title Update Checker live demo via PoSsvkey. :ninja:

Download: PS4Updates.py / GIT / PS4 Title Update Checker Demo / PS4 Updates PHP Port

This comes proceeding the PS4 Package Finder, PS4 PKG Database and PS4 Orbis Title Metadata Database with source code release late last year, and be sure to check out the latest PS4 Toolbox by DeathRGH v1.6.0.0.rar update also! :thumbup:

Code:
#!/usr/bin/python

import sys
import hmac
import hashlib
import binascii

if(len(sys.argv) < 2) :
    print 'Usage : ' + sys.argv[0] + ' GameID [...]'
    exit(1)

def GetHash(GameID) :
    byte_key = binascii.unhexlify("AD62E37F905E06BC19593142281C112CEC0E7EC3E97EFDCAEFCDBAAFA6378D84")
    hash = hmac.new(byte_key, "np_" + GameID, digestmod=hashlib.sha256)
    return hash.hexdigest()

GameIDs = iter(sys.argv)
next(GameIDs)
for GameID in GameIDs:
    if(len(GameID) != 9):
        print "Invalid GameID: " + GameID
        continue

    print "GameID: " + GameID
    hash = GetHash(GameID)
    print "    Hash: " + GetHash(GameID)...
PS4 Homebrew Vagrant Box Execution & Development by Justanormaldev
Today justanormaldev made available a Github repository for PlayStation 4 developers dubbed PS4 Homebrew Vagrant for 5.05 jailbroken consoles, which as the name implies is a vagrant box for homebrew (unsigned code) execution and development. :geekxf2:

Download: ps4-homebrew-vagrant-master.zip / GIT

According to Wikipedia, vagrant is an open-source software product for building and maintaining portable virtual software development environments.

Here's some additional details from the README.md, to quote: PS4 homebrew vagrant

A vagrant box for PS4 homebrew execution and development

Currently only for 5.05

What this vagrantfile is intended to do

  • setup dependencies and build from source code on provision (minimum effort to get started)
  • serve as executable instructions on how to build the different projects
  • add utils to simplify usage
To get it running
To update to latest

Run vagrant destroy -fto remove everything from the previous version (more info: https://www.vagrantup.com/intro/getting-started/teardown.html) other than what you placed on the /vagrant path (more info: https://www.vagrantup.com/intro/getting-started/synced_folders.html).

Then you can follow the same steps as in the To get it running section.

What you can do with this

After you've got it running and are inside an ssh session to it, you will be able to see the following directories in the home path:
Code:
vagrant@ubuntu-xenial:~$ ls...
PS4 External HDD Patch by Flatz and HEN 5.05 Updates by XVortex
Over the 4th of July holiday PlayStation 4 developer @flatz shared a 5.01 shellcore patch on Twitter allowing the PS4 FPKG installer to work with an external hard drive without any CE-41798-9 error codes, and shortly following zecoxao shared the related patch offsets for 4.55 and 5.05 OFW versions allowing @XVortex via Twitter to update the PS4 Homebrew Enabler PS4 HEN VTX for 5.05 Firmware with PS4 Exploit Host author @Al Azif on Twitter also updating his DNS HEN 1.7 and Mod Menus. :love:

PlayStation 4 developer @stooged also shared some holiday updates with everyone in the form of PS4_Serve3 v2.0 and Cache Install v9 which add PS4HEN 1.7 allowing games to be installed to a PS4-formatted external HDD now alongside @pearlxcore who announced on Twitter that he's also updated his PlayStation exploit page at Pearlxcore.net as well as PS4.Editzz.net by EdiTzZ and a v1.7 update by...
AP II Intense v2 GTA V PS4 Mod Menu Payload Updated by EROOTIIK
Following the previous updates, PlayStation 4 developer @EROOTIIK announced via Twitter that he's updated the mod menu GTA V AP II INTENSE v2 PS4 5.05 payload to support the recent v1.27 update, however, he notes this does not support the US version at this time. :fire:

Download: rock_menu1_27_5_05.bin (177.95 KB) / rock_menu1_27_5_05.bin (Mirror) / rock_menu_1_27_5_05.bin (179.5 KB) / rock_menu_1_27_4_55.bin (179.5 KB) / rock_menu_1_27_4_05.bin (182.02 KB)

To quote from EROOTIIK via NGU on the latest AP II INTENSE v2 GTA V PS4 mod menu changes:

I'm releasing the ap ii intense v2 that I have converted and updated for PS4, only works for 4.05/4.55/5.05 on the US and EU for the version of the game without updates and EU only for the update 1.27.

I will adding PS4's vehicles and weapons in the future, if you want to translate the menu in your language you can download the extracted strings, translate them in the same order without adding a line and send me back the file.

AP II INTENSE v2 PS4
Menu Changelog v1.1:
  • Fixed crash issues in Song Selector
  • Added all PS4 weapons for Give All Weapons option
  • Added all PS4 vehicles in the Vehicle Spawner
  • The menu now displays the PS4 buttons
Menu Changelog v1:
  • Fixed endianness and bits issues
  • Added PS4 songs to the Song Selector
Credits:
  • EROOTIIK: Conversion for PS4 and Update
  • Rock4259: Creator of the menu and help to fix endianness and bits issues on his menu
  • 2much4u: GTA Native Caller source
Grand...
Back
Top