Join Us and become a Member for a Verified Badge on Discord to access private areas with the latest PS4 FPKGs.
PS Vita Jailbreaking       Thread starter PSXHAX       Start date Nov 8, 2017 at 7:51 PM       6,170       0      
We've seen a PFS Protection Bypass method, PFS Explorer Support, PlayStation File System Keys, MakePFS, pfsSKKey, and following his PSVGameSD update PlayStation Vita developer Motoharu Gosuto has since released PSVPFSTools for decrypting the PS Vita PFS filesystem! :ninja:

Download: psvpfstools-master.zip / GIT

To quote from the README.md file: psvpfstools Tools for decrypting PS Vita PFS filesystem.

dependencies

curl

Windows (example)

It is easier to build curl from sources if your are on Windows. By default - it does not have any additional dependencies. However it looks like Windows binary distribution built with mingw requires openssl binaries:
  • libssl-1_1.dll
  • libcrypto-1_1.dll
You have to set these environment variables for cmake:
  • CURL_INCLUDE_DIR=C:\Program Files (x86)\CURL\include
  • CURL_LIBRARY=C:\Program Files (x86)\CURL\lib\libcurl_imp.lib
Ubuntu (example)

You can install curl library with apt-get: apt-get install libcurl4-gnutls-dev or libcurl4-openssl-dev

You have to set these environment variables for cmake:
  • declare -x CURL_INCLUDE_DIR="/usr/include/"
  • declare -x CURL_LIBRARY="/usr/lib/x86_64-linux-gnu/libcurl.so"
boost

Windows (example)

Any boost version should work out in theory. Build was tested with 1.55 and 1.65.1 Consult with this page for build: http://www.boost.org/doc/libs/1_65_1/more/getting_started/windows.html

You have to set these environment variables for cmake:
  • BOOST_INCLUDEDIR=C:\boost_1_55_0
  • BOOST_LIBRARYDIR=C:\boost_1_55_0\vc110\lib
Ubuntu (example)

You can install boost with apt-get: libboost-all-dev

You have to set these environment variables for cmake:
  • declare -x BOOST_INCLUDEDIR="/usr/include/"
  • declare -x BOOST_LIBRARYDIR="/usr/lib/x86_64-linux-gnu/"
build

Windows

Go to cmake folder and execute build.bat. It will create build folder and configure cmake to build with Visual Studio 2012. Code uses some c++ 11 features so lower Visual Studio is not recommended.

Ubuntu

Go to cmake folder and execute build.sh. It will create build folder and configure cmake to build with standard make.

run

Options:

Code:
-h [ --help ] Show help

-i [ --title_id_src ] arg Source directory that contains the application. Like PCSC00000.

-o [ --title_id_dst ] arg Destination directory where everything will be unpacked. Like PCSC00000_dec.

-k [ --klicensee ] arg klicensee hex coded string. Like 00112233445566778899AABBCCDDEEFF.

-z [ --zRIF ] arg zRIF string.

-f [ --f00d_url ] arg Url of F00D service.
Special thanks
  • Proxima. For initial docs on DMAC5, providing F00D service and help with crypto theory.
  • St4rk, weaknespase and everyone involved in PkgDecrypt. For zRIF string decode/inflate code.
  • Chris Venter. For libb64.
  • PolarSSL. For cryptographic primitives.

Github: https://github.com/motoharu-gosuto/psvpfstools/releases/latest

PSVPFSTools for Decrypting PS Vita PFS FileSystem by  Motoharu Gosuto.jpg
 

Comments

Top