Post

Oculus2: Partition layout

Oculus 2 partition layout

NNametypeStartEndSize
0  0x00000060000x6000
1fscraw0x6000260000x20000
2fsgraw260002260000x200000
3modemst2raw2260004260000x200000
4modemst1raw4260006260000x200000
5ALLIGN_TO_128K_2raw6260006400000x1A000
6secdataraw6400006460000x6000
7uefivarstoreraw6460006C60000x80000
8storsecraw6C60006E60000x20000
9pstoreraw6E60008E60000x200000
10limits-cdspraw8E60008E70000x1000
11limitsraw8E70008E80000x1000
12spunvmraw8E800028E80000x2000000
13msadpraw28E800029280000x40000
14apdpraw292800029680000x40000
15devinforaw296800029690000x1000
16hyp_xros_braw296900039690000x1000000
17vbmeta_vendor_braw396900039790000x10000
18vbmeta_system_braw397900039890000x10000
19recovery_braw398900079890000x4000000
20imagefv_braw79890007B890000x200000
21featenabler_braw7B890007BA90000x20000
22uefisecapp_braw7BA90007DA90000x200000
23dtbo_braw7DA900085A90000x800000
24vbmeta_braw85A900085B90000x10000
25qupfw_braw85B900085CD0000x14000
26devcfg_braw85CD00085ED0000x20000
27cmnlib64_braw85ED000866D0000x80000
28cmnlib_braw866D00086ED0000x80000
29boot_braw86ED000D6ED0000x5000000
30keymaster_brawD6ED000D76D0000x80000
31abl_brawD76D000D96D0000x200000
32modem_brawD96D0001196D0000x4000000
33hyp_braw1196D0001216D0000x800000
34tz_braw1216D0001256D0000x400000
35aop_braw1256D000125ED0000x80000
36hyp_xros_araw125ED000135ED0000x1000000
37vbmeta_vendor_araw135ED000135FD0000x10000
38vbmeta_system_araw135FD0001360D0000x10000
39recovery_araw1360D0001760D0000x4000000
40imagefv_araw1760D0001780D0000x200000
41featenabler_araw1780D0001782D0000x20000
42uefisecapp_araw1782D00017A2D0000x200000
43dtbo_araw17A2D0001822D0000x800000
44vbmeta_araw1822D0001823D0000x10000
45qupfw_araw1823D000182510000x14000
46devcfg_araw18251000182710000x20000
47cmnlib64_araw18271000182F10000x80000
48cmnlib_araw182F1000183710000x80000
49boot_araw183710001D3710000x5000000
50keymaster_araw1D3710001D3F10000x80000
51abl_araw1D3F10001D5F10000x200000
52modem_araw1D5F1000215F10000x4000000
53hyp_araw215F100021DF10000x800000
54tz_araw21DF1000221F10000x400000
55aop_araw221F1000222710000x80000
56ddrraw22271000224710000x200000
57cdtraw22471000224910000x20000
58ALIGN_TO_128K_1raw22491000224AB0000x1A000
59xbl_config_braw224AB000224CB0000x20000
60xbl_braw224CB0002284B0000x380000
61xbl_config_araw2284B0002286B0000x20000
62xbl_araw2286B00022BEB0000x380000
63userdataf2fs22BEB0001C3664E0000x1C13A63000 for 128GB (0xD2C263000 for 64GB)
64metadataraw1C3664E0001C3764E0000x1000000
65xros_braw1C3764E0001C3F6560000x8008000
66superraw1C3F6560001DBF6560000x180000000
67xros_araw1DBF6560001DC765E0000x8008000
68frpraw1DC765E0001DC76DE0000x80000
69miscraw1DC76DE0001DC77DE0000x100000
70persistext41DC77DE0001DCB7DE0000x4000000
71ssdraw1DCB7DE0001DCB7E00000x2000

iNAND flash is split into 6 logical units (lun)

64GB flash LUN layout
Physical partition number: 0
1
2
3
4
5
6
7
8
9
10
11
12
13
Block count  : 15471616 (0xEC1400)
Size         : 59.02 GB (60436.00 MB)

P00: GPT              (00000000, 00000006)    24    KB
P01: ssd              (00000006, 00000002)    8     KB
P02: persist          (00000008, 00004000)    64    MB
P03: misc             (00004008, 00000100)    1024  KB
P04: frp              (00004108, 00000080)    512   KB
P05: xros_a           (00004188, 00008008)    128   MB
P06: super            (0000C190, 00180000)    6     GB
P07: xros_b           (0018C190, 00008008)    128   MB
P08: metadata         (00194198, 00001000)    16    MB
P09: userdata         (00195198, 00D2C263)    52.69 GB
Physical partition number: 1
1
2
3
4
5
6
Block count  : 2048 (0x800)
Size         : 8.00 MB

