Editing Talk:Patch data.pkg

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