Commit graph

13 commits

Author SHA1 Message Date
Arian
99422324ae sm8450-common: Import compatibility_matrix from LA.VENDOR.1.0.r1-24300-WAIPIO.QSSI13.0
Change-Id: Ibe17978deed4cb86211cb245f87566e7a21fd6de
2024-03-19 22:58:04 +01:00
Arian
b94400dce7 sm8450-common: Import config.fs from LA.VENDOR.1.0.r1-11900-WAIPIO.0
Change-Id: I645a7ca6b830e4f50efabf05f849806fa51208ea
2024-03-19 22:58:04 +01:00
Arian
b18da8f560 sm8450-common: Configure recovery and import recovery.fstab from LA.VENDOR.1.0.r1-11000-WAIPIO.0
Change-Id: I107359e36cf2d67eba61d34e66610e765b6ba32a
2024-03-19 21:59:58 +01:00
Arian
b6c5d9631b sm8450-common: Change vbmeta_system rollback index location
"Rollback Index Location 1 is already in use."

Change-Id: If6ba66486acd9d949f64260cef36e0ebf88cac48
2024-03-19 21:59:58 +01:00
Alexander Koskovich
c0439621ef sm8450-common: Move GSI AVB keys to /vendor_boot
Change-Id: I59cac1103239dbd885986a98b2edd70ce1391e8a
2024-03-19 21:59:58 +01:00
Nolen Johnson
3051478393 sm8450-common: Simplify AVB flag logic
* AVB's `--flags 3` argument builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
2024-03-19 21:59:58 +01:00
Cosmin Tanislav
4574d0ca21 sm8450-common: Include system_ext in vbmeta system
Change-Id: If8deff26f3f1420c37041c6f5ba7a2f49cdeb4ce
2024-03-19 21:59:58 +01:00
Shivaprasad Hongal
6fce06e128 sm8450-common: avb: Compile recovery image as a chain partition
Add AVB flags to compile recovery image
as a chained partition. This is required
for safe OTA when multislot support is
not present.

Change-Id: I1115eba4038e6fcaa61440846a25861366996ed4
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2024-03-19 21:59:58 +01:00
Christian Oder
e26ffed63d sm8450-common: Build disabled VBMeta image
Partitions that use vbmeta_system can be found by looking at
avb flag in fstab from boot ramdisk.

--flags 2 makes the verification function of avb always return a
positive result.

--set_hashtree_disabled_flag builds the vbmeta images with the
HASHTREE_DISABLED bit set and as a result they don't need to manually
disable dm-verity via e.g. 'adb disable-verity'.

The rest of the configuration is taken from
https://source.android.com/devices/tech/ota/dynamic_partitions/implement#avb-configuration-changes

Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
2024-03-19 21:59:58 +01:00
Arian
24aa4c1d29 sm8450-common: Implement virtual A/B
Change-Id: I9e5c9a29aeacf382d956f0d5a53bf8f98c717384
2024-03-19 21:59:58 +01:00
Arian
c4670a2a21 sm8450-common: Add bootctrl and import gpt-utils from LA.VENDOR.1.0.r2-07900-WAIPIO.QSSI13.0
Change-Id: I29aeee0348fbcf111bbdf232ac171106f4cb92bd
2024-03-19 21:59:58 +01:00
Arian
d7d146490d sm8450-common: Define partition flags
Change-Id: I9746d1ea7b2b3eeaaae10b6bf83a6de671f12838
2024-01-25 16:29:32 +01:00
Arian
5249ffabc9 sm8450-common: Intial configuration
Change-Id: Ia0c75c39fe5772e3b7887b75f2721ac7183a3d55
2024-01-20 10:33:25 +01:00