aospa: products: Introduce Poco X2 / Redmi K30.

Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
Change-Id: I9df5c3e29d9761d4eeb918d79fb16f5bb22098b5
This commit is contained in:
Gagan Malvi 2022-10-02 17:12:38 +02:00 committed by Gagan Malvi
parent ae88cf6bca
commit dd554c0bda
3 changed files with 90 additions and 0 deletions

View File

@ -22,6 +22,7 @@ PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/oneplus9/aospa_oneplus9.mk \
$(LOCAL_DIR)/oneplus9pro/aospa_oneplus9pro.mk \
$(LOCAL_DIR)/oriole/aospa_oriole.mk \
$(LOCAL_DIR)/phoenix/aospa_phoenix.mk \
$(LOCAL_DIR)/raven/aospa_raven.mk
# Lunch targets
@ -34,4 +35,5 @@ COMMON_LUNCH_CHOICES += \
aospa_oneplus9-userdebug \
aospa_oneplus9pro-userdebug \
aospa_oriole-userdebug \
aospa_phoenix-userdebug \
aospa_raven-userdebug

View File

@ -0,0 +1,51 @@
[
{
"remote": "aospa",
"repository": "AOSPA/android_device_xiaomi_phoenix",
"target_path": "device/xiaomi/phoenix",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_kernel_xiaomi_phoenix",
"target_path": "kernel/msm-4.14",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_xiaomi",
"target_path": "hardware/xiaomi",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_audio",
"target_path": "vendor/qcom/opensource/audio-hal/primary-hal",
"revision": "topaz-855"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_display",
"target_path": "hardware/qcom/display",
"revision": "topaz-855"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_media",
"target_path": "hardware/qcom/media",
"revision": "topaz-855"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "sapphire-855"
},
{
"remote": "blobs",
"repository": "proprietary_vendor_xiaomi",
"target_path": "vendor/xiaomi",
"revision": "topaz",
"clone-depth": "1"
}
]

View File

@ -0,0 +1,37 @@
# Copyright (C) 2022 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ifeq (aospa_phoenix,$(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)
# Inherit device configurations
$(call inherit-product, device/xiaomi/phoenix/device.mk)
# Inherit from the AOSPA configuration.
$(call inherit-product, vendor/aospa/target/product/aospa-target.mk)
PRODUCT_NAME := aospa_phoenix
PRODUCT_DEVICE := phoenix
PRODUCT_BRAND := Redmi
PRODUCT_MODEL := Redmi K30
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
TARGET_BOOT_ANIMATION_RES := 1080
endif