sweet: Initialize Evolution-X 9.x

Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
Johan Liebert 2024-10-02 10:02:56 +08:00
parent 2009bc4016
commit 5be898bfd2
4 changed files with 51 additions and 11 deletions

View File

@ -18,6 +18,27 @@ TARGET_OTA_ASSERT_DEVICE := sweet,sweetin
# Audio # Audio
TARGET_PROVIDES_AUDIO_EXTNS := true TARGET_PROVIDES_AUDIO_EXTNS := true
# Broken Rules
BUILD_BROKEN_CLANG_PROPERTY := true
BUILD_BROKEN_CLANG_ASFLAGS := true
BUILD_BROKEN_CLANG_CFLAGS := true
BUILD_BROKEN_DEPFILE := true
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_DUP_SYSPROP := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true
BUILD_BROKEN_INPUT_DIR_MODULES := true
BUILD_BROKEN_MISSING_REQUIRED_MODULES := true
BUILD_BROKEN_OUTSIDE_INCLUDE_DIRS := true
BUILD_BROKEN_PREBUILT_ELF_FILES := true
#BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true
BUILD_BROKEN_USES_NETWORK := true
BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true
BUILD_BROKEN_VINTF_PRODUCT_COPY_FILES := true
BUILD_BROKEN_INCORRECT_PARTITION_IMAGES := true
BUILD_BROKEN_GENRULE_SANDBOXING := true
BUILD_BROKEN_DONT_CHECK_SYSTEMSDK := true
# HIDL # HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/configs/hidl/manifest.xml DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/configs/hidl/manifest.xml
@ -40,8 +61,9 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop
# Screen density # Screen density
TARGET_SCREEN_DENSITY := 440 TARGET_SCREEN_DENSITY := 440
# Vendor security patch level # Security patch level
VENDOR_SECURITY_PATCH := 2023-11-01 BOOT_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH)
VENDOR_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH)
# Inherit from proprietary files # Inherit from proprietary files
include vendor/xiaomi/sweet/BoardConfigVendor.mk include vendor/xiaomi/sweet/BoardConfigVendor.mk

View File

@ -1,6 +0,0 @@
[
{
"repository": "android_device_xiaomi_sm6150-common",
"target_path": "device/xiaomi/sm6150-common"
}
]

View File

@ -8,20 +8,34 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit from sweet device # Inherit from sweet device.
$(call inherit-product, device/xiaomi/sweet/device.mk) $(call inherit-product, device/xiaomi/sweet/device.mk)
# Inherit some common Lineage stuff. # Inherit some common LineageOS stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk) $(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Device identifier.
PRODUCT_NAME := lineage_sweet PRODUCT_NAME := lineage_sweet
PRODUCT_DEVICE := sweet PRODUCT_DEVICE := sweet
PRODUCT_BRAND := Xiaomi PRODUCT_BRAND := Xiaomi
PRODUCT_MODEL := Redmi Note 10 Pro PRODUCT_MODEL := Redmi Note 10 Pro
PRODUCT_MANUFACTURER := Xiaomi PRODUCT_MANUFACTURER := Xiaomi
# GMS
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
WITH_GMS := true
# Targets
TARGET_SUPPORTS_64_BIT_APPS := true
TARGET_HAS_UDFPS := false
BUILD_BCR := true
# Fingerprint
BUILD_FINGERPRINT := Redmi/sweet_global/sweet:13/TKQ1.221013.002/V14.0.9.0.TKFMIXM:user/release-keys BUILD_FINGERPRINT := Redmi/sweet_global/sweet:13/TKQ1.221013.002/V14.0.9.0.TKFMIXM:user/release-keys
BUILD_DESCRIPTION := sweet_global-user 13 TKQ1.221013.002 V14.0.9.0.TKFMIXM release-keys
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.fingerprint=$(BUILD_FINGERPRINT)
PRODUCT_BUILD_PROP_OVERRIDES += \ PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="sweet_global-user 13 TKQ1.221013.002 V14.0.9.0.TKFMIXM release-keys" PRIVATE_BUILD_DESC="$(BUILD_DESCRIPTION)"

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 The Evolution X Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Android version screen, build maintainer -->
<string name="build_maintainer_summary" translatable="false">Johan Liebert</string>
<string name="build_maintainer_donate_url" translatable="false">https://t.me/honokascape</string>
</resources>