From 2db76b19d4506805bba401eca521640984ecf196 Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Thu, 5 Oct 2023 06:38:35 -0400 Subject: [PATCH] two: Add support to flash firmware images Signed-off-by: Jackeagle --- flash/two/flash_two_factory.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/flash/two/flash_two_factory.sh b/flash/two/flash_two_factory.sh index 1d7575c..edafa06 100755 --- a/flash/two/flash_two_factory.sh +++ b/flash/two/flash_two_factory.sh @@ -88,12 +88,24 @@ find_device() { flash_device() { flash_image_ab_or_abort "${sn}" boot boot.img flash_image_ab_or_abort "${sn}" dtbo dtbo.img + flash_image_ab_or_abort "${sn}" cam_vpu1 cam_vpu1-verified.img + flash_image_ab_or_abort "${sn}" cam_vpu2 cam_vpu2-verified.img + flash_image_ab_or_abort "${sn}" cam_vpu3 cam_vpu3-verified.img + flash_image_ab_or_abort "${sn}" dtbo dtbo.img + flash_image_ab_or_abort "${sn}" gz gz-verified.img + flash_image_ab_or_abort "${sn}" lk lk-verified.img + flash_image_or_abort "${sn}" logo logo-verified.bin + flash_image_ab_or_abort "${sn}" md1img md1img-verified.img + flash_image_ab_or_abort "${sn}" preloader preloader_k71v1_64_bsp.bin + flash_image_ab_or_abort "${sn}" scp scp-verified.img + flash_image_ab_or_abort "${sn}" spmfw spmfw-verified.img + flash_image_ab_or_abort "${sn}" sspm sspm-verified.img flash_image_or_abort "${sn}" super super.img + flash_image_ab_or_abort "${sn}" tee tee-verified.img + flash_image_ab_or_abort "${sn}" vbmeta_vendor vbmeta_vendor.img flash_image_ab_or_abort "${sn}" vbmeta_system vbmeta_system.img flash_image_ab_or_abort "${sn}" vbmeta vbmeta.img - flash_image_ab_or_abort "${sn}" vbmeta_vendor vbmeta_vendor.img - if [ "${CLEAN_FLASH}" = "true" ] then "$FASTBOOT_BIN" -s "${sn}" erase userdata -- GitLab