Category PS4 CFW and Hacks       Thread starter MeTheKing       Start date May 26, 2018 at 6:26 PM       20,818       50            
This weekend developer SpecialFood (aka mtnjustarie) made available a new PS4 Jailbreak Tool called USB Fake Packages based on the PKG2USB by SiSTRO and AppToUsb by @stooged. :fire:

Download: USB Fake Packages (Latest Release) / 4.55_SpecialFood_USBFakePackages_1.0c.bin / 4.55_SpecialFood_USBFakePackages_1.01.bin / payload.js / 5.05_SpecialFood_USBFakePackages_1.1b.bin / 5.05_SpecialFood_USBFakePackages_1.11.bin / homebrew.js / USBFakePackages.cfg / USBPackageFileNameElements.txt / GIT

Spoiler: Depreciated

To quote from the README.md: USB Fake Packages

USB Fake Packages is a tool I've made for the PS4 Jailbreak, based on version 4.55 and probably won't work on 4.05 so I wouldn't suggest trying.

The tool searches the console for fake packages based on the routes given by the user and links them with the USB fake packages based on the conditions the user have entered (whether it's linking with existent USB fake packages or copying from the console to the USB and then linking, in some cases an operation might fail due to the entered conditions, for example if a fake package already exists in the destination and it's not matching the console fake package (or not checking for a match in the conditions) so it won't delete the fake package in the destination for safety, and skip that console package file, another example is a copy attempt failing because of USB drive lack of space).

A processed USB fake package will be named with the extension of ".sym.pkg" instead of ".pkg", so that a difference will be noticed.

Make sure your USB drive is formatted as exFAT (recommended) or as FAT32 (not recommended).

Based on the pkg2usb by SiSTRO and AppToUsb by stooged, much different in my opinion however, changing from AppToUsb to this tool won't be a problem, but already symlinked fake packages won't be reprocessed, only ones that are not will be processed, keep that in mind.

I've based the tools on 10 partial systems, which are :

Variable Tools :

The work with variables inside the program, whether allocating space, rellocating, freeing, clearing, etc.

Text Tools :

The work with texts, whether to get inner texts or to combine ones.

Decimal Tools :

The work with numbers, to calculate logs and powers.

Convertion Tools :

The work with conversions, when needed to conver between bases (base 10 to 2 or 10 to 16 etc.).

Text Score Tools :

The work with visual texts, I've made a text scoring system that scores letters width and lines width and then trying to fit a text inside a certain line based on the score of the text and the score of the line (so a text "abcdefghijklmn" might become "abc...lmn" for example), this way I can control how texts are visually seen.

I've used this system for the PS4 messages sending.

File Tools :

The work with files, whether it's to open/close/read/write/copy etc.

Folder Tools :

The work with folders, the same idea as the work with files.

CFG File Tools :

The work with CFG files, I've written by myself, in order to receive info by the user, the rules are simple.

A CFG file is consisted of sections, inside them are fields, which each have keys and values for each key.

A section is written as [Section Name]

A field is written as Key Name = Value1, Value2... Value13;

In order to name a key or a value with a name that might confuse the reader (for example key = "tre=rt", there's "=" in it and the reader will look for a value, but it's just the key name) a one can use quote marks for the name.

Spaces and new lines are ignored when they should be, and comments are written as "//" without the quote marks.

An example for a valid CFG file :
Code:
{

[ SectionA ] //some note

// some empty line

"ABRR==T" = "34;24;", Tg;//some note

["Section B"]

arr=3,5;

}
SFO File Tools :

The work with SFO files, wrote a code that reads a SFO file, and returns the values it has.

This current tool uses it for a naming element for the USB fake package files.

PS4 Tools :

The work with basic PS4 Jailbreak tools, based on tools to create a symlink between files or to initialize the PS4 system, send a PS4 message in the notification bar, etc.
Instructions for the USB CFG file :

I edit the CFG file in notepad, I assume all of you can do the same, make sure the cfg file is in the root of the USB drive with the name of USBFakePackages.cfg.

Make sure that "/" slashes are used in routes, and not "\" slashes.

The CFG file is consisted of 3 sections, the order of them or their keys is less important and shouldn't affect the tool working operation.

Section 1, "Options" :

The section has 6 keys, the section decides all the basic options required for the tool to function properly.

Section 1, Key 1, "CheckUSBConsoleRootFolder" :

This key is for the folder path that the console will use in the USB as a working space, the key has 1 value, and it can be valued as as "false" or a location, while false means that one won't transfer files there, copy conditions will be off and it'll only match package files with the USB routes and won't transfer them afterwards (means that the TransferPackageFile condition in the USB routes is off).

Section 1, Key 2, "CheckUSBConsoleRootPackageFile" :

Check if the package file already exists in the working space, true goes for check if it's and false goes for don't.

Section 1, Key 3, "USBPackageFileNameElements" :

The elements that the USB package file name is consisted of, check the file USBPackageFileNameElements.txt file in the root folder of this project for all the possible values.

Section 1, Key 4, "CopyConsolePackageFile" :

Copy console package file if needed, true goes for copy, false goes for don't.

Section 1, Key 5, "CopySourceFileMaxProcessSystemMessagesAmount" :

The amount of messages that will be shown during the copy process at max, for example, if it's set as 5 then 0-20% will be shown, as well as 20-40%, 40-60%, 60-80%, 80-100%, a possible routine might be 13% completed, 27%, 53%, 68%, 88%, 5 is max but not necessarily will happen every time, 33%, 84% is also a possible routine, most likely for a small fake package file.

There is also a time limit between messages, it's not up to the user as of now and set for 10 seconds (means that messages during the copy process won't be seen without a 10 seconds time space between them).

