pa: products: Add Xiaomi MI 6X

Change-Id: I3dc3690321fa8f5f5d583281c81faf03f9e809c8
This commit is contained in:
adiatul16 2020-07-08 15:25:11 +00:00 committed by Jake Weinstein
parent e9c2d59e9f
commit 4bb9beaee0
3 changed files with 129 additions and 0 deletions

View File

@ -46,6 +46,7 @@ PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/rosy/pa_rosy.mk \ $(LOCAL_DIR)/rosy/pa_rosy.mk \
$(LOCAL_DIR)/sagit/pa_sagit.mk \ $(LOCAL_DIR)/sagit/pa_sagit.mk \
$(LOCAL_DIR)/sakura/pa_sakura.mk \ $(LOCAL_DIR)/sakura/pa_sakura.mk \
$(LOCAL_DIR)/wayne/pa_wayne.mk \
$(LOCAL_DIR)/whyred/pa_whyred.mk \ $(LOCAL_DIR)/whyred/pa_whyred.mk \
$(LOCAL_DIR)/X00TD/pa_X00TD.mk \ $(LOCAL_DIR)/X00TD/pa_X00TD.mk \
$(LOCAL_DIR)/X01BD/pa_X01BD.mk $(LOCAL_DIR)/X01BD/pa_X01BD.mk
@ -82,6 +83,7 @@ COMMON_LUNCH_CHOICES += \
pa_raphael-userdebug \ pa_raphael-userdebug \
pa_sagit-userdebug \ pa_sagit-userdebug \
pa_sakura-userdebug \ pa_sakura-userdebug \
pa_wayne-userdebug \
pa_whyred-userdebug \ pa_whyred-userdebug \
pa_X00TD-userdebug \ pa_X00TD-userdebug \
pa_X01BD-userdebug pa_X01BD-userdebug

View File

@ -0,0 +1,74 @@
[
{
"remote": "aospa"
"repository": "AOSPA/android_device_xiaomi_sdm660-common",
"target_path": "device/xiaomi/sdm660-common",
"branch": "quartz"
},
{
"remote": "aospa"
"repository": "AOSPA/android_kernel_xiaomi_sdm660",
"target_path": "kernel/xiaomi/sdm660",
"branch": "quartz"
},
{
"remote": "aospa"
"repository": "AOSPA/android_vendor_Miuicamera",
"target_path": "vendor/MiuiCamera",
"branch": "quartz"
},
{
"remote": "aospa"
"repository": "AOSPA/android_device_xiaomi_wayne",
"target_path": "device/xiaomi/wayne",
"branch": "quartz"
},
{
"remote": "blobs"
"repository": "proprietary_vendor_xiaomi",
"target_path": "vendor/xiaomi",
"branch": "quartz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_device_qcom_common",
"target_path": "device/qcom/common",
"branch": "quartz"
},
{
"remote": "blobs",
"repository": "proprietary_vendor_qcom_common",
"target_path": "vendor/qcom/common",
"branch": "quartz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_audio",
"target_path": "vendor/qcom/opensource/audio-hal/primary-hal",
"revision": "quartz-8998"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_display",
"target_path": "hardware/qcom/display",
"revision": "quartz-8998"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "quartz-8998"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_media",
"target_path": "hardware/qcom/media",
"revision": "quartz-8998"
},
{
"remote": "aospa",
"repository": "AOSPA/android_packages_apps_Bluetooth",
"target_path": "packages/apps/Bluetooth",
"revision": "quartz-dev"
}
]

View File

@ -0,0 +1,53 @@
#
# Copyright (C) 2020 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.
#
# This file sets variables that control the way modules are built
# thorughout the system. It should not be used to conditionally
# disable makefiles (the proper mechanism to control what gets
# included in a build is to use PRODUCT_PACKAGES in a product
# definition file).
#
# Check for target product
ifeq (pa_wayne,$(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/aosp_base_telephony.mk)
# Inherit device configuration
$(call inherit-product, device/xiaomi/wayne/device.mk)
# Inherit from our custom product configuration
$(call inherit-product, vendor/pa/config/common_full_phone.mk)
# Define first api level
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk)
TARGET_BOOT_ANIMATION_RES := 1080
# Build Fingerprint
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="wayne-user 9 PKQ1.180904.001 V10.3.4.0.PDCCNXM release-keys"
# Device identifier
PRODUCT_BRAND := Xiaomi
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_NAME := pa_wayne
PRODUCT_DEVICE := wayne
PRODUCT_MODEL := MI 6X
endif