diff --git a/AndroidProducts.mk b/AndroidProducts.mk index de5c9fb..9537871 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -5,9 +5,9 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_miatoll.mk + $(LOCAL_DIR)/aosp_miatoll.mk COMMON_LUNCH_CHOICES := \ - lineage_miatoll-user \ - lineage_miatoll-userdebug \ - lineage_miatoll-eng + aosp_miatoll-user \ + aosp_miatoll-userdebug \ + aosp_miatoll-eng diff --git a/aosp.dependencies b/aosp.dependencies new file mode 100644 index 0000000..ff980b3 --- /dev/null +++ b/aosp.dependencies @@ -0,0 +1,26 @@ +[ + { + "repository": "hardware_xiaomi", + "target_path": "hardware/xiaomi", + "branch": "thirteen", + "remote": "pixel" + }, + { + "repository": "LineageOS/android_kernel_xiaomi_sm6250", + "target_path": "kernel/xiaomi/sm6250", + "branch": "lineage-19.1", + "remote": "github" + }, + { + "repository": "vendor_xiaomi_miatoll", + "target_path": "vendor/xiaomi/miatoll", + "branch": "thirteen", + "remote": "pixel-devices-blobs" + }, + { + "repository": "vendor_xiaomi_miatoll-fw", + "target_path": "vendor/xiaomi/miatoll-fw", + "branch": "thirteen", + "remote": "pixel-devices-blobs" + } +] diff --git a/lineage_miatoll.mk b/aosp_miatoll.mk similarity index 73% rename from lineage_miatoll.mk rename to aosp_miatoll.mk index c2e3440..cce1530 100644 --- a/lineage_miatoll.mk +++ b/aosp_miatoll.mk @@ -8,17 +8,18 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) -# Inherit some common Lineage stuff. -$(call inherit-product, vendor/lineage/config/common_full_phone.mk) +# Inherit some common Pixel Experience stuff. +$(call inherit-product, vendor/aosp/config/common_full_phone.mk) # Inherit from miatoll device $(call inherit-product, device/xiaomi/miatoll/device.mk) -# Boot animation -TARGET_SCREEN_HEIGHT := 2400 -TARGET_SCREEN_WIDTH := 1080 +TARGET_BOOT_ANIMATION_RES := 1080 +TARGET_GAPPS_ARCH := arm64 +TARGET_SUPPORTS_QUICK_TAP := true +TARGET_USES_AOSP_RECOVERY := true -PRODUCT_NAME := lineage_miatoll +PRODUCT_NAME := aosp_miatoll PRODUCT_DEVICE := miatoll PRODUCT_MANUFACTURER := Xiaomi PRODUCT_BRAND := Redmi diff --git a/lineage.dependencies b/lineage.dependencies deleted file mode 100644 index 1ba15db..0000000 --- a/lineage.dependencies +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "repository": "android_hardware_xiaomi", - "target_path": "hardware/xiaomi" - }, - { - "repository": "android_kernel_xiaomi_sm6250", - "target_path": "kernel/xiaomi/sm6250" - } -]