Open connglli opened 4 years ago
:warning: TO BE ADDED
:thinking: TODO: Learn more
The OTA updates are saved in a file named payload.bin which saves the boot.img, system.img, etc. To inspect/extract the contents of the payload, one can use the payload-dumper-go tool.
payload.bin
boot.img
system.img
payload-dumper-go
List all images:
$ payload-dumper-go -l lineage-18.1-20220224-nightly-fajita-signed/payload.bin payload.bin: lineage-18.1-20220224-nightly-fajita-signed/payload.bin Payload Version: 2 Payload Manifest Length: 82124 Payload Manifest Signature Length: 267 Found partitions: boot (67 MB), dtbo (8.4 MB), system (3.0 GB), vbmeta (4.1 kB)
Extract specific image, e.g., boot.img, from a payload:
$ payload-dumper-go -p boot lineage-18.1-20220224-nightly-fajita-signed/payload.bin payload.bin: lineage-18.1-20220224-nightly-fajita-signed/payload.bin Payload Version: 2 Payload Manifest Length: 82124 Payload Manifest Signature Length: 267 Found partitions: boot (67 MB), dtbo (8.4 MB), system (3.0 GB), vbmeta (4.1 kB) Number of workers: 4 boot (67 MB) [==========================================================] 100 %
Non A/B System Updates
:warning: TO BE ADDED
References
A/B System Updates
:thinking: TODO: Learn more
The OTA updates are saved in a file named
payload.bin
which saves theboot.img
,system.img
, etc. To inspect/extract the contents of the payload, one can use thepayload-dumper-go
tool.List all images:
Extract specific image, e.g., boot.img, from a payload:
References
References