eqs: initial rebrand

This commit is contained in:
SGCMarkus 2023-07-25 19:07:41 +02:00
parent c92ac5f61f
commit ee61490715
35 changed files with 94 additions and 62 deletions

View file

@ -7,6 +7,6 @@
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),hiphi)
ifeq ($(TARGET_DEVICE),eqs)
include $(call all-subdir-makefiles,$(LOCAL_PATH))
endif

View file

@ -6,9 +6,9 @@
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/twrp_hiphi.mk
$(LOCAL_DIR)/twrp_eqs.mk
COMMON_LUNCH_CHOICES := \
twrp_hiphi-user \
twrp_hiphi-userdebug \
twrp_hiphi-eng
twrp_eqs-user \
twrp_eqs-userdebug \
twrp_eqs-eng

View file

@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/motorola/hiphi
DEVICE_PATH := device/motorola/eqs
# For building with minimal manifest
ALLOW_MISSING_DEPENDENCIES := true
@ -50,8 +50,8 @@ TARGET_USES_REMOTEPROC := true
TARGET_SCREEN_DENSITY := 400
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):libinit_hiphi
TARGET_RECOVERY_DEVICE_MODULES := libinit_hiphi
#TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):libinit_eqs
#TARGET_RECOVERY_DEVICE_MODULES := libinit_eqs
# Kernel
TARGET_PREBUILT_KERNEL := $(DEVICE_PATH)/prebuilt/kernel
@ -137,7 +137,7 @@ TW_INCLUDE_NTFS_3G := true
TW_BACKUP_EXCLUSIONS := /data/fonts
TW_NO_SCREEN_BLANK := true
TW_BRIGHTNESS_PATH := "/sys/class/backlight/panel0-backlight/brightness"
TW_MAX_BRIGHTNESS := 2047
TW_MAX_BRIGHTNESS := 3515
TW_DEFAULT_BRIGHTNESS := 1024
TW_FRAMERATE := 60
TW_HAS_EDL_MODE := true

View file

