Files
proprietary_vendor_xiaomi_c…/README.md
T
2023-08-23 13:51:56 +05:30

29 lines
652 B
Markdown

# proprietary_vendor_xiaomi_camera
Prebuilt MIUI Leica Camera to include in custom ROM builds.
### Supported devices
* POCO F4/Redmi K40S (munch)
* POCO X3 Pro (vayu)
* Xiaomi 11 Lite NE (lisa)
* Redmi Note 12 Turbo / POCO F5 (marble)
### 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)
```
3. Set `ro.product.mod_device` according to stock, and `ro.miui.notch=1` if the device has a display cutout, for example:
```
PRODUCT_SYSTEM_PROPERTIES += \
ro.miui.notch=1 \
ro.product.mod_device=lisa
```