Compare commits

7 Commits
vic ... bka

Author SHA1 Message Date
Deivid21
e6a6aee97a capri: Build MotCamera4 from prebuilt source
Change-Id: I2c44c0ea5c69aa63fa4e01effe4290b782c6d299
Signed-off-by: Deivid21 <david.parra.ignacio@gmail.com>
2025-10-15 01:27:03 -03:00
Deivid21
c6af73288c capri: init: Add Erofs filesystem type mount point
Change-Id: I0bd2f193de4608b0d6899f1f2ad467bb5f33cc1c
2025-10-15 01:26:49 -03:00
lahaina
1771536e22 capri: Don't build userdata image
Change-Id: I397a3dc2c48a92f18bf9292fa45d193f4c2fc4e3
2025-10-15 01:26:25 -03:00
Deivid21
44f68fd84f capri: Adjustments for Evolution X
Change-Id: Ifac6ab7e5feff0f93f6f3d1aa2d6f504c8fdcc23
2025-10-15 01:26:02 -03:00
Deivid21
e37f7f0229 capri: overlay: Set defaultPeakRefreshRate config in 60 Hz
Change-Id: I3f72ded104712c5d3776481b89df94b13b9552fb
2025-10-15 01:25:20 -03:00
Deivid21
2b397beacb capri: 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:24:28 -03:00
Deivid21
3ad1bb8d65 capri: 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:23:14 -03:00
8 changed files with 34 additions and 10 deletions

View File

@@ -30,7 +30,6 @@ BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/v
BOOT_KERNEL_MODULES := $(BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD)
# Partitions
BOARD_USERDATAIMAGE_PARTITION_SIZE := 50179587584
BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296
BOARD_SUPER_PARTITION_SIZE := 10267656192

View File

@@ -36,6 +36,12 @@ PRODUCT_PACKAGES += \
# LiveDisplay
$(call soong_config_set,livedisplay_sysfs,enable_ab,true)
# Moto Camera 4
TARGET_MOTCAMERA3 := capri
TARGET_USES_MOTCAMERA3 := true
$(call inherit-product, vendor/motorola/MotCamera4-bengal/motcamera4.mk)
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2-service

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_capri",
"target_path": "vendor/motorola/capri",
"remote": "github-non-los",
"branch": "lineage-22.2"
}
]

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/liblowlight_ai_portrait.arcsoft.so': blob_fixup()
.fix_soname(),
(
'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

@@ -6,9 +6,13 @@
# Currently we dont have e2fsck compiled. So fs check would failed.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
system /system erofs 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 /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
system_ext /system_ext erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
system_ext /system_ext ext4 ro wait,slotselect,avb=vbmeta_system,logical,nofail,first_stage_mount
product /product erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount
product /product ext4 ro wait,slotselect,avb=vbmeta_system,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

View File

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

View File

@@ -194,10 +194,13 @@ vendor/etc/qdcm_calib_data_mipi_mot_vid_txd_ili9882h_652.xml
# Fingerprint
vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-chipone
vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-fpc
vendor/bin/hw/chipone_ident
vendor/bin/hw/fpc_ident
vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-chipone2.rc
vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-fpc2.rc
vendor/lib64/com.fingerprints.extension@1.0.so
vendor/lib64/libfp_ext_svc2.so
vendor/lib64/vendor.fpsensor.hardware.fpsensorhidlsvc@2.0.so
vendor/lib64/hw/chipone.fingerprint.default.so
vendor/usr/idc/uinput-fpc.idc
vendor/usr/idc/uinput-fpsensor.idc

View File

@@ -215,5 +215,5 @@
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">90</integer>
<integer name="config_defaultPeakRefreshRate">60</integer>
</resources>