Editing Flash:cvtrm

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 10: Line 10:
* [[Talk:Flash#VTRM]]
* [[Talk:Flash#VTRM]]
* [[Hypervisor Reverse Engineering#VTRM]]
* [[Hypervisor Reverse Engineering#VTRM]]
* [[Fixing DRL and CRL Hashes]]
* [[SC Manager#0x9000 - SC Manager]]
* [[SC Manager#0x9000 - SC Manager]]
* [[Talk:System Controller Firmware]]
* [[Talk:System Controller Firmware]]
Line 16: Line 15:
* [[PARAM.PFD]]
* [[PARAM.PFD]]
* [[Ps3vuart-tools#ps3dm]]
* [[Ps3vuart-tools#ps3dm]]
* [[Per Console Keys#cVTRM]]
* [[Fixing DRL and CRL Hashes]]
* [[RSOD Fix]]
* [[RSOD Fix]]


Line 64: Line 63:
In the third copypaste, the value that indicates the offset points to the 'exception' hash inside the '''hash_table''' (bytes from 0xEFE68C up to 0xEFE6A0 are copypasted to 0xEC0108 up to 0xEC011C), but instead of copying the 'exception' hash it copypastes the default hash value
In the third copypaste, the value that indicates the offset points to the 'exception' hash inside the '''hash_table''' (bytes from 0xEFE68C up to 0xEFE6A0 are copypasted to 0xEC0108 up to 0xEC011C), but instead of copying the 'exception' hash it copypastes the default hash value


At this point the creation process is near completed, the only thing left is to fill the 0x10 bytes at the beginning in the first vtrm block (at 0xEC0000), this small area is going to work as the entry point when reading the whole vtrm, and this is when is written the 'magic_scei' that is unique (is the only value from this blocks in common between NAND and NOR), the other thing that indicates this area (with the value 0xA8) is the length of the areas that has been copypasted below (but only the sum of the first two copypastes, for some reason the third copypaste is not included in this sum, also the position where the third copypaste happens is a bit weird i dont get why that position, is because the 0x40 gap but that gap makes no sense, the point is the gap is there and is related with the reason why the third copypaste to not be included in this sum)
At this point the creation process is near completed, the only thing left is to fill the 0x10 bytes at the beginning in the first vtrm block (at 0xEC0000), this small area is going to work as the entry point when reading the whole vtrm, and this is when is written the 'magic_scei' that is unique (is the only value from this blocks in common between NAND and NOR), the other thing that indicates this area (with the value 0xA8) is the lenght of the areas that has been copypasted below (but only the sum of the first two copypastes, for some reason the third copypaste is not included in this sum, also the position where the third copypaste happens is a bit weird i dont get why that position, is because the 0x40 gap but that gap makes no sense, the point is the gap is there and is related with the reason why the third copypaste to not be included in this sum)


----
----
Line 75: Line 74:


==Notes, speculation, brainstorming==
==Notes, speculation, brainstorming==
Trying to identify the encrypted data blocks based on the [[Authority ID]] and its position
*the start offset of some unknown areas can be find by searching for 0x1070. Is the start of an area of 8 bytes lenght (2+3+3) that probably are the offset or sizes of the next areas (and probably in blocks of 512 bytes). Some examples  (ctrl+f in webbrower to search for them in the page)
 
**10 70 00 00 02 00 00 01
*First auth ID (lpar auth id)
**10 70 00 00 39 00 00 01
** 10 70 00 00 02 00 00 01
**10 70 00 00 03 00 00 02
*** PS3_LPAR (a.k.a. GameOS access)
**10 70 00 05 FF 00 00 01
** 04 00 00 00 02 00 00 05
**04 00 00 00 02 00 00 05 (this one doesnt starts with 0x1070 as explained above, but seems to have the same purpose)
*** related with the PSN account ???
 
*Second auth ID (program auth id)
** 10 70 00 05 FF 00 00 01
*** /dev_flash/vsh/'''vsh.self'''
*** is copypasted from the inner vtrm to the vtrm on top, in both NAND and NOR
** 10 70 00 00 39 00 00 01
*** /dev_flash/bdplayer/'''bdp_bdmv.self'''
*** contains the hashes of '''DRL''' and '''CRL'''
*** is copyed and re-encrypted from the inner vtrm to the vtrm on top, only in NOR
** 10 70 00 00 03 00 00 02
*** /dev_flash/vsh/module/'''mgvideo.self'''
 
=LPAR Auth ID and Program Auth ID=
*VSH
**0x0400000002000005 - ???
**0x10700005FF000001 - vsh.self
*BDP
**0x1070000002000001 - LPAR 2
**0x1070000039000001 - bdp_bdmv.self
*VP
**0x1070000002000001 - LPAR 2
**0x1070000003000002 - mgvideo.self
 
http://www.psdevwiki.com/ps3/index.php?title=Fixing_DRL_and_CRL_Hashes&diff=13954&oldid=13803


=VTRM hashes and how to generate them=
=VTRM hashes and how to generate them=
Line 122: Line 96:
  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F  
  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F  
   
   
  00EC0000  <span style="background:#000000; color:#ffffff;">53 43 45 49</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 A8</span>  SCEIVTRM.......¨     <---- '''magic_scei''', '''magic_vtrm''', '''copypasted_total_used_len'''
  00EC0000  <span style="background:#000000; color:#ffffff;">53 43 45 49</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 A8</span>  SCEIVTRM.......¨     <-- '''magic_scei''', '''magic_vtrm''', '''copypasted_total_used_len'''
  00EC0010  <span style="background:#33ff33;">00 00 00 00 00 E8 02 00</span> <span style="background:#33ff33;">00 00 00 00 00 00 00 28</span>  .....è.........(     <---- '''copypaste_offset''', '''copypaste_len'''
  00EC0010  <span style="background:#33ff33;">00 00 00 00 00 E8 02 00</span> <span style="background:#33ff33;">00 00 00 00 00 00 00 28</span>  .....è.........(     <-- '''copypaste_offset''', '''copypaste_len'''
  00EC0020  <span style="background:#000000; color:#ffffff;">00 00 00 00</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 04</span>  ....VTRM........     <---- ''copyed'', ''copyed'', ''copyed''
  00EC0020  <span style="background:#000000; color:#ffffff;">00 00 00 00</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 04</span>  ....VTRM........     <-- '''copypasted_data'''
  00EC0030  <span style="background:#cc00cc;">FE 6D 0B C4 FA D5 CE DB 93 86 FC A1 32 3B 71 47</span>  þm.ÄúÕÎÛ“†ü¡2;qG     <---- ''copyed''
  00EC0030  <span style="background:#dd00dd;">FE 6D 0B C4 FA D5 CE DB 93 86 FC A1 32 3B 71 47</span>  þm.ÄúÕÎÛ“†ü¡2;qG     <-- '''copypasted_data'''
  00EC0040  <span style="background:#cc00cc;">3B A5 C6 F9</span> <span style="background:#cc00cc;">C0 00</span> <span style="background:#cc00cc;">B6 70</span> <span style="background:#33ff33;">00 00 00 00 00 E8 27 80</span>  ;¥ÆùÀ.¶p.....è'€     <---- ''copyed'', ''copyed'', ''copyed'', '''copypaste_offset'''
  00EC0040  <span style="background:#dd00dd;">3B A5 C6 F9</span> <span style="background:#dd00dd;">C0 00</span> <span style="background:#dd00dd;">B6 70</span> <span style="background:#33ff33;">00 00 00 00 00 E8 27 80</span>  ;¥ÆùÀ.¶p.....è'€     <-- '''copypasted_data''', '''copypaste_offset'''
  00EC0050  <span style="background:#33ff33;">00 00 00 00 00 00 00 60</span> <span style="background:#ff0000; color:#ffff66;">00 00 00 00 00 00 09 20</span>  .......`.......       <---- '''copypaste_len''', ''copyed''
  00EC0050  <span style="background:#33ff33;">00 00 00 00 00 00 00 60</span> <span style="background:#ff2222;">00 00 00 00 00 00 09 20</span>  .......`.......     <-- '''copypaste_len''', '''copypasted_data'''
  00EC0060  <span style="background:#ff5555;">04 00 00 00 02 00 00 05</span> <span style="background:#ff6666;">10 70 00 05 FF 00 00 01</span> .........p..ÿ...     <---- ''copyed'', ''copyed''
  00EC0060  <span style="background:#ff6666;">04 00</span> <span style="background:#ff8888;">00 00 02</span> <span style="background:#ffaaaa;">00 00 05</span> <span style="background:#ff6666;">10 70</span> <span style="background:#ff8888;">00 05 FF</span> <span style="background:#ffaaaa;">00 00 01</span>  .........p..ÿ...     <-- '''copypasted_data'''
  00EC0070  <span style="background:#ff7777; color:#99ffff;">0C 1C 05 9C AA B5 97 A5 9C D6 46 2D EA 22 46 BE</span>  ...œªµ—¥œÖF-ê"F¾     <---- ''copyed''
  00EC0070  <span style="background:#ff6666;">0C 1C 05 9C AA B5 97 A5 9C D6 46 2D EA 22 46 BE</span>  ...œªµ—¥œÖF-ê"F¾     <-- '''copypasted_data'''
  00EC0080  <span style="background:#ff7777; color:#99ffff;">D1 84 A9 1E 34 5F E7 90 55 49 11 82 51 9D 4A 3F</span>  Ñ„©.4_ç.UI.‚Q.J?     <---- ''copyed''
  00EC0080  <span style="background:#ff6666;">D1 84 A9 1E 34 5F E7 90 55 49 11 82 51 9D 4A 3F</span>  Ñ„©.4_ç.UI.‚Q.J?     <-- '''copypasted_data'''
  00EC0090  <span style="background:#ff7777; color:#99ffff;">EF 43 19 E8 4F 6A 5B FF DA 31 E9 F0 76 C8 B2 6B</span>  ïC.èOj[ÿÚ1éðvȲk     <---- ''copyed''
  00EC0090  <span style="background:#ff6666;">EF 43 19 E8 4F 6A 5B FF DA 31 E9 F0 76 C8 B2 6B</span>  ïC.èOj[ÿÚ1éðvȲk     <-- '''copypasted_data'''
  00EC00A0  <span style="background:#ff7777; color:#99ffff;">0B A7 47 8E BE 42 28 9F 2B 88 73 0B A5 B6 F2 1D</span>  .§GŽ¾B(Ÿ+ˆs.¥¶ò.     <---- ''copyed''
  00EC00A0  <span style="background:#ff6666;">0B A7 47 8E BE 42 28 9F 2B 88 73 0B A5 B6 F2 1D</span>  .§GŽ¾B(Ÿ+ˆs.¥¶ò.     <-- '''copypasted_data'''
  00EC00B0  <span style="background:#ff9999; color:#ffff66;">00 00 00 00 00 00 00 00</span> <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span>  ........ÿÿÿÿÿÿÿÿ     <---- ''copyed'', '''0x40_bytes_gap'''
  00EC00B0  <span style="background:#ffaaaa;">00 00 00 00 00 00 00 00</span> <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span>  ........ÿÿÿÿÿÿÿÿ     <-- '''copypasted_data''', '''weird_gap'''
   [...]    <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ     <---- '''0x40_bytes_gap'''
   [...]    <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ     <-- '''weird_gap'''
  00EC00F0  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span> <span style="background:#33ff33;">00 00 00 00 00 EB E4 8C</span>  ÿÿÿÿÿÿÿÿ.....ëäŒ     <---- '''0x40_bytes_gap''', '''copypaste_offset'''
  00EC00F0  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span> <span style="background:#33ff33;">00 00 00 00 00 EB E4 8C</span>  ÿÿÿÿÿÿÿÿ.....ëäŒ     <-- '''weird_gap''', '''copypaste_offset'''
  00EC0100  <span style="background:#33ff33;">00 00 00 00 00 00 00 14</span> <span style="background:#99ffff;">39 17 52 0B 31 70 F5 05</span>  ........9.R.1põ.     <---- '''copypaste_len''', ''copyed''
  00EC0100  <span style="background:#33ff33;">00 00 00 00 00 00 00 14</span> <span style="background:#99ffff;">39 17 52 0B 31 70 F5 05</span>  ........9.R.1põ.     <-- '''copypaste_len''', '''copypasted_data'''
  00EC0110  <span style="background:#99ffff;">02 5A C6 F8 81 F8 54 96 2F EF F3 81</span> <span style="background:#777777;">FF FF FF FF</span>  .ZÆø.øT–/ïó.ÿÿÿÿ     <---- ''copyed'', '''erased_bytes'''
  00EC0110  <span style="background:#99ffff;">02 5A C6 F8 81 F8 54 96 2F EF F3 81</span> <span style="background:#777777;">FF FF FF FF</span>  .ZÆø.øT–/ïó.ÿÿÿÿ     <-- '''copypasted_data''', '''erased_bytes'''
   [...]    <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ     <---- '''erased_bytes''' <--- to fill up to 512 bytes or 0x400 (2 blocks)
   [...]    <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ     <-- '''erased_bytes''' <--- to fill up to 512 bytes or 0x400 (2 blocks)
  00EC0400  <span style="background:#000000; color:#ffffff;">00 00 00 00</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 04</span>  ....VTRM........     <---- '''magic_void''' + '''magic_vtrm''' + '''next_unknown_stuff_len''' ? <---- inner vtrm
  00EC0400  <span style="background:#000000; color:#ffffff;">00 00 00 00</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 04</span>  ....VTRM........     <-- '''magic_void''' + '''magic_vtrm''' + '''next_unknown_stuff_len''' ? <---- inner vtrm
  00EC0410  <span style="background:#cc00cc;">FE 6D 0B C4 FA D5 CE DB 93 86 FC A1 32 3B 71 47</span>  þm.ÄúÕÎÛ“†ü¡2;qG     <---- '''SRH''' ? (secure root hash)
  00EC0410  <span style="background:#dd00dd;">FE 6D 0B C4 FA D5 CE DB 93 86 FC A1 32 3B 71 47</span>  þm.ÄúÕÎÛ“†ü¡2;qG     <-- 0x14 bytes hash, same value as 0xEC0030
  00EC0420  <span style="background:#cc00cc;">3B A5 C6 F9</span> <span style="background:#cc00cc;">C0 00</span> <span style="background:#cc00cc;">B6 70</span> <span style="background:#7777ff;">00 00 00 00 00 00 04 90</span>  ;¥ÆùÀ.¶p........     <---- '''SRH''' ?, ''unknown'' (2 bytes), ''unknown'' (2 bytes), '''index_num''' = 0x490 (1168 in decimal)
  00EC0420  <span style="background:#dd00dd;">3B A5 C6 F9</span> <span style="background:#dd00dd;">C0 00</span> <span style="background:#dd00dd;">B6 70</span> <span style="background:#7777ff;">00 00 00 00 00 00 04 90</span>  ;¥ÆùÀ.¶p........     <-- '''entry_num''' = 0x490 (1168 in decimal, 8 bytes each entry)
00EC0430 <span style="background:#7777ff;">00 00 00 00 00 00 09 20</span> <span style="background:#7777ff;">00 00 00 00 00 00 00 03</span>  ....... ........     <---- '''data_slots_total''', '''data_slots_used'''
00EC0430 <span style="background:#7777ff;">00 00 00 00 00 00 09 20</span> <span style="background:#7777ff;">00 00 00 00 00 00 00 03</span>  ....... ........     <-- '''entry_num_double''' = 0x920 (2336 in decimal, is also used as the default value for entries) + '''entry_used_slots''' = 0x3
  00EC0440  <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span> <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span>  ....... .......       <---- '''index_table''' starts here (table_size = ???, entry_size = 0x8, entry_number = 0x490)
  00EC0440  <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span> <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span>  ....... .......     <-- 0x8 bytes repetive pattern <--- table starts here
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span> <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span>  ....... .......       
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span> <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span>  ....... .......      <-- 0x8 bytes repetive pattern
  00EC1930  <span style="background:#ffff66;">00 00 00 00 00 00 00 01</span> <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span>  ...............       <---- exception
  00EC1930  <span style="background:#ffff66;">00 00 00 00 00 00 00 01</span> <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span>  ...............     <-- 0x8 bytes pattern exception !
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span> <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span>  ....... .......       
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span> <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span>  ....... .......      <-- 0x8 bytes repetive pattern
  00EC21F0  <span style="background:#ffff66;">00 00 00 00 00 00 00 02</span> <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span>  ...............       <---- exception
  00EC21F0  <span style="background:#ffff66;">00 00 00 00 00 00 00 02</span> <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span>  ...............     <-- 0x8 bytes pattern exception !
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span> <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span>  ....... .......       
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span> <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span>  ....... .......      <-- 0x8 bytes repetive pattern
00EC24F0  <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 00</span>  ....... ........     <---- exception
00EC24F0  <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 00</span>  ....... ........     <-- 0x8 bytes pattern exception !
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span> <span style="background:#cccc66;">00 00 00 00 00 00 09 20</span>  ....... .......       
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span> <span style="background:#bbbb66;">00 00 00 00 00 00 09 20</span>  ....... .......      <-- 0x8 bytes repetive pattern
  00EC28C0  <span style="background:#ff0000; color:#ffff66;">00 00 00 00 00 00 09 20</span> <span style="background:#ff5555;">10 70 00 00 02 00 00 01</span> ....... .p......     <---- ''unknown'', '''lpar_auth_id''' <---- '''data_table''' starts here (table_size = ???, entry_size = 0x60, entry_number = 0x920)
  00EC28C0  <span style="background:#ff2222;">00 00 00 00 00 00 09 20</span> <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 00 02</span> <span style="background:#ffaaaa;">00 00 01</span>  ....... .p......     <-- encrypted data related info
  00EC28D0  <span style="background:#ff6666;">10 70 00 00 39 00 00 01</span> <span style="background:#ff7777; color:#99ffff;">22 66 39 B3 0E 7A 1C E7</span>  .p..9..."f9³.z.ç     <---- '''prog_auth_id''', '''encrypted_data'''
  00EC28D0  <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 00 39</span> <span style="background:#ffaaaa;">00 00 01</span> <span style="background:#ff6666;">22 66 39 B3 0E 7A 1C E7</span>  .p..9..."f9³.z.ç     <-- encrypted data
00EC28E0  <span style="background:#ff7777; color:#99ffff;">68 85 F9 94 A8 30 BE C4 0B 85 D0 92 1E C0 8F 28</span>  h…ù”¨0¾Ä.…Ð’.À.(     <---- '''encrypted_data'''
00EC28E0  <span style="background:#ff6666;">68 85 F9 94 A8 30 BE C4 0B 85 D0 92 1E C0 8F 28</span>  h…ù”¨0¾Ä.…Ð’.À.(
  00EC28F0  <span style="background:#ff7777; color:#99ffff;">7F 70 ED 15 D6 22 06 24 D9 08 64 0B C0 D7 97 29</span>  .pí.Ö".$Ù.d.À×—)     <---- '''encrypted_data'''
  00EC28F0  <span style="background:#ff6666;">7F 70 ED 15 D6 22 06 24 D9 08 64 0B C0 D7 97 29</span>  .pí.Ö".$Ù.d.À×—)
00EC2900  <span style="background:#ff7777; color:#99ffff;">BE A1 FE 91 D1 F2 D4 88 25 EF 24 86 E0 A3 CB 98</span>  ¾¡þ‘ÑòÔˆ%ï$†à£Ë˜     <---- '''encrypted_data'''
00EC2900  <span style="background:#ff6666;">BE A1 FE 91 D1 F2 D4 88 25 EF 24 86 E0 A3 CB 98</span>  ¾¡þ‘ÑòÔˆ%ï$†à£Ë˜
  00EC2910  <span style="background:#ff7777; color:#99ffff;">AF 17 6F B1 64 A0 56 E5</span> <span style="background:#ff9999; color:#ffff66;">00 00 00 00 00 00 00 01</span>  ¯.o±d Vå........     <---- '''encrypted_data''', ''unkown''
  00EC2910  <span style="background:#ff6666;">AF 17 6F B1 64 A0 56 E5</span> <span style="background:#ffaaaa;">00 00 00 00 00 00 00 01</span>  ¯.o±d Vå........
  00EC2920  <span style="background:#ff0000; color:#ffff66;">00 00 00 00 00 00 09 20</span> <span style="background:#ff5555;">10 70 00 00 02 00 00 01</span> ....... .p......     <---- ''unkown'', '''lpar_auth_id'''
  00EC2920  <span style="background:#ff2222;">00 00 00 00 00 00 09 20</span> <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 00 02</span> <span style="background:#ffaaaa;">00 00 01</span>  ....... .p......     <-- encrypted data related info
00EC2930  <span style="background:#ff6666;">10 70 00 00 03 00 00 02</span> <span style="background:#ff7777; color:#99ffff;">F9 D9 6A 84 0C F2 D8 E7</span> .p......ùÙj„.òØç      <---- '''prog_auth_id''', '''encrypted_data'''
00EC2930  <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 00 03</span> <span style="background:#ffaaaa;">00 00 02</span> <span style="background:#ff6666;">F9 D9 6A 84 0C F2 D8 E7</span>  .p......ùÙj„.òØç    <-- encrypted data
00EC2940  <span style="background:#ff7777; color:#99ffff;">D4 44 5C 3C DF D5 DF 0F B8 DC 3E 81 9A A4 71 8F</span> ÔD\<ßÕß.¸Ü>.š¤q.      <---- '''encrypted_data'''
  00EC2940 <span style="background:#ff6666;">D4 44 5C 3C DF D5 DF 0F B8 DC 3E 81 9A A4 71 8F</span>  ÔD\<ßÕß.¸Ü>.š¤q.
  00EC2950 <span style="background:#ff7777; color:#99ffff;">0A A8 8B 90 1B 2C A1 D1 66 84 AA EE 65 D1 46 9A</span>  .¨‹..,¡Ñf„ªîeÑFš      <---- '''encrypted_data'''
00EC2950 <span style="background:#ff6666;">0A A8 8B 90 1B 2C A1 D1 66 84 AA EE 65 D1 46 9A</span>  .¨‹..,¡Ñf„ªîeÑFš
00EC2960 <span style="background:#ff7777; color:#99ffff;">D7 38 83 F2 78 47 D1 8E E5 FA EB 39 CF 26 E8 25</span>  ×8ƒòxGÑŽåúë9Ï&è%      <---- '''encrypted_data'''
  00EC2960 <span style="background:#ff6666;">D7 38 83 F2 78 47 D1 8E E5 FA EB 39 CF 26 E8 25</span>  ×8ƒòxGÑŽåúë9Ï&è%
  00EC2970 <span style="background:#ff7777; color:#99ffff;">85 DE 3B C6 0B C3 45 D5</span> <span style="background:#ff9999; color:#ffff66;">00 00 00 00 00 00 00 00</span>  …Þ;Æ.ÃEÕ........     <---- '''encrypted_data''', ''unkown''
00EC2970  <span style="background:#ff6666;">85 DE 3B C6 0B C3 45 D5</span> <span style="background:#ffaaaa;">00 00 00 00 00 00 00 00</span>  …Þ;Æ.ÃEÕ........
  00EC2980  <span style="background:#ff0000; color:#ffff66;">00 00 00 00 00 00 09 20</span> <span style="background:#ff5555;">04 00 00 00 02 00 00 05</span> ....... ........     <---- ''unkown'', '''lpar_auth_id'''
  00EC2980  <span style="background:#ff2222;">00 00 00 00 00 00 09 20</span> <span style="background:#ff6666;">04 00</span> <span style="background:#ffaaaa;">00 00 02</span> <span style="background:#ffaaaa;">00 00 05</span>  ....... ........    <-- encrypted data related info, same 0x60 bytes at 0xEC0058
  00EC2990  <span style="background:#ff6666;">10 70 00 05 FF 00 00 01</span> <span style="background:#ff7777; color:#99ffff;">0C 1C 05 9C AA B5 97 A5</span> .p..ÿ......œªµ—¥     <---- '''prog_auth_id''', '''encrypted_data'''
  00EC2990  <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 05 FF</span> <span style="background:#ffaaaa;">00 00 01</span> <span style="background:#ff6666;">0C 1C 05 9C AA B5 97 A5</span>  .p..ÿ......œªµ—¥     <-- encrypted data
  00EC29A0  <span style="background:#ff7777; color:#99ffff;">9C D6 46 2D EA 22 46 BE D1 84 A9 1E 34 5F E7 90</span>  œÖF-ê"F¾Ñ„©.4_ç.     <---- '''encrypted_data'''
  00EC29A0  <span style="background:#ff6666;">9C D6 46 2D EA 22 46 BE D1 84 A9 1E 34 5F E7 90</span>  œÖF-ê"F¾Ñ„©.4_ç.
  00EC29B0  <span style="background:#ff7777; color:#99ffff;">55 49 11 82 51 9D 4A 3F EF 43 19 E8 4F 6A 5B FF</span>  UI.‚Q.J?ïC.èOj[ÿ     <---- '''encrypted_data'''
  00EC29B0  <span style="background:#ff6666;">55 49 11 82 51 9D 4A 3F EF 43 19 E8 4F 6A 5B FF</span>  UI.‚Q.J?ïC.èOj[ÿ
  00EC29C0  <span style="background:#ff7777; color:#99ffff;">DA 31 E9 F0 76 C8 B2 6B 0B A7 47 8E BE 42 28 9F</span>  Ú1éðvȲk.§GŽ¾B(Ÿ     <---- '''encrypted_data'''
  00EC29C0  <span style="background:#ff6666;">DA 31 E9 F0 76 C8 B2 6B 0B A7 47 8E BE 42 28 9F</span>  Ú1éðvȲk.§GŽ¾B(Ÿ
  00EC29D0  <span style="background:#ff7777; color:#99ffff;">2B 88 73 0B A5 B6 F2 1D</span> <span style="background:#ff9999; color:#ffff66;">00 00 00 00 00 00 00 00</span>  +ˆs.¥¶ò.........     <---- '''encrypted_data''', ''unkown''
  00EC29D0  <span style="background:#ff6666;">2B 88 73 0B A5 B6 F2 1D</span> <span style="background:#ffaaaa;">00 00 00 00 00 00 00 00</span>  +ˆs.¥¶ò.........
   [...]    <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ      <---- free data slots starts here
   [...]    <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ      <-- not-used slots for encrypted data ?
  00EF94C0  <span style="background:#99ffff;">39 17 52 0B 31 70 F5 05 02 5A C6 F8 81 F8 54 96</span>  9.R.1põ..ZÆø.øT–      <---- '''signature_table start''' (table_size = ??? , entry_size = 0x14, entry_number = 490)
  00EF94C0  <span style="background:#99ffff;">39 17 52 0B 31 70 F5 05 02 5A C6 F8 81 F8 54 96</span>  9.R.1põ..ZÆø.øT–      <-- '''hashes_table_start''', 0x490 entries (1168 in decimal), 0x14 bytes entry lenght, default hash is same than 0xEC0108
  00EF94D0  <span style="background:#99ffff;">2F EF F3 81</span>                                      /ïó.                 [...] '''signature_empty''' (repeated)
  00EF94D0  <span style="background:#99ffff;">2F EF F3 81</span>                                      /ïó.
   [...]       the same hash repeated, with a exception                           [...] '''signature_dummy''' (exception) at 0xEFE68C-0xEFE6A0, position ??? (decimal), relative offset = 0x???
   [...]     the same hash repeated, with a exception                             <-- exception at 0xEFE68C up to 0xEFE6A0
00EFEFE0                                      <span style="background:#99ffff;">39 17 52 0B</span>              9.R.     [...] '''signature_empty''' (repeated)
00EFEFE0                                      <span style="background:#99ffff;">39 17 52 0B</span>              9.R.
  00EFEFF0  <span style="background:#99ffff;">31 70 F5 05 02 5A C6 F8 81 F8 54 96 2F EF F3 81</span>  1põ..ZÆø.øT–/ïó.      [...]
  00EFEFF0  <span style="background:#99ffff;">31 70 F5 05 02 5A C6 F8 81 F8 54 96 2F EF F3 81</span>  1põ..ZÆø.øT–/ïó.      <-- 0x14 bytes lenght hashes table end
   [...]    <span style="background:#777777;">00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</span>  ................     
   [...]    <span style="background:#777777;">00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</span>  ................      <-- 0x00's filled up to end of file (0x7800 blocks)
  00EFFFF0  <span style="background:#777777;">00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</span>  ................     <---- 0x00's filled up to end of file (0x1FE blocks)
  00EFFFF0  <span style="background:#777777;">00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</span>  ................


==NOR Example==
==NOR Example==
Line 183: Line 157:
  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
   
  00EC0000  <span style="background:#000000; color:#ffffff;">53 43 45 49</span> <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF</span>  SCEIÿÿÿÿÿÿÿÿÿÿÿÿ    <---- '''magic_scei''', '''erased_bytes'''
  00EC0000  <span style="background:#000000; color:#ffffff;">53 43 45 49</span> <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF</span>  SCEIÿÿÿÿÿÿÿÿÿÿÿÿ    <-- '''magic_scei''', '''erased_bytes'''
   [...]    <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <---- '''erased_bytes'''
   [...]    <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <-- '''erased_bytes'''
  00EC3FF0  <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <---- '''erased_bytes''' <----- to fill up to 16384 bytes or 0x4000 (0x20 blocks)
  00EC3FF0  <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <-- '''erased_bytes''' <--- to fill up to 16384 bytes or 0x4000 (0x20 blocks)
  00EC4000  <span style="background:#000000; color:#ffffff;">00 00 00 00</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 04</span>  ....VTRM........    <---- ''copyed''
  00EC4000  <span style="background:#000000; color:#ffffff;">00 00 00 00</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 04</span>  ....VTRM........    <-- '''new_header'''
  00EC4010  <span style="background:#cc00cc;">0D 20 53 4F EE E8 06 E3 E7 AC 57 E1 E9 64 6C BF</span>  . SOîè.ãç¬Wáédl¿    <---- '''new_hash''' (0x14 bytes), is the hash of an area that contains the re-encrypted data
  00EC4010  <span style="background:#dd00dd;">0D 20 53 4F EE E8 06 E3 E7 AC 57 E1 E9 64 6C BF</span>  . SOîè.ãç¬Wáédl¿    <-- '''new_signature'''
  00EC4020  <span style="background:#cc00cc;">ED BE 69 E1</span> <span style="background:#cc00cc;">00 00</span> <span style="background:#cc00cc;">00 E0</span> <span style="background:#7777ff;">00 00 00 00 00 00 02 09</span>  í¾iá...à........    <---- ''copyed''
  00EC4020  <span style="background:#dd00dd;">ED BE 69 E1</span> <span style="background:#dd00dd;">00 00</span> <span style="background:#dd00dd;">00 E0</span> <span style="background:#7777ff;">00 00 00 00 00 00 02 09</span>  í¾iá...à........    <-- '''new_signature''', '''copypasted_index'''
  00EC4030  <span style="background:#7777ff;">00 00 00 00 00 00 04 12</span> <span style="background:#7777ff;">00 00 00 00 00 00 00 02</span>  ................    <---- ''copyed''
  00EC4030  <span style="background:#7777ff;">00 00 00 00 00 00 04 12</span> <span style="background:#7777ff;">00 00 00 00 00 00 00 02</span>  ................    <-- '''copypasted_index'''
  00EC4040  <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span>  ................    <---- ''copyed''
  00EC4040  <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span>  ................    <-- '''copypasted_index'''
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span>  ................    <---- ''copyed''
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span>  ................    <-- '''copypasted_index'''
  00EC45C0  <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 01</span>  ................    <---- ''copyed''
  00EC45C0  <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 01</span>  ................    <-- '''copypasted_index'''
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span>  ................    <---- ''copyed''
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span>  ................    <-- '''copypasted_index'''
  00EC4670  <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 00</span>  ................    <---- ''copyed''
  00EC4670  <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 00</span>  ................    <-- '''copypasted_index'''
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span>  ................    <---- ''copyed''
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span>  ................    <-- '''copypasted_index'''
  00EC5080  <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#ff0000; color:#ffff66;">00 00 00 00 00 00 04 12</span>  ................    <---- ''copyed''
  00EC5080  <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#ff2222;">00 00 00 00 00 00 04 12</span>  ................    <-- '''copypasted_index''', '''new_data'''
  00EC5090  <span style="background:#ff5555;">10 70 00 00 02 00 00 01</span> <span style="background:#ff6666;">10 70 00 00 39 00 00 01</span> .p.......p..9...    <---- ''copyed''
  00EC5090  <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 00 02</span> <span style="background:#ffaaaa;">00 00 01</span> <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 00 39</span> <span style="background:#ffaaaa;">00 00 01</span>  .p.......p..9...    <-- '''new_data'''
00EC50A0  <span style="background:#ff7777; color:#99ffff;">D5 ED B4 4B 73 E2 79 5D CF E7 06 7F 4B 79 4C DC</span> Õí´Ksây]Ïç..KyLÜ    <---- '''re-encrypted data''' ?
  00EC50A0 <span style="background:#ff6666;">D5 ED B4 4B 73 E2 79 5D CF E7 06 7F 4B 79 4C DC</span>  Õí´Ksây]Ïç..KyLÜ     <-- '''new_data'''
00EC50B0  <span style="background:#ff7777; color:#99ffff;">71 D1 B8 F7 0A 3F CE 1B 09 8B 59 47 7A 1D 2C E4</span>  qѸ÷...‹YGz.    <---- '''re-encrypted data''' ?
  00EC50B0 <span style="background:#ff6666;">71 D1 B8 F7 0A 3F CE 1B 09 8B 59 47 7A 1D 2C E4</span>  qѸ÷.?Î..‹YGz.    <-- '''new_data'''
  00EC50C0 <span style="background:#ff7777; color:#99ffff;">69 B2 CF 18 8A B9 04 7E 29 71 A1 2D D8 71 54 01</span>  i²Ï.Š¹.~)q¡-ØqT.    <---- '''re-encrypted data''' ?
  00EC50C0 <span style="background:#ff6666;">69 B2 CF 18 8A B9 04 7E 29 71 A1 2D D8 71 54 01</span> i²Ï.Š¹.~)q¡-ØqT.    <-- '''new_data'''
  00EC50D0 <span style="background:#ff7777; color:#99ffff;">5B D2 55 4F EB C4 41 41 80 A3 60 A7 75 DA D8 11</span>  [ÒUOëÄAA€£`§uÚØ.    <---- '''re-encrypted data''' ?
00EC50D0  <span style="background:#ff6666;">5B D2 55 4F EB C4 41 41 80 A3 60 A7 75 DA D8 11</span>  [ÒUOëÄAA€£`§uÚØ.    <-- '''new_data'''
  00EC50E0 <span style="background:#ff9999; color:#ffff66;">00 00 00 00 00 00 00 01</span> <span style="background:#ff0000; color:#ffff66;">00 00 00 00 00 00 04 12</span>  ................    <---- ''copyed''
  00EC50E0 <span style="background:#ffaaaa;">00 00 00 00 00 00 00 01</span> <span style="background:#ff2222;">00 00 00 00 00 00 04 12</span>  ................    <-- '''new_data''', '''copypasted_data'''
  00EC50F0 <span style="background:#ff5555;">04 00 00 00 02 00 00 05</span> <span style="background:#ff6666;">10 70 00 05 FF 00 00 01</span>  .........p..ÿ...    <---- ''copyed''
  00EC50F0 <span style="background:#ff6666;">04 00</span> <span style="background:#ffaaaa;">00 00 02</span> <span style="background:#ffaaaa;">00 00 05</span> <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 05 FF</span> <span style="background:#ffaaaa;">00 00 01</span>  .........p..ÿ...    <-- '''copypasted_data'''
  00EC5100 <span style="background:#ff7777; color:#99ffff;">0C FF 20 DC A4 6A A1 D3 BC 36 82 17 C2 7B B5 5E</span> .ÿ ܤj¡Ó¼6‚.Â{µ^    <---- ''copyed''
  00EC5100 <span style="background:#ff6666;">0C FF 20 DC A4 6A A1 D3 BC 36 82 17 C2 7B B5 5E</span>  .ÿ ܤj¡Ó¼6‚.Â{µ^     <-- '''copypasted_data'''
00EC5110  <span style="background:#ff7777; color:#99ffff;">9B CD 6B 71 AB 41 06 2F 84 54 3F 6B AC E1 26 3E</span> ›Íkq«A./„T?k¬á&>    <---- ''copyed''
  00EC5110 <span style="background:#ff6666;">9B CD 6B 71 AB 41 06 2F 84 54 3F 6B AC E1 26 3E</span> ›Íkq«A./„T?k¬á&>    <-- '''copypasted_data'''
00EC5120  <span style="background:#ff7777; color:#99ffff;">A6 5A F4 AA E6 08 53 E0 71 A4 7D 43 2D 54 D4 F8</span>  ¦Zôªæ.Sàq¤}C-TÔø    <---- ''copyed''
00EC5120  <span style="background:#ff6666;">A6 5A F4 AA E6 08 53 E0 71 A4 7D 43 2D 54 D4 F8</span>  ¦Zôªæ.Sàq¤}C-TÔø     <-- '''copypasted_data'''
  00EC5130 <span style="background:#ff7777; color:#99ffff;">5A 21 9B E6 D9 82 6B DB 1C 08 A1 F1 21 E0 F7 A4</span>  Z!›æÙ‚kÛ..¡ñ!à÷¤     <---- ''copyed''
  00EC5130 <span style="background:#ff6666;">5A 21 9B E6 D9 82 6B DB 1C 08 A1 F1 21 E0 F7 A4</span>  Z!›æÙ‚kÛ..¡ñ!à÷¤     <-- '''copypasted_data'''
  00EC5140 <span style="background:#ff9999; color:#ffff66;">00 00 00 00 00 00 00 00</span> <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span>  ........ÿÿÿÿÿÿÿÿ     <---- ''copyed''
00EC5140  <span style="background:#ffaaaa;">00 00 00 00 00 00 00 00</span> <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span> ........ÿÿÿÿÿÿÿÿ    <-- '''copypasted_data''', '''copypasted_gap'''
  00EC5150 <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ     <---- ''copyed''
00EC5150  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <-- '''copypasted_gap'''
  [...]    <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span> ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <---- ''copyed''
  [...]    <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <-- '''copypasted_gap'''
00EDD740  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span> <span style="background:#99ffff;">EF 73 1D 7F 83 F3 DB 0F</span>  ÿÿÿÿÿÿÿÿïs..ƒóÛ.    <---- ''copyed''
00EDD740  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span> <span style="background:#99ffff;">EF 73 1D 7F 83 F3 DB 0F</span>  ÿÿÿÿÿÿÿÿïs..ƒóÛ.    <-- '''copypasted_gap''', '''copypasted_signature_table'''
  00EDD750  <span style="background:#99ffff;">E1 69 26 44 E7 23 5C 88 C7 7C 9B 81</span>              ái&Dç#\ˆÇ|›.        <---- ''copyed''
  00EDD750  <span style="background:#99ffff;">E1 69 26 44 E7 23 5C 88 C7 7C 9B 81</span>              ái&Dç#\ˆÇ|›.        <-- '''copypasted_signature_table'''
   [...]      the same hash repeated, with a exception                          <---- ''copyed''
   [...]      the same hash repeated, with a exception                          <-- '''copypasted_signature_table''' (exception at 0xEDE6D4-0xEDE6E7)
  00EDFFE0                          <span style="background:#99ffff;">EF 73 1D 7F 83 F3 DB 0F</span>          ïs..ƒóÛ.    <---- ''copyed''
  00EDFFE0                          <span style="background:#99ffff;">EF 73 1D 7F 83 F3 DB 0F</span>          ïs..ƒóÛ.    <-- '''copypasted_signature_table'''
  00EDFFF0  <span style="background:#99ffff;">E1 69 26 44 E7 23 5C 88 C7 7C 9B 81</span> <span style="background:#777777;">FF FF FF FF</span>  ái&Dç#\ˆÇ|›.ÿÿÿÿ    <---- ''copyed''
  00EDFFF0  <span style="background:#99ffff;">E1 69 26 44 E7 23 5C 88 C7 7C 9B 81</span> <span style="background:#777777;">FF FF FF FF</span>  ái&Dç#\ˆÇ|›.ÿÿÿÿ    <-- '''copypasted_signature_table'''
   [...]    <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <---- '''erased_bytes'''
   [...]    <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <-- '''erased_bytes'''
  00EE3FF0  <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <---- '''erased_bytes''' <----- to fill up to 131072 bytes or 0x20000 (0x100 blocks)
  00EE3FF0  <span style="background:#777777;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ    <-- '''erased_bytes''' <--- to fill up to 131072 bytes or 0x20000 (0x100 blocks)
  00EE4000  <span style="background:#000000; color:#ffffff;">00 00 00 00</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 04</span>  ....VTRM........    <---- '''magic_void''', '''magic_vtrm''', '''next_unknown_stuff_len'''
  00EE4000  <span style="background:#000000; color:#ffffff;">00 00 00 00</span> <span style="background:#000000; color:#ffffff;">56 54 52 4D</span> <span style="background:#000000; color:#ffffff;">00 00 00 00 00 00 00 04</span>  ....VTRM........    <-- '''magic_void''', '''magic_vtrm''', '''next_unknown_stuff_len'''
  00EE4010  <span style="background:#cc00cc;">93 66 A8 50 90 4F 4E 9E FC AA 0C 0C 90 8B 96 DD</span>  “f¨P.ONžüª...‹–Ý     <---- '''SRH''' ? (secure root hash)
  00EE4010  <span style="background:#dd00dd;">93 66 A8 50 90 4F 4E 9E FC AA 0C 0C 90 8B 96 DD</span>  “f¨P.ONžüª...‹–Ý
  00EE4020  <span style="background:#cc00cc;">0E 14 91 99</span> <span style="background:#cc00cc;">00 00</span> <span style="background:#cc00cc;">00 E0</span> <span style="background:#7777ff;">00 00 00 00 00 00 02 09</span>  ..‘™...à........     <---- 0xE0 = number of blocks ?
  00EE4020  <span style="background:#dd00dd;">0E 14 91 99</span> <span style="background:#dd00dd;">00 00</span> <span style="background:#dd00dd;">00 E0</span> <span style="background:#7777ff;">00 00 00 00 00 00 02 09</span>  ..‘™...à........
  00EE4030  <span style="background:#7777ff;">00 00 00 00 00 00 04 12</span> <span style="background:#7777ff;">00 00 00 00 00 00 00 02</span>  ................
  00EE4030  <span style="background:#7777ff;">00 00 00 00 00 00 04 12</span> <span style="background:#7777ff;">00 00 00 00 00 00 00 02</span>  ................
  00EE4040  <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span>  ................    <---- '''index_table''' start (table_size = 0x1048, entry_size = 0x8, entry_number = 0x209)
  00EE4040  <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span>  ................    <-- '''index_table''' start (table_size = 0x1048, entry_size = 0x8, entry_number = 0x209)
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span>  ................
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span>  ................
  00EE45C0  <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 01</span>  ................    <---- exception at position 178 (decimal), relative offset 0x588
  00EE45C0  <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 01</span>  ................    <-- exception at position 178 (decimal), relative offset 0x588
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span>  ................
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span>  ................
  00EE4670  <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 00</span>  ................    <---- exception at position 200 (decimal), relative offset 0x638
  00EE4670  <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#ffff66;">00 00 00 00 00 00 00 00</span>  ................    <-- exception at position 200 (decimal), relative offset 0x638
   [...]    <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span>  ................
   [...]    <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span>  ................
  00EE5080  <span style="background:#cccc66;">00 00 00 00 00 00 04 12</span> <span style="background:#ff0000; color:#ffff66;">00 00 00 00 00 00 04 12</span>  ................    <---- '''data_table''' start (table_size = 0x186C0, entry_size = 0x60, entry_number = 0x412)
  00EE5080  <span style="background:#bbbb66;">00 00 00 00 00 00 04 12</span> <span style="background:#ff2222;">00 00 00 00 00 00 04 12</span>  ................    <-- '''data_table''' start (table_size = 0x186C0, entry_size = 0x60, entry_number = 0x412)
  00EE5090  <span style="background:#ff5555;">10 70 00 00 02 00 00 01</span> <span style="background:#ff6666;">10 70 00 00 39 00 00 01</span>  .p.......p..9...     <---- '''lpar_auth_id''', '''prog_auth_id'''
  00EE5090  <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 00 02</span> <span style="background:#ffaaaa;">00 00 01</span> <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 00 39</span> <span style="background:#ffaaaa;">00 00 01</span>  .p.......p..9...
  00EE50A0  <span style="background:#ff7777; color:#99ffff;">D8 71 79 C4 C0 2B 74 A1 C9 50 AC 82 4D 94 4A D0</span>  ØqyÄÀ+t¡ÉP¬‚M”JÐ
  00EE50A0  <span style="background:#ff6666;">D8 71 79 C4 C0 2B 74 A1 C9 50 AC 82 4D 94 4A D0</span>  ØqyÄÀ+t¡ÉP¬‚M”JÐ
  00EE50B0  <span style="background:#ff7777; color:#99ffff;">63 85 24 87 7D 4D 0D E4 9A 29 E6 6F 4B FA B7 19</span>  c…$‡}M.äš)æoKú·.
  00EE50B0  <span style="background:#ff6666;">63 85 24 87 7D 4D 0D E4 9A 29 E6 6F 4B FA B7 19</span>  c…$‡}M.äš)æoKú·.
  00EE50C0  <span style="background:#ff7777; color:#99ffff;">53 F2 E7 DA 64 F5 31 61 FC EC 44 41 A5 AC 10 C2</span>  SòçÚdõ1aüìDA¥¬.Â
  00EE50C0  <span style="background:#ff6666;">53 F2 E7 DA 64 F5 31 61 FC EC 44 41 A5 AC 10 C2</span>  SòçÚdõ1aüìDA¥¬.Â
  00EE50D0  <span style="background:#ff7777; color:#99ffff;">2A D2 D4 18 E7 2F BA 15 79 8E D9 C1 64 4A 6C 91</span>  *ÒÔ.ç/º.yŽÙÁdJl‘
  00EE50D0  <span style="background:#ff6666;">2A D2 D4 18 E7 2F BA 15 79 8E D9 C1 64 4A 6C 91</span>  *ÒÔ.ç/º.yŽÙÁdJl‘
  00EE50E0  <span style="background:#ff9999; color:#ffff66;">00 00 00 00 00 00 00 01</span> <span style="background:#ff0000; color:#ffff66;">00 00 00 00 00 00 04 12</span>  ................
  00EE50E0  <span style="background:#ffaaaa;">00 00 00 00 00 00 00 01</span> <span style="background:#ff2222;">00 00 00 00 00 00 04 12</span>  ................
  00EE50F0  <span style="background:#ff5555;">04 00 00 00 02 00 00 05</span> <span style="background:#ff6666;">10 70 00 05 FF 00 00 01</span>  .........p..ÿ...     <---- '''lpar_auth_id''', '''prog_auth_id'''
  00EE50F0  <span style="background:#ff6666;">04 00</span> <span style="background:#ffaaaa;">00 00 02</span> <span style="background:#ffaaaa;">00 00 05</span> <span style="background:#ff6666;">10 70</span> <span style="background:#ffaaaa;">00 05 FF</span> <span style="background:#ffaaaa;">00 00 01</span>  .........p..ÿ...
  00EE5100  <span style="background:#ff7777; color:#99ffff;">0C FF 20 DC A4 6A A1 D3 BC 36 82 17 C2 7B B5 5E</span>  .ÿ ܤj¡Ó¼6‚.Â{µ^
  00EE5100  <span style="background:#ff6666;">0C FF 20 DC A4 6A A1 D3 BC 36 82 17 C2 7B B5 5E</span>  .ÿ ܤj¡Ó¼6‚.Â{µ^
  00EE5110  <span style="background:#ff7777; color:#99ffff;">9B CD 6B 71 AB 41 06 2F 84 54 3F 6B AC E1 26 3E</span>  ›Íkq«A./„T?k¬á&>
  00EE5110  <span style="background:#ff6666;">9B CD 6B 71 AB 41 06 2F 84 54 3F 6B AC E1 26 3E</span>  ›Íkq«A./„T?k¬á&>
  00EE5120  <span style="background:#ff7777; color:#99ffff;">A6 5A F4 AA E6 08 53 E0 71 A4 7D 43 2D 54 D4 F8</span>  ¦Zôªæ.Sàq¤}C-TÔø
  00EE5120  <span style="background:#ff6666;">A6 5A F4 AA E6 08 53 E0 71 A4 7D 43 2D 54 D4 F8</span>  ¦Zôªæ.Sàq¤}C-TÔø
  00EE5130  <span style="background:#ff7777; color:#99ffff;">5A 21 9B E6 D9 82 6B DB 1C 08 A1 F1 21 E0 F7 A4</span>  Z!›æÙ‚kÛ..¡ñ!à÷¤
  00EE5130  <span style="background:#ff6666;">5A 21 9B E6 D9 82 6B DB 1C 08 A1 F1 21 E0 F7 A4</span>  Z!›æÙ‚kÛ..¡ñ!à÷¤
  00EE5140  <span style="background:#ff9999; color:#ffff66;">00 00 00 00 00 00 00 00</span> <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span>  ........ÿÿÿÿÿÿÿÿ    <---- free data slots start  
  00EE5140  <span style="background:#ffaaaa;">00 00 00 00 00 00 00 00</span> <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span>  ........ÿÿÿÿÿÿÿÿ    <-- free data slots start  
  00EE5150  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  00EE5150  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
   [...]    <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
   [...]    <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF</span>  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
  00EFD740  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span> <span style="background:#99ffff;">EF 73 1D 7F 83 F3 DB 0F</span>  ÿÿÿÿÿÿÿÿïs..ƒóÛ.    <---- '''signature_table''' start (table_size = 0x28B4, entry_size = 0x14, entry_number = 0x209)
  00EFD740  <span style="background:#aaaaaa;">FF FF FF FF FF FF FF FF</span> <span style="background:#99ffff;">EF 73 1D 7F 83 F3 DB 0F</span>  ÿÿÿÿÿÿÿÿïs..ƒóÛ.    <-- '''signature_table''' start (table_size = 0x28B4, entry_size = 0x14, entry_number = 0x209)
  00EFD750  <span style="background:#99ffff;">E1 69 26 44 E7 23 5C 88 C7 7C 9B 81</span>              ái&Dç#\ˆÇ|›.        [...] '''signature_empty''' (repeated)
  00EFD750  <span style="background:#99ffff;">E1 69 26 44 E7 23 5C 88 C7 7C 9B 81</span>              ái&Dç#\ˆÇ|›.        --- '''signature_empty''' (repeated) = EF 73 1D 7F 83 F3 DB 0F E1 69 26 44 E7 23 5C 88 C7 7C 9B 81
   [...]       the same hash repeated, with a exception                           [...] '''signature_dummy''' (exception) at 0xEFE6D4-0xEFE6E7, position 200 (decimal), relative offset = 0xF8C
   [...]     the same hash repeated, with a exception                             --- '''signature_dummy''' (exception at 0xEFE6D4-0xEFE6E7) = B5 93 7D D8 51 DB 9A 94 D2 A9 AA 37 8D 5B FC D1 19 A0 83 10 <!-- i just invented it because it was not included in the wiki example) -->
  00EFFFE0                          <span style="background:#99ffff;">EF 73 1D 7F 83 F3 DB 0F</span>          ïs..ƒóÛ.    [...] '''signature_empty''' (repeated)
  00EFFFE0                          <span style="background:#99ffff;">EF 73 1D 7F 83 F3 DB 0F</span>          ïs..ƒóÛ.    --- the exception is the entry number 200 (in decimal), relative offset = 0xF8C
  00EFFFF0  <span style="background:#99ffff;">E1 69 26 44 E7 23 5C 88 C7 7C 9B 81</span> <span style="background:#777777;">FF FF FF FF</span>  ái&Dç#\ˆÇ|›.ÿÿÿÿ     <---- '''erased_bytes''' <----- to fill up to 114688 bytes or 0x1C000 (0xE0 blocks)
  00EFFFF0  <span style="background:#99ffff;">E1 69 26 44 E7 23 5C 88 C7 7C 9B 81</span> <span style="background:#777777;">FF FF FF FF</span>  ái&Dç#\ˆÇ|›.ÿÿÿÿ


{{Flash}}
{{Flash}}
<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)