(adsbygoogle = window.adsbygoogle || []).push({});
In this tutorial i'll explain how to use the all the ps3 tools around the network
(i will write better descriptions soon)
To follow this tutorial you will need:
- linux or/and windows*
- fail0verflow's tools
- geohot's tools
- ps3 keys
- psn/force_package_npdrm (for windows users) or sony's make_package_npdrm (for linux users)
- PSP/PS3 PKG Decrypter_Extractor (just for windows users)
- Notepad++ (on windows) or gedit (already installed on linux)
- cygwin and winrar (JUST IF YOU ARE ON Windows)
- NOR dumper (if you want to work with the NOR)
- rms's norunkg (if you want to work with the NOR)
- rms's eEID splitter (if you want to work with the NOR)
- graf_chokolo tools and kernel
EVERYTHING MUST BE ALREADY COMPILED BY YOU OR SOMEONE ELSE (DON'T ASK ME TO DO THAT)
ALL LINKS ARE IN
Before You Start
MADE BY DEROAD -
Please do not Copy
Tell me if something is not so clear or if i made some grammatical mistake and tell me
if i forget something, i will add it
i relased this tutorial also on PSX-Scene and PS3hax
[multipage=Before You Start]
- Before You Start -
- Download PS Tools -
Almost all the tools you need are here -->
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.
More mirrors:
You must login or register to view this content.
Thank's to
You must login or register to view this content. for all other links
Before you start to use these guide you have to place the ps3 keys in the right folder.
- PS3 Keys Folder -
You need to extract all ps3 keys in the following folder:
/home/username/.ps3
change
username with the name of your user.
for example:
/home/deroad/.ps3
[multipage=Packages (PKG)]
- Packages -
Packages are like zip or rar files, in this page i'll explain how to decompress and
recompress them.
first thing that you must know is that there are 3 main types of PKGs:
Retail -->
Signed by Sony
Debug -->
Not Signed
Pseudo-Retail -->
Signed but just for Custom Firmware
All the pseudo-retail apps will work just on CFW. If you update from a CFW to OFW and try
to start any homebrew, you will get an error.
Geohot relase a PKG called Test.pkg; this pkg is signed as retail, that's why you are still
able to use in a OFW!
- How to decompress a PKG -
If you have a RETAIL or PSEUDO-RETAIL pkg
On Windows
Originally posted by another user
open PSP/PS3 PKG Decrypter_Extractor drop the pkg inside the new window and click on EXTRACT
you will have it extracted.
or
make a new folder and drop inside it [B]psn_package_npdrm[/B] or [B]force_package_npdrm[/B]
now copy the folder address (c:\bla\bla\bla\)
Open CMD and digit:
[B]cd [/B]
now press SPACE and PASTE the address, then press ENTER
now digit:
[B]psn_package_npdrm -x package.pkg[/B]
or
[B]force_package_npdrm -x package.pkg[/B]
change "package" with the name of your pkg.
Linux
Make a new directory and drop inside it [I]make_package_npdrm[/I] and your pkg.
then open your terminal and write:
[B]cd [/B]
press SPACE and drop the folder inside the terminal, then press enter
now digit:
[B]./make_package_npdrm -x [/B]
press SPACE, drop your pkg inside the terminal and press ENTER
If you have a DEBUG pkg
On Windows
make a new folder and drop inside it [I]psn_package_npdrm[/I] or [I]force_package_npdrm[/I]
now copy the folder address (c:\bla\bla\bla\)
Open CMD and digit:
[B]cd [/B]
now press SPACE and PASTE the address, then press ENTER
now digit:
[B]psn_package_npdrm -x package.pkg[/B]
or
[B]force_package_npdrm -x package.pkg[/B]
change "[B]package[/B]" with the name of your pkg.
Linux
Originally posted by another user
Make a new directory and drop inside it make_package_npdrm and your pkg.
then open your terminal and write:
cd
press SPACE and drop the folder inside the terminal, then press enter
now digit:
./make_package_npdrm -x
press SPACE, drop your pkg inside the terminal and press ENTER
- How to Compress a PKG -
you need to make a file called package.conf (make it with gedit or notepad++)
this file will contain these infos:
Content_ID=ID0002-ABCD12345_00-SAMPLE0000000001
K_Licensee = 00000000000000000000000000000000
DRMType = Free
Content_Type =
Package_Version = 00.01
now as you can see on Content_Type there's nothing written..
you need to say which type of PKG:
GameExec -->
Hdd Game pkg
GameData -->
Game Update pkg
you can change
DRMType with
Free or
Paid
the
K_Licensee is a random alphanumeric code.. you can use without problems
00000000000000000000000000000000
for example:
i need a game update pkg, so i'll write:
Content_ID=ID0002-ABCD12345_00-SAMPLE0000000001
K_Licensee = 00000000000000000000000000000000
DRMType = Free
Content_Type = GameData
Package_Version = 00.01
you need to change the
ABCD12345 with your
BLES or
BLUS or with what you want
now we need to put this file inside a new folder.
drop inside the same folder all the files we want in the pkg and
OUTSIDE the
psn_package_npdrm or force_package_npdrm (on windows) or sony's make_package_npdrm (if you
are on linux)
You must login or register to view this content.
On Windows
Originally posted by another user
Open your folder and copy the folder address (c:\bla\bla\bla\)
Open CMD and write:
cd
Press SPACE and PASTE the address, then press ENTER
now digit:
cd ..
and then digit
psn_package_npdrm NameOfFolder
change "NameOfFolder" with your folder name end press ENTER
On Linux
Originally posted by another user
Open CMD and write:
cd
Press SPACE and drop your folder (with inside your files), then press ENTER
now digit:
cd ..
and write
./make_package_npdrm NameOfFolder
change "NameOfFolder" with your folder name end press ENTER
it will compress a DEBUG pkg
- How to make Game Update pkg -
First thing you have to use Update instead of GameData for one reason: we are going to use
a command that require Update as Content_Type.
so we have something like this for package.conf:
Content_ID=ID0002-ABCD12345_00-SAMPLE0000000001
K_Licensee = 00000000000000000000000000000000
DRMType = Free
Content_Type = Update
Package_Version = 00.01
save package.conf inside a new folder and drop inside the same folder all the files we want
in the pkg and also the psn_package_npdrm or force_package_npdrm (on windows) or sony's
make_package_npdrm (if you are on linux)
You must login or register to view this content.
On Windows
Open your folder and copy the folder address (c:\bla\bla\bla\)
Open CMD and write:
cd
Press SPACE and PASTE the address, then press ENTER
now digit:
psn_package_npdrm --patch-for-discgame
press ENTER
On Linux
Open CMD and write:
cd
Press SPACE and drop your folder (with inside your files), then press ENTER
now digit:
./make_package_npdrm --patch-for-discgame
press ENTER
it will compress a DEBUG game update pkg
- How to make a Pseudo-Retail PKG -
you need a debug PKG (follow the tutorial above)
in the same CMD or Terminal that you used to make a debug PKG do:
On Windows
copy package_finalize.exe in [B]C:\[/B]
Open [B]CMD[/B] and go in the same folder where you keep the PKG that you want to sign.
then write: [B]\package_finalize YOUR.PKG[/B]
change YOUR with the name of your PKG (you also need to
wait 5 seconds and you will have your PKG signed.
Linux
copy in the same folder where you keep the PKG that you want to sign.
open Terminal and write: [B].\package_finalize YOUR.PKG[/B]
wait 5 sec and you will have your PKG signed.
[multipage=Self, BIN and Elf]
- SELFs & BINs & ELFs -
Selfs, Bins and Elfs are a executable files (like exe for windows or xex for Xbox360)
Selfs are a security extension of elfs, they are encrypted.
Bins and Selfs are the same thing, but the BINs have the NPDRM encryption
- How to make an ELF form a SELF -
REMEMBER THAT NOT ALL SELFS ARE DECRYPTABLE!
Originally posted by another user
Open
Cygwin (if you are on window)
or a
terminal on Linux
use
cd command to browse inside your hdd (remember that with the command
cd .. you will
return on the previous folder)
now once you are in your correct folder with your self inside and coy in that folder
unself
and
readself.
open
notepad++ or
gedit
on the terminal write:
readself your.self
change "
your" with the name of your self
copy from the terminal or cygwin and paste on your notepad++ or gedit the SELF Header:
Example:
SELF Header
elf #1 offset : 00000000_00000090
header lcn: 00000000_00000880
meta offset: 00000000_000003a0
phdr offset: 00000000_00000040
shdr offser: 00000000_005650f0
file size: 00000000_00b74060
auth id: 10700003_fd000001
vendor id: 01000002
info offset: 00000000_00000070
sinfo offset: 00000000_00000260
version offet: 00000000_00000310
control info: 00000000_00000350 <00000000 00000070 bytes>
app version: 3.70.0
SDK type: Retail
app type: application
save it as
self_header.txt (you will need it)
now write on the same terminal:
unself your.self yournew.elf
change "your" with the name of your self and "
yournew" with the name that you want for
the elf.
you will have a new file: an elf
- How to make a SELF from an ELF -
THIS IS JUST FOR NOT NPDRM SELF
Originally posted by another user
if you extracted an ELF from a SELF with the previous method you will have the
self_header.txt
if you don't extracted your ELF, you will need: app type, version offet , app version,
vendor ID, auth ID and sdk type.
Open a terminal or cygwin and browse in that folder where you keep youe elf and copy
makeself (fail0verflow tool) inside that directory.
Open your self_header.txt or keep app type, app version, vendor ID, auth ID and sdk type
near you.
now write:
makeself <app type> <version suffix> <app version> <vendor id> <auth id> <sdk type> your.elf
yournew.self
example:
makeself app 341 3.70.0 01000002 10700003_fd000001 retail my.elf out.self
now wait (may take a while, 15 min or more if you are unlucky)
- How to make a Pseudo-Retail NPDRM self from elf -
This is Just for ELF extracted from BIN file
On Windows
copy make_self (geohot tool) in C:\
now open CMD end browse to the folder that has your elf, then write:
make_self your.elf EBOOT.BIN ID0002-ABCD12345_00-SAMPLE0000000001
change "your" with the name of your elf, change ID0002-ABCD12345_00-SAMPLE0000000001 with
the content ID of your PKG (yes the content id of your PKG)
WARNING: NPDRM cares about the output of the file name, so DO NOT rename the new SELF/BIN.
On Linux
make a new folder, copy make_self (geohot tool) in your elf folder (ELF extracted from BIN
file), open your terminal and write:
cd
then press SPACE and drop that folder inside the terminal and press ENTER
now write:
make_self your.elf EBOOT.BIN ID0002-ABCD12345_00-SAMPLE0000000001
change "your" with the name of your elf, change ID0002-ABCD12345_00-SAMPLE0000000001 with
the content ID of your PKG (yes the content id of your PKG)
WARNING: NPDRM cares about the output of the file name, so DO NOT rename the new SELF/BIN.
[multipage=Extract and Compress PUP]
- Extract and Compress PUPs -
PUPs are the sony's update file, it contain the sony firmware update.
- How to Extract PUPs -
Originally posted by another user
open Cygwin or a Terminal and browse to your PUP folder.
use cd command to browse inside your hdd (remember that with the command cd .. you will
return on the previous folder)
now write:
./pupunpack PS3UPDAT.PUP OUTPUTDIR
change "PS3UPDAT" if you change the name of the PUP and also change "OUTPUTDIR" with another
name if you want (it will make a new dir with that name)
- How to make PUPs -
Originally posted by another user
open Cygwin or a Terminal and browse to your extracted PUP folder.
use cd command to browse inside your hdd (remember that with the command cd .. you will
return on the previous folder)
now write:
./puppack PS3UPDAT.PUP INPUTDIR buildnumber
change INPUTDIR with the name of the folder where you keep your modded extracted PUP
and change buildnumber with the build number (it can be a random number if you don't know
what to write)
example:
./puppack PS3UPDAT.PUP 355derocfw 1323
[multipage=Systems PKGs]
- Systems PKGs -
These pkgs are different from game pkgs. they contain all the firmware update for BluRay
Drive or Bluetooth and also dev_flash and dev_flash3
- How to Extract a System PKG -
- Core OS PKGs -
This pkgs is different from game pkgs. this contain lv2_kernel.self, eurusfw.bin,lv0,
hdd_copy.self,etc.. and on the newer FW (>=3.60) LV0.2; when you install
CORE_OS_FIRMWARE.PKG, you are working on the NAND/NOR
The CoreOS's PKG is stored in
PS3UPDAT.PUP/update_files.tar/ and it's called
CORE_OS_PACKAGE.pkg
- How to Extract a CORE OS PKG -
just for core os file from FW<=3.55
Originally posted by another user
open Cygwin or a Terminal and browse to your CoreOS pkg folder.
use cd command to browse inside your hdd (remember that with the command cd .. you will
return on the previous folder)
now write:
./cosunpkg file.pkg OUTPUTDIR
change "file" if you change the name of the PKG and also change OUTPUTDIR with another
name if you want (it will make a new dir with that name)
just for core os file from 3.56 to the latest FW
Originally posted by another user
First thing download this file and save it as
extract_coreos.sh (i.e. as a bash script):
Linux/OSX:
You must login or register to view this content.