johnmart19 b21db8d985 MiuiCamera: Patch algo jni lib to use correct Surface::connect method
In android 15 QPR1, google has removed a public method of the Surface class.
Our jni lib used that method and relies on the offset remaining the same, so
patch the lib to load it with the smaller offset.
LineageOS/android_frameworks_native@6a5fdc1

Co-authored-by: Arian <arian.kulmer@web.de>
2025-01-18 00:42:28 +02:00

proprietary_vendor_xiaomi_camera

Prebuilt stock MIUI/Leica Camera for Poco F3/Redmi K40/Mi 11x (alioth), to include in custom ROM builds.

How to use?

  1. Clone this repo to vendor/xiaomi/camera

  2. Inherit it from device.mk in device tree:

# Camera
$(call inherit-product-if-exists, vendor/xiaomi/camera/miuicamera.mk)
  1. Ensure that you added misys vintf dependencies in your framework_compatibility_matrix.xml:
    <hal format="hidl" optional="true">
        <name>vendor.xiaomi.hardware.misys</name>
        <version>1.0</version>
        <version>2.0</version>
        <version>3.0</version>
        <version>4.0</version>
        <interface>
            <name>IMiSys</name>
            <instance>default</instance>
        </interface>
    </hal>

3.1 Reference - c8ae872b8f

Description
No description provided
Readme 76 MiB