SceRegistryMgr

os0:kd/registry.db0
The registry database has a plaintext header and then the remaining text is xor-"encrypted" using the "key". To "decrypt", just xor every 16 byte (after the header) with the "key".

Comments
at beginning of a line comments this line

Exemple: line 5 is always :

where:
 * XXXXXXXX is system software version
 * (YYYY/MM/DD HH:mm) is build time

Areas
line starts a registry area

Possible values:
 * BASE: table of ID <-> name
 * REG-BAS: Base
 * REG-J1: Japan
 * REG-UC2: USA/Canada
 * REG-AU3: Australia/New Zealand
 * REG-CEK: United Kingdom
 * REG-CEL: Europe
 * REG-KR2: Korea
 * REG-E12: South Asia
 * REG-TW1: Taiwan
 * REG-RU3: Russia
 * REG-MX2: Mexico
 * REG-CN9: China
 * REG-DEX: DEX (TestKit)
 * REG-TOL: TOOL (DevKit)
 * REG-BAS_D: Base Dolce (PS TV)
 * REG-TOL_D: TOOL Dolce (DevKit in PS TV Emulation mode)

When PSVita is initialized at first boot, it first applies base registry, then it applies registry of the console's region / tyoe.

entries ID <-> entries name table
Example:

There are 2 types of registry entries:
 * categories (folders): they are uppercase and end with
 * keys: they are lowercase and do not end with

Registry entries
example:

Format is:

Where IDs are the entries ID, that for human understanding we have to change into entries name.

Example :

is translated into

Values are in decimal, but for understanding we have sometime to translate them to hexadecimal:

We can see that size is 4 bytes and that default value is 0x350014 aka version 3.500.14.

SceRegMgrForDebugger
SceRegMgrForDebugger_46AC0CCB: 0x46AC0CCB SceRegMgrForDebugger_53970232: 0x53970232 SceRegMgrForDebugger_810D2F09: 0x810D2F09 SceRegMgrForDebugger_8AE5757E: 0x8AE5757E SceRegMgrForDebugger_8E798E47: 0x8E798E47 SceRegMgrForDebugger_B9A0BB77: 0xB9A0BB77 SceRegMgrForDebugger_C588D3E7: 0xC588D3E7 SceRegMgrForDebugger_C64C67A8: 0xC64C67A8 SceRegMgrForDebugger_D668ABD2: 0xD668ABD2

SceRegMgrForTool
SceRegMgrForTool_0B623D0B: 0x0B623D0B SceRegMgrForTool_0CFA929B: 0x0CFA929B SceRegMgrForTool_2A76051A: 0x2A76051A SceRegMgrForTool_2D415472: 0x2D415472 SceRegMgrForTool_3AAB71EF: 0x3AAB71EF SceRegMgrForTool_4EDF87F9: 0x4EDF87F9 SceRegMgrForTool_6276E7D8: 0x6276E7D8 SceRegMgrForTool_6808B7AD: 0x6808B7AD SceRegMgrForTool_7B30AC2C: 0x7B30AC2C SceRegMgrForTool_B441660B: 0xB441660B SceRegMgrForTool_C689E36C: 0xC689E36C SceRegMgrForTool_E6E81558: 0xE6E81558 SceRegMgrForTool_F55E6E4F: 0xF55E6E4F