Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
589e49a690 | ||
|
|
11152c9b90 | ||
|
|
055a99fb1d | ||
|
|
b8695cd56c | ||
|
|
d0df41bb2f | ||
|
|
764497dc57 | ||
|
|
1a4ca6a394 | ||
|
|
f1761f73af | ||
|
|
aafc51e897 | ||
|
|
0530e7a25e | ||
|
|
7a45e2646d |
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2022 The LineageOS Project
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
15
device.mk
15
device.mk
@@ -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
13
evolution.dependencies
Normal 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"
|
||||
}
|
||||
]
|
||||
@@ -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
|
||||
#
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_motorola_sm6225-common",
|
||||
"target_path": "device/motorola/sm6225-common"
|
||||
}
|
||||
]
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
@@ -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
|
||||
|
||||
9
resource-overlay/device/Frameworks/Android.bp
Normal file
9
resource-overlay/device/Frameworks/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResDevice",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/device/Frameworks/AndroidManifest.xml
Normal file
13
resource-overlay/device/Frameworks/AndroidManifest.xml
Normal 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>
|
||||
@@ -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>
|
||||
@@ -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
|
||||
@@ -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>
|
||||
9
resource-overlay/device/Settings/Android.bp
Normal file
9
resource-overlay/device/Settings/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsResDevice",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/device/Settings/AndroidManifest.xml
Normal file
13
resource-overlay/device/Settings/AndroidManifest.xml
Normal 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>
|
||||
12
resource-overlay/device/Settings/res/values/config.xml
Normal file
12
resource-overlay/device/Settings/res/values/config.xml
Normal 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>
|
||||
9
resource-overlay/device/SystemUI/Android.bp
Normal file
9
resource-overlay/device/SystemUI/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SystemUIResDevice",
|
||||
vendor: true,
|
||||
}
|
||||
12
resource-overlay/device/SystemUI/AndroidManifest.xml
Normal file
12
resource-overlay/device/SystemUI/AndroidManifest.xml
Normal 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>
|
||||
@@ -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
|
||||
17
resource-overlay/device/SystemUI/res/values/dimens.xml
Normal file
17
resource-overlay/device/SystemUI/res/values/dimens.xml
Normal 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>
|
||||
9
resource-overlay/device/Wifi/Android.bp
Normal file
9
resource-overlay/device/Wifi/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "WifiResDevice",
|
||||
vendor: true,
|
||||
}
|
||||
14
resource-overlay/device/Wifi/AndroidManifest.xml
Normal file
14
resource-overlay/device/Wifi/AndroidManifest.xml
Normal 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>
|
||||
9
resource-overlay/device/Wifi/res/values/config.xml
Normal file
9
resource-overlay/device/Wifi/res/values/config.xml
Normal 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>
|
||||
@@ -1 +1,5 @@
|
||||
#!./extract-files.py --regenerate_makefiles
|
||||
#
|
||||
# SPDX-FileCopyrightText: The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user