aospa: products: Introduce Asus Zenfone Max Pro M1(X00TD)

Change-Id: I7e572469c92c0a6b87ffef294035424d56cd5ac8
This commit is contained in:
Kunmun 2022-01-17 00:53:46 +05:30
parent 964d9da6c1
commit acbfa70ed4
3 changed files with 94 additions and 0 deletions

View File

@ -17,6 +17,7 @@ PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/mini5g/aospa_mini5g.mk \ $(LOCAL_DIR)/mini5g/aospa_mini5g.mk \
$(LOCAL_DIR)/oneplus9/aospa_oneplus9.mk \ $(LOCAL_DIR)/oneplus9/aospa_oneplus9.mk \
$(LOCAL_DIR)/oneplus9pro/aospa_oneplus9pro.mk \ $(LOCAL_DIR)/oneplus9pro/aospa_oneplus9pro.mk \
$(LOCAL_DIR)/X00TD/aospa_X00TD.mk \
$(LOCAL_DIR)/X01BD/aospa_X01BD.mk $(LOCAL_DIR)/X01BD/aospa_X01BD.mk
# Lunch targets # Lunch targets
@ -24,4 +25,5 @@ COMMON_LUNCH_CHOICES += \
aospa_mini5g-userdebug \ aospa_mini5g-userdebug \
aospa_oneplus9-userdebug \ aospa_oneplus9-userdebug \
aospa_oneplus9pro-userdebug \ aospa_oneplus9pro-userdebug \
aospa_X00TD-userdebug \
aospa_X01BD-userdebug aospa_X01BD-userdebug

View File

@ -0,0 +1,56 @@
[
{
"remote": "github",
"repository": "aospa-sdm660/android_device_asus_X00TD",
"target_path": "device/asus/X00TD",
"revision": "sapphire"
},
{
"remote": "github",
"repository": "aospa-sdm660/android_device_asus_sdm660-common",
"target_path": "device/asus/sdm660-common",
"revision": "sapphire"
},
{
"remote": "github",
"repository": "aospa-sdm660/android_kernel_asus_sdm660",
"target_path": "kernel/msm-4.19",
"revision": "sapphire"
},
{
"remote": "github",
"repository": "aospa-sdm660/proprietary_vendor_asus",
"target_path": "vendor/asus",
"revision": "sapphire"
},
{
"remote": "github",
"repository": "aospa-sdm660/android_device_qcom_sepolicy",
"target_path": "device/qcom/sepolicy-legacy",
"revision": "sapphire-legacy"
},
{
"remote": "github",
"repository": "aospa-sdm660/android_hardware_qcom_media",
"target_path": "hardware/qcom/media",
"revision": "sapphire-660-4.19"
},
{
"remote": "github",
"repository": "aospa-sdm660/android_hardware_qcom_display",
"target_path": "hardware/qcom/display",
"revision": "sapphire-660-4.19"
},
{
"remote": "github",
"repository": "aospa-sdm660/android_hardware_qcom_audio",
"target_path": "vendor/qcom/opensource/audio-hal/primary-hal",
"revision": "sapphire-660-4.19"
},
{
"remote": "github",
"repository": "aospa-sdm660/android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "sapphire-smxx50"
}
]

View File

@ -0,0 +1,36 @@
#
# Copyright (C) 2021 Paranoid Android
#
# SPDX-License-Identifier: Apache-2.0
#
ifeq (aospa_X00TD,$(TARGET_PRODUCT))
# Inherit from those products. Most specific first.
$(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/product_launched_with_o_mr1.mk)
# Inherit from the AOSPA configuration.
$(call inherit-product, vendor/aospa/target/product/aospa-target.mk)
# Inherit from X00TD device
$(call inherit-product, device/asus/X00TD/device.mk)
# Device identifier. This must come after all inclusions.
PRODUCT_NAME := aospa_X00TD
PRODUCT_DEVICE := X00TD
PRODUCT_BRAND := asus
PRODUCT_MODEL := Zenfone Max Pro M1
PRODUCT_MANUFACTURER := asus
PRODUCT_GMS_CLIENTID_BASE := android-asus
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_DEVICE=ASUS_X00T \
PRODUCT_NAME=WW_X00T
# Boot animation resolution.
TARGET_BOOT_ANIMATION_RES := 1080
endif