From 59e810f7e4c64870a0081776a4b6a204b20f0a9f Mon Sep 17 00:00:00 2001 From: donjohanliebert Date: Tue, 28 Jan 2025 10:26:13 +0800 Subject: [PATCH] berlin: initial Evolution-X 10.x Signed-off-by: donjohanliebert --- BoardConfig.mk | 6 +++--- lineage.dependencies | 6 ------ lineage_berlin.mk | 15 +++++++++++++-- 3 files changed, 16 insertions(+), 11 deletions(-) delete mode 100644 lineage.dependencies diff --git a/BoardConfig.mk b/BoardConfig.mk index 56b91b2..7dfdcdb 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -39,9 +39,9 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop # Recovery TARGET_RECOVERY_UI_MARGIN_HEIGHT := 90 -# Security -BOOT_SECURITY_PATCH := 2024-09-01 -VENDOR_SECURITY_PATCH := $(BOOT_SECURITY_PATCH) +# Security patch level +BOOT_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH) +VENDOR_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH) # Verified Boot BOARD_AVB_ROLLBACK_INDEX := 38 diff --git a/lineage.dependencies b/lineage.dependencies deleted file mode 100644 index 76799e5..0000000 --- a/lineage.dependencies +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "repository": "android_device_motorola_sm7325-common", - "target_path": "device/motorola/sm7325-common" - } -] diff --git a/lineage_berlin.mk b/lineage_berlin.mk index eba4d96..496de70 100644 --- a/lineage_berlin.mk +++ b/lineage_berlin.mk @@ -8,20 +8,31 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) TARGET_SUPPORTS_OMX_SERVICE := false $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) -# Inherit from berlin device +# Inherit from berlin device. $(call inherit-product, device/motorola/berlin/device.mk) -# Inherit some common Lineage stuff. +# Inherit some common LineageOS / Evolution-X stuff. $(call inherit-product, vendor/lineage/config/common_full_phone.mk) +EVO_BUILD_TYPE := MINKAN +# Targets +TARGET_SUPPORT_BOOT_ANIMATIONS := true +TARGET_SUPPORTS_64_BIT_APPS := true +TARGET_BUILD_DEVICE_AS_WEBCAM := true +TARGET_USES_BLUR_RECENT := true + +# Device identifier. PRODUCT_NAME := lineage_berlin PRODUCT_DEVICE := berlin PRODUCT_MANUFACTURER := motorola PRODUCT_BRAND := motorola PRODUCT_MODEL := motorola edge 20 +# GMS +WITH_GMS := true PRODUCT_GMS_CLIENTID_BASE := android-motorola +# Properties PRODUCT_BUILD_PROP_OVERRIDES += \ BuildDesc="berlin_global-user 13 T1RGS33.135-109-9-29 695e0-d4b251 release-keys" \ BuildFingerprint=motorola/berlin_global/berlin:13/T1RGS33.135-109-9-29/695e0-d4b251:user/release-keys \