miatoll: Adapt for Pixel Experience

Change-Id: I24dd4fffe16d51b92e5fb12ce0b355f4606145c8
This commit is contained in:
Alexander Winkowski 2022-11-15 17:57:36 +00:00
parent bf51cfaa27
commit 29a0ddd61d
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
4 changed files with 37 additions and 20 deletions

View File

@ -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

26
aosp.dependencies Normal file
View File

@ -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"
}
]

View File

@ -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

View File

@ -1,10 +0,0 @@
[
{
"repository": "android_hardware_xiaomi",
"target_path": "hardware/xiaomi"
},
{
"repository": "android_kernel_xiaomi_sm6250",
"target_path": "kernel/xiaomi/sm6250"
}
]