Section 1, Key 6, "CheckSymlinkExistenceShowSystemMessages" :

Show a message if a console package file already has a symlink, saying that the certain console package file already has a symlink.

In my opinion if one a packages collector this option might get annoying, when seeing the message "the package file X already has a symlink" 7357 times in a row, but for a small packages amount it's quite nicely.

Section 2, "ConsoleRoutes" :

There are no keys required in this section, but that they're all optional.

Section 2, A key :

ConsoleRoute = MaxConsoleSubFolderLevels, ConsoleDeniedFolderPaths;

ConsoleRoute :

The route to search in the console, written as "Console/X" or just "Console" if one wants to search the whole console.

MaxConsoleSubFolderLevels :

The max dive into the route sub folders, 1 goes for 1 max dive, 0 goes for none, -1 goes for infinite, etc.

ConsoleDeniedFolderPath_X :

The console folder paths to avoid searching, if one want to make the process go faster or dont want certain console folders to be searched he can add them here, written as "Console/a/b", this value is optional.

Section 3, "USBRoutes" :

There are no keys required in this section, but that they're all optional.

Section 3, A key :

USBRoute = TransferPackageFile, ChangePackageFileName, MaxUSBSubFolderLevels, USBDeniedFolderPaths;

USBRoute :

The route to search in the USB, written as "USB/X" or just "USB" if one wants to search the whole USB drive.

TransferPackageFile :

If a match has been found whether to move it to the USB Console working space or not, true goes for moving, false goes for not.

ChangePackageFileName :

If a match has been found whether to change the name of the USB fake package file based on the USB package file name elements or not, true goes for changing, false goes for not.

MaxUSBSubFolderLevels :

The max dive into the route sub folders, 1 goes for 1 max dive, 0 goes for none, -1 goes for infinite, etc.

USBDeniedFolderPath_X :

The USB folder paths to avoid searching, if one want to make the process go faster or dont want certain USB folders to be searched he can add them here, written as "USB/a/b", this value is optional.

USB Fake Packages PS4 Jailbreak Tool for 4.55 by SpecialFood.jpg
 

Comments

mtnjustarie

Developer
Senior Member
Contributor
Verified
@FFTHEWINNER
it's different in a lot of fields, explaining all of them would take me too much time and nobody will read the small things. i will mention what in my opinion are the quite noticeable features, that haven't been seen in tools published before.

first of all, the console folder at the USB can be located wherever the user wants to, folders aren't created if not necessary, unlike in stooged's code, and it imitates the console folders, so that future changes won't require transferring etc. and also compatibility with future PS4 patches, more to that is that u can decide the console routes yourself, and don't need to wait for the tool owner to patch it, like in stooged version.

so for example, let's say the folder is USB/PS4, so a possible file location may be USB/PS4/user/app/abc.sym.pkg.

second thing is that the user can choose in a USB route whether to transfer found files and/or change their names, in case of a match. so one can choose that he has his folders inside his USB organized the way he wants to, whether organizing PS2 games inside a folder named PS2, etc.

third thing is that the user can choose how the USB PS4 processed package file will be named, by elements written in the CFG file, based on SFO file read of the game, the console original package file name, and whatever texts you desire. so for example lets take the game trackmania turbo, and the elements : "TITLE,-,TITLE_ID" the package file name will be "Trackmania Turbo-CUSA01210.sym.pkg"

there're a lot more changes , and some might be even bigger but just not coming to my head.

i would really like that u guys test it, and tell me what features would u like to have, i might add patches in the future if i find some features interesting to have.
 

BigWadger

Senior Member
Contributor
Verified
@mtnjustarie Its, Yours, Good to know this, I dont like to see unknown bins posted, Its so easy to brick a ps4 using root apps, we need to see whats going on in the code, Ill give it a try later Cheers
 

mtnjustarie

Developer
Senior Member
Contributor
Verified
@BigWadger
as of now the code isn't published, i might publish it later on if i feel the need to.

i don't look for reputation and this tool may be used at your own risk... i did however test it on my PS4 Slim console quite a lot.
 

depaul

Senior Member
Contributor
Oh hi @mtnjustarie and thanks for your explanation.

Please what settings do you advise to use with exFat external USB? Windows prompts to use 256 kb per cluster: do you recommend this value? or should we use a smaller value instead (ex : 4 kb per cluster). Thanks!
 

MeTheKing

Senior Member
Contributor
Verified
@mtnjustarie

hi and sorry if i post your git before your finish it and thank you for your great work, the first thing i notice is how i can change the name of my fpkg with your payload it's very handy and i like how you give us a lot of freedom in how we deal with the fpkg.

thanks again and keep up the good job.
 
Recent Articles
JoystickUDP: Collection of Methods Using a PS4 Controller with UDPComms
Recently StanfordRoboticsClub shared on Github a collection of methods using a DualShock 4 PS4 Controller with UDPComms, which is a Python library to enable communication between different...
Star Wars Jedi: Fallen Order Joins New PS4 Game Releases Next Week
Explore the galaxy in the latest PlayStation 4 third-person action-adventure game Star Wars Jedi: Fallen Order from Respawn Entertainment arriving to PS4 next week on November 15th. Play as an...
Feel The Power of Pro with PlayStation 4 Pro Latest PS4 TV Spot!
Right behind their It's Time to Play! campaign and Black Friday Deals, Sony is ramping up PlayStation promotions for the holidays with the latest PS4 TV spot showcasing the Limited Edition PS4 Pro...
REPL4Y for Android PS4 Remote Play App Free Trial Version by Twist3d89
Proceeding his request for Beta Testers and the Chiaki Open Source PS4 Remote Play Client release, developer Twist3d89 has made available a free trial version of his REPL4Y for Android application...
Top