Prebuilt stock MIUI/Leica Camera for Poco F4/Redmi K40S (munch), to include in custom ROM builds.
Extracted from munch MIUI package (refer proprietary-files.txt for version).
-
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)
- Ensure that required properties are set:
PRODUCT_SYSTEM_PROPERTIES += \
persist.vendor.camera.privapp.list=org.codeaurora.snapcam,com.android.camera \
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera