Editing Patch data.pkg
Jump to navigation
Jump to search
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: | ||
==== Info ==== | |||
It seems follow same .spkg_hdr.1 file scheme: [[Spkg_hdr.tar|Spkg_hdr.tar, Signed Firmware Package headers]] | |||
Just a simple SCE pkg file. For decrypt it we need to use spkg keyset (for 3.56+ firmwares) or pkg keyset (for 3.55 or lower firmwares) | |||
Sample from 4.60 CEX FW | |||
[http://pastie.org/private/ycka0sxjqq9ncjj5yhbrtq Command line for scetool] | |||
<pre> | <pre> | ||
[*] SCE Header: | |||
Magic 0x53434500 [OK] | |||
Version 0x00000002 | |||
Key Revision 0x0000 | |||
Header Type [PKG] | |||
Metadata Offset 0x00000000 | |||
Header Length 0x0000000000000280 | |||
Data Length 0x000000000000D524 | |||
[*] Metadata Info: | |||
Key BC DF A9 96 C4 81 E6 47 A4 B0 0B F7 9B DC 73 F0 | |||
IV D4 3D 82 EB 79 CA BD FB 71 60 1B C5 A2 2B 7C 1D | |||
[*] Metadata Header: | |||
Signature Input Length 0x0000000000000250 | |||
unknown_0 0x00000001 | |||
Section Count 0x00000003 | |||
Key Count 0x00000014 | |||
Optional Header Size 0x00000000 | |||
unknown_1 0x00000000 | |||
unknown_2 0x00000000 | |||
[*] Metadata Section Headers: | |||
Idx Offset Size Type Index Hashed SHA1 Encrypted Key IV Compressed | |||
000 00000280 00000040 01 01 [YES] 00 [NO ] -- -- [NO ] | |||
001 000002C0 00000040 02 02 [YES] 06 [NO ] -- -- [NO ] | |||
002 00000300 00001A5A 03 03 [YES] 0C [YES] 12 13 [YES] | |||
[*] SCE File Keys: | |||
00: F4 B8 0E C5 7A A5 52 86 AB 25 62 F1 BF E8 23 45 | |||
01: AB 27 25 5A 00 00 00 00 00 00 00 00 00 00 00 00 | |||
02: 66 EB A0 01 2B ED 69 08 CE AC 7F B2 AB DC 36 38 | |||
03: 8D C1 32 2E E7 A4 C2 C8 DD 04 A7 84 17 F6 6E DA | |||
04: 85 04 BD 8F D2 CB CA A0 D2 24 0F F7 4D A8 90 57 | |||
05: 93 A4 C6 70 F0 E4 45 49 A3 11 65 68 2B 0D 04 BC | |||
06: C3 C0 EB 05 FF A2 96 AC C7 B7 3E 46 96 E4 87 C3 | |||
07: B4 64 B1 68 00 00 00 00 00 00 00 00 00 00 00 00 | |||
08: 66 EB A0 01 2B ED 69 08 CE AC 7F B2 AB DC 36 38 | |||
09: 8D C1 32 2E E7 A4 C2 C8 DD 04 A7 84 17 F6 6E DA | |||
0A: 85 04 BD 8F D2 CB CA A0 D2 24 0F F7 4D A8 90 57 | |||
0B: 93 A4 C6 70 F0 E4 45 49 A3 11 65 68 2B 0D 04 BC | |||
0C: 48 A2 38 B1 B9 3D 56 35 31 1A 7E 5C 47 2A A3 DF | |||
0D: 66 62 F8 0D 00 00 00 00 00 00 00 00 00 00 00 00 | |||
0E: 66 EB A0 01 2B ED 69 08 CE AC 7F B2 AB DC 36 38 | |||
0F: 8D C1 32 2E E7 A4 C2 C8 DD 04 A7 84 17 F6 6E DA | |||
10: 85 04 BD 8F D2 CB CA A0 D2 24 0F F7 4D A8 90 57 | |||
11: 93 A4 C6 70 F0 E4 45 49 A3 11 65 68 2B 0D 04 BC | |||
12: 0D 5D 1C 85 2B CC E9 75 2B 01 DB 75 A9 0E 62 07 | |||
13: A5 C7 5E 6D 4F DE 8C 27 CA EF 13 73 00 00 00 00 | |||
</pre> | </pre> | ||