From c8e0bccace26453e43e5763c952204c38c4f2bba Mon Sep 17 00:00:00 2001 From: JeyKul <77121325+JeyKul@users.noreply.github.com> Date: Fri, 20 Jan 2023 08:41:41 +0100 Subject: [PATCH 1/2] Fix issue with some roms not loading bootanimation On some roms, if you specify Target screen res and animation res too high, you get the problem, that the rom crashes on booting for some weird reason. Simple fix: remove Target res and make target animation res 1080. --- aosp_star2lte.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aosp_star2lte.mk b/aosp_star2lte.mk index bc209a5..0d3efa3 100644 --- a/aosp_star2lte.mk +++ b/aosp_star2lte.mk @@ -25,9 +25,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o.mk) $(call inherit-product, device/samsung/star2lte/device.mk) # Boot Animation -TARGET_SCREEN_HEIGHT := 2960 -TARGET_SCREEN_WIDTH := 1440 -TARGET_BOOT_ANIMATION_RES := 1440 +#TARGET_SCREEN_HEIGHT := 2960 +#TARGET_SCREEN_WIDTH := 1440 +TARGET_BOOT_ANIMATION_RES := 1080 ## Inherit some common AOSP stuff $(call inherit-product, vendor/aosp/config/common_full_phone.mk) From e4209c8157b1e738c9b4db7d53e81c8a9dcf3f33 Mon Sep 17 00:00:00 2001 From: JeyKul <77121325+JeyKul@users.noreply.github.com> Date: Thu, 2 Mar 2023 16:51:37 +0100 Subject: [PATCH 2/2] aosp --> lineage --- AndroidProducts.mk | 8 ++++---- aosp.dependencies => lineage.dependencies | 0 aosp_star2lte.mk => lineage_star2lte.mk | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename aosp.dependencies => lineage.dependencies (100%) rename aosp_star2lte.mk => lineage_star2lte.mk (93%) diff --git a/AndroidProducts.mk b/AndroidProducts.mk index df37f12..a3bd307 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -15,9 +15,9 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/aosp_star2lte.mk + $(LOCAL_DIR)/lineage_star2lte.mk COMMON_LUNCH_CHOICES := \ - aosp_star2lte-eng \ - aosp_star2lte-user \ - aosp_star2lte-userdebug + lineage_star2lte-eng \ + lineage_star2lte-user \ + lineage_star2lte-userdebug diff --git a/aosp.dependencies b/lineage.dependencies similarity index 100% rename from aosp.dependencies rename to lineage.dependencies diff --git a/aosp_star2lte.mk b/lineage_star2lte.mk similarity index 93% rename from aosp_star2lte.mk rename to lineage_star2lte.mk index 0d3efa3..b961191 100644 --- a/aosp_star2lte.mk +++ b/lineage_star2lte.mk @@ -30,10 +30,10 @@ $(call inherit-product, device/samsung/star2lte/device.mk) TARGET_BOOT_ANIMATION_RES := 1080 ## Inherit some common AOSP stuff -$(call inherit-product, vendor/aosp/config/common_full_phone.mk) +$(call inherit-product, vendor/lineage/config/common_full_phone.mk) ## Device identifier, this must come after all inclusions -PRODUCT_NAME := aosp_star2lte +PRODUCT_NAME := lineage_star2lte PRODUCT_DEVICE := star2lte PRODUCT_BRAND := samsung PRODUCT_MODEL := SM-G965F