14 Commits
bka ... vic

Author SHA1 Message Date
Michael Bestas
a7771a5460 cebu: Enable LiveDisplay adaptive backlight
Change-Id: I3892e178b87b569805dd5e929e009d465bd63461
2025-09-14 14:20:59 -03:00
Deivid21
0012f04934 cebu: Add missing fingerprint blobs
* E fpCoreHal [ERR]: fp_ext_svc2_bridge.cpp  dlopen failed can't find hal so:
  /vendor/lib64/libfp_ext_svc2.so, errno= 2, reason = dlopen failed: library
  "/vendor/lib64/libfp_ext_svc2.so" not found, can't start ext_svc2 service

Change-Id: I31780f209da4c0f96005d8cef88239a61d518f8a
2025-09-14 14:20:27 -03:00
Deivid21
43a3aa205a cebu: Switch to MotCamera4
Change-Id: I3f1b93bff04dcded7ff4baaad6017a9be50d0faa
2025-08-21 01:35:03 -04:00
Deivid21
b427ca52ec cebu: init: Switch filesystem type to EroFS
Change-Id: I681a357fe9b6169f9beeaf18f223b95462de3174
2025-08-19 23:41:20 -04:00
lahaina
877af66b49 cebu: Don't build userdata image
Change-Id: Ic978e6ce989a0053eb7625aafc29242694999cbc
2025-08-19 23:41:19 -04:00
Deivid21
ca57476259 cebu: Build MotCamera3 from prebuilt source
Change-Id: Iff3db87a0c2c66bab3600a6befa7b8b340fa1225
Signed-off-by: Deivid21 <david.parra.ignacio@gmail.com>
2025-08-19 23:41:19 -04:00
Deivid21
bbdaf405ba cebu: Adjustments for Evolution X
Change-Id: Ib8358166c80f55b1100a8997df81231ce04495af
2025-08-19 23:41:07 -04:00
Deivid21
edcf71e500 cebu: Add missing liblowlight_ai_portrait.arcsoft
Change-Id: I390698ea4651de02ed3516f3c1d28b075ad6c0e1
2025-08-19 23:40:58 -04:00
Michael Bestas
ec72826b4f cebu: Switch to SPDX copyright
* And drop copyright years.

Change-Id: Iffe3dc0e0a657230a7a9d253fbb05244a6219981
2025-08-19 23:40:34 -04:00
Michael Bestas
05daf14eb8 cebu: overlay: Add proper overlays for cebu variants
Change-Id: Ib0560d04d4d0f20e57141d0aca9ae8a9b6b399d1
2025-08-19 23:38:09 -04:00
Michael Bestas
9f417ce66e cebu: overlay: Convert overlays to Android.bp
Change-Id: I10a3a9e459fc6c512b273194a8ace6159106aaa1
2025-08-19 23:36:01 -04:00
Michael Bestas
5251cb7796 cebu: Add missing capsense_reset
Change-Id: I301cb7e5b3b4a23bcdbb99e1b6043a733140f5e8
2025-08-19 22:20:59 -04:00
Michael Bestas
42cd13a558 cebu: Cleanup init.mmi.overlay.rc
Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com>
Change-Id: Iaee09a94e87ab86a5ae6fe96d0e9d4e9d83522b8
2025-08-19 22:20:59 -04:00
Michael Bestas
89f5287d19 cebu: Override properties for cebu variants
Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com>
Change-Id: I5e663fde87c980468fe99607a59a75e673f94e49
2025-08-19 22:20:59 -04:00
16 changed files with 168 additions and 139 deletions

View File

