Spkg hdr.tar: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Signed Package headers ==
== Signed Package headers TAR ==


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


To decrypt them you need to use spkg keyset.
To decrypt it you need to use spkg keyset.


=== History ===
=== History ===
Line 11: Line 11:
spkg is supposed to be created newly.
spkg is supposed to be created newly.


The easiest way for now is that you get metadata of your new spkg and decrypt it, then encrypt with spkg keys.
The easiest way for now is that you get Certification of your new spkg and decrypt it, then encrypt with spkg keys.


The reason why CFW is not installable over any OFW is that we dont have spkg private keys.
The reason why CFW is not installable over any OFW is that we dont have spkg private keys.
Line 75: Line 75:
00000010  00 00 00 00 00 00 02 80 00 00 00 00 00 1E 01 10  .......€........
00000010  00 00 00 00 00 00 02 80 00 00 00 00 00 1E 01 10  .......€........
00000020 - 0000027F  CF Header</pre>
00000020 - 0000027F  CF Header</pre>
|}
==== Structure ====
{|class="wikitable"
|-
! Address !! Length !! Value !! Description
|-
| 0x0 || 0x4 || 0x53434500 / ASCII: 'SCE\0' || Magic
|-
| 0x4 || 0x4 || 0x2 || Version
|-
| 0x8 || 0x2 || 0x0 || Attribute
|-
| 0x8 || 0x4 || 0x3 || Category: pkg
|-
| 0xC || 0x4 || 0x0 || Extended Header offset
|-
| 0x10 || 0x8 || 0x280 || File offset
|-
| 0x18 || 0x8 || 0x1E0110 || File size
|}
|}


Line 103: Line 82:




{{Custom Firmware}}<noinclude>[[Category:Main]]</noinclude>
{{Custom Firmware}}
<noinclude>[[Category:Main]]</noinclude>

Revision as of 15:53, 28 December 2019

Signed Package headers TAR

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

To decrypt it you need to use spkg keyset.

History

The very first (early) 4.xx CFWs were only installable over 3.55 because they were not having new spkg.

spkg is supposed to be created newly.

The easiest way for now is that you get Certification of your new spkg and decrypt it, then encrypt with spkg keys.

The reason why CFW is not installable over any OFW is that we dont have spkg private keys.

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 here.

3.56 CEX/Retail spkg_hdr.tar content

BDIT_FIRMWARE_PACKAGE.pkg.spkg_hdr.1
BDPT_FIRMWARE_PACKAGE_301R.pkg.spkg_hdr.1
BDPT_FIRMWARE_PACKAGE_302R.pkg.spkg_hdr.1
BDPT_FIRMWARE_PACKAGE_303R.pkg.spkg_hdr.1
BDPT_FIRMWARE_PACKAGE_304R.pkg.spkg_hdr.1
BDPT_FIRMWARE_PACKAGE_306R.pkg.spkg_hdr.1
BDPT_FIRMWARE_PACKAGE_308R.pkg.spkg_hdr.1
BLUETOOTH_FIRMWARE.pkg.spkg_hdr.1
CORE_OS_PACKAGE.pkg.spkg_hdr.1
dev_flash_000.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_001.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_002.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_003.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_004.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_005.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_006.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_007.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_008.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_009.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_010.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_011.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_012.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_013.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_014.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_015.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_016.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_017.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_018.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_019.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_020.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash_021.tar.aa.2011_01_25_032219.spkg_hdr.1
dev_flash3_022.tar.aa.2011_01_25_032219.spkg_hdr.1
MULTI_CARD_FIRMWARE.pkg.spkg_hdr.1
SYS_CON_FIRMWARE_01000006.pkg.spkg_hdr.1
SYS_CON_FIRMWARE_01010303.pkg.spkg_hdr.1
SYS_CON_FIRMWARE_01020302.pkg.spkg_hdr.1
SYS_CON_FIRMWARE_01030302.pkg.spkg_hdr.1
SYS_CON_FIRMWARE_01040402.pkg.spkg_hdr.1
SYS_CON_FIRMWARE_01050002.pkg.spkg_hdr.1
SYS_CON_FIRMWARE_01050101.pkg.spkg_hdr.1
SYS_CON_FIRMWARE_S1_00010002083E0832.pkg.spkg_hdr.1
UPL.xml.pkg.spkg_hdr.1

Example

BDIT_FIRMWARE_PACKAGE.pkg.spkg_hdr.1
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

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  .......€........
00000020 - 0000027F  CF Header

Tools