mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2025-08-17 16:46:11 +00:00
ferrari: Intiail rebrand for realme GT 2 pro
Change-Id: I326aabe3c36b87106e567a028a59f37cf7c54603
This commit is contained in:
parent
3a545e1bd5
commit
00ecfe826a
@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2021 The LineageOS Project
|
# Copyright (C) 2021-2024 The LineageOS Project
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
PRODUCT_MAKEFILES := \
|
PRODUCT_MAKEFILES := \
|
||||||
$(LOCAL_DIR)/lineage_lemonadep.mk
|
$(LOCAL_DIR)/lineage_ferrari.mk
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Include the common OEM chipset BoardConfig.
|
# Include the common OEM chipset BoardConfig.
|
||||||
include device/oneplus/sm8350-common/BoardConfigCommon.mk
|
include device/oneplus/sm8450-common/BoardConfigCommon.mk
|
||||||
|
|
||||||
DEVICE_PATH := device/oneplus/lemonadep
|
DEVICE_PATH := device/realme/ferrari
|
||||||
|
|
||||||
# Display
|
# Display
|
||||||
TARGET_SCREEN_DENSITY := 450
|
TARGET_SCREEN_DENSITY := 450
|
||||||
@ -22,4 +22,4 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
|||||||
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 103
|
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 103
|
||||||
|
|
||||||
# Include the proprietary files BoardConfig.
|
# Include the proprietary files BoardConfig.
|
||||||
include vendor/oneplus/lemonadep/BoardConfigVendor.mk
|
include vendor/realme/ferrari/BoardConfigVendor.mk
|
||||||
|
@ -1 +1 @@
|
|||||||
require board=lahaina|OnePlus9Pro
|
require board=taro|RED8ACL1
|
||||||
|
14
device.mk
14
device.mk
@ -16,16 +16,16 @@ PRODUCT_PACKAGES += \
|
|||||||
# Audio
|
# Audio
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_ODM)/etc/audio_platform_info.xml \
|
$(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_ODM)/etc/audio_platform_info.xml \
|
||||||
$(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_lahaina/audio_platform_info_intcodec.xml \
|
$(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/audio_platform_info_intcodec.xml \
|
||||||
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_ODM)/etc/mixer_paths.xml \
|
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_ODM)/etc/mixer_paths.xml \
|
||||||
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_lahaina/mixer_paths.xml \
|
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/mixer_paths.xml \
|
||||||
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_ODM)/etc/sound_trigger_mixer_paths.xml \
|
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_ODM)/etc/sound_trigger_mixer_paths.xml \
|
||||||
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_lahaina/sound_trigger_mixer_paths.xml \
|
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/sound_trigger_mixer_paths.xml \
|
||||||
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_ODM)/etc/sound_trigger_platform_info.xml \
|
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_ODM)/etc/sound_trigger_platform_info.xml \
|
||||||
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_lahaina/sound_trigger_platform_info.xml
|
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_taro/sound_trigger_platform_info.xml
|
||||||
|
|
||||||
# Boot animation
|
# Boot animation
|
||||||
TARGET_SCREEN_HEIGHT := 2376
|
TARGET_SCREEN_HEIGHT := 2412
|
||||||
TARGET_SCREEN_WIDTH := 1080
|
TARGET_SCREEN_WIDTH := 1080
|
||||||
|
|
||||||
# Camera
|
# Camera
|
||||||
@ -74,7 +74,7 @@ PRODUCT_SOONG_NAMESPACES += \
|
|||||||
$(LOCAL_PATH)
|
$(LOCAL_PATH)
|
||||||
|
|
||||||
# Inherit from the common OEM chipset makefile.
|
# Inherit from the common OEM chipset makefile.
|
||||||
$(call inherit-product, device/oneplus/sm8350-common/common.mk)
|
$(call inherit-product, device/oneplus/sm8450-common/common.mk)
|
||||||
|
|
||||||
# Inherit from the proprietary files makefile.
|
# Inherit from the proprietary files makefile.
|
||||||
$(call inherit-product, vendor/oneplus/lemonadep/lemonadep-vendor.mk)
|
$(call inherit-product, vendor/realme/ferrari/ferrari-vendor.mk)
|
||||||
|
@ -26,7 +26,7 @@ from extract_utils.utils import (
|
|||||||
|
|
||||||
namespace_imports = [
|
namespace_imports = [
|
||||||
'hardware/oplus',
|
'hardware/oplus',
|
||||||
'vendor/oneplus/sm8350-common',
|
'vendor/oneplus/sm8450-common',
|
||||||
'vendor/qcom/opensource/display',
|
'vendor/qcom/opensource/display',
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -103,8 +103,8 @@ blob_fixups: blob_fixups_user_type = {
|
|||||||
} # fmt: skip
|
} # fmt: skip
|
||||||
|
|
||||||
module = ExtractUtilsModule(
|
module = ExtractUtilsModule(
|
||||||
'lemonadep',
|
'ferrari',
|
||||||
'oneplus',
|
'realme',
|
||||||
namespace_imports=namespace_imports,
|
namespace_imports=namespace_imports,
|
||||||
blob_fixups=blob_fixups,
|
blob_fixups=blob_fixups,
|
||||||
lib_fixups=lib_fixups,
|
lib_fixups=lib_fixups,
|
||||||
@ -113,6 +113,6 @@ module = ExtractUtilsModule(
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
utils = ExtractUtils.device_with_common(
|
utils = ExtractUtils.device_with_common(
|
||||||
module, 'sm8350-common', module.vendor
|
module, '../oneplus/sm8450-common', module.vendor
|
||||||
)
|
)
|
||||||
utils.run()
|
utils.run()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"repository": "android_device_oneplus_sm8350-common",
|
"repository": "android_device_oneplus_sm8450-common",
|
||||||
"target_path": "device/oneplus/sm8350-common"
|
"target_path": "device/oneplus/sm8450-common"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
32
lineage_ferrari.mk
Normal file
32
lineage_ferrari.mk
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2021-2024 The LineageOS Project
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
# Inherit from those products. Most specific first.
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
|
TARGET_SUPPORTS_OMX_SERVICE := false
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||||
|
|
||||||
|
# Inherit from ferrari device
|
||||||
|
$(call inherit-product, device/realme/ferrari/device.mk)
|
||||||
|
|
||||||
|
# Inherit some common Lineage stuff.
|
||||||
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||||
|
|
||||||
|
PRODUCT_NAME := lineage_ferrari
|
||||||
|
PRODUCT_DEVICE := ferrari
|
||||||
|
PRODUCT_MANUFACTURER := realme
|
||||||
|
PRODUCT_BRAND := realme
|
||||||
|
PRODUCT_MODEL := RMX3301
|
||||||
|
|
||||||
|
PRODUCT_GMS_CLIENTID_BASE := android-oppo
|
||||||
|
|
||||||
|
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||||
|
BuildDesc="RMX3301-user 14 UP1A.230620.001 S.14b9d95_34b46-2684b release-keys" \
|
||||||
|
BuildFingerprint=realme/RMX3301/RED8ACL1:14/UP1A.230620.001/S.14b9d95_34b46-2684b:user/release-keys \
|
||||||
|
DeviceName=RED8ACL1 \
|
||||||
|
DeviceProduct=RMX3301 \
|
||||||
|
SystemDevice=RED8ACL1 \
|
||||||
|
SystemName=RMX3301
|
@ -1,32 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2021-2024 The LineageOS Project
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
#
|
|
||||||
|
|
||||||
# Inherit from those products. Most specific first.
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
||||||
TARGET_SUPPORTS_OMX_SERVICE := false
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
|
||||||
|
|
||||||
# Inherit from lemonadep device
|
|
||||||
$(call inherit-product, device/oneplus/lemonadep/device.mk)
|
|
||||||
|
|
||||||
# Inherit some common Lineage stuff.
|
|
||||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_lemonadep
|
|
||||||
PRODUCT_DEVICE := lemonadep
|
|
||||||
PRODUCT_MANUFACTURER := OnePlus
|
|
||||||
PRODUCT_BRAND := OnePlus
|
|
||||||
PRODUCT_MODEL := LE2125
|
|
||||||
|
|
||||||
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
|
||||||
|
|
||||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
|
||||||
BuildDesc="OnePlus9Pro-user 14 UKQ1.230924.001 R.1d5a0be-1-4ffee release-keys" \
|
|
||||||
BuildFingerprint=OnePlus/OnePlus9Pro/OnePlus9Pro:14/UKQ1.230924.001/R.1d5a0be-1-4ffee:user/release-keys \
|
|
||||||
DeviceName=OnePlus9Pro \
|
|
||||||
DeviceProduct=OnePlus9Pro \
|
|
||||||
SystemDevice=OnePlus9Pro \
|
|
||||||
SystemName=OnePlus9Pro
|
|
@ -6,6 +6,6 @@
|
|||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
|
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
|
||||||
<string name="def_device_name_simple" translatable="false">OnePlus 9 Pro</string>
|
<string name="def_device_name_simple" translatable="false">realme GT 2 Pro</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
# Bluetooth
|
# Bluetooth
|
||||||
bluetooth.device.default_name=OnePlus 9 Pro
|
bluetooth.device.default_name=realme GT 2 Pro
|
||||||
|
|
||||||
# Graphics
|
# Graphics
|
||||||
ro.surface_flinger.set_idle_timer_ms=250
|
ro.surface_flinger.set_idle_timer_ms=250
|
||||||
ro.surface_flinger.set_touch_timer_ms=300
|
ro.surface_flinger.set_touch_timer_ms=300
|
||||||
|
|
||||||
# USB
|
# USB
|
||||||
vendor.usb.product_string=OnePlus 9 Pro
|
vendor.usb.product_string=realme GT 2 Pro
|
||||||
|
Loading…
x
Reference in New Issue
Block a user