Difference between revisions of "IdStorage"

From Vita Development Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
= Location =
 +
 
Idstorage data is stored at first raw partition (code 0x1). Use [https://github.com/TeamMolecule/sceutils/blob/master/extract_idstorage.py] to extract.
 
Idstorage data is stored at first raw partition (code 0x1). Use [https://github.com/TeamMolecule/sceutils/blob/master/extract_idstorage.py] to extract.
 +
 +
= Structure =
  
 
First 0x20 * 0x200 bytes of the partition is the index table, an array of 2-byte integers, which maps idstorage leaf to idstorage index. To find the index of a leaf, go through the array and note index of the element with the value of the desired leaf. Then, seek to <code>512 * index</code> and read out the leaf data.
 
First 0x20 * 0x200 bytes of the partition is the index table, an array of 2-byte integers, which maps idstorage leaf to idstorage index. To find the index of a leaf, go through the array and note index of the element with the value of the desired leaf. Then, seek to <code>512 * index</code> and read out the leaf data.
  
 
All leafs are of size 512 bytes.
 
All leafs are of size 512 bytes.
 +
 +
= Content =
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 21:51, 15 February 2020

Location

Idstorage data is stored at first raw partition (code 0x1). Use [1] to extract.

Structure

First 0x20 * 0x200 bytes of the partition is the index table, an array of 2-byte integers, which maps idstorage leaf to idstorage index. To find the index of a leaf, go through the array and note index of the element with the value of the desired leaf. Then, seek to 512 * index and read out the leaf data.

All leafs are of size 512 bytes.

Content

Leaf Description
0x80 SMI data: factory firmware encrypted and signed