mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2026-02-16 02:30:41 +00:00
lemonadep: Initial device tree conversion
Change-Id: I943e61b56a9e42b228dbed3872037ed84f933d48
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018 The LineageOS Project
|
# Copyright (C) 2021 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -27,6 +27,6 @@
|
|||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
ifeq ($(TARGET_DEVICE),instantnoodlep)
|
ifeq ($(TARGET_DEVICE),lemonadep)
|
||||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018-2019 The LineageOS Project
|
# Copyright (C) 2021 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -15,9 +15,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PRODUCT_MAKEFILES := \
|
PRODUCT_MAKEFILES := \
|
||||||
$(LOCAL_DIR)/lineage_instantnoodlep.mk
|
$(LOCAL_DIR)/lineage_lemonadep.mk
|
||||||
|
|
||||||
COMMON_LUNCH_CHOICES := \
|
COMMON_LUNCH_CHOICES := \
|
||||||
lineage_instantnoodlep-user \
|
lineage_lemonadep-user \
|
||||||
lineage_instantnoodlep-userdebug \
|
lineage_lemonadep-userdebug \
|
||||||
lineage_instantnoodlep-eng
|
lineage_lemonadep-eng
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018 The LineageOS Project
|
# Copyright (C) 2021 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -14,18 +14,18 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Inherit from oneplus sm8250-common
|
# Inherit from oneplus sm8350-common
|
||||||
-include device/oneplus/sm8250-common/BoardConfigCommon.mk
|
-include device/oneplus/sm8350-common/BoardConfigCommon.mk
|
||||||
|
|
||||||
DEVICE_PATH := device/oneplus/instantnoodlep
|
DEVICE_PATH := device/oneplus/lemonadep
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include
|
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include
|
||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
SOONG_CONFIG_ONEPLUS_KONA_FOD_POS_X = 604
|
SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_POS_X = 604
|
||||||
SOONG_CONFIG_ONEPLUS_KONA_FOD_POS_Y = 2434
|
SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_POS_Y = 2434
|
||||||
SOONG_CONFIG_ONEPLUS_KONA_FOD_SIZE = 232
|
SOONG_CONFIG_ONEPLUS_LAHAINA_FOD_SIZE = 232
|
||||||
|
|
||||||
# HIDL
|
# HIDL
|
||||||
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
|
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
|
||||||
@@ -47,4 +47,4 @@ TARGET_RECOVERY_DENSITY := xxhdpi
|
|||||||
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
|
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
|
||||||
|
|
||||||
# inherit from the proprietary version
|
# inherit from the proprietary version
|
||||||
-include vendor/oneplus/instantnoodlep/BoardConfigVendor.mk
|
-include vendor/oneplus/lemonadep/BoardConfigVendor.mk
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#ifndef _BDROID_BUILDCFG_H
|
#ifndef _BDROID_BUILDCFG_H
|
||||||
#define _BDROID_BUILDCFG_H
|
#define _BDROID_BUILDCFG_H
|
||||||
|
|
||||||
#define BTM_DEF_LOCAL_NAME "OnePlus 8 Pro"
|
#define BTM_DEF_LOCAL_NAME "OnePlus 9 Pro"
|
||||||
// Disables read remote device feature
|
// Disables read remote device feature
|
||||||
#define MAX_ACL_CONNECTIONS 16
|
#define MAX_ACL_CONNECTIONS 16
|
||||||
#define MAX_L2CAP_CHANNELS 16
|
#define MAX_L2CAP_CHANNELS 16
|
||||||
|
|||||||
12
device.mk
12
device.mk
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018 The LineageOS Project
|
# Copyright (C) 2021 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -50,12 +50,12 @@ PRODUCT_COPY_FILES += \
|
|||||||
|
|
||||||
# PowerShare
|
# PowerShare
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vendor.lineage.powershare@1.0-service.oneplus_kona
|
vendor.lineage.powershare@1.0-service.oneplus_lahaina
|
||||||
|
|
||||||
PRODUCT_SHIPPING_API_LEVEL := 29
|
PRODUCT_SHIPPING_API_LEVEL := 30
|
||||||
|
|
||||||
# Inherit from oneplus sm8250-common
|
# Inherit from oneplus sm8350-common
|
||||||
$(call inherit-product, device/oneplus/sm8250-common/common.mk)
|
$(call inherit-product, device/oneplus/sm8350-common/common.mk)
|
||||||
|
|
||||||
# Inherit from vendor blobs
|
# Inherit from vendor blobs
|
||||||
$(call inherit-product, vendor/oneplus/instantnoodlep/instantnoodlep-vendor.mk)
|
$(call inherit-product, vendor/oneplus/lemonadep/lemonadep-vendor.mk)
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ fi
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export DEVICE=instantnoodlep
|
export DEVICE=lemonadep
|
||||||
export DEVICE_COMMON=sm8250-common
|
export DEVICE_COMMON=sm8350-common
|
||||||
export VENDOR=oneplus
|
export VENDOR=oneplus
|
||||||
|
|
||||||
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
|
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"repository": "android_device_oneplus_sm8250-common",
|
"repository": "android_device_oneplus_sm8350-common",
|
||||||
"target_path": "device/oneplus/sm8250-common"
|
"target_path": "device/oneplus/sm8350-common"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2018 The LineageOS Project
|
# Copyright (C) 2021 The LineageOS Project
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -18,23 +18,23 @@
|
|||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
$(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/full_base_telephony.mk)
|
||||||
|
|
||||||
# Inherit from instantnoodlep device
|
# Inherit from lemonadep device
|
||||||
$(call inherit-product, device/oneplus/instantnoodlep/device.mk)
|
$(call inherit-product, device/oneplus/lemonadep/device.mk)
|
||||||
|
|
||||||
# Inherit some common Lineage stuff.
|
# Inherit some common Lineage stuff.
|
||||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_instantnoodlep
|
PRODUCT_NAME := lineage_lemonadep
|
||||||
PRODUCT_DEVICE := instantnoodlep
|
PRODUCT_DEVICE := lemonadep
|
||||||
PRODUCT_MANUFACTURER := OnePlus
|
PRODUCT_MANUFACTURER := OnePlus
|
||||||
PRODUCT_BRAND := OnePlus
|
PRODUCT_BRAND := OnePlus
|
||||||
PRODUCT_MODEL := IN2023
|
PRODUCT_MODEL := LE2123
|
||||||
|
|
||||||
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
||||||
|
|
||||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
PRODUCT_DEVICE=OnePlus8Pro \
|
PRODUCT_DEVICE=OnePlus9Pro \
|
||||||
PRODUCT_NAME=OnePlus8Pro_EEA \
|
PRODUCT_NAME=OnePlus9Pro_EEA \
|
||||||
PRIVATE_BUILD_DESC="OnePlus8Pro-user 11 release-keys"
|
PRIVATE_BUILD_DESC="OnePlus9Pro-user 11 release-keys"
|
||||||
|
|
||||||
BUILD_FINGERPRINT := OnePlus/OnePlus8Pro/OnePlus8Pro:10/QKQ1.191222.002/2005301332:user/release-keys
|
BUILD_FINGERPRINT := OnePlus/OnePlus9Pro_EEA/OnePlus9Pro:11/RKQ1.201105.002/2105011307:user/release-keys
|
||||||
@@ -18,5 +18,5 @@
|
|||||||
-->
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
|
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
|
||||||
<string name="def_device_name_simple">OnePlus 8 Pro</string>
|
<string name="def_device_name_simple">OnePlus 9 Pro</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export DEVICE=instantnoodlep
|
export DEVICE=lemonadep
|
||||||
export DEVICE_COMMON=sm8250-common
|
export DEVICE_COMMON=sm8350-common
|
||||||
export VENDOR=oneplus
|
export VENDOR=oneplus
|
||||||
|
|
||||||
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
|
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user