From 6f616b9f72b61f7ab61cab9b44dffb416dc355e3 Mon Sep 17 00:00:00 2001 From: ragarcia87 <70825623+juic3b0x@users.noreply.github.com> Date: Sat, 17 Dec 2022 20:07:38 -0600 Subject: [PATCH] Update device.mk Fastbootd fix -TEST --- device.mk | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/device.mk b/device.mk index 0b767ae..e8e4fcc 100644 --- a/device.mk +++ b/device.mk @@ -23,6 +23,21 @@ LOCAL_PATH := device/motorola/denver PRODUCT_SHIPPING_API_LEVEL := 30 # A/B +AB_OTA_UPDATER := true + +AB_OTA_PARTITIONS := \ + boot \ + dtbo \ + product \ + system \ + system_ext \ + vbmeta \ + vbmeta_system \ + vendor \ + vendor_boot + +PRODUCT_USE_DYNAMIC_PARTITIONS := true + AB_OTA_POSTINSTALL_CONFIG += \ RUN_POSTINSTALL_system=true \ POSTINSTALL_PATH_system=system/bin/otapreopt_script \ @@ -40,9 +55,6 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES_DEBUG += \ bootctl -# Dynamic partitions -PRODUCT_USE_DYNAMIC_PARTITIONS := true - # Fastbootd PRODUCT_PACKAGES += \ android.hardware.fastboot@1.0-impl-mock \ @@ -55,8 +67,7 @@ TARGET_SCREEN_WIDTH := 1080 # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) \ - hardware/qcom-caf/bootctrl \ - vendor/qcom/opensource/commonsys-intf/display + hardware/qcom-caf/bootctrl # Update engine PRODUCT_PACKAGES += \ @@ -67,6 +78,7 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES_DEBUG += \ update_engine_client + # TWRP Configuration TW_THEME := portrait_hdpi RECOVERY_SDCARD_ON_DATA := true