|
|
#1 | |||||||||||||||||||
|
Homebrew Developer
![]() Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
|
[Mega-Thread] HACKING a PS3 - Tutorials and Explanations
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 This tutorial is also posted on NextGenUpdate - Before You Start - - Download PS Tools - Almost all the tools you need are here --> All Activities - git-hacks.com Download Tools Keys rar Tools-Keys.rar - Download - ShareMole.Com----online file hosting distribution service. MEGAUPLOAD RapidShare More mirrors: #1667382 - Pastie Thank's to manster 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 On Windows the HOME folder is inside the cygwin directory - 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
Code:
make a new folder and drop inside it psn_package_npdrm or force_package_npdrm now copy the folder address (c:\bla\bla\bla\) Open CMD and digit: cd now press SPACE and PASTE the address, then press ENTER now digit: psn_package_npdrm -x package.pkg or force_package_npdrm -x package.pkg change "package" with the name of your pkg. Code:
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 On Windows Code:
make a new folder and drop inside it psn_package_npdrm or force_package_npdrm now copy the folder address (c:\bla\bla\bla\) Open CMD and digit: cd now press SPACE and PASTE the address, then press ENTER now digit: psn_package_npdrm -x package.pkg or force_package_npdrm -x package.pkg change "package" with the name of your pkg.
you need to make a file called package.conf (make it with gedit or notepad++) this file will contain these infos: Code:
Content_ID=ID0002-ABCD12345_00-SAMPLE0000000001 K_Licensee = 00000000000000000000000000000000 DRMType = Free Content_Type = Package_Version = 00.01 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: Code:
Content_ID=ID0002-ABCD12345_00-SAMPLE0000000001 K_Licensee = 00000000000000000000000000000000 DRMType = Free Content_Type = GameData Package_Version = 00.01 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) ![]() On Windows
- 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: Code:
Content_ID=ID0002-ABCD12345_00-SAMPLE0000000001 K_Licensee = 00000000000000000000000000000000 DRMType = Free Content_Type = Update Package_Version = 00.01 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) ![]() On Windows Code:
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 Code:
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 - 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 Code:
copy package_finalize.exe in C:\ Open CMD and go in the same folder where you keep the PKG that you want to sign. then write: \package_finalize YOUR.PKG change YOUR with the name of your PKG (you also need to wait 5 seconds and you will have your PKG signed. Code:
copy in the same folder where you keep the PKG that you want to sign. open Terminal and write: .\package_finalize YOUR.PKG wait 5 sec and you will have your PKG signed. - 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!
- How to make a SELF from an ELF - THIS IS JUST FOR NOT NPDRM SELF
This is Just for ELF extracted from BIN file On Windows Code:
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. Code:
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. - Extract and Compress PUPs - PUPs are the sony's update file, it contain the sony firmware update. - How to Extract PUPs -
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 - YOU CAN'T EXTRACT 3.60+ CORE OS PKG WITH THIS GUIDE! this is just for core os file from FW<=3.55
- How to make 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
just for core os file from 3.56 to the latest FW
- How to make a CORE OS PKG - YOU CAN'T USE THIS WITH A 3.56+ COREOS.
NOR flash is a type of flash that allows random byte access, it's like an hard disk. The eEID contains your system model data, your target ID, and your PS3 motherboard revision. here you can have more infos about this --> A look at NOR flash | rms's crypt - NOR Unpkg –
trvk_prg0, trvk_prg1 and metldr - eEID Splitter - you will have 6 EID dumps from your eEID
- PS3 Linux Driver and Kernel - Here is the original guide (made by graf_chokolo) Main Page - PS3 Development Wiki - Booting Linux 2.6 kernel on running PS3 Linux with Kexec - Kexec-tools are very useful if you want to test a new Linux 2.6 kernel on PS3 without a long boot procedure with petitboot
- Downgrade with Linux - Emulating JIG with Linux if Product Mode isn't disabled at the end of the procedure you will need a dongle to get out of it! open a terminal and digit:
done. you downgrade from linux !! :claps: - PSL1GHT PARAM.SFO - The param.sfo is a file that include these infos: PARAM.SFO - PARAMETERS - PS3DEVWIKI with the python app included with PSL1GHT, you are able to build an sfo and revert a PSL1GHT one to an xml file. Build a PARAM.SFO: First thing, you need an this xml : http://pastebin.com/raw.php?i=Y8SSw3uX Save it as what you like with the XML extension (an example: bestapp.xml) now to generate a sfo, you need to open a Terminal and go (with the shell) in the same folder of sfo.py then copy the previously xml in the same folder and write inside the terminal this:
Revert to XML a PSL1GHT PARAM.SFO: To revert a param.sfo built with psl1ght sdk, you can simply do this: Open a terminal and go in the same folder of the sfo.py Copy the SFO into the same folder and write this into the terminal:
- FAQ - I get this error, what i have to do?: Code:
key_get failed perror: No such file or directory change username with your user name. I'm able to build a custom firmware with this guide? Sure! you can do it! but right now you can build Custom FW for this FW: from 1.50 to 3.55 I saw 3.56 keys in the .ps3 folder, i'm able to make a CFW for 3.56? no you can't do that! you need 3.56 private keys to sign all your stuff, but no one has them. How can i downgrade? You need an external NOR/NAND programmer Last edited by deroad; 11-23-2011 at 07:48 AM. Reason: added coreos extractor tutorial |
|||||||||||||||||||
|
|
|
|
Likes: (18) |
|
|
#2 |
|
Senior Member
![]() Join Date: Jan 2008
Location: Lisbon, Portugal
Posts: 6,681
Likes: 2,087
Liked 2,449 Times in 1,389 Posts
Mentioned: 139 Post(s)
Tagged: 0 Thread(s)
|
Great first post! is this tutorial yours? if not please give credit to the original author.
__________________
<eussNL> judge: īso why did you torrent 5 million AVI of women moaningī <eussNL> <TizzyT> i dont judge if it sounds good i listen |
|
|
|
|
|
#3 |
|
Homebrew Developer
![]() Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
|
i wrote it.. if you need the NGU post, i can give it to you
|
|
|
|
|
|
#4 |
|
Member
![]() Join Date: Dec 2010
Location: Germany
Posts: 67
Likes: 5
Liked 15 Times in 8 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
thats great
but i canīt test it because my brother updated my ps3 to 3.65
|
|
|
|
|
|
#5 | |
|
Member
![]() Join Date: Sep 2010
Posts: 184
Likes: 103
Liked 102 Times in 58 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
|
|
|
|
|
|
|
Likes: (1) |
|
|
#6 | |
|
Homebrew Developer
![]() Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
|
the only thing that you need is a pc. (obviously for some things you need a ps3 :D ) i hope that someone will find it really useful Last edited by deroad; 06-12-2011 at 11:32 AM. |
|
|
|
|
|
|
#7 |
|
Homebrew Developer
![]() Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
|
little update! i forgot a thing :D
|
|
|
|
|
|
#8 |
|
Member
![]() Join Date: Mar 2011
Location: Tha Scene
Posts: 365
Likes: 425
Liked 305 Times in 207 Posts
Mentioned: 73 Post(s)
Tagged: 0 Thread(s)
|
Hi again. I saw you over at the psx-scene earlier.
Great work. Speaking of updates, how often do you update, and do you mainly just update the NGU post, or are you going to try to keep them all updated?
__________________
|
|
|
|
|
|
#9 |
|
Homebrew Developer
![]() Join Date: Jun 2010
Location: Outher Heaven
Posts: 347
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 110 Post(s)
Tagged: 0 Thread(s)
|
I'll keep updated this thread in all forums.
|
|
|
|
|
Likes: (1) |
|
|
#10 |
![]() ![]() |
@deroad What if there was a possible way to extract the Core OS package from firmware 3.65? will you then add more info to that part? and does finding the SDK version 3.65 counts to the apps part or not until 3.65 Cfw is possible?
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|