Compare commits

11 Commits
bka ... vic

Author SHA1 Message Date
Deivid21
589e49a690 rhode: Go Back super partition size to devices
Change-Id: I52b6a5e2bf986f42d240d47c2f3381fa1220c3a5
2025-09-19 23:28:59 -03:00
Deivid21
11152c9b90 rhode: Add missing fingerprint binary
Change-Id: I4e19440436a916a85b8c54645b85799ffa64fcb1
2025-09-17 19:55:49 -03:00
Michael Bestas
055a99fb1d rhode: overlay: Enable min & peak refresh rate toggle in Settings
Change-Id: Ia3e1a5ef92b666747cf1d8e362e88a09b21c2444
2025-09-13 13:04:06 -03:00
Deivid21
b8695cd56c rhode: overlay: Set defaultRefreshRate config
Change-Id: I7c4c1395f6c94a7706c2f6076238e565634961d0
2025-09-12 00:59:05 -03:00
Deivid21
d0df41bb2f fixup! rhode: Update to T2SR33.72-22-4-13
Change-Id: I4bb9c42da0493829d3ff2ef6fe71129f789b1aae
2025-08-21 01:41:50 -04:00
Deivid21
764497dc57 rhode: init: Switch filesystem type to EroFS
Change-Id: Ic33a7d0cd7e56b59ddcc13e82b5e1099a1ed0cfd
2025-08-21 01:41:39 -04:00
Deivid21
1a4ca6a394 rhode: Build MotCamera4 from prebuilt source
Change-Id: I7f5c8dcc785d9e44901716916edc6950ef1b70ce
Signed-off-by: Deivid21 <david.parra.ignacio@gmail.com>
2025-08-21 01:41:25 -04:00
Deivid21
f1761f73af rhode: Adjustments for Evolution X
Change-Id: I986ed0902fae01643c48e814300afb6ea204685d
2025-08-21 01:41:10 -04:00
Deivid21
aafc51e897 rhode: overlay: Add wifi overlay and MMS UA profile
Change-Id: Ida9a7044d13feb96b310c3d6f88fb801ba5df98d
2025-08-21 01:41:01 -04:00
Michael Bestas
0530e7a25e rhode: Switch to SPDX copyright
* And drop copyright years.

Change-Id: I9992f279c6ca0090f5a98541a405e1e34be3378f
2025-08-21 01:40:13 -04:00
Michael Bestas
7a45e2646d rhode: overlay: Convert overlays to Android.bp
Change-Id: I3e24f2c505822ffd07eed32be6867288a11730ce
2025-08-21 01:39:25 -04:00
29 changed files with 197 additions and 97 deletions

View File

@@ -1,5 +1,5 @@
//
// SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,5 +1,5 @@
#
# SPDX-FileCopyrightText: 2022 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,5 +1,5 @@
#
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
@@ -26,6 +26,8 @@ BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/v
BOOT_KERNEL_MODULES := $(BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD)
# Partitions
BOARD_SUPER_PARTITION_SIZE := 7583301632
BOARD_MOTO_DYNAMIC_PARTITIONS_SIZE := 3787456512 # ( BOARD_SUPER_PARTITION_SIZE / 2 ) - 4MB
BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296
# Properties

View File

