From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:Android OTA payload (payload.bin)" |
|---|
| claim | "InstallOperation.Type values: REPLACE 0, REPLACE_BZ 1, MOVE 2 (deprecated), BSDIFF 3 (deprecated), SOURCE_COPY 4, SOURCE_BSDIFF 5, ZERO 6, DISCARD 7, REPLACE_XZ 8, PUFFDIFF 9, BROTLI_BSDIFF 10, ZUCCHINI 11, LZ4DIFF_BSDIFF 12, LZ4DIFF_PUFFDIFF 13." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Android OTA payload (payload.bin)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "InstallOperation.Type" |
|---|
| underlying_type | "protobuf enum" |
|---|
| values | | REPLACE | 0 |
|---|
| REPLACE_BZ | 1 |
|---|
| MOVE | 2 |
|---|
| BSDIFF | 3 |
|---|
| SOURCE_COPY | 4 |
|---|
| SOURCE_BSDIFF | 5 |
|---|
| ZERO | 6 |
|---|
| DISCARD | 7 |
|---|
| REPLACE_XZ | 8 |
|---|
| PUFFDIFF | 9 |
|---|
| BROTLI_BSDIFF | 10 |
|---|
| ZUCCHINI | 11 |
|---|
| LZ4DIFF_BSDIFF | 12 |
|---|
| LZ4DIFF_PUFFDIFF | 13 |
|---|
|
|---|
| complete | true |
|---|
| notes | "Minimum payload version per the proto comments: SOURCE_COPY and SOURCE_BSDIFF need minor 2; REPLACE_XZ needs minor 3 and major 2; ZERO, DISCARD and BROTLI_BSDIFF need minor 4; PUFFDIFF minor 5; ZUCCHINI minor 8; LZ4DIFF_BSDIFF and LZ4DIFF_PUFFDIFF minor 9. MOVE and BSDIFF are marked deprecated." |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum Type in message InstallOperation (lines 149-177)" |
|---|
| repo | "android.googlesource.com/platform/system/update_engine" |
|---|
| commit | "dc84c2552b2d4cf00d2a843cb1c091d99d0499f1" |
|---|
| path | "update_metadata.proto" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:47:37.745Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:58:44.683Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read update_metadata.proto InstallOperation.Type at dc84c2552b2d: all 14 values and names match; noted per-operation minimum versions." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T06:58:44.540Z" |
|---|
| summary | "Values match update_metadata.proto; added the minimum minor version each operation needs (comments in the proto)." |
|---|
| changed | |
|---|
|
|
|---|