Editing Spkg hdr.tar

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
= Signed Package headers TAR =
== Signed Firmware Package headers ==
added since firmware 3.56


Added since firmware 3.56. Contains the TAR'ed collection of all SPKG headers.
contains TAR'ed collection of all signed PKG headers


== Decryption ==
For decrypt them we need to use spkg keyset (for 3.56+ firmwares)


To decrypt it you need to use spkg keyset.
=== History ===
The very first(early) 4.xx cfw were only installable over 3.55 because they were not having new spkg.


== History ==
spkg is suppose to be created newly.


The very first (early) 4.xx CFWs were only installable over 3.55 because they were not having new spkg.
the most easiest way for now is that you get metadata of your new pkg and decryp, then encrypt with spkg keys.


spkg is supposed to be created newly.
the reason for cfw not installable over any ofw is that we dont have spkg private keys.


The easiest way for now is that you get Certification of your new spkg and decrypt it, then encrypt with spkg keys.
ps3 verifies it on both, xmb and recovery mode.even if xmb makes it good, it will fail when installation screens pops up.


The reason why CFW is not installable over any OFW is that we dont have spkg private keys.
more info on what and how to decrypt metainfo, refer here: http://www.psdevwiki.com/ps3/SELF_File_Format_and_Decryption
 
PS3 verifies it on both xmb and recovery mode. Even if xmb makes it good, it will fail when installation screens pops up.
 
For more info on CF encryption, refer [[Certified File|here]].
 
== Example ==


=== 3.56 CEX/Retail spkg_hdr.tar content ===
=== 3.56 CEX/Retail spkg_hdr.tar content ===
<pre>
  BDIT_FIRMWARE_PACKAGE.pkg.spkg_hdr.1
  BDIT_FIRMWARE_PACKAGE.pkg.spkg_hdr.1
  BDPT_FIRMWARE_PACKAGE_301R.pkg.spkg_hdr.1
  BDPT_FIRMWARE_PACKAGE_301R.pkg.spkg_hdr.1
Line 68: Line 62:
  SYS_CON_FIRMWARE_S1_00010002083E0832.pkg.spkg_hdr.1
  SYS_CON_FIRMWARE_S1_00010002083E0832.pkg.spkg_hdr.1
  UPL.xml.pkg.spkg_hdr.1
  UPL.xml.pkg.spkg_hdr.1
</pre>
= SPKG header =
It is a [[Certified File]] header.
== Location ==
spkg_hdr.tar -> *.pkg.spkg_hdr.1
== Structure ==
To document.
== Example ==


==== example ====
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 91: Line 71:


00000000  53 43 45 00 00 00 00 02 00 00 00 03 00 00 00 00  SCE.............
00000000  53 43 45 00 00 00 00 02 00 00 00 03 00 00 00 00  SCE.............
00000010  00 00 00 00 00 00 02 80 00 00 00 00 00 1E 01 10  .......€........</pre>
00000010  00 00 00 00 00 00 02 80 00 00 00 00 00 1E 01 10  .......€........
00000020 - 0000027F  Signed Header data</pre>
|-
|}
 
==== structure ====
{|class="wikitable"
|-
! Address !! Length !! Value !! Description
|-
| 0x0 || 0x4 || 0x53434500 / ASCII:SCE. || Magic Header
|-
| 0x4 || 0x4 || 0x2 || Version
|-
| 0x8 || 0x2 || 0x0 || SDK type?
|-
| 0x8 || 0x4 || 0x3 || SCE header type; pkg
|-
| 0xC || 0x4 || 0x0 || Meta offset
|-
| 0x10 || 0x8 || 0x280 || Size of sce_shdr + sizeof meta_shdr
|-
| 0x18 || 0x8 || 0x1E0110 || content_size_real
|-
|}
|}


== Tools ==
== Tools ==
*[[http://www.mirrorcreator.com/files/1KDUUGFL/spkg_tool.tar.gz_links|spkg (linux/win)]]


*[[http://www.mirrorcreator.com/files/1KDUUGFL/spkg_tool.tar.gz_links|spkg (linux/win)]]
 
related: [[PKG files]]




{{Custom Firmware}}
{{Firmware}}<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)