From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Android LP metadata (super.img)" |
|---|
| claim | "LP geometry magic is 0x616c4467 and the metadata header magic is 0x414C5030; both are stored little-endian, so the bytes read 67 44 6C 61 ('gDla') and 30 50 4C 41 ('0PLA')." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Android LP metadata (super.img)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "67 44 6C 61" |
|---|
| offset | 4096 |
|---|
| meaning | "LpMetadataGeometry magic (0x616c4467) after the 4096 reserved bytes of the super partition; the metadata header magic 0x414C5030 is 30 50 4C 41 ('0PLA') at the start of each LpMetadataHeader (after the geometry copies)" |
|---|
| alternatives | |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "LP_METADATA_GEOMETRY_MAGIC, LP_METADATA_HEADER_MAGIC, LP_PARTITION_RESERVED_BYTES (lines 32-110); byte order inferred from the little-endian statement" |
|---|
| repo | "android.googlesource.com/platform/system/core" |
|---|
| commit | "a3b721a32242006b59cb12bd62c9133632af3a2d" |
|---|
| path | "fs_mgr/liblp/include/liblp/metadata_format.h" |
|---|
|
| type | "source" |
|---|
| detail | "Line 177: all fields stored little-endian when serialized; line 117 geometry magic is field 0; LP_PARTITION_RESERVED_BYTES 4096 at line 110" |
|---|
| repo | "android.googlesource.com/platform/system/core" |
|---|
| commit | "a3b721a32242006b59cb12bd62c9133632af3a2d" |
|---|
| path | "fs_mgr/liblp/include/liblp/metadata_format.h" |
|---|
| lines | "32-38, 110-117, 177" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:47:37.904Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T13:17:57.986Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read fs_mgr/liblp/include/liblp/metadata_format.h at a3b721a (via gitiles): LP_METADATA_GEOMETRY_MAGIC 0x616c4467, LP_METADATA_HEADER_MAGIC 0x414C5030, LP_PARTITION_RESERVED_BYTES 4096, line 177 'All fields are stored in little-endian byte order when serialized'." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T06:46:15.309Z" |
|---|
| summary | "Byte order is stated by the header: line 177 'All fields are stored in little-endian byte order when serialized', so 0x616c4467 serializes as 67 44 6C 61. Add the header magic bytes to…" |
|---|
| changed | | "data" |
| "evidence" |
| "confidence" |
|
|---|
|
|
|---|