camera: Add support for Poco F6 Pro / Redmi K70 (vermeer)
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifneq ($(filter fuxi nuwa ishtar,$(TARGET_DEVICE)),)
|
||||
ifneq ($(filter fuxi nuwa ishtar vermeer,$(TARGET_DEVICE)),)
|
||||
|
||||
CAMERA_LIBRARIES := libcamera_algoup_jni.xiaomi.so libcamera_mianode_jni.xiaomi.so
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ Prebuilt MIUI Camera to include in custom ROM builds.
|
||||
* Xiaomi 13 (fuxi)
|
||||
* Xiaomi 13 Pro (nuwa)
|
||||
* Xiaomi 13 Ultra (ishtar)
|
||||
* Poco F6 Pro / Redmi K70 (vermeer)
|
||||
|
||||
### How to use?
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ro.product.mod_device=vermeer_global
|
||||
+2
-1
@@ -22,7 +22,8 @@ TARGET_SYSTEM_PROP += vendor/xiaomi/camera/configs/properties/system.prop
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/camera/configs/properties/system_camera_fuxi.prop:$(TARGET_COPY_OUT_SYSTEM)/etc/build_camera_fuxi.prop \
|
||||
vendor/xiaomi/camera/configs/properties/system_camera_ishtar.prop:$(TARGET_COPY_OUT_SYSTEM)/etc/build_camera_ishtar.prop \
|
||||
vendor/xiaomi/camera/configs/properties/system_camera_nuwa.prop:$(TARGET_COPY_OUT_SYSTEM)/etc/build_camera_nuwa.prop
|
||||
vendor/xiaomi/camera/configs/properties/system_camera_nuwa.prop:$(TARGET_COPY_OUT_SYSTEM)/etc/build_camera_nuwa.prop \
|
||||
vendor/xiaomi/camera/configs/properties/system_camera_vermeer.prop:$(TARGET_COPY_OUT_SYSTEM)/etc/build_camera_vermeer.prop
|
||||
|
||||
# Sepolicy
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += \
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ source "${HELPER}"
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true
|
||||
|
||||
# Warning headers and guards
|
||||
write_headers "fuxi nuwa ishtar"
|
||||
write_headers "fuxi nuwa ishtar vermeer"
|
||||
sed -i 's|device/|vendor/|g' "$ANDROIDBP" "$ANDROIDMK" "$BOARDMK" "$PRODUCTMK"
|
||||
|
||||
cat << 'EOF' >> "$ANDROIDMK"
|
||||
|
||||
Reference in New Issue
Block a user