Initial commit of common/pixel variables

* Excluding:
  raviole from vars/kernel_repos
  gs-common from vars/raven

Change-Id: Iaf24a2aba7ca26d5394f6a224d4e8660d02a901a
This commit is contained in:
Chirayu Desai
2022-01-13 18:09:26 +02:00
committed by Michael Bestas
parent 8920208e31
commit 55b48a2c84
21 changed files with 644 additions and 0 deletions

18
vars/README.md Normal file
View File

@@ -0,0 +1,18 @@
readonly variables, meant for usage by all scripts
## Files
### common
* Variables common to all devices, generic.
### devices
* List of supported devices
#### pixels
* List of supported Pixels
#### $device
* Device-specific variables
### kernel_repos
* The repos used to build pixel kernels, sometimes shared across multiple devices

50
vars/barbet Normal file
View File

@@ -0,0 +1,50 @@
# Pixel 5a
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
devcfg
hyp
keymaster
qupfw
tz
uefisecapp
xbl
xbl_config
featenabler
modem
)
# Usage: ${device_repos[@]}
device_repos=(
# common repos in redfin
device/google/barbet
device/google/barbet-sepolicy
)
# Updated manually
readonly prev_kernel_tag=android-12.0.0_r0.41 # Feb 2022
readonly kernel_tag=android-12.1.0_r0.5
readonly prev_build_id=SQ1A.220205.002 # Feb 2022
readonly build_id=SP2A.220305.012 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r28"
readonly aosp_tag="android-12.1.0_r1"
readonly prev_build_number="8010174"
readonly build_number="8177914"
readonly image_url="https://dl.google.com/dl/android/aosp/barbet-sp2a.220305.012-factory-d7f7006b.zip"
readonly image_sha256="d7f7006b04c0d651a6567a406aa1a963cdbd556822fa2ac733b2a9c1c7fe4fcc"
readonly flash_url="https://flash.android.com/build/8177914?target=barbet-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/barbet-ota-sp2a.220305.012-4b196d2e.zip"
readonly ota_sha256="4b196d2e1530eed45f24346f7ecfcde0503ea82789cfc894437c8b8eb42c0338"
readonly security_patch="2022-03-05"

45
vars/blueline Normal file
View File

@@ -0,0 +1,45 @@
# Pixel 3
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
cmnlib
cmnlib64
devcfg
hyp
keymaster
qupfw
tz
xbl
xbl_config
modem
)
# Usage: ${device_repos[@]}
device_repos=(
# common repos in crosshatch
)
# Updated manually
readonly prev_build_id=SP1A.210812.016.A2 # Oct 2021
readonly build_id=SP1A.210812.016.C1 # Feb 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r25"
readonly aosp_tag="android-12.0.0_r31"
readonly prev_build_number="7979095"
readonly build_number="8029091"
readonly image_url="https://dl.google.com/dl/android/aosp/blueline-sp1a.210812.016.c1-factory-b41403db.zip"
readonly image_sha256="b41403db20d13a6f74f8a626ee9ee591adb435768d9f8cf40fefc8c294e2a4e1"
readonly flash_url="https://flash.android.com/build/8029091?target=blueline-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/blueline-ota-sp1a.210812.016.c1-e72a1a2b.zip"
readonly ota_sha256="e72a1a2be3a2fbe211a430776c66810fc48ab222e9441bb48d27d6a8f3cf07c2"
readonly security_patch="2021-10-05"

46
vars/bonito Normal file
View File

@@ -0,0 +1,46 @@
# Pixel 3a XL
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
cmnlib
cmnlib64
devcfg
hyp
keymaster
qupfw
tz
xbl
xbl_config
modem
)
# Usage: ${device_repos[@]}
device_repos=(
device/google/bonito
device/google/bonito-sepolicy
)
# Updated manually
readonly prev_build_id=SQ1A.220205.002 # Feb 2022
readonly build_id=SP2A.220305.012 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r28"
readonly aosp_tag="android-12.1.0_r1"
readonly prev_build_number="8010174"
readonly build_number="8177914"
readonly image_url="https://dl.google.com/dl/android/aosp/bonito-sp2a.220305.012-factory-0a1c00a1.zip"
readonly image_sha256="0a1c00a1a0d3609155130c837c4d61d440f4f24207edaeb56522af4c030e4859"
readonly flash_url="https://flash.android.com/build/8177914?target=bonito-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/bonito-ota-sp2a.220305.012-847cc743.zip"
readonly ota_sha256="847cc743636d824f58827d13349ff2c040f87eed1fe7ba3e46a7f9e7e96953f3"
readonly security_patch="2022-03-05"

