Patch data.pkg: Difference between revisions
Jump to navigation
Jump to search
Masterzorag (talk | contribs) mNo edit summary |
Masterzorag (talk | contribs) mNo edit summary |
||
Line 13: | Line 13: | ||
Data Length 0x000000000000D524 | Data Length 0x000000000000D524 | ||
</pre> | </pre> | ||
We can't decrypt/unpkg this one, but as reference UPL.xml.pkg yes, and data after SCE Header is info0 + info1, from 0x300 should be content | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 24: | Line 25: | ||
00000020 - 0000027F Signed Header data | 00000020 - 0000027F Signed Header data | ||
00000280 00 00 00 03 00 00 00 03 00 00 00 00 00 00 00 00 |................| | 00000280 00 00 00 03 00 00 00 03 00 00 00 00 00 00 00 00 |................| data as extracted as info0 from UPL.xml.pkg | ||
00000290 20 14 06 19 01 16 08 00 00 00 00 00 00 00 d4 a4 | ...............| build date 2014_0619, release was 2014_0624 | 00000290 20 14 06 19 01 16 08 00 00 00 00 00 00 00 d4 a4 | ...............| build date 2014_0619, release was 2014_0624 | ||
000002a0 00 00 00 00 00 00 1a 5a 00 00 00 00 00 00 00 00 |.......Z........| | 000002a0 00 00 00 00 00 00 1a 5a 00 00 00 00 00 00 00 00 |.......Z........| | ||
000002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| | 000002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| | ||
000002c0 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 40 |...............@| | |||
000002c0 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 40 |...............@| data as extracted as info1 from UPL.xml.pkg | |||
000002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d4 a4 |................| | 000002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d4 a4 |................| | ||
000002e0 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 |................| | 000002e0 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 |................| | ||
000002f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| | 000002f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| | ||
00000300 d7 58 49 9b 39 3f 11 47 6a 26 1e eb 1f 01 dd 92 |.XI.9?.Gj&......| | 00000300 d7 58 49 9b 39 3f 11 47 6a 26 1e eb 1f 01 dd 92 |.XI.9?.Gj&......| data restart | ||
</pre> | </pre> | ||
|- | |- |
Revision as of 14:45, 27 June 2014
It seems follow same .spkg_hdr.1 file scheme: Spkg_hdr.tar, Signed Firmware Package headers
Info
[*] Warning: Could not decrypt header. [*] SCE Header: Magic 0x53434500 [OK] Version 0x00000002 Key Revision 0x0000 Header Type [PKG] Metadata Offset 0x00000000 Header Length 0x0000000000000280 Data Length 0x000000000000D524
We can't decrypt/unpkg this one, but as reference UPL.xml.pkg yes, and data after SCE Header is info0 + info1, from 0x300 should be content
patch_data.pkg |
---|
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 00 d5 24 |...............$| 00000020 - 0000027F Signed Header data 00000280 00 00 00 03 00 00 00 03 00 00 00 00 00 00 00 00 |................| data as extracted as info0 from UPL.xml.pkg 00000290 20 14 06 19 01 16 08 00 00 00 00 00 00 00 d4 a4 | ...............| build date 2014_0619, release was 2014_0624 000002a0 00 00 00 00 00 00 1a 5a 00 00 00 00 00 00 00 00 |.......Z........| 000002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000002c0 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 40 |...............@| data as extracted as info1 from UPL.xml.pkg 000002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d4 a4 |................| 000002e0 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 |................| 000002f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000300 d7 58 49 9b 39 3f 11 47 6a 26 1e eb 1f 01 dd 92 |.XI.9?.Gj&......| data restart |
structure
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 |