From 49ca4d437fb8f39914f9dff2a2e9e91c53d90807 Mon Sep 17 00:00:00 2001 From: flawedworld Date: Sat, 15 Oct 2022 15:21:47 +0100 Subject: [PATCH] Exclude new AOSP partitions from OTA firmware extraction --- .../extract_android_ota_payload.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/external/extract_android_ota_payload/extract_android_ota_payload.py b/external/extract_android_ota_payload/extract_android_ota_payload.py index 1426afd..fe0ac85 100755 --- a/external/extract_android_ota_payload/extract_android_ota_payload.py +++ b/external/extract_android_ota_payload/extract_android_ota_payload.py @@ -114,10 +114,12 @@ def main(filename, output_dir): blacklist_partitions = ["boot", "dtbo", + "init_boot", "persist", "product", "recovery", "system", + "system_dlkm", "system_ext", "userdata", "vbmeta", @@ -125,7 +127,8 @@ def main(filename, output_dir): "vbmeta_vendor", "vendor", "vendor_boot", - "vendor_dlkm"] + "vendor_dlkm", + "vendor_kernel_boot"] for p in payload.manifest.partitions: if p.partition_name in blacklist_partitions: