RMX2061: Convert to RMX2061 target

Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
This commit is contained in:
SagarMakhar
2021-08-23 20:26:13 +00:00
parent e09bf13287
commit b211d0cdc2
8 changed files with 27 additions and 29 deletions

View File

@@ -15,6 +15,6 @@
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),RMX2170)
ifeq ($(TARGET_DEVICE),RMX2061)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif

View File

@@ -5,4 +5,4 @@
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_RMX2170.mk
$(LOCAL_DIR)/aosp_RMX2061.mk

View File

@@ -8,12 +8,12 @@
include device/realme/sm7125-common/BoardConfigCommon.mk
# Inherit proprietary blobs
include vendor/realme/RMX2170/BoardConfigVendor.mk
include vendor/realme/RMX2061/BoardConfigVendor.mk
DEVICE_PATH := device/realme/RMX2170
DEVICE_PATH := device/realme/RMX2061
# OTA assert
#TARGET_OTA_ASSERT_DEVICE := RMX2170
#TARGET_OTA_ASSERT_DEVICE := RMX2061
# Build
TARGET_FORCE_BUILD_FINGERPRINT := google/redfin/redfin:11/RQ3A.210805.001.A1/7474174:user/release-keys

View File

@@ -1,25 +1,26 @@
The Realme 7 Pro (codenamed _"RMX2170"_) is a mid-range smartphone from OPPO's sub-brand Realme launched in Sept. 2020.
The Realme 6 Pro (codenamed _"RMX2061"_) is a mid-range smartphone from OPPO's sub-brand Realme launched in March 2020.
## Device specifications
| Device | Realme 7 Pro |
| Device | Realme 6 Pro |
| ----------------------- | :---------------------------------------------------------- |
| SoC | Qualcomm SM7125 Snapdragon 720G |
| CPU | Qualcomm® Kryo™ 465, 2x Gold @ 2.3GHz & 6x Silver @ 1.8GHz |
| GPU | Adreno 618 |
| Memory | 6/8 GB RAM (LPDDR4X) |
| Shipped Android version | 10 with RealmeUI 1.0 |
| Storage | 128GB eMMC 5.1 flash storage |
| Storage | 64/128GB eMMC 5.1 flash storage |
| MicroSD | Up to 512 GB |
| Battery | Non-removable Li-Ion 4500 mAh |
| Dimensions | 160.90 x 74.30 x 8.70 mm |
| Display | 2400 x 1080 (20:9), 6.40 inch |
| Rear camera 1 | 64 MP, f/1.8, standard, 1/1.72", 1.12µm, PDAF |
| Battery | Non-removable Li-Ion 4300 mAh |
| Dimensions | 163.80 x 75.80 x 8.90 mm |
| Display | 2400 x 1080 (20:9), 6.60 inch |
| Rear camera 1 | 64 MP, f/1.8, standard, 1/1.7", 1.12µm, PDAF |
| Rear camera 2 | 8 MP, f/2.3, wideangle, 1/4", 1.12µm |
| Rear camera 4 | 2 MP, f/2.4, portrait, 1.75µm |
| Front camera | 32 MP, f/2.5, macro, 1/4", 1.00µm |
| Rear camera 3 | 12 MP, f/2.5, telephoto, 1.75µm |
| Rear camera 4 | 2 MP, f/2.4, macro, 1.75µm |
| Front camera 1 | 16 MP, f/2.0, standard |
| Front camera 2 | 8 MP, f/2.2, wideangle |
## Device picture
![Realme 7 Pro](https://st1.bgr.in/wp-content/uploads/2020/09/realme-7-pro.jpg)
![Realme 6 Pro](https://fdn2.gsmarena.com/vv/bigpic/realme-6-pro.jpg)

View File

@@ -4,25 +4,22 @@
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from RMX2170 device
$(call inherit-product, device/realme/RMX2170/device.mk)
# Inherit from RMX2061 device
$(call inherit-product, device/realme/RMX2061/device.mk)
# Bootanimation Resolution
TARGET_BOOT_ANIMATION_RES := 1080
WITH_CORE_GAPPS := true
EXTRA_FOD_ANIMATIONS := true
EXTENDED_BUILD_TYPE := OFFICIAL
# Inherit some common AospExtended stuff
$(call inherit-product, vendor/aosp/common.mk)
# Device identifier
PRODUCT_NAME := aosp_RMX2170
PRODUCT_DEVICE := RMX2170
PRODUCT_NAME := aosp_RMX2061
PRODUCT_DEVICE := RMX2061
PRODUCT_BRAND := Realme
PRODUCT_MODEL := Realme 7 Pro
PRODUCT_MODEL := Realme 6 Pro
PRODUCT_MANUFACTURER := Realme
PRODUCT_GMS_CLIENTID_BASE := android-realme
@@ -33,5 +30,5 @@ PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_FINGERPRINT := "google/redfin/redfin:11/RQ3A.210805.001.A1/7474174:user/release-keys"
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME="RMX2170" \
TARGET_DEVICE="RMX2170"
PRODUCT_NAME="RMX2061" \
TARGET_DEVICE="RMX2061"

View File

@@ -8,7 +8,7 @@
$(call inherit-product, device/realme/sm7125-common/common.mk)
# Inherit proprietary targets
$(call inherit-product-if-exists, vendor/realme/RMX2170/RMX2170-vendor.mk)
$(call inherit-product-if-exists, vendor/realme/RMX2061/RMX2061-vendor.mk)
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \

View File

@@ -14,7 +14,7 @@ fi
set -e
# Required!
export DEVICE=RMX2170
export DEVICE=RMX2061
export DEVICE_COMMON=sm7125-common
export VENDOR=realme

View File

@@ -8,7 +8,7 @@
set -e
# Required!
export DEVICE=RMX2170
export DEVICE=RMX2061
export DEVICE_COMMON=sm7125-common
export VENDOR=realme