47
vars/bramble Normal file
View File

@@ -0,0 +1,47 @@
# Pixel 4a (5G)
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
devcfg
hyp
keymaster
qupfw
tz
uefisecapp
xbl
xbl_config
featenabler
modem
)
# Usage: ${device_repos[@]}
device_repos=(
# common repos in redfin
device/google/bramble
device/google/bramble-sepolicy
)
# Updated manually
readonly prev_build_id=SQ1A.220205.002 # Feb 2022
readonly build_id=SP2A.220305.012 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r28"
readonly aosp_tag="android-12.1.0_r1"
readonly prev_build_number="8010174"
readonly build_number="8177914"
readonly image_url="https://dl.google.com/dl/android/aosp/bramble-sp2a.220305.012-factory-0047127f.zip"
readonly image_sha256="0047127f8ac9ab93df5e06c6b52d1ef235ff64c2b44db9c32379e163ba3d5015"
readonly flash_url="https://flash.android.com/build/8177914?target=bramble-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/bramble-ota-sp2a.220305.012-1258fdf9.zip"
readonly ota_sha256="1258fdf9118fc4ccdebb9691a503950cecedcb7fc4ed1f070160f6ef81422b74"
readonly security_patch="2022-03-05"

11
vars/common Normal file
View File

@@ -0,0 +1,11 @@
# Entire file updated manually
readonly prev_lineageos_branch=lineage-19.0
readonly lineageos_branch=lineage-19.1
readonly prev_common_aosp_tag=android-12.1.0_r1 # Mar 2022, QC Pixels
readonly common_aosp_tag=android-12.1.0_r2 # Mar 2022, Pixel 6
readonly prev_common_aosp_build_id=SP2A.220305.012 # Mar 2022, QC Pixels
readonly common_aosp_build_id=SP2A.220305.013.A3 # Mar 2022, Pixel 6
readonly topic=12L-raviole

45
vars/coral Normal file
View File

@@ -0,0 +1,45 @@
# Pixel 4 XL
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
devcfg
hyp
keymaster
qupfw
tz
uefisecapp
xbl
xbl_config
modem
)
# Usage: ${device_repos[@]}
device_repos=(
device/google/coral
device/google/coral-sepolicy
)
# Updated manually
readonly prev_build_id=SQ1A.220205.002 # Feb 2022
readonly build_id=SP2A.220305.012 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r28"
readonly aosp_tag="android-12.1.0_r1"
readonly prev_build_number="8010174"
readonly build_number="8177914"
readonly image_url="https://dl.google.com/dl/android/aosp/coral-sp2a.220305.012-factory-1b787a94.zip"
readonly image_sha256="1b787a94e2bf49609a33140414d4c08f2ba0ea4e6de101dd186ce01dd6f69816"
readonly flash_url="https://flash.android.com/build/8177914?target=coral-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/coral-ota-sp2a.220305.012-a2a622e2.zip"
readonly ota_sha256="a2a622e2e9e9d61696e509e4ad38f6199cf3aabd9f6ddfb21cd1fb799cb6d739"
readonly security_patch="2022-03-05"

46
vars/crosshatch Normal file
View File

@@ -0,0 +1,46 @@
# Pixel 3 XL
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
cmnlib
cmnlib64
devcfg
hyp
keymaster
qupfw
tz
xbl
xbl_config
modem
)
# Usage: ${device_repos[@]}
device_repos=(
device/google/crosshatch
device/google/crosshatch-sepolicy
)
# Updated manually
readonly prev_build_id=SP1A.210812.016.A2 # Oct 2021
readonly build_id=SP1A.210812.016.C1 # Feb 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r25"
readonly aosp_tag="android-12.0.0_r31"
readonly prev_build_number="7979095"
readonly build_number="8029091"
readonly image_url="https://dl.google.com/dl/android/aosp/crosshatch-sp1a.210812.016.c1-factory-67ea87fc.zip"
readonly image_sha256="67ea87fcce2c2ea5da0d0a12b476a4bb1844040bd7c20f17f105d13b253e2a62"
readonly flash_url="https://flash.android.com/build/8029091?target=crosshatch-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/crosshatch-ota-sp1a.210812.016.c1-d3a532dd.zip"
readonly ota_sha256="d3a532dd7e61bd1c038ccbf3de1a3063b210b7677c4814e63e5b2070688799a5"
readonly security_patch="2021-10-05"

16
vars/devices Normal file
View File

@@ -0,0 +1,16 @@
# All supported devices
# Usage: ${devices[@]}
readonly devices=(
crosshatch
blueline
bonito
sargo
coral
flame
sunfish
redfin
bramble
barbet
raven
oriole
)

