From d7f56a98cf4d5ebb7fd60e0813104b82ebb21571 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Mon, 12 Jun 2023 12:24:26 +0300 Subject: [PATCH] vars: Use fbpacktool for unpacking bootloader.img on Tensor pixels All Pixels modem.img: fbpack version 1 QCOM Pixels bootloader.img: fbpack version 1 Tensor Pixels bootloader.img: fbpack version 2 Test: export WORK_DIR=/some/dir/with/factory/images source vendor/lineage/vars/pixels for d in ${devices[@]}; do lineage/scripts/pixel/firmware.sh $d; done for d in ${devices[@]}; do git -C vendor/google/$d status; done Co-authored-by: Chirayu Desai Change-Id: Ic1990f75a6be515e5d91d65e3ddf88b8e0c90001 --- vars/bluejay | 3 +-- vars/cheetah | 3 +-- vars/lynx | 3 +-- vars/oriole | 3 +-- vars/panther | 3 +-- vars/raven | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/vars/bluejay b/vars/bluejay index fc71f769..52c35818 100644 --- a/vars/bluejay +++ b/vars/bluejay @@ -18,8 +18,7 @@ device_repos=( device/google/bluejay ) -# Need OTA zip for firmware, not supported by image_unpacker yet -readonly needs_ota=true +readonly fbpk_version="v2" # Updated semi-manually via pixel/update-any-var.sh diff --git a/vars/cheetah b/vars/cheetah index 99c91835..d76b3352 100644 --- a/vars/cheetah +++ b/vars/cheetah @@ -19,8 +19,7 @@ device_repos=( device/google/pantah ) -# Need OTA zip for firmware, not supported by image_unpacker yet -readonly needs_ota=true +readonly fbpk_version="v2" # Updated semi-manually via pixel/update-any-var.sh diff --git a/vars/lynx b/vars/lynx index 9b3616c5..ae6a055e 100644 --- a/vars/lynx +++ b/vars/lynx @@ -18,8 +18,7 @@ device_repos=( device/google/lynx ) -# Need OTA zip for firmware, not supported by image_unpacker yet -readonly needs_ota=true +readonly fbpk_version="v2" # Updated semi-manually via pixel/update-any-var.sh diff --git a/vars/oriole b/vars/oriole index 4e26cbe8..cc053331 100644 --- a/vars/oriole +++ b/vars/oriole @@ -18,8 +18,7 @@ device_repos=( # common repos in raven ) -# Need OTA zip for firmware, not supported by image_unpacker yet -readonly needs_ota=true +readonly fbpk_version="v2" # Updated semi-manually via pixel/update-any-var.sh diff --git a/vars/panther b/vars/panther index 9dd56021..0b3b3cdc 100644 --- a/vars/panther +++ b/vars/panther @@ -18,8 +18,7 @@ device_repos=( # common repos in cheetah ) -# Need OTA zip for firmware, not supported by image_unpacker yet -readonly needs_ota=true +readonly fbpk_version="v2" # Updated semi-manually via pixel/update-any-var.sh diff --git a/vars/raven b/vars/raven index fcf87183..0bfd7137 100644 --- a/vars/raven +++ b/vars/raven @@ -19,8 +19,7 @@ device_repos=( device/google/raviole ) -# Need OTA zip for firmware, not supported by image_unpacker yet -readonly needs_ota=true +readonly fbpk_version="v2" # Updated semi-manually via pixel/update-any-var.sh