diff --git a/BoardConfig.mk b/BoardConfig.mk index 61db801..abd329c 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -82,20 +82,23 @@ BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 67108864 BOARD_SUPER_PARTITION_SIZE := 9126805504 BOARD_SUPER_PARTITION_GROUPS := mtk_dynamic_partitions -BOARD_MTK_DYNAMIC_PARTITIONS_PARTITION_LIST := system system_ext vendor product vendor_dlkm +BOARD_MTK_DYNAMIC_PARTITIONS_PARTITION_LIST := odm_dlkm product system system_ext vendor vendor_dlkm BOARD_MTK_DYNAMIC_PARTITIONS_SIZE := 9122611200 BOARD_EROFS_PCLUSTER_SIZE := 262144 BOARD_USES_METADATA_PARTITION := true +BOARD_USES_ODM_DLKIMAGE := true BOARD_USES_VENDOR_DLKMIMAGE := true +BOARD_ODM_DLKMIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := erofs BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := erofs BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := erofs BOARD_VENDOR_DLKMIMAGE_FILE_SYSTEM_TYPE := ext4 +TARGET_COPY_OUT_ODM_DLKM := odm_dlkm TARGET_COPY_OUT_PRODUCT := product TARGET_COPY_OUT_SYSTEM_EXT := system_ext TARGET_COPY_OUT_VENDOR := vendor diff --git a/device.mk b/device.mk index 9f379b0..964bd5b 100644 --- a/device.mk +++ b/device.mk @@ -10,6 +10,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_ven AB_OTA_UPDATER := true AB_OTA_PARTITIONS := \ boot \ + odm_dlkm \ product \ system \ system_ext \