ralph950412 bff27842c7 | ||
---|---|---|
configs/permissions | ||
overlays/MiuiCameraOverlay | ||
proprietary/system | ||
sepolicy/vendor | ||
shims | ||
.gitignore | ||
Android.bp | ||
Android.mk | ||
BoardConfigVendor.mk | ||
README.md | ||
camera-vendor.mk | ||
extract-files.sh | ||
miuicamera.mk | ||
proprietary-files.txt | ||
setup-makefiles.sh | ||
vendorsetup.sh |
README.md
proprietary_vendor_xiaomi_camera
Prebuilt stock HyperOS Camera to include in custom ROM builds.
Extracted from venus HyperOS package (refer proprietary-files.txt for version).
Supported devices
- Xiaomi 11 (venus)
How to use?
-
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=venus_global