From 4f68e9f77075fc44eb2cfd6b3c76fdc90f17253a Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Thu, 12 Jun 2025 06:16:33 -0400 Subject: [PATCH] flash: Add Pixel 7 (panther) Signed-off-by: Jackeagle --- flash/panther/config.mk | 10 ++++++++++ flash/panther/flash_panther_factory.sh | 21 +++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 flash/panther/config.mk create mode 100755 flash/panther/flash_panther_factory.sh diff --git a/flash/panther/config.mk b/flash/panther/config.mk new file mode 100644 index 0000000..765baab --- /dev/null +++ b/flash/panther/config.mk @@ -0,0 +1,10 @@ +HLOS_IMAGES_TARGET := boot.img \ + init_boot.img \ + dtbo.img \ + pvmfw.img \ + vendor_boot.img \ + vendor_kernel_boot.img \ + vbmeta_system.img \ + vbmeta_vendor.img \ + vbmeta.img \ + super.img diff --git a/flash/panther/flash_panther_factory.sh b/flash/panther/flash_panther_factory.sh new file mode 100755 index 0000000..5ed571b --- /dev/null +++ b/flash/panther/flash_panther_factory.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +# Target device info +PRODUCT="Pixel 7" +PRODUCT_ID="panther" + +# Target Flashing Images info +FLASH_AB_FW_IMGS="abl bl1 bl2 bl31 gsa ldfw modem pbl tzsw" +FLASH_AB_IMGS="boot init_boot dtbo pvmfw vendor_kernel_boot vendor_boot vbmeta_system vbmeta_vendor vbmeta" +FLASH_A_IMGS="super" +ERASE_IMGS="userdata metadata" + +# Target flash process behavior +CLEAN_FLASH=true +FW_BL_RESTART=true +VIRTUAL_AB=true + +source factory.common + +# Common flashing function +flash_factory -- GitLab