products: Introduce realme GT Neo2 5G (bitra)

Change-Id: I654c9d6da92f51242e31addcccf44d4701b2359c
This commit is contained in:
Mashopy 2022-12-25 02:18:07 +01:00
parent 1898e890b2
commit 2a850ea788
3 changed files with 119 additions and 1 deletions

View File

@ -17,6 +17,7 @@ PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/alioth/aospa_alioth.mk \
$(LOCAL_DIR)/apollo/aospa_apollo.mk \
$(LOCAL_DIR)/beryllium/aospa_beryllium.mk \
$(LOCAL_DIR)/bitra/aospa_bitra.mk \
$(LOCAL_DIR)/bluejay/aospa_bluejay.mk \
$(LOCAL_DIR)/cheetah/aospa_cheetah.mk \
$(LOCAL_DIR)/lmi/aospa_lmi.mk \
@ -35,6 +36,7 @@ COMMON_LUNCH_CHOICES += \
aospa_alioth-userdebug \
aospa_apollo-userdebug \
aospa_beryllium-userdebug \
aospa_bitra-userdebug \
aospa_bluejay-userdebug \
aospa_cheetah-userdebug \
aospa_lmi-userdebug \
@ -46,4 +48,4 @@ COMMON_LUNCH_CHOICES += \
aospa_panther-userdebug \
aospa_phoenix-userdebug \
aospa_raven-userdebug \
aospa_spes-userdebug
aospa_spes-userdebug

View File

@ -0,0 +1,74 @@
[
{
"remote": "aospa",
"repository": "AOSPA/android_device_realme_bitra",
"target_path": "device/realme/bitra",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_device_realme_sm8250-common",
"target_path": "device/realme/sm8250-common",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_oplus",
"target_path": "hardware/oplus",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_audio",
"target_path": "vendor/qcom/opensource/audio-hal/primary-hal",
"revision": "topaz-865"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_display",
"target_path": "hardware/qcom/display",
"revision": "topaz-865"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "topaz-865"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_media",
"target_path": "hardware/qcom/media",
"revision": "topaz-865"
},
{
"remote": "aospa",
"repository": "AOSPA/android_kernel_realme_sm8250",
"target_path": "kernel/msm-4.19",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_packages_resources_devicesettings",
"target_path": "packages/resources/devicesettings",
"revision": "topaz"
},
{
"remote": "clo_system",
"repository": "platform/hardware/nxp/nfc",
"target_path": "hardware/nxp/nfc",
"revision": "refs/tags/LA.QSSI.13.0.r1-08200-qssi.0"
},
{
"remote": "clo_system",
"repository": "platform/hardware/nxp/secure_element",
"target_path": "hardware/nxp/secure_element",
"revision": "refs/tags/LA.QSSI.13.0.r1-08200-qssi.0"
},
{
"remote": "blobs",
"repository": "proprietary_vendor_realme",
"target_path": "vendor/realme",
"revision": "topaz"
}
]

View File

@ -0,0 +1,42 @@
# 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_bitra,$(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 from the custom device configuration.
$(call inherit-product, device/realme/bitra/device.mk)
# Inherit from the AOSPA configuration.
$(call inherit-product, vendor/aospa/target/product/aospa-target.mk)
PRODUCT_BRAND := realme
PRODUCT_DEVICE := bitra
PRODUCT_MANUFACTURER := realme
PRODUCT_MODEL := RMX3370
PRODUCT_NAME := aospa_bitra
PRODUCT_SYSTEM_NAME := RMX3370
PRODUCT_SYSTEM_DEVICE := RE879AL1
PRODUCT_GMS_CLIENTID_BASE := android-oppo
PRODUCT_BUILD_PROP_OVERRIDES += \
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
endif