From 0a586b9babf0e9ddc8bc751e6f3a092db749aff3 Mon Sep 17 00:00:00 2001 From: Ryxeensenpai Date: Thu, 21 Nov 2024 04:53:47 +0000 Subject: [PATCH] Welcome To Infinity X, LG8n! --- AndroidProducts.mk | 2 +- BoardConfig.mk | 1 + configs/properties/phoneinfo.prop | 6 ++++++ lineage_LG8n.mk => infinity_LG8n.mk | 13 +++++++++++-- 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 configs/properties/phoneinfo.prop rename lineage_LG8n.mk => infinity_LG8n.mk (69%) diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 4c81afb..e3bc767 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -5,5 +5,5 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_LG8n.mk + $(LOCAL_DIR)/infinity_LG8n.mk diff --git a/BoardConfig.mk b/BoardConfig.mk index a95d178..4af8907 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -46,6 +46,7 @@ TARGET_OTA_ASSERT_DEVICE := LG8n,TECNO-LG8n,lg8n # Properties TARGET_PRODUCT_PROP += $(DEVICE_PATH)/configs/properties/product.prop +TARGET_SYSTEM_PROP += $(DEVICE_PATH)/configs/properties/phoneinfo.prop # Workaround to make lineage's soong generator work TARGET_KERNEL_SOURCE := $(KERNEL_PATH)/kernel-headers diff --git a/configs/properties/phoneinfo.prop b/configs/properties/phoneinfo.prop new file mode 100644 index 0000000..f5a6c27 --- /dev/null +++ b/configs/properties/phoneinfo.prop @@ -0,0 +1,6 @@ +# AboutPhone Info +ro.infinity.soc=Mediatek Helio G99 +ro.infinity.battery=6000 mAh +ro.infinity.display=1080 x 2400, 90 Hz +ro.infinity.camera=50 MP + 8 MP +ro.product.marketname= Tecno Pova 4 Pro diff --git a/lineage_LG8n.mk b/infinity_LG8n.mk similarity index 69% rename from lineage_LG8n.mk rename to infinity_LG8n.mk index a2e466d..346195e 100644 --- a/lineage_LG8n.mk +++ b/infinity_LG8n.mk @@ -12,10 +12,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) $(call inherit-product, device/tecno/LG8n/device.mk) # Inherit some common LineageOS stuff. -$(call inherit-product, vendor/lineage/config/common_full_phone.mk) +$(call inherit-product, vendor/infinity/config/common_full_phone.mk) BOARD_VENDOR := TECNO -PRODUCT_NAME := lineage_LG8n +PRODUCT_NAME := infinity_LG8n PRODUCT_DEVICE := LG8n PRODUCT_MANUFACTURER := TECNO PRODUCT_BRAND := TECNO @@ -27,3 +27,12 @@ PRODUCT_BUILD_PROP_OVERRIDES += \ PRODUCT_NAME=LG8n-GL BUILD_FINGERPRINT := TECNO/LG8n-GL/TECNO-LG8n:12/SP1A.210812.016/240531V1800:user/release-keys + +# Infinity Stuffs +INFINITY_BUILD_TYPE := UNOFFICIAL +INFINITY_MAINTAINER := RyX33N +TARGET_SUPPORTS_BLUR := true +WITH_GAPPS := true +TARGET_SHIPS_FULL_GAPPS := false +TARGET_BUILD_GOOGLE_TELEPHONY := false +USE_MOTO_CALCULATOR := true