Skip to content

PSTools/ps4_unjail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ps4_unjail

image

GitHub all releases

PS4 Universal Plugin Originally by @zecoxao

Using Universal

To start you will need to do a DLL Import in unity (universal.prx needs to be placed inside Assets\Plugins\PS4)

DLL Import

    [DllImport("universal")]
    //Custom Funciton to be added like below
    private static extern UInt16 get_firmware();

Unjail

   private static extern int FreeUnjail(int FWVersion);
   //Will unjail the current process (you're game or app)
   //can be combined with the GetFirmware funciton to auto unjail 
   FreeUnjail(get_firmware());

Temperature

   private static extern int Temperature();
   //Will return temp in ÂşC

FreeFTP

   private static extern int FreeFTP();
   //Will enable FTP on the console

FreeMount

   private static extern int FreeMount();
   //Allows full rw

SetTemperature

    private static extern void SetTemperature(int celsius);
    //allows you to set the temprature

Debug

Click to expand

Debug notifications

    private static extern void SetDebuggerTrue()
    //Shows a debug notifications good old printf testing

Notifications

Click to expand

Notification on PS4

    private static extern int SendMessageToPS4(string Message)
    //Shows a notification on the PS4

Save Data

Methods that can be used for save data click to expand

MountSaveData

    private static extern int MountSaveData(string TITLEID,string fingerprint)
    //mounts save data on the PS4 if using save mounter patches please use zero's for fingerprint

UnMountSaveData

    private static extern int UnMountSaveData()
    //Unmounts all mounted save data

Kernel Calls

Click to expand

Basic Kernel Calls

Load another executable

    private static extern bool LoadExec(string path, string argv)
    //Calls and opens an application

GetIDPS

    private static extern string GetIDPS()
    //Gives you you're IDPS

GetPSID

    private static extern string GetPSID()
    //Gives you you're PSID

Get_Firmware this will get the current firmware of the console not the spoofed firmware

   private static extern UInt16 get_firmware();
   // should return as XXX e.g 505, 702 or 755

get_fw

    private static extern int get_fw()
    //gets the version as an int (reads from kern.sdk_version) can be spoofed

Experimental Calls

GetCallableList

    private static extern string GetCallableList()
    //Designed to show you all items you can call on the syste,

GetListOfServices

    private static extern string GetListOfServices()
    //Designed to show you all services you can call on the syste,

KernelGetOpenPsId

    private static extern string KernelGetOpenPsId()
    //Not sure why this call exists

firmware_version_kernel

    private static extern string firmware_version_kernel()
    //Get the firmware version on the kernel (but can be spoofed !)

firmware_version_libc

    private static extern string firmware_version_kernel()
    //Get the firmware version by libc (for prevent from kernel spoof)
    //Should no longer be required thanks to LM

User Service Functions

Click to expand

GetUsername

    private static extern string GetUsername()
    //returns the current username

GetUserId

    private static extern string GetUserId()
    //returns the current userid

Trophies

Click to expand

Basic Calling Method

UnlockTrophies

    private static extern int UnlockTrophies(string TitleId,string Titleidsecret )
    //returns the current username

Experimental

MakeCusaAppReadWrite

    private static extern int MakeCusaAppReadWrite()
    //returns the current userid

Controler

Click to expand

Basic Calling Method

Change_Controller_Color

    private static extern int Change_Controller_Color(int r,int g,int b)
    //Changes controler collor to RBG provided

Sceenshot

Click to expand

Basic Calling Method

TakeScreenShot

    private static extern int TakeScreenShot()
    //Should take a screenshot of the current screen

Mount

Experimental Click to expand

Experimental

MountandLoad

    private static extern int MountandLoad()
    //try's to mount something in sandbox

Experimental

MountTrophy

    private static extern int MountTrophy()
    //try's to mount a trophy file