15 Commits
vic ... bka

Author SHA1 Message Date
Deivid21
3e5179f9ad cebu: Build MotCamera4 from prebuilt source
Change-Id: I2c44c0ea5c69aa63fa4e01effe4290b782c6d299
Signed-off-by: Deivid21 <david.parra.ignacio@gmail.com>
2025-10-15 01:44:12 -03:00
Deivid21
498fa0169a cebu: init: Add Erofs filesystem type mount point
Change-Id: I0bd2f193de4608b0d6899f1f2ad467bb5f33cc1c
2025-10-15 01:43:28 -03:00
lahaina
3b9e0dd704 cebu: Don't build userdata image
Change-Id: I397a3dc2c48a92f18bf9292fa45d193f4c2fc4e3
2025-10-15 01:43:02 -03:00
Deivid21
60b351b5ae cebu: Adjustments for Evolution X
Change-Id: Ifac6ab7e5feff0f93f6f3d1aa2d6f504c8fdcc23
2025-10-15 01:42:09 -03:00
Deivid21
0d38026481 cebu: Add missing liblowlight_ai_portrait.arcsoft
Change-Id: I390698ea4651de02ed3516f3c1d28b075ad6c0e1
2025-10-15 01:41:49 -03:00
Deivid21
858c9ababa cebu: Patch vidhance components with libui-v34
* EIS was broken, which caused hard crashes when switching
  to video mode in camera.

Change-Id: If7d3b4417208fbb51466992aece7ec9b82a1cd41
2025-10-15 01:41:17 -03:00
Deivid21
2859ef6f95 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: I1dcba562ee6981292c41593c415d2010af4b4edb
2025-10-15 01:40:41 -03:00
Georg Veichtlbauer
c8f5d48777 cebu: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2025-10-11 01:04:06 +03:00
Michael Bestas
e2fefb984d cebu: Add missing copyright headers
* And drop copyright years.

Change-Id: Iffe3dc0e0a657230a7a9d253fbb05244a6219981
2025-10-11 01:04:06 +03:00
Michael Bestas
d209e66653 cebu: overlay: Add proper overlays for cebu variants
Change-Id: Ib0560d04d4d0f20e57141d0aca9ae8a9b6b399d1
2025-10-11 01:04:06 +03:00
Michael Bestas
abe17c164b cebu: overlay: Convert overlays to Android.bp
Also run everything through beautify_rro.py

Change-Id: I10a3a9e459fc6c512b273194a8ace6159106aaa1
2025-10-10 23:29:20 +03:00
Michael Bestas
e551f32940 cebu: Add missing capsense_reset
Change-Id: I301cb7e5b3b4a23bcdbb99e1b6043a733140f5e8
2025-10-10 21:58:36 +03:00
Michael Bestas
68bdf81a99 cebu: Cleanup init.mmi.overlay.rc
Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com>
Change-Id: Iaee09a94e87ab86a5ae6fe96d0e9d4e9d83522b8
2025-10-10 21:58:36 +03:00
Michael Bestas
16a2510627 cebu: Override properties for cebu variants
Co-authored-by: Deivid21 <david.parra.ignacio@gmail.com>
Change-Id: I5e663fde87c980468fe99607a59a75e673f94e49
2025-10-10 21:58:36 +03:00
Michael Bestas
e233fce5aa cebu: Enable LiveDisplay adaptive backlight
Change-Id: I3892e178b87b569805dd5e929e009d465bd63461
2025-09-05 12:10:55 +03:00
16 changed files with 139 additions and 168 deletions

View File

@@ -41,6 +41,11 @@ 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,9 +7,13 @@
#<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,12 +4,10 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
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" />
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" />
</manifest>

View File

@@ -4,12 +4,10 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
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" />
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" />
</manifest>

View File

@@ -4,10 +4,8 @@
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" />
package="android.overlay.device">
<overlay android:targetPackage="android"
android:isStatic="true"
android:priority="300" />
</manifest>

View File

@@ -1,14 +1,28 @@
<?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
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>
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>30</item>
</integer-array>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- 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>
<!-- Minimum allowable screen brightness to use in a very dark room.
This value sets the floor for the darkest possible auto-brightness
@@ -19,57 +33,6 @@
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)
@@ -116,6 +79,46 @@
<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.
@@ -149,7 +152,7 @@
brightness modes but only the maximum brightness value obtainable in a sustainable manner.
This array should be equal in size to config_screenBrightnessBacklight -->
<integer-array name="config_screenBrightnessNits">
<array name="config_screenBrightnessNits">
<item>0</item>
<item>2</item>
<item>3</item>
@@ -171,7 +174,16 @@
<item>300</item>
<item>350</item>
<item>420</item>
</integer-array>
</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>
<!-- 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
@@ -199,27 +211,12 @@
-->
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 92,0 L 0,0 L 0,90 L 92,90 Z @left</string>
<!-- 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. -->
<!-- True if the device supports system navigation keys. -->
<bool name="config_supportSystemNavigationKeys">true</bool>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">motog9power</string>
<!-- 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>
</resources>

View File

@@ -1,21 +1,9 @@
<?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
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<!-- 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>
<resources>
<!-- 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>
@@ -29,4 +17,10 @@
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">88.97</item>
<item name="screen.full">325.02</item>
<item name="screen.on.display0">88.97</item>
<item name="screen.full.display0">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,10 +4,8 @@
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="lineageos.platform.overlay.device">
<overlay
android:isStatic="true"
android:priority="800"
android:targetPackage="lineageos.platform" />
package="lineageos.platform.overlay.device">
<overlay android:targetPackage="lineageos.platform"
android:isStatic="true"
android:priority="800" />
</manifest>

View File

@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2015-2016 The CyanogenMod Project
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
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,9 +4,7 @@
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" />
package="com.android.systemui.overlay.device">
<overlay android:targetPackage="com.android.systemui"
android:isStatic="true" />
</manifest>

View File

@@ -1,16 +1,9 @@
<?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
-->
<!-- 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">
<resources>
<!-- Doze: does this device support STATE_DOZE? -->
<bool name="doze_display_state_supported">true</bool>
</resources>

View File

@@ -1,10 +1,8 @@
<?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,13 +4,10 @@
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:isStatic="true"
android:priority="800"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-7"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
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" />
</manifest>

View File

@@ -4,13 +4,10 @@
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:isStatic="true"
android:priority="800"
android:requiredSystemPropertyName="ro.boot.hardware.sku"
android:requiredSystemPropertyValue="XT2091-8"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
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" />
</manifest>

View File

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