44
vars/flame Normal file
View File

@@ -0,0 +1,44 @@
# Pixel 4
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
devcfg
hyp
keymaster
qupfw
tz
uefisecapp
xbl
xbl_config
modem
)
# Usage: ${device_repos[@]}
device_repos=(
# common repos in coral
)
# Updated manually
readonly prev_build_id=SQ1A.220205.002 # Feb 2022
readonly build_id=SP2A.220305.012 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r28"
readonly aosp_tag="android-12.1.0_r1"
readonly prev_build_number="8010174"
readonly build_number="8177914"
readonly image_url="https://dl.google.com/dl/android/aosp/flame-sp2a.220305.012-factory-44625682.zip"
readonly image_sha256="44625682d28344540bdd34e2dab678c794d7343208593942d75844ed0ebe20c9"
readonly flash_url="https://flash.android.com/build/8177914?target=flame-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/flame-ota-sp2a.220305.012-661704c8.zip"
readonly ota_sha256="661704c8530e990a600ca054abb615d0d986955129db7802b2b0dbd3ac489ee5"
readonly security_patch="2022-03-05"

7
vars/kernel_repos Normal file
View File

@@ -0,0 +1,7 @@
# Usage: ${kernel_repos[@]}
readonly kernel_repos=(
msm-4.9
msm-4.14
redbull
barbet
)

6
vars/msm-4.14 Normal file
View File

@@ -0,0 +1,6 @@
# Pixel 4, 4a
# Updated manually
readonly prev_kernel_tag=android-12.0.0_r0.39 # Feb 2022
readonly kernel_tag=android-12.1.0_r0.2

6
vars/msm-4.9 Normal file
View File

@@ -0,0 +1,6 @@
# Pixel 3, 3a
# Updated manually
readonly prev_kernel_tag=android-12.0.0_r0.37 # Feb 2022
readonly kernel_tag=android-12.1.0_r0.1

44
vars/oriole Normal file
View File

@@ -0,0 +1,44 @@
# Pixel 6
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
bl1
pbl
bl2
abl
bl31
tzsw
gsa
ldfw
modem
)
# Usage: ${device_repos[@]}
device_repos=(
# common repos in raven
)
# Need OTA zip for firmware, not supported by image_unpacker yet
readonly needs_ota=true
# Updated manually
readonly prev_build_id=S2B3.220205.007.A1 # 12L Beta 3
readonly build_id=SP2A.220305.013.A3 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="unknown"
readonly aosp_tag="android-12.1.0_r2"
readonly prev_build_number="8133516"
readonly build_number="8229987"
readonly image_url="https://dl.google.com/dl/android/aosp/oriole-sp2a.220305.013.a3-factory-8bea92d1.zip"
readonly image_sha256="8bea92d1215036b9d6d3f8e04c9cd07857ff46d810207cfcbdfcf65670b1c5f6"
readonly flash_url="https://flash.android.com/build/8229987?target=oriole-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/oriole-ota-sp2a.220305.013.a3-d7b50e71.zip"
readonly ota_sha256="d7b50e710759d7cfcac7ca4057970ff4a4395ee61c750ce51af4159bf3fba873"
readonly security_patch="2022-03-05"

16
vars/pixels Normal file
View File

@@ -0,0 +1,16 @@
# Google Pixels
# Usage: ${devices[@]}
readonly devices=(
crosshatch
blueline
bonito
sargo
coral
flame
sunfish
redfin
bramble
barbet
raven
oriole
)

47
vars/raven Normal file
View File

@@ -0,0 +1,47 @@
# Pixel 6 Pro
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
bl1
pbl
bl2
abl
bl31
tzsw
gsa
ldfw
modem
)
# Usage: ${device_repos[@]}
device_repos=(
device/google/gs101
device/google/gs101-sepolicy
device/google/raviole
)
# Need OTA zip for firmware, not supported by image_unpacker yet
readonly needs_ota=true
# Updated manually
readonly prev_build_id=S2B3.220205.007.A1 # 12L Beta 3
readonly build_id=SP2A.220305.013.A3 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="unknown"
readonly aosp_tag="android-12.1.0_r2"
readonly prev_build_number="8133516"
readonly build_number="8229987"
readonly image_url="https://dl.google.com/dl/android/aosp/raven-sp2a.220305.013.a3-factory-87b3bf0a.zip"
readonly image_sha256="87b3bf0aab411afd17220eeb06c83492613b011cb02dcbabdf4fb18df7e2d630"
readonly flash_url="https://flash.android.com/build/8229987?target=raven-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/raven-ota-sp2a.220305.013.a3-14589c37.zip"
readonly ota_sha256="14589c377bfe5ee6ead1b6199e9d72cdde6b507ce6d151642d0d92058504b1c6"
readonly security_patch="2022-03-05"

