Skip to content
A flash tool for the PlayStation 4!
Branch: master
Clone or download
jogolden fix codenames
thanks zecoxao
Latest commit 013219c Mar 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile Add files via upload Mar 16, 2019
README.md Update README.md Mar 16, 2019
aes.c Add files via upload Mar 16, 2019
aes.h Add files via upload Mar 16, 2019
crypto.c Add files via upload Mar 16, 2019
crypto.h Add files via upload Mar 16, 2019
flashtool.c fix codenames Mar 17, 2019
flashtool.h Add files via upload Mar 16, 2019
hmac-sha1.c Add files via upload Mar 16, 2019
hmac-sha1.h Add files via upload Mar 16, 2019
keymgr.c Add files via upload Mar 16, 2019
keymgr.h Add files via upload Mar 16, 2019
nvs.c Add files via upload Mar 16, 2019
nvs.h Add files via upload Mar 16, 2019
sha1.c Add files via upload Mar 16, 2019
sha1.h Add files via upload Mar 16, 2019
simplegpt.py Add files via upload Mar 16, 2019
slb2.h Add files via upload Mar 16, 2019
southbridge.c Add files via upload Mar 16, 2019
southbridge.h Add files via upload Mar 16, 2019

README.md

PlayStation 4 Flash Tool by golden

~ PlayStation 4 flash tool v1.0 | by golden ~
Usage: flashtool [option(s)]
Examples:
        flashtool --extract dumps -i flashdump.bin
        flashtool --emcipl patchedipl.bin -k CXD44G.keys --input flashdump.bin --output flashout.bin
        flashtool --eapkbl patchedkbl.bin -k cec_h4x_sram_dmp_CXD36G.keys --input flashdump.bin --output flashout.bin
        flashtool -k CXD42G.keys -v -n --input flashdump.bin
        flashtool --extract dumps -n --input flashdump.bin
        flashtool --eapkern eapkern_hdd_enc.bin,eapkern_hdd_dec.bin
Options:
        -h, --help                                                show this help message
        -v, --verbose                                                     verbose output
        -i [flash], --input [flash]                                     flash file input
        -o [flash], --output [flash]                                   flash file output
        -n, --noverify                                do not verify the flash signatures
        -k, --keyfile                                      override the default key file
        --extract [dir]                                       extract files to directory
        --emcipl [emcipl]                       replace EMC IPL (initial program loader)
        --eapkbl [eapkbl]                           replace EAP KBL (kernel boot loader)
        --eapkern [input,output]                                  decrypt the EAP kernel

Everything you can replace in the flash is resigned when you replace it.
Also, when the extract option is enabled, the files will be extracted after the replacement/resigning.
!! This tool will never overwrite your existing flash dump file! You must specify an output. !!

This release includes no keys and I will never release keys.

You must create your own keyfile if you have keys. Look at keymgr.h for the format.
Look at the fail0verflow article if you want to try and derive the keys yourself. There may be some bugs with this release.

Shoutout to Team Molecule for ARZL decompress, zecoxao for some NVS information on the wiki, SKFU and iqd for SLB2, and many anonymous contributors!

You can’t perform that action at this time.