@@ -3,7 +3,7 @@ Device tree configuration for Motorola Moto G52
```
SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0

View File

@@ -1,5 +1,5 @@
#
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
@@ -30,13 +30,22 @@ PRODUCT_PACKAGES += \
init.oem.fingerprint2.sh \
init.mmi.overlay.rc
# Moto Camera 4
TARGET_MOTCAMERA4 := rhode
TARGET_USES_MOTCAMERA4 := true
$(call inherit-product, vendor/motorola/MotCamera4-bengal/motcamera4.mk)
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2-service.samsung
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay
PRODUCT_PACKAGES += \
FrameworksResDevice \
SettingsResDevice \
SystemUIResDevice \
WifiResDevice
# Permissions
PRODUCT_COPY_FILES += \

13
evolution.dependencies Normal file
View File

@@ -0,0 +1,13 @@
[
{
"repository": "device_motorola_sm6225-common",
"target_path": "device/motorola/sm6225-common",
"remote": "evo-devices"
},
{
"repository": "Deivid-21s-Sources/proprietary_vendor_motorola_rhode",
"target_path": "vendor/motorola/rhode",
"remote": "github-non-los",
"branch": "lineage-22.2"
}
]

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,5 +1,5 @@
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -6,10 +6,10 @@
# Currently we dont have e2fsck compiled. So fs check would failed.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
system /system ext4 ro wait,slotselect,avb=vbmeta_system,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey,logical,first_stage_mount
system_ext /system_ext ext4 ro wait,slotselect,avb,logical,nofail,first_stage_mount
product /product ext4 ro wait,slotselect,avb,logical,nofail,first_stage_mount
vendor /vendor ext4 ro wait,slotselect,avb=vbmeta,logical,first_stage_mount
system /system erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
system_ext /system_ext erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
product /product erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
vendor /vendor erofs ro wait,slotselect,avb=vbmeta,logical,first_stage_mount
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable,first_stage_mount,check
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,inlinecrypt latemount,wait,check,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized+wrappedkey_v0,metadata_encryption=aes-256-xts:wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/4804000.ufshc,checkpoint=fs
/devices/platform/soc/4784000.sdhci/mmc_host* auto auto defaults wait,voldmanaged=sdcard1:auto

View File

@@ -1,6 +0,0 @@
[
{
"repository": "android_device_motorola_sm6225-common",
"target_path": "device/motorola/sm6225-common"
}
]

View File

@@ -1,5 +1,5 @@
#
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
@@ -23,6 +23,6 @@ PRODUCT_MANUFACTURER := motorola
PRODUCT_GMS_CLIENTID_BASE := android-motorola
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="rhode_g-user 13 T2SR33.72-22-4-13 6b3c4b-075d74 release-keys" \
BuildFingerprint=motorola/rhode_g/rhode:13/T2SR33.72-22-4-13/6b3c4b-075d74:user/release-keys \
BuildDesc="rhode_g-user 11 T2SR33.72-22-4-13 6b3c4b release-keys" \
BuildFingerprint=motorola/rhode_g/rhode:11/T2SR33.72-22-4-13/6b3c4b:user/release-keys \
DeviceProduct=rhode_g

View File

@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
* Copyright (C) 2023, The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<!-- Height of the status bar header bar when on Keyguard -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">4dp</dimen>
<!-- Total minimum padding to enforce to ensure that the dot can always show -->
<dimen name="ongoing_appops_dot_min_padding">14dp</dimen>
</resources>

View File

@@ -171,6 +171,7 @@ vendor/etc/qdcm_calib_data_mipi_mot_cmd_visionox_1080p_dsc_655.xml
# Fingerprint
vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-focalservice
vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-ets
vendor/bin/hw/egis_ident
vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-focalservice.rc
vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-ets2.rc
vendor/etc/init/init.ets.rc

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "FrameworksResDevice",
vendor: true,
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.overlay.device">
<overlay
android:isStatic="true"
android:priority="300"
android:targetPackage="android" />
</manifest>

View File

@@ -1,20 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<!-- These resources are around just to allow their values to be customized
@@ -36,6 +24,16 @@
that can be set by the user. -->
<integer name="config_screenBrightnessDim">4</integer>
<!-- The default refresh rate for a given device. Change this value to set a higher default
refresh rate. If the hardware composer on the device supports display modes with a higher
refresh rate than the default value specified here, the framework may use those higher
refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
setFrameRate().
If a non-zero value is set for config_defaultPeakRefreshRate, then
config_defaultRefreshRate may be set to 0, in which case the value set for
config_defaultPeakRefreshRate will act as the default frame rate. -->
<integer name="config_defaultRefreshRate">0</integer>
<!-- The default peak refresh rate for a given device. Change this value if you want to prevent
the framework from using higher refresh rates, even if display modes with higher refresh
rates are available from hardware composer. Only has an effect if the value is
@@ -241,4 +239,7 @@
<item>0</item>
<item>50</item>
</integer-array>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">motog52</string>
</resources>

View File

@@ -1,20 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<!-- These resources are around just to allow their values to be customized

View File

@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<device name="Android">
<item name="none">0</item>
<item name="screen.on">130.97</item>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SettingsResDevice",
vendor: true,
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.settings.overlay.device">
<overlay
android:isStatic="true"
android:priority="500"
android:targetPackage="com.android.settings" />
</manifest>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether to show min refresh rate in display settings -->
<bool name="config_show_min_refresh_rate_switch">true</bool>
<!-- Whether to show peak refresh rate in display settings -->
<bool name="config_show_peak_refresh_rate_switch">true</bool>
</resources>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SystemUIResDevice",
vendor: true,
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.systemui.overlay.device">
<overlay
android:isStatic="true"
android:targetPackage="com.android.systemui" />
</manifest>

View File

@@ -1,20 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<!-- These resources are around just to allow their values to be customized

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Height of the status bar header bar when on Keyguard -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">4dp</dimen>
<!-- Total minimum padding to enforce to ensure that the dot can always show -->
<dimen name="ongoing_appops_dot_min_padding">14dp</dimen>
</resources>

View File

@@ -0,0 +1,9 @@
//
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "WifiResDevice",
vendor: true,
}

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.overlay.device">
<overlay
android:isStatic="true"
android:priority="800"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Do not translate. Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">moto g52</string>
</resources>

View File

@@ -1 +1,5 @@
#!./extract-files.py --regenerate_makefiles
#
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#