P00: GPT              (00000000, 00000006)    24    KB
P01: xbl_a            (00000006, 00000380)    3584  KB
P02: xbl_config_a     (00000386, 00000020)    128   KB
Physical partition number: 2
1
2
3
4
5
6
Block count  : 2048 (0x800)
Size         : 8.00 MB

P00: GPT              (00000000, 00000006)    24    KB
P01: xbl_b            (00000006, 00000380)    3584  KB
P02: xbl_config_b     (00000386, 00000020)    128   KB
Physical partition number: 3
1
2
3
4
5
6
7
Block count  : 2048 (0x800)
Size         : 8.00 MB

P00: GPT              (00000000, 00000006)    24    KB
P01: ALIGN_TO_128K_1  (00000006, 0000001A)    104   KB
P02: cdt              (00000020, 00000020)    128   KB
P03: ddr              (00000040, 00000200)    2048  KB
Physical partition number: 4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Block count  : 140288 (0x22400)
Size         : 548.00 MB

P00: GPT              (00000000, 00000006)    24    KB
P01: aop_a            (00000006, 00000080)    512   KB
P02: tz_a             (00000086, 00000400)    4     MB
P03: hyp_a            (00000486, 00000800)    8     MB
P04: modem_a          (00000C86, 00004000)    64    MB
P05: abl_a            (00004C86, 00000200)    2048  KB
P06: keymaster_a      (00004E86, 00000080)    512   KB
P07: boot_a           (00004F06, 00005000)    80    MB
P08: cmnlib_a         (00009F06, 00000080)    512   KB
P09: cmnlib64_a       (00009F86, 00000080)    512   KB
P10: devcfg_a         (0000A006, 00000020)    128   KB
P11: qupfw_a          (0000A026, 00000014)    80    KB
P12: vbmeta_a         (0000A03A, 00000010)    64    KB
P13: dtbo_a           (0000A04A, 00000800)    8     MB
P14: uefisecapp_a     (0000A84A, 00000200)    2048  KB
P15: featenabler_a    (0000AA4A, 00000020)    128   KB
P16: imagefv_a        (0000AA6A, 00000200)    2048  KB
P17: recovery_a       (0000AC6A, 00004000)    64    MB
P18: vbmeta_system_a  (0000EC6A, 00000010)    64    KB
P19: vbmeta_vendor_a  (0000EC7A, 00000010)    64    KB
P20: hyp_xros_a       (0000EC8A, 00001000)    16    MB
P21: aop_b            (0000FC8A, 00000080)    512   KB
P22: tz_b             (0000FD0A, 00000400)    4     MB
P23: hyp_b            (0001010A, 00000800)    8     MB
P24: modem_b          (0001090A, 00004000)    64    MB
P25: abl_b            (0001490A, 00000200)    2048  KB
P26: keymaster_b      (00014B0A, 00000080)    512   KB
P27: boot_b           (00014B8A, 00005000)    80    MB
P28: cmnlib_b         (00019B8A, 00000080)    512   KB
P29: cmnlib64_b       (00019C0A, 00000080)    512   KB
P30: devcfg_b         (00019C8A, 00000020)    128   KB
P31: qupfw_b          (00019CAA, 00000014)    80    KB
P32: vbmeta_b         (00019CBE, 00000010)    64    KB
P33: dtbo_b           (00019CCE, 00000800)    8     MB
P34: uefisecapp_b     (0001A4CE, 00000200)    2048  KB
P35: featenabler_b    (0001A6CE, 00000020)    128   KB
P36: imagefv_b        (0001A6EE, 00000200)    2048  KB
P37: recovery_b       (0001A8EE, 00004000)    64    MB
P38: vbmeta_system_b  (0001E8EE, 00000010)    64    KB
P39: vbmeta_vendor_b  (0001E8FE, 00000010)    64    KB
P40: hyp_xros_b       (0001E90E, 00001000)    16    MB
P41: devinfo          (0001F90E, 00000001)    4     KB
P42: apdp             (0001F90F, 00000040)    256   KB
P43: msadp            (0001F94F, 00000040)    256   KB
P44: spunvm           (0001F98F, 00002000)    32    MB
P45: limits           (0002198F, 00000001)    4     KB
P46: limits-cdsp      (00021990, 00000001)    4     KB
P47: pstore           (00021991, 00000200)    2048  KB
P48: storsec          (00021B91, 00000020)    128   KB
P49: uefivarstore     (00021BB1, 00000080)    512   KB
P50: secdata          (00021C31, 00000006)    24    KB
Physical partition number: 5
1
2
3
4
5
6
7
8
9
Block count  : 2048 (0x800)
Size         : 8.00 MB

P00: GPT              (00000000, 00000006)    24    KB
P01: ALIGN_TO_128K_2  (00000006, 0000001A)    104   KB
P02: modemst1         (00000020, 00000200)    2048  KB
P03: modemst2         (00000220, 00000200)    2048  KB
P04: fsg              (00000420, 00000200)    2048  KB
P05: fsc              (00000620, 00000020)    128   KB
This post is licensed under CC BY 4.0 by the author.