@ -1,24 +1,24 @@
Device configuration for Motorola Edge 30 Pro / Edge Plus (2022) / Edge Plus 5G UW / Edge X30 (hiphi/hiphic/hiphid)
Device configuration for Edge 30 Ultra / Edge X30 Pro (codenamed "eqs")
=========================================
The Motorola Edge 30 Pro / Edge Plus (2022) / Edge Plus 5G UW / Edge X30 (codenamed _"hiphi/hiphic/hiphid"_) is a flagship smartphone from Motorola mobility announced in December 2021.
The Motorola Edge 30 Ultra / Edge X30 Pro (codenamed _"eqs"_) is a flagship smartphone from Motorola mobility announced in December 2021.
## Device specifications
Basic | Spec Sheet
-------:|:-------------------------
SoC | Qualcomm SM8450 Snapdragon 8 Gen 1 (4 nm)
CPU | Octa-core (1x3.0 GHz Kryo 780 & 3x2.5 GHz Kryo 780 & 4x1.8GHz Kryo 780)
SoC | Qualcomm SM8475 Snapdragon 8+ Gen 1 (4 nm)
CPU | Octa-core (1x3.19 GHz Cortex-X2 & 3x2.75 GHz Cortex-A710 & 4x1.8GHz Cortex-A510)
GPU | Adreno 730
Memory | 8/12 GB RAM (LPDDR5)
Shipped Android Version | 12.0, My UX 3.0 (Global) / MY UI 3.0 (China)
Storage | 128/256/512 GB (UFS 3.1)
Battery | Non-removable Li-Po 4800 mAh (Global) / 5000 mAh (China) battery
Display | 2400 x 1080 pixels, 6.18 inches (~403 ppi density)
Camera | 50MP (Main) + 50MP (Ultra-wide) + 2MP (Depth) + 60MP (Selfie)
Battery | Non-removable Li-Po 4610 mAh battery
Display | 2400 x 1080 pixels, 6.67 inches (~403 ppi density)
Camera | 200MP (Main) + 50MP (Ultra-wide) + 12MP (Telephoto) + 60MP (Selfie)
## Device picture
![Motorola Edge 30 Pro / Edge Plus (2022) / Edge Plus 5G UW / Edge X30](https://i.imgur.com/B0cNJ79.png)
![Motorola Edge 30 Ultra / Edge X30 Pro](https://fdn2.gsmarena.com/vv/pics/motorola/motorola-edge-30-ultra-3.jpg)
# Status
Current state of features:
@ -47,7 +47,7 @@ Current state of features:
```bash
export ALLOW_MISSING_DEPENDENCIES=true
source build/envsetup.sh
lunch twrp_hiphi-eng
lunch twrp_eqs-eng
mka recoveryimage -j$(nproc --all)
```

View file

@ -15,14 +15,14 @@
//
cc_library {
name: "bootctrl.moto_sm8450",
name: "bootctrl.moto_sm8475",
defaults: ["bootctrl_hal_defaults"],
static_libs: ["libgptutils.moto_sm8450"],
static_libs: ["libgptutils.moto_sm8475"],
}
cc_library_shared {
name: "android.hardware.boot@1.2-impl-qti",
stem: "android.hardware.boot@1.0-impl-1.2-qti",
defaults: ["android.hardware.boot@1.2-impl-qti_defaults"],
static_libs: ["libgptutils.moto_sm8450"],
static_libs: ["libgptutils.moto_sm8475"],
}

View file

@ -15,7 +15,7 @@
//
cc_library {
name: "libgptutils.moto_sm8450",
name: "libgptutils.moto_sm8475",
vendor: true,
recovery_available: true,
shared_libs: [

View file

@ -5,9 +5,9 @@
//
cc_library_static {
name: "libinit_hiphi",
name: "libinit_eqs",
recovery_available: true,
srcs: ["init_hiphi.cpp"],
srcs: ["init_eqs.cpp"],
whole_static_libs: ["libbase"],
include_dirs: [
"system/core/init",

View file

@ -79,18 +79,6 @@ void load_device_properties(const std::string& description, const std::string& f
void vendor_load_properties() {
const std::string sku = GetProperty("ro.boot.hardware.sku", "");
if (sku == "XT2201-1") {
load_device_properties("hiphi-user 12 S3SHS32.12-42-11-5 bf0951", "motorola/hiphi/hiphi:12/S3SHS32.12-42-11-5/bf0951:user/release-keys", "hiphi", "Motorola Edge 30 Pro");
}
if (sku == "XT2201-3") {
load_device_properties("hiphi-user 12 S3SHS32.12-42-11-5 bf0951", "motorola/hiphi/hiphi:12/S3SHS32.12-42-11-5/bf0951:user/release-keys", "hiphi", "Motorola Edge Plus (2022)");
}
if (sku == "XT2201-4") {
load_device_properties("hiphi-user 12 S3SHS32.12-42-11-5 bf0951", "motorola/hiphi/hiphi:12/S3SHS32.12-42-11-5/bf0951:user/release-keys", "hiphi", "Motorola Edge Plus 5G UW");
}
if (sku == "XT2201-2") {
load_device_properties("hiphic-user 12 S3SC32.7-42-20 02af5", "motorola/hiphic/hiphic:12/S3SC32.7-42-20/02af5:user/release-keys", "hiphic", "Motorola Edge X30");
}
if (sku == "XT2201-6") {
load_device_properties("hiphid-user 12 S3SF32.35-5-9 37351", "motorola/hiphid/hiphid:12/S3SF32.35-5-9/37351:user/release-keys", "hiphid", "Motorola Edge X30");
load_device_properties("eqs-user 12 S3SHS32.12-42-11-5 bf0951", "motorola/eqs/eqs:12/S3SHS32.12-42-11-5/bf0951:user/release-keys", "eqs", "Motorola Edge 30 Pro");
}
}

View file

View file

View file

0
recovery/root/system/bin/qseecomd Normal file → Executable file
View file

View file

View file

View file

@ -1,9 +1,8 @@
<!--
Input:
manifest_taro.xml
manifest.xml
manifest_cape.xml
manifest_mot8450.xml
manifest_hiphi.xml
manifest_bronco.xml
paramupdater_manifest.xml
manifest.xml
-->
@ -104,6 +103,11 @@
<transport>hwbinder</transport>
<fqname>@4.1::IKeymasterDevice/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.keymaster</name>
<transport>hwbinder</transport>
<fqname>@4.0::IKeymasterDevice/strongbox</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
@ -206,25 +210,15 @@
</interface>
<fqname>@1.1::IDisplayPanel/default</fqname>
</hal>
<hal format="hidl" override="true">
<name>com.motorola.hardware.display.stylus</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IMotStylus</name>
<instance>default</instance>
</interface>
<fqname>@1.1::IMotStylus/default</fqname>
</hal>
<hal format="hidl" override="true">
<name>com.motorola.hardware.display.touch</name>
<transport>hwbinder</transport>
<version>1.1</version>
<version>1.2</version>
<interface>
<name>IMotTouch</name>
<instance>default</instance>
</interface>
<fqname>@1.1::IMotTouch/default</fqname>
<fqname>@1.2::IMotTouch/default</fqname>
</hal>
<hal format="hidl">
<name>com.qualcomm.qti.dpm.api</name>
@ -323,12 +317,32 @@
<hal format="hidl">
<name>motorola.hardware.wireless.powershare</name>
<transport>hwbinder</transport>
<version>2.0</version>
<version>1.0</version>
<interface>
<name>IMotPowerShare</name>
<instance>default</instance>
</interface>
<fqname>@2.0::IMotPowerShare/default</fqname>
<fqname>@1.0::IMotPowerShare/default</fqname>
</hal>
<hal format="hidl">
<name>motorola.hardware.wireless.wlc</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IMotWlc</name>
<instance>default</instance>
</interface>
<fqname>@2.0::IMotWlc/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.egistec.hardware.fingerprint</name>
<transport>hwbinder</transport>
<version>4.0</version>
<interface>
<name>IBiometricsFingerprintRbs</name>
<instance>default</instance>
</interface>
<fqname>@4.0::IBiometricsFingerprintRbs/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.nxp.hardware.nfc</name>
@ -764,13 +778,13 @@
<name>vendor.qti.ims.factory</name>
<transport>hwbinder</transport>
<version>1.1</version>
<version>2.1</version>
<version>2.2</version>
<interface>
<name>IImsFactory</name>
<instance>default</instance>
</interface>
<fqname>@1.1::IImsFactory/default</fqname>
<fqname>@2.1::IImsFactory/default</fqname>
<fqname>@2.2::IImsFactory/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.imsrtpservice</name>
@ -806,6 +820,36 @@
</interface>
<fqname>@1.0::IQspmhal/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.spu</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>ISPUManager</name>
<instance>default</instance>
</interface>
<fqname>@1.1::ISPUManager/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.spu</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>ISPUManager</name>
<instance>default</instance>
</interface>
<fqname>@2.0::ISPUManager/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.zui.hardware.ifaa</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IIFAADevice</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IIFAADevice/default</fqname>
</hal>
<sepolicy>
<version>31.0</version>
</sepolicy>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -16,11 +16,11 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
# Inherit some common TWRP stuff.
$(call inherit-product, vendor/twrp/config/common.mk)
# Inherit from hiphi device
$(call inherit-product, device/motorola/hiphi/device.mk)
# Inherit from eqs device
$(call inherit-product, device/motorola/eqs/device.mk)
PRODUCT_DEVICE := hiphi
PRODUCT_NAME := twrp_hiphi
PRODUCT_DEVICE := eqs
PRODUCT_NAME := twrp_eqs
PRODUCT_BRAND := motorola
PRODUCT_MODEL := motorola edge 30 pro
PRODUCT_MANUFACTURER := motorola
@ -28,6 +28,6 @@ PRODUCT_MANUFACTURER := motorola
PRODUCT_GMS_CLIENTID_BASE := android-motorola
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="hiphi-user 12 S3SHS32.12-42-11-5 bf0951 release-keys"
PRIVATE_BUILD_DESC="eqs-user 12 S3SHS32.12-42-11-5 bf0951 release-keys"
BUILD_FINGERPRINT := motorola/hiphi/hiphi:12/S3SHS32.12-42-11-5/bf0951:user/release-keys
BUILD_FINGERPRINT := motorola/eqs/eqs:12/S3SHS32.12-42-11-5/bf0951:user/release-keys