Prebuilt MIUI Leica Camera to include in custom ROM builds.
- POCO F5/Redmi Note 12 Turbo (marble)
- POCO F4/Redmi K40S (munch)
- POCO X3 Pro (vayu)
- Xiaomi 11 Lite NE (lisa)
-
Clone this repo to
vendor/xiaomi/camera
-
Inherit it from
device.mk
in device tree:
# Camera
$(call inherit-product-if-exists, vendor/xiaomi/camera/miuicamera.mk)
- Set
ro.product.mod_device
according to stock, andro.miui.notch=1
if the device has a display cutout, for example:
PRODUCT_SYSTEM_PROPERTIES += \
ro.miui.notch=1 \
ro.product.mod_device=marble