Difference between revisions of "EMMC"

From Vita Development Wiki
Jump to navigation Jump to search
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Size ==
+
PS Vita eMMC can be accessed using [[SceSdif]] module.
PSVita 1XXX eMMC size: 0xE1400000 or 0xE3400000.
 
<br/>PSTV eMMC size: 0xE3400000.
 
<br/>PSVita 2XXX eMMC size: 0xDE000000.
 
  
== Partitions ==
+
== eMMC Size ==
PSVita eMMC can be accessed using [[SceSdif]] module.
+
 
<br/>PSVita eMMC embeds the following [[Partitions|partitions]]:
+
* DEM-3000G, DEM-3000H: 0x3A3C00000 bytes (16GB: 4GB as internal storage and 12GB as emulated memory card)
 +
* DEM-3000K, DEM-3000JEC chassis K, DEM-3000L, DEM-3000JEC chassis L, CEM-3000NE2: 0xE1400000 bytes (3604 MiB)
 +
* DEM-3000P, DEM-3000JEC chassis P, PDEL-100x: 0xE3400000 bytes (3636 MiB)
 +
* PCH-1xxx, PTEL-1xxx: 0xE1400000 bytes (3604 MiB) or 0xE3400000 bytes (3636 MiB)
 +
* PSTV VTE-xxxx: 0xE3400000 bytes (3636 MiB)
 +
* PCH-2xxx, PTEL-2xxx: 0xDE000000 bytes (3552 MiB)
 +
 
 +
Maximum storage capacity supported by PS Vita is 2,199,023,255,040 bytes i.e. 2TiB (0x200 B * 0xFFFFFFFF sectors = 0x1FFFFFFFE00 B).
 +
 
 +
== eMMC Partitions ==
 +
 
 +
PS Vita eMMC embeds the following [[Partitions|partitions]]:
 +
 
 +
=== Playstation Vita 1xxx models ===
  
=== Playstation Vita 1XXX models ===
 
 
{| class="wikitable"
 
{| class="wikitable"
! code !! type !! offset !! size !! name !! description
+
! Id !! Type !! Start LBA (byte) !! Size (byte) !! Name !! Description
 
|-
 
|-
| 0x1 || raw || 0x40000 || 0x80000 || unknown name (not used by kernel) || First eMMC partition, some per-device data flashed in factory, contains SMI data. [[IdStorage]]?
+
| 0x1 || raw || 0x40000 || 0x80000 || idstor || [[IdStorage]]
 
|-
 
|-
| 0x2 || raw || 0x800000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
+
| 0x2 || raw || 0x800000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
|-
 
|-
 
| 0x2 || raw || 0xC00000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
| 0x2 || raw || 0xC00000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
|-
 
|-
| 0x3 || fat16 || 0x1000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core user modules, SceSafemode, Secure Processor SELFs, and on development units SceCuiSetUpper.
+
| 0x3 || fat16 || 0x1000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core usermode modules, SceSafemode, Secure Module SELFs, and on development units [[SceCuiSetUpper]].
 
|-
 
|-
| 0x3 || fat16 || 0x2000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core user modules, SceSafemode, Secure Processor SELFs, and on development units SceCuiSetUpper.
+
| 0x3 || fat16 || 0x2000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core usermode modules, SceSafemode, Secure Module SELFs, and on development units [[SceCuiSetUpper]].
 
|-
 
|-
 
| 0xC || fat16 || 0x3000000 || 0x6000000 || sa0: || Dictionary and font data
 
| 0xC || fat16 || 0x3000000 || 0x6000000 || sa0: || Dictionary and font data
Line 32: Line 41:
 
| 0xB || fat16 || 0x1D000000 || 0x10000000 || ud0: || [[Updater]] and update packages are copied here.
 
| 0xB || fat16 || 0x1D000000 || 0x10000000 || ud0: || [[Updater]] and update packages are copied here.
 
|-
 
|-
| 0xE || exfat || 0x2D000000 || 0x13000000 || pd0: || [[Welcome Park]] and welcome video
+
| 0xE || exfat || 0x2D000000 || 0x13000000 || pd0: || Welcome Park and welcome video
 
|-
 
|-
 
| 0x7 || exfat || 0x40000000 || 0xA1400000 or 0xA3400000 || ur0 || User resources, [[LiveArea]] cache, database, & other stuff
 
| 0x7 || exfat || 0x40000000 || 0xA1400000 or 0xA3400000 || ur0 || User resources, [[LiveArea]] cache, database, & other stuff
 
|}
 
|}
  
=== Playstation Vita 2XXX models ===
+
=== Playstation Vita 2xxx models ===
 +
 
 
{| class="wikitable"
 
{| class="wikitable"
! code !! type !! offset !! size !! name !! description
+
! Id !! Type !! Start LBA (byte) !! Size (byte) !! Name !! Description
 
|-
 
|-
| 0x1 || raw || 0x40000 || 0x80000 || unknown name (not used by kernel) || First eMMC partition, some per-device data flashed in factory, contains SMI data. [[IdStorage]]?
+
| 0x1 || raw || 0x40000 || 0x80000 || idstor || [[IdStorage]]
 
|-
 
|-
| 0x2 || raw || 0x800000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
+
| 0x2 || raw || 0x800000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
|-
 
|-
 
| 0x2 || raw || 0xC00000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
| 0x2 || raw || 0xC00000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
|-
 
|-
| 0x3 || fat16 || 0x1000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core user modules, SceSafemode, Secure Processor SELFs, and on development units SceCuiSetUpper.
+
| 0x3 || fat16 || 0x1000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core usermode modules, SceSafemode, Secure Module SELFs, and on development units [[SceCuiSetUpper]].
 
|-
 
|-
| 0x3 || fat16 || 0x2000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core user modules, SceSafemode, Secure Processor SELFs, and on development units SceCuiSetUpper.
+
| 0x3 || fat16 || 0x2000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core usermode modules, SceSafemode, Secure Module SELFs, and on development units [[SceCuiSetUpper]].
 
|-
 
|-
 
| 0xC || fat16 || 0x3000000 || 0x6000000 || sa0: || Dictionary and font data
 
| 0xC || fat16 || 0x3000000 || 0x6000000 || sa0: || Dictionary and font data
Line 61: Line 71:
 
| 0xB || fat16 || 0x1D000000 || 0x10000000 || ud0: || [[Updater]] and update packages are copied here.
 
| 0xB || fat16 || 0x1D000000 || 0x10000000 || ud0: || [[Updater]] and update packages are copied here.
 
|-
 
|-
| 0xE || exfat || 0x2D000000 || 0x13000000 || pd0: || [[Welcome Park]] and welcome video
+
| 0xE || exfat || 0x2D000000 || 0x13000000 || pd0: || Welcome Park and welcome video
 
|-
 
|-
 
| 0x7 || exfat || 0x40000000 || 0x60000000 || ur0: || User resources, [[LiveArea]] cache, database, & other stuff
 
| 0x7 || exfat || 0x40000000 || 0x60000000 || ur0: || User resources, [[LiveArea]] cache, database, & other stuff
Line 69: Line 79:
  
 
=== Playstation TV models ===
 
=== Playstation TV models ===
 +
 
{| class="wikitable"
 
{| class="wikitable"
! code !! type !! offset !! size !! name !! description
+
! Id !! Type !! Start LBA (byte) !! Size (byte) !! Name !! Description
 
|-
 
|-
| 0x1 || raw || 0x40000 || 0x80000 || unknown name (not used by kernel) || First eMMC partition, some per-device data flashed in factory, contains SMI data. [[IdStorage]]?
+
| 0x1 || raw || 0x40000 || 0x80000 || idstor || [[IdStorage]]
 
|-
 
|-
| 0x2 || raw || 0x800000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
+
| 0x2 || raw || 0x800000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
|-
 
|-
 
| 0x2 || raw || 0xC00000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
| 0x2 || raw || 0xC00000 || 0x400000 || active/inactive slb2 (not used by kernel) || [[SLB2]] [[Boot Sequence|Boot loaders]]
 
|-
 
|-
| 0x3 || fat16 || 0x1000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core user modules, SceSafemode, Secure Processor SELFs, and on development units SceCuiSetUpper.
+
| 0x3 || fat16 || 0x1000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core usermode modules, SceSafemode, Secure Module SELFs, and on development units [[SceCuiSetUpper]].
 
|-
 
|-
| 0x3 || fat16 || 0x2000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core user modules, SceSafemode, Secure Processor SELFs, and on development units SceCuiSetUpper.
+
| 0x3 || fat16 || 0x2000000 || 0x1000000 || active/inactive os0: || Main OS partition: [[Modules#3.60_Kernel_modules|kernel modules]], core usermode modules, SceSafemode, Secure Module SELFs, and on development units [[SceCuiSetUpper]].
 
|-
 
|-
 
| 0xC || fat16 || 0x3000000 || 0x6000000 || sa0: || Dictionary and font data
 
| 0xC || fat16 || 0x3000000 || 0x6000000 || sa0: || Dictionary and font data
Line 92: Line 103:
 
| 0xB || fat16 || 0x1D000000 || 0x10000000 || ud0: || [[Updater]] and update packages are copied here.
 
| 0xB || fat16 || 0x1D000000 || 0x10000000 || ud0: || [[Updater]] and update packages are copied here.
 
|-
 
|-
| 0xE || exfat || 0x2D000000 || 0x13000000 || pd0: || [[Welcome Park]] and welcome video
+
| 0xE || exfat || 0x2D000000 || 0x13000000 || pd0: || Welcome Park and welcome video
 
|-
 
|-
 
| 0x7 || exfat || 0x40000000 || 0x60000000 || ur0: || User resources, [[LiveArea]] cache, database, & other stuff
 
| 0x7 || exfat || 0x40000000 || 0x60000000 || ur0: || User resources, [[LiveArea]] cache, database, & other stuff

Revision as of 01:59, 11 September 2022

PS Vita eMMC can be accessed using SceSdif module.

eMMC Size

  • DEM-3000G, DEM-3000H: 0x3A3C00000 bytes (16GB: 4GB as internal storage and 12GB as emulated memory card)
  • DEM-3000K, DEM-3000JEC chassis K, DEM-3000L, DEM-3000JEC chassis L, CEM-3000NE2: 0xE1400000 bytes (3604 MiB)
  • DEM-3000P, DEM-3000JEC chassis P, PDEL-100x: 0xE3400000 bytes (3636 MiB)
  • PCH-1xxx, PTEL-1xxx: 0xE1400000 bytes (3604 MiB) or 0xE3400000 bytes (3636 MiB)
  • PSTV VTE-xxxx: 0xE3400000 bytes (3636 MiB)
  • PCH-2xxx, PTEL-2xxx: 0xDE000000 bytes (3552 MiB)

Maximum storage capacity supported by PS Vita is 2,199,023,255,040 bytes i.e. 2TiB (0x200 B * 0xFFFFFFFF sectors = 0x1FFFFFFFE00 B).

eMMC Partitions

PS Vita eMMC embeds the following partitions:

Playstation Vita 1xxx models

Id Type Start LBA (byte) Size (byte) Name Description
0x1 raw 0x40000 0x80000 idstor IdStorage
0x2 raw 0x800000 0x400000 active/inactive slb2 (not used by kernel) SLB2 Boot loaders
0x2 raw 0xC00000 0x400000 active/inactive slb2 (not used by kernel) SLB2 Boot loaders
0x3 fat16 0x1000000 0x1000000 active/inactive os0: Main OS partition: kernel modules, core usermode modules, SceSafemode, Secure Module SELFs, and on development units SceCuiSetUpper.
0x3 fat16 0x2000000 0x1000000 active/inactive os0: Main OS partition: kernel modules, core usermode modules, SceSafemode, Secure Module SELFs, and on development units SceCuiSetUpper.
0xC fat16 0x3000000 0x6000000 sa0: Dictionary and font data
0x6 fat16 0x9000000 0x2000000 tm0: Activation data i.e PSM, NPDRM, MARLIN, QA
0x4 fat16 0xB000000 0x10000000 vs0: system applications & libraries
0x5 fat16 0x1B000000 0x2000000 vd0: Registry and error history
0xB fat16 0x1D000000 0x10000000 ud0: Updater and update packages are copied here.
0xE exfat 0x2D000000 0x13000000 pd0: Welcome Park and welcome video
0x7 exfat 0x40000000 0xA1400000 or 0xA3400000 ur0 User resources, LiveArea cache, database, & other stuff

Playstation Vita 2xxx models

Id Type Start LBA (byte) Size (byte) Name Description
0x1 raw 0x40000 0x80000 idstor IdStorage
0x2 raw 0x800000 0x400000 active/inactive slb2 (not used by kernel) SLB2 Boot loaders
0x2 raw 0xC00000 0x400000 active/inactive slb2 (not used by kernel) SLB2 Boot loaders
0x3 fat16 0x1000000 0x1000000 active/inactive os0: Main OS partition: kernel modules, core usermode modules, SceSafemode, Secure Module SELFs, and on development units SceCuiSetUpper.
0x3 fat16 0x2000000 0x1000000 active/inactive os0: Main OS partition: kernel modules, core usermode modules, SceSafemode, Secure Module SELFs, and on development units SceCuiSetUpper.
0xC fat16 0x3000000 0x6000000 sa0: Dictionary and font data
0x6 fat16 0x9000000 0x2000000 tm0: Activation data i.e PSM, NPDRM, MARLIN, QA
0x4 fat16 0xB000000 0x10000000 vs0: system applications & libraries
0x5 fat16 0x1B000000 0x2000000 vd0: Registry and error history
0xB fat16 0x1D000000 0x10000000 ud0: Updater and update packages are copied here.
0xE exfat 0x2D000000 0x13000000 pd0: Welcome Park and welcome video
0x7 exfat 0x40000000 0x60000000 ur0: User resources, LiveArea cache, database, & other stuff
0x8 exfat 0xA0000000 0x3E000000 ux0: Internal "memory card"

Playstation TV models

Id Type Start LBA (byte) Size (byte) Name Description
0x1 raw 0x40000 0x80000 idstor IdStorage
0x2 raw 0x800000 0x400000 active/inactive slb2 (not used by kernel) SLB2 Boot loaders
0x2 raw 0xC00000 0x400000 active/inactive slb2 (not used by kernel) SLB2 Boot loaders
0x3 fat16 0x1000000 0x1000000 active/inactive os0: Main OS partition: kernel modules, core usermode modules, SceSafemode, Secure Module SELFs, and on development units SceCuiSetUpper.
0x3 fat16 0x2000000 0x1000000 active/inactive os0: Main OS partition: kernel modules, core usermode modules, SceSafemode, Secure Module SELFs, and on development units SceCuiSetUpper.
0xC fat16 0x3000000 0x6000000 sa0: Dictionary and font data
0x6 fat16 0x9000000 0x2000000 tm0: Activation data i.e PSM, NPDRM, MARLIN, QA
0x4 fat16 0xB000000 0x10000000 vs0: system applications & libraries
0x5 fat16 0x1B000000 0x2000000 vd0: Registry and error history
0xB fat16 0x1D000000 0x10000000 ud0: Updater and update packages are copied here.
0xE exfat 0x2D000000 0x13000000 pd0: Welcome Park and welcome video
0x7 exfat 0x40000000 0x60000000 ur0: User resources, LiveArea cache, database, & other stuff
0x8 exfat 0xA0000000 0x43400000 ux0: Internal "memory card"