From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Resources.arsc" |
|---|
| claim | "TypeSpec chunk (0x0202): header, uint8 id (type id, 1-based; 0 invalid), uint8 res0, uint16 typesCount, uint32 entryCount, then entryCount uint32 masks of ResTable_config CONFIG_* bits that vary for that entry; flag bits SPEC_PUBLIC 0x40000000 (entry is public) and SPEC_STAGED_API 0x20000000." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Resources.arsc" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "ResTable_typeSpec" |
|---|
| size | "0x10" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 8 |
|---|
| type | "ResChunk_header" |
|---|
| name | "header" |
|---|
|
| offset | "0x8" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "id" |
|---|
|
| offset | "0x9" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "res0" |
|---|
|
| offset | "0xA" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "typesCount" |
|---|
|
| offset | "0xC" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "entryCount" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct ResTable_typeSpec with SPEC_PUBLIC and SPEC_STAGED_API." |
|---|
| repo | "https://android.googlesource.com/platform/frameworks/base" |
|---|
| commit | "1cdfff555f4a21f71ccc978290e2e212e2f8b168" |
|---|
| path | "libs/androidfw/include/androidfw/ResourceTypes.h" |
|---|
| lines | "1399-1425" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "ResTable_typeSpec" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T06:34:57.357Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:16:54.094Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ResTable_typeSpec in ResourceTypes.h at the cited commit: id, res0, typesCount (formerly reserved), entryCount, SPEC_PUBLIC 0x40000000, SPEC_STAGED_API 0x20000000." |
|---|
|
|
|---|