raphael: Bring back Leica camera

Revert "raphael: Drop Leica camera"

This reverts commit 3334c4c497.

Revert "raphael: unset BUILD_BROKEN_DUP_RULES"

This reverts commit 35cfef58c2.

Revert "raphael: unset BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES"

This reverts commit 6744f6fbf3.

Revert "raphael: Drop prebuilt camera provider blobs"

This reverts commit 5ddbcb08fa.
This commit is contained in:
Joey Huab
2025-01-23 23:24:34 +09:00
parent a265651bc6
commit 9c3d36756a
4 changed files with 31 additions and 0 deletions

View File

@@ -34,6 +34,10 @@ BOARD_SUPPORTS_SOUND_TRIGGER := true
TARGET_BOOTLOADER_BOARD_NAME := msmnile
TARGET_NO_BOOTLOADER := true
# Build
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
# ConfigStore
TARGET_HAS_HDR_DISPLAY := true
TARGET_HAS_WIDE_COLOR_DISPLAY := true

View File

@@ -180,6 +180,12 @@ PRODUCT_PACKAGES += \
vendor.qti.hardware.camera.postproc@1.0.vendor \
vendor.xiaomi.hardware.motor@1.0.vendor
# MiuiCamera
$(call inherit-product-if-exists, vendor/xiaomi/miuicamera/config.mk)
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/permissions/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml
# Display
PRODUCT_PACKAGES += \
android.hardware.graphics.composer@2.4-service \

View File

@@ -14,5 +14,10 @@
{
"repository": "packages_apps_ViPER4AndroidFX",
"target_path": "packages/apps/ViPER4AndroidFX"
},
{
"repository": "vendor_xiaomi_miuicamera",
"target_path": "vendor/xiaomi/miuicamera",
"remote": "evo-codeberg"
}
]

View File

@@ -246,6 +246,22 @@ vendor/lib64/libmivendor_module_hall.so
vendor/lib64/libmivendor_module_motor.so
vendor/lib64/mi.motor.daemon.so
# Camera provider
vendor/lib/camera.device@1.0-impl.so
vendor/lib/camera.device@3.2-impl.so
vendor/lib/camera.device@3.3-impl.so
vendor/lib/camera.device@3.4-impl.so
vendor/lib/camera.device@3.5-impl.so
vendor/lib/vendor.qti.hardware.camera.device@2.0.so
vendor/lib64/camera.device@1.0-impl.so
vendor/lib64/camera.device@3.2-impl.so
vendor/lib64/camera.device@3.3-impl.so
vendor/lib64/camera.device@3.4-impl.so
vendor/lib64/camera.device@3.5-impl.so
vendor/lib64/vendor.qti.hardware.camera.device@2.0.so
vendor/lib64/vendor.qti.hardware.camera.device@3.5.so
vendor/lib64/android.hardware.camera.provider@2.4-legacy.so
# Camera
vendor/bin/remosaic_daemon
vendor/etc/camera/CFR_para_T.bin