aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2024-06-28 16:22:28 +0300
committerMichael Bestas <mkbestas@lineageos.org>2025-05-05 03:54:29 +0300
commit8fafb1b076a02a6ef59a27db0902037e8ac4ddea (patch)
tree069406ec27a8d9358ef9a90c2b77d016c57a0e42
parent915abacb0ac15ca778c7f608d5b9a835962d1dda (diff)
dubai: Rebrand to miami
Change-Id: Ie4b9250a351cf20009372e9b9bb4cc9f90891efe
-rw-r--r--AndroidProducts.mk2
-rw-r--r--BoardConfig.mk16
-rw-r--r--README.md4
-rw-r--r--device.mk24
-rwxr-xr-xextract-files.py6
-rw-r--r--fingerprint/Android.bp8
-rw-r--r--fingerprint/BiometricsFingerprint.cpp2
-rw-r--r--fingerprint/android.hardware.biometrics.fingerprint@2.3-service.miami.rc (renamed from fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.rc)2
-rw-r--r--fingerprint/android.hardware.biometrics.fingerprint@2.3-service.miami.xml (renamed from fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.xml)0
-rw-r--r--fingerprint/service.cpp2
-rw-r--r--lineage.dependencies4
-rw-r--r--lineage_miami.mk (renamed from lineage_dubai.mk)16
-rw-r--r--product.prop2
-rw-r--r--resource-overlay/device/Frameworks/Android.bp2
-rw-r--r--resource-overlay/device/Frameworks/AndroidManifest.xml2
-rw-r--r--resource-overlay/device/Frameworks/res/values/config.xml2
-rw-r--r--resource-overlay/device/LineageSystemUI/Android.bp2
-rw-r--r--resource-overlay/device/LineageSystemUI/AndroidManifest.xml2
-rw-r--r--resource-overlay/device/Settings/Android.bp2
-rw-r--r--resource-overlay/device/Settings/AndroidManifest.xml2
-rw-r--r--resource-overlay/device/SystemUI/Android.bp2
-rw-r--r--resource-overlay/device/SystemUI/AndroidManifest.xml2
-rw-r--r--resource-overlay/device/Wifi/Android.bp2
-rw-r--r--resource-overlay/device/Wifi/AndroidManifest.xml2
-rw-r--r--resource-overlay/device/Wifi/res/values/config.xml2
-rw-r--r--sensors/Android.bp4
-rw-r--r--sensors/hals.conf2
27 files changed, 59 insertions, 59 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 9c395cc..0eac158 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -4,4 +4,4 @@
#
PRODUCT_MAKEFILES := \
- $(LOCAL_DIR)/lineage_dubai.mk
+ $(LOCAL_DIR)/lineage_miami.mk
diff --git a/BoardConfig.mk b/BoardConfig.mk
index a19bb42..fa7e48c 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -3,16 +3,16 @@
# SPDX-License-Identifier: Apache-2.0
#
-DEVICE_PATH := device/motorola/dubai
+DEVICE_PATH := device/motorola/miami
-# Inherit from motorola sm7325-common
-include device/motorola/sm7325-common/BoardConfigCommon.mk
+# Inherit from motorola sm6375-common
+include device/motorola/sm6375-common/BoardConfigCommon.mk
# Bootloader
-TARGET_BOOTLOADER_BOARD_NAME := dubai
+TARGET_BOOTLOADER_BOARD_NAME := miami
# Fingerprint
-TARGET_SURFACEFLINGER_UDFPS_LIB := //$(DEVICE_PATH):libudfps_extension.dubai
+TARGET_SURFACEFLINGER_UDFPS_LIB := //$(DEVICE_PATH):libudfps_extension.miami
SOONG_CONFIG_qtidisplay_udfps := true
# HIDL
@@ -20,8 +20,8 @@ DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/device_framework_ma
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Kernel
-BOARD_KERNEL_CMDLINE += androidboot.hab.product=dubai
-TARGET_KERNEL_CONFIG += vendor/lineage_dubai.config
+BOARD_KERNEL_CMDLINE += androidboot.hab.product=miami
+TARGET_KERNEL_CONFIG += vendor/lineage_miami.config
# Kernel Modules
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load))
@@ -49,4 +49,4 @@ BOARD_AVB_ROLLBACK_INDEX := 29
BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX := 29
# inherit from the proprietary version
-include vendor/motorola/dubai/BoardConfigVendor.mk
+include vendor/motorola/miami/BoardConfigVendor.mk
diff --git a/README.md b/README.md
index d4e0d22..2e6de7b 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,3 @@
-Device tree for the Motorola edge 30
+Device tree for the Motorola moto edge 30 neo
-Information about the device, build and install instructions can be found [here](http://wiki.lineageos.org/devices/dubai/)
+Information about the device, build and install instructions can be found [here](http://wiki.lineageos.org/devices/miami/)
diff --git a/device.mk b/device.mk
index b961be5..a902190 100644
--- a/device.mk
+++ b/device.mk
@@ -20,16 +20,16 @@ PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
PRODUCT_SHIPPING_API_LEVEL := 31
-# Inherit from motorola sm7325-common
-$(call inherit-product, device/motorola/sm7325-common/common.mk)
+# Inherit from motorola sm6375-common
+$(call inherit-product, device/motorola/sm6375-common/common.mk)
-# Overlay
+# Overlays
PRODUCT_PACKAGES += \
- FrameworksResDubai \
- LineageSystemUIDubai \
- SettingsResDubai \
- SystemUIResDubai \
- WifiResDubai
+ FrameworksResMiami \
+ LineageSystemUIMiami \
+ SettingsResMiami \
+ SystemUIResMiami \
+ WifiResMiami
# Audio
PRODUCT_COPY_FILES += \
@@ -47,7 +47,7 @@ PRODUCT_PACKAGES += \
# Fingerprint
PRODUCT_PACKAGES += \
- android.hardware.biometrics.fingerprint@2.3-service.dubai
+ android.hardware.biometrics.fingerprint@2.3-service.miami
# GMS
ifeq ($(WITH_GMS),true)
@@ -79,7 +79,7 @@ PRODUCT_COPY_FILES += \
# Sensors
PRODUCT_PACKAGES += \
- sensors.dubai
+ sensors.miami
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
@@ -89,7 +89,7 @@ PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
# Thermal
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/configs/thermal-engine-dubai-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-dubai.conf
+ $(LOCAL_PATH)/configs/thermal-engine-miami-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-miami.conf
# Inherit from vendor blobs
-$(call inherit-product, vendor/motorola/dubai/dubai-vendor.mk)
+$(call inherit-product, vendor/motorola/miami/miami-vendor.mk)
diff --git a/extract-files.py b/extract-files.py
index 2914ea2..157e876 100755
--- a/extract-files.py
+++ b/extract-files.py
@@ -20,7 +20,7 @@ from extract_utils.main import (
)
namespace_imports = [
- 'vendor/motorola/sm7325-common',
+ 'vendor/motorola/sm6375-common',
'hardware/motorola',
'hardware/qcom-caf/sm8350',
'hardware/qcom-caf/wlan',
@@ -48,7 +48,7 @@ extract_fns: extract_fns_user_type = {
}
module = ExtractUtilsModule(
- 'dubai',
+ 'miami',
'motorola',
blob_fixups=blob_fixups,
lib_fixups=lib_fixups,
@@ -60,6 +60,6 @@ module = ExtractUtilsModule(
if __name__ == '__main__':
utils = ExtractUtils.device_with_common(
- module, 'sm7325-common', module.vendor
+ module, 'sm6375-common', module.vendor
)
utils.run()
diff --git a/fingerprint/Android.bp b/fingerprint/Android.bp
index 8aff97d..099cc48 100644
--- a/fingerprint/Android.bp
+++ b/fingerprint/Android.bp
@@ -1,8 +1,8 @@
cc_binary {
- name: "android.hardware.biometrics.fingerprint@2.3-service.dubai",
+ name: "android.hardware.biometrics.fingerprint@2.3-service.miami",
defaults: ["hidl_defaults"],
- init_rc: ["android.hardware.biometrics.fingerprint@2.3-service.dubai.rc"],
- vintf_fragments: ["android.hardware.biometrics.fingerprint@2.3-service.dubai.xml"],
+ init_rc: ["android.hardware.biometrics.fingerprint@2.3-service.miami.rc"],
+ vintf_fragments: ["android.hardware.biometrics.fingerprint@2.3-service.miami.xml"],
relative_install_path: "hw",
srcs: [
"service.cpp",
@@ -22,7 +22,7 @@ cc_binary {
}
cc_library_static {
- name: "libudfps_extension.dubai",
+ name: "libudfps_extension.miami",
srcs: ["UdfpsExtension.cpp"],
include_dirs: [
"frameworks/native/services/surfaceflinger/CompositionEngine/include"
diff --git a/fingerprint/BiometricsFingerprint.cpp b/fingerprint/BiometricsFingerprint.cpp
index b08ae7d..05626d7 100644
--- a/fingerprint/BiometricsFingerprint.cpp
+++ b/fingerprint/BiometricsFingerprint.cpp
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#define LOG_TAG "android.hardware.biometrics.fingerprint@2.3-service.dubai"
+#define LOG_TAG "android.hardware.biometrics.fingerprint@2.3-service.miami"
#include "BiometricsFingerprint.h"
diff --git a/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.rc b/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.miami.rc
index 80da192..3dd5472 100644
--- a/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.rc
+++ b/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.miami.rc
@@ -1,4 +1,4 @@
-service vendor.fps_hal.dubai /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.3-service.dubai
+service vendor.fps_hal.miami /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.3-service.miami
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.
diff --git a/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.xml b/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.miami.xml
index 529f598..529f598 100644
--- a/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.dubai.xml
+++ b/fingerprint/android.hardware.biometrics.fingerprint@2.3-service.miami.xml
diff --git a/fingerprint/service.cpp b/fingerprint/service.cpp
index 7a3b091..714c3e3 100644
--- a/fingerprint/service.cpp
+++ b/fingerprint/service.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "android.hardware.biometrics.fingerprint@2.3-service.dubai"
+#define LOG_TAG "android.hardware.biometrics.fingerprint@2.3-service.miami"
#include <android-base/logging.h>
#include <hidl/HidlTransportSupport.h>
#include "BiometricsFingerprint.h"
diff --git a/lineage.dependencies b/lineage.dependencies
index 76799e5..46ea689 100644
--- a/lineage.dependencies
+++ b/lineage.dependencies
@@ -1,6 +1,6 @@
[
{
- "repository": "android_device_motorola_sm7325-common",
- "target_path": "device/motorola/sm7325-common"
+ "repository": "android_device_motorola_sm6375-common",
+ "target_path": "device/motorola/sm6375-common"
}
]
diff --git a/lineage_dubai.mk b/lineage_miami.mk
index d7bb4e7..befc9d2 100644
--- a/lineage_dubai.mk
+++ b/lineage_miami.mk
@@ -8,21 +8,21 @@ $(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 dubai device
-$(call inherit-product, device/motorola/dubai/device.mk)
+# Inherit from miami device
+$(call inherit-product, device/motorola/miami/device.mk)
# Inherit some common Lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
-PRODUCT_NAME := lineage_dubai
-PRODUCT_DEVICE := dubai
+PRODUCT_NAME := lineage_miami
+PRODUCT_DEVICE := miami
PRODUCT_MANUFACTURER := motorola
PRODUCT_BRAND := motorola
-PRODUCT_MODEL := motorola edge 30
+PRODUCT_MODEL := moto edge 30 neo
PRODUCT_GMS_CLIENTID_BASE := android-motorola
PRODUCT_BUILD_PROP_OVERRIDES += \
- BuildDesc="dubai_g-user 14 U1RDS34.80-40-5-3 b1f71-ff67e release-keys" \
- BuildFingerprint=motorola/dubai_g/dubai:14/U1RDS34.80-40-5-3/b1f71-ff67e:user/release-keys \
- DeviceProduct=dubai_g
+ BuildFingerprint=motorola/miami_g/miami:14/U1SSMS34.31-64-10-4/adb4f-78d6a0:user/release-keys \
+ BuildDesc="miami_g-user 14 U1SSMS34.31-64-10-4 adb4f-78d6a0 release-keys MUR1-0.90" \
+ DeviceProduct=miami_g
diff --git a/product.prop b/product.prop
index 8d94385..0c86409 100644
--- a/product.prop
+++ b/product.prop
@@ -1,5 +1,5 @@
# Google
-ro.opa.device_model_id=motorola-dubai
+ro.opa.device_model_id=motorola-miami
# Motorola
ro.mot.build.customerid=global
diff --git a/resource-overlay/device/Frameworks/Android.bp b/resource-overlay/device/Frameworks/Android.bp
index 3630722..27d052b 100644
--- a/resource-overlay/device/Frameworks/Android.bp
+++ b/resource-overlay/device/Frameworks/Android.bp
@@ -4,6 +4,6 @@
//
runtime_resource_overlay {
- name: "FrameworksResDubai",
+ name: "FrameworksResMiami",
vendor: true,
}
diff --git a/resource-overlay/device/Frameworks/AndroidManifest.xml b/resource-overlay/device/Frameworks/AndroidManifest.xml
index 12f4542..7db946c 100644
--- a/resource-overlay/device/Frameworks/AndroidManifest.xml
+++ b/resource-overlay/device/Frameworks/AndroidManifest.xml
@@ -4,7 +4,7 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="android.overlay.dubai">
+ package="android.overlay.miami">
<overlay
android:isStatic="true"
diff --git a/resource-overlay/device/Frameworks/res/values/config.xml b/resource-overlay/device/Frameworks/res/values/config.xml
index b8fa6b0..497f6c6 100644
--- a/resource-overlay/device/Frameworks/res/values/config.xml
+++ b/resource-overlay/device/Frameworks/res/values/config.xml
@@ -141,7 +141,7 @@
</integer-array>
<!-- MMS user agent string -->
- <string name="config_mms_user_agent" translatable="false">motorolaedge30</string>
+ <string name="config_mms_user_agent" translatable="false">motorolaedge30neo</string>
<!-- MMS user agent prolfile url -->
<string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.motorola.com/phoneconfig/motov1/Profile/motov1.rdf</string>
diff --git a/resource-overlay/device/LineageSystemUI/Android.bp b/resource-overlay/device/LineageSystemUI/Android.bp
index 8b54280..5b4975e 100644
--- a/resource-overlay/device/LineageSystemUI/Android.bp
+++ b/resource-overlay/device/LineageSystemUI/Android.bp
@@ -4,6 +4,6 @@
//
runtime_resource_overlay {
- name: "LineageSystemUIDubai",
+ name: "LineageSystemUIMiami",
vendor: true,
}
diff --git a/resource-overlay/device/LineageSystemUI/AndroidManifest.xml b/resource-overlay/device/LineageSystemUI/AndroidManifest.xml
index ccf6c3f..def15cf 100644
--- a/resource-overlay/device/LineageSystemUI/AndroidManifest.xml
+++ b/resource-overlay/device/LineageSystemUI/AndroidManifest.xml
@@ -4,7 +4,7 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.systemui.dubai.lineage">
+ package="com.android.systemui.miami.lineage">
<overlay
android:isStatic="true"
diff --git a/resource-overlay/device/Settings/Android.bp b/resource-overlay/device/Settings/Android.bp
index 23ebd1b..313589d 100644
--- a/resource-overlay/device/Settings/Android.bp
+++ b/resource-overlay/device/Settings/Android.bp
@@ -4,6 +4,6 @@
//
runtime_resource_overlay {
- name: "SettingsResDubai",
+ name: "SettingsResMiami",
vendor: true,
}
diff --git a/resource-overlay/device/Settings/AndroidManifest.xml b/resource-overlay/device/Settings/AndroidManifest.xml
index 0d67f45..309c990 100644
--- a/resource-overlay/device/Settings/AndroidManifest.xml
+++ b/resource-overlay/device/Settings/AndroidManifest.xml
@@ -4,7 +4,7 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.settings.overlay.dubai">
+ package="com.android.settings.overlay.miami">
<overlay
android:isStatic="true"
diff --git a/resource-overlay/device/SystemUI/Android.bp b/resource-overlay/device/SystemUI/Android.bp
index 42ce3f2..a4d8b7e 100644
--- a/resource-overlay/device/SystemUI/Android.bp
+++ b/resource-overlay/device/SystemUI/Android.bp
@@ -4,6 +4,6 @@
//
runtime_resource_overlay {
- name: "SystemUIResDubai",
+ name: "SystemUIResMiami",
vendor: true,
}
diff --git a/resource-overlay/device/SystemUI/AndroidManifest.xml b/resource-overlay/device/SystemUI/AndroidManifest.xml
index 6ef229d..92f2312 100644
--- a/resource-overlay/device/SystemUI/AndroidManifest.xml
+++ b/resource-overlay/device/SystemUI/AndroidManifest.xml
@@ -4,7 +4,7 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.systemui.overlay.dubai">
+ package="com.android.systemui.overlay.miami">
<overlay
android:isStatic="true"
diff --git a/resource-overlay/device/Wifi/Android.bp b/resource-overlay/device/Wifi/Android.bp
index 99fb55e..b6f31eb 100644
--- a/resource-overlay/device/Wifi/Android.bp
+++ b/resource-overlay/device/Wifi/Android.bp
@@ -4,6 +4,6 @@
//
runtime_resource_overlay {
- name: "WifiResDubai",
+ name: "WifiResMiami",
vendor: true,
}
diff --git a/resource-overlay/device/Wifi/AndroidManifest.xml b/resource-overlay/device/Wifi/AndroidManifest.xml
index 9474c55..ef512fb 100644
--- a/resource-overlay/device/Wifi/AndroidManifest.xml
+++ b/resource-overlay/device/Wifi/AndroidManifest.xml
@@ -4,7 +4,7 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.wifi.resources.overlay.dubai">
+ package="com.android.wifi.resources.overlay.miami">
<overlay
android:isStatic="true"
diff --git a/resource-overlay/device/Wifi/res/values/config.xml b/resource-overlay/device/Wifi/res/values/config.xml
index 418b917..705c029 100644
--- a/resource-overlay/device/Wifi/res/values/config.xml
+++ b/resource-overlay/device/Wifi/res/values/config.xml
@@ -5,5 +5,5 @@
-->
<resources>
<!-- Do not translate. Default access point SSID used for tethering -->
- <string name="wifi_tether_configure_ssid_default" translatable="false">motorola edge 30</string>
+ <string name="wifi_tether_configure_ssid_default" translatable="false">motorola edge 30 neo</string>
</resources>
diff --git a/sensors/Android.bp b/sensors/Android.bp
index 740d173..27a1e4d 100644
--- a/sensors/Android.bp
+++ b/sensors/Android.bp
@@ -4,7 +4,7 @@
//
cc_library_shared {
- name: "sensors.dubai",
+ name: "sensors.miami",
defaults: ["hidl_defaults"],
srcs: [
"Sensor.cpp",
@@ -28,7 +28,7 @@ cc_library_shared {
"android.hardware.sensors@2.X-multihal",
],
cflags: [
- "-DLOG_TAG=\"sensors.dubai\"",
+ "-DLOG_TAG=\"sensors.miami\"",
],
vendor: true,
}
diff --git a/sensors/hals.conf b/sensors/hals.conf
index d22335b..faf80ef 100644
--- a/sensors/hals.conf
+++ b/sensors/hals.conf
@@ -1,3 +1,3 @@
sensors.ssc.so
sensors.moto.so
-sensors.dubai.so
+sensors.miami.so