6
vars/raviole Normal file
View File

@@ -0,0 +1,6 @@
# Pixel 6
# Updated manually
readonly prev_kernel_tag=android-s-v2-beta-3_r0.6
readonly kernel_tag=android-12.1.0_r0.6 # Mar 2022

6
vars/redbull Normal file
View File

@@ -0,0 +1,6 @@
# Pixel 4a (5G), 5, 5a
# Updated manually
readonly prev_kernel_tag=android-12.0.0_r0.40 # Feb 2022
readonly kernel_tag=android-12.1.0_r0.4

48
vars/redfin Normal file
View File

@@ -0,0 +1,48 @@
# Pixel 5
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
devcfg
hyp
keymaster
qupfw
tz
uefisecapp
xbl
xbl_config
featenabler
modem
)
# Usage: ${device_repos[@]}
device_repos=(
device/google/redbull
device/google/redbull-sepolicy
device/google/redfin
device/google/redfin-sepolicy
)
# Updated manually
readonly prev_build_id=SQ1A.220205.002 # Feb 2022
readonly build_id=SP2A.220305.012 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r28"
readonly aosp_tag="android-12.1.0_r1"
readonly prev_build_number="8010174"
readonly build_number="8177914"
readonly image_url="https://dl.google.com/dl/android/aosp/redfin-sp2a.220305.012-factory-49873101.zip"
readonly image_sha256="4987310118f0165117f62354ea4b926b817a08cbea473f90efcd91f7c2803b5b"
readonly flash_url="https://flash.android.com/build/8177914?target=redfin-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/redfin-ota-sp2a.220305.012-5eea053e.zip"
readonly ota_sha256="5eea053e29131d5f8e414c3eb72ad60a73050abac40a3532de1abb2c924e36c9"
readonly security_patch="2022-03-05"

45
vars/sargo Normal file
View File

@@ -0,0 +1,45 @@
# Pixel 3a
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
cmnlib
cmnlib64
devcfg
hyp
keymaster
qupfw
tz
xbl
xbl_config
modem
)
# Usage: ${device_repos[@]}
device_repos=(
# common repos in bonito
)
# Updated manually
readonly prev_build_id=SQ1A.220205.002 # Feb 2022
readonly build_id=SP2A.220305.012 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r28"
readonly aosp_tag="android-12.1.0_r1"
readonly prev_build_number="8010174"
readonly build_number="8177914"
readonly image_url="https://dl.google.com/dl/android/aosp/sargo-sp2a.220305.012-factory-6a43e833.zip"
readonly image_sha256="6a43e8336e38043a0659d92e2e0f28add66dc82d56a4298f901bd2cd2191c940"
readonly flash_url="https://flash.android.com/build/8177914?target=sargo-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/sargo-ota-sp2a.220305.012-66210901.zip"
readonly ota_sha256="662109017074fd71c3f8603375680ebc8fcc0745bcfe92a4094356203cff817b"
readonly security_patch="2022-03-05"

45
vars/sunfish Normal file
View File

@@ -0,0 +1,45 @@
# Pixel 4a
# Usage: ${firmware_partitions[@]}
readonly firmware_partitions=(
abl
aop
devcfg
hyp
keymaster
qupfw
tz
uefisecapp
xbl
xbl_config
modem
)
# Usage: ${device_repos[@]}
device_repos=(
device/google/sunfish
device/google/sunfish-sepolicy
)
# Updated manually
readonly prev_build_id=SQ1A.220205.002 # Feb 2022
readonly build_id=SP2A.220305.012 # Mar 2022
# Updated automatically via pixel/update-device-vars.sh
readonly prev_aosp_tag="android-12.0.0_r28"
readonly aosp_tag="android-12.1.0_r1"
readonly prev_build_number="8010174"
readonly build_number="8177914"
readonly image_url="https://dl.google.com/dl/android/aosp/sunfish-sp2a.220305.012-factory-f4a9c665.zip"
readonly image_sha256="f4a9c665b3614ef4ad84e0b5cb9d4207837288c72430974dcbdf81d6ba460f5c"
readonly flash_url="https://flash.android.com/build/8177914?target=sunfish-user&signed"
readonly ota_url="https://dl.google.com/dl/android/aosp/sunfish-ota-sp2a.220305.012-83e86fac.zip"
readonly ota_sha256="83e86fac6c854b9a500635b7efd3afe295c153e3e28e8403e55c80fa5d8b49e5"
readonly security_patch="2022-03-05"