@@ -41,11 +41,6 @@ blob_fixups: blob_fixups_user_type = {
.binary_regex_replace(b'camera.mot.is.coming.cts', b'vendor.camera.coming.cts'),
'vendor/lib64/libvidhance.so': blob_fixup()
.add_needed('libcomparetf2_shim.so'),
(
'vendor/lib64/camera/components/com.qti.node.dewarp.so',
'vendor/lib64/camera/components/com.vidhance.node.processing.so',
): blob_fixup()
.replace_needed('libui.so', 'libui-v34.so'),
} # fmt: skip
extract_fns: extract_fns_user_type = {

View File

@@ -7,13 +7,9 @@
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
system /system erofs ro wait,slotselect,avb=vbmeta,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey,logical,first_stage_mount
system /system ext4 ro wait,slotselect,avb=vbmeta,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey,logical,first_stage_mount
system_ext /system_ext erofs ro wait,slotselect,avb=vbmeta,logical,first_stage_mount
system_ext /system_ext ext4 ro wait,slotselect,avb=vbmeta,logical,nofail,first_stage_mount
product /product erofs ro wait,slotselect,avb=vbmeta,logical,first_stage_mount
product /product ext4 ro wait,slotselect,avb=vbmeta,logical,nofail,first_stage_mount
vendor /vendor erofs ro wait,slotselect,avb=vbmeta,logical,first_stage_mount
vendor /vendor ext4 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+emmc_optimized+wrappedkey_v0,metadata_encryption=aes-256-xts:wrappedkey_v0,keydirectory=/metadata/vold/metadata_encryption,quota,reservedsize=128M,sysfs_path=/sys/devices/platform/soc/4744000.sdhci,checkpoint=fs
/devices/platform/soc/4784000.sdhci/mmc_host* auto auto defaults wait,voldmanaged=sdcard1:auto

View File

@@ -4,10 +4,12 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.overlay.device.XT2091_7">
<overlay android:targetPackage="android"
android:isStatic="true"
android:priority="350"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-7" />
package="android.overlay.device.XT2091_7">
<overlay
android:isStatic="true"
android:priority="350"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-7"
android:targetPackage="android" />
</manifest>

View File

@@ -4,10 +4,12 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.overlay.device.XT2091_8">
<overlay android:targetPackage="android"
android:isStatic="true"
android:priority="350"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-8" />
package="android.overlay.device.XT2091_8">
<overlay
android:isStatic="true"
android:priority="350"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-8"
android:targetPackage="android" />
</manifest>

View File

@@ -4,8 +4,10 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.overlay.device">
<overlay android:targetPackage="android"
android:isStatic="true"
android:priority="300" />
package="android.overlay.device">
<overlay
android:isStatic="true"
android:priority="300"
android:targetPackage="android" />
</manifest>

View File

@@ -1,28 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>43</item>
</integer-array>
<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>30</item>
</integer-array>
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
<!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDim">4</integer>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Minimum allowable screen brightness to use in a very dark room.
This value sets the floor for the darkest possible auto-brightness
@@ -33,6 +19,57 @@
in darkness (although they may not be visible in a bright room). -->
<integer name="config_screenBrightnessDark">2</integer>
<!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDim">4</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
non-zero. -->
<integer name="config_defaultPeakRefreshRate">60</integer>
<!-- Array of desired screen brightness in nits corresponding to the lux values
in the config_autoBrightnessLevels array. The display brightness is defined as the measured
brightness of an all-white image.
If this is defined then:
- config_autoBrightnessLcdBacklightValues should not be defined
- config_screenBrightnessNits must be defined
- config_screenBrightnessBacklight must be defined
This array should have size one greater than the size of the config_autoBrightnessLevels
array. The brightness values must be non-negative and non-decreasing. This must be
overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessDisplayValuesNits">
<item>3</item>
<item>10</item>
<item>20</item>
<item>50</item>
<item>70</item>
<item>85</item>
<item>110</item>
<item>130</item>
<item>150</item>
<item>180</item>
<item>180</item>
<item>180</item>
<item>180</item>
<item>225</item>
<item>230</item>
<item>240</item>
<item>245</item>
<item>250</item>
<item>260</item>
<item>300</item>
<item>350</item>
<item>420</item>
<item>420</item>
<item>420</item>
<item>420</item>
</integer-array>
<!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
The N entries of this array define N + 1 control points as follows:
(1-based arrays)
@@ -79,46 +116,6 @@
<item>8000</item>
</integer-array>
<!-- Array of desired screen brightness in nits corresponding to the lux values
in the config_autoBrightnessLevels array. The display brightness is defined as the measured
brightness of an all-white image.
If this is defined then:
- config_autoBrightnessLcdBacklightValues should not be defined
- config_screenBrightnessNits must be defined
- config_screenBrightnessBacklight must be defined
This array should have size one greater than the size of the config_autoBrightnessLevels
array. The brightness values must be non-negative and non-decreasing. This must be
overridden in platform specific overlays -->
<array name="config_autoBrightnessDisplayValuesNits">
<item>3</item>
<item>10</item>
<item>20</item>
<item>50</item>
<item>70</item>
<item>85</item>
<item>110</item>
<item>130</item>
<item>150</item>
<item>180</item>
<item>180</item>
<item>180</item>
<item>180</item>
<item>225</item>
<item>230</item>
<item>240</item>
<item>245</item>
<item>250</item>
<item>260</item>
<item>300</item>
<item>350</item>
<item>420</item>
<item>420</item>
<item>420</item>
<item>420</item>
</array>
<!-- An array describing the screen's backlight values corresponding to the brightness
values in the config_screenBrightnessNits array.
@@ -152,7 +149,7 @@
brightness modes but only the maximum brightness value obtainable in a sustainable manner.
This array should be equal in size to config_screenBrightnessBacklight -->
<array name="config_screenBrightnessNits">
<integer-array name="config_screenBrightnessNits">
<item>0</item>
<item>2</item>
<item>3</item>
@@ -174,16 +171,7 @@
<item>300</item>
<item>350</item>
<item>420</item>
</array>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">motog9power</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>
<!-- Specify if the fingerprint hardware support gestures-->
<bool name="config_fingerprintSupportsGestures">true</bool>
</integer-array>
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
@@ -211,12 +199,27 @@
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 92,0 L 0,0 L 0,90 L 92,90 Z @left</string>
<!-- True if the device supports system navigation keys. -->
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>43</item>
</integer-array>
<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>30</item>
</integer-array>
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
<!-- Specify if the fingerprint hardware support gestures-->
<bool name="config_fingerprintSupportsGestures">true</bool>
<!-- Enable system navigation keys. -->
<bool name="config_supportSystemNavigationKeys">true</bool>
<!-- 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
non-zero. -->
<integer name="config_defaultPeakRefreshRate">60</integer>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">motog9power</string>
</resources>

View File

@@ -1,9 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: 2009 The Android Open Source Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">68.0px</dimen>
<!-- Default paddings for content around the corners. -->
<dimen name="rounded_corner_content_padding">4.0px</dimen>
<!-- The default height of the status bar used in {@link SystemBarUtils#getStatusBarHeight} to
calculate the status bar height. -->
<dimen name="status_bar_height_default">28dp</dimen>
@@ -17,10 +29,4 @@
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">68.0px</dimen>
<!-- Default paddings for content around the corners. -->
<dimen name="rounded_corner_content_padding">4.0px</dimen>
</resources>

View File

@@ -5,8 +5,8 @@
-->
<device name="Android">
<item name="none">0</item>
<item name="screen.on.display0">88.97</item>
<item name="screen.full.display0">325.02</item>
<item name="screen.on">88.97</item>
<item name="screen.full">325.02</item>
<item name="wifi.on">3.01</item>
<item name="wifi.active">78.83</item>
<item name="wifi.scan">78.45</item>

View File

@@ -4,8 +4,10 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="lineageos.platform.overlay.device">
<overlay android:targetPackage="lineageos.platform"
android:isStatic="true"
android:priority="800" />
package="lineageos.platform.overlay.device">
<overlay
android:isStatic="true"
android:priority="800"
android:targetPackage="lineageos.platform" />
</manifest>

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: 2015-2016 The CyanogenMod Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- All the capabilities of the LEDs on this device, stored as a bit field.

View File

@@ -4,7 +4,9 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.systemui.overlay.device">
<overlay android:targetPackage="com.android.systemui"
android:isStatic="true" />
package="com.android.systemui.overlay.device">
<overlay
android:isStatic="true"
android:targetPackage="com.android.systemui" />
</manifest>

View File

@@ -1,9 +1,16 @@
<?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>
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Doze: does this device support STATE_DOZE? -->
<bool name="doze_display_state_supported">true</bool>
</resources>

View File

@@ -1,8 +1,10 @@
<?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>

View File

@@ -4,10 +4,13 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.overlay.device.XT2091_7">
<overlay android:targetPackage="com.android.wifi.resources"
android:isStatic="true"
android:priority="800"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-7" />
package="com.android.wifi.resources.overlay.device.XT2091_7">
<overlay
android:isStatic="true"
android:priority="800"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-7"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
</manifest>

View File

@@ -4,10 +4,13 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.overlay.device.XT2091_8">
<overlay android:targetPackage="com.android.wifi.resources"
android:isStatic="true"
android:priority="800"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-8" />
package="com.android.wifi.resources.overlay.device.XT2091_8">
<overlay
android:isStatic="true"
android:priority="800"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-8"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
</manifest>

View File

@@ -4,8 +4,11 @@
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:targetPackage="com.android.wifi.resources"
android:isStatic="true"
android:priority="800" />
package="com.android.wifi.resources.overlay.device">
<overlay
android:isStatic="true"
android:priority="800"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
</manifest>