miuicamera: Extract from sweet V14.0.9.0.TKFMIXM

Change-Id: I002a92b8b121e934b2142079fe5bd3611219f109
This commit is contained in:
basamaryan 2024-04-20 01:49:28 +02:00
parent d284d16ebc
commit 9d169eba43
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9
10 changed files with 128 additions and 0 deletions

View File

@ -7,3 +7,113 @@ soong_namespace {
], ],
} }
cc_prebuilt_library_shared {
name: "libcamera_algoup_jni.xiaomi",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system/lib64/libcamera_algoup_jni.xiaomi.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
}
cc_prebuilt_library_shared {
name: "libcamera_mianode_jni.xiaomi",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system/lib64/libcamera_mianode_jni.xiaomi.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
}
cc_prebuilt_library_shared {
name: "libmicampostproc_client",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system/lib64/libmicampostproc_client.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
}
cc_prebuilt_library_shared {
name: "vendor.xiaomi.hardware.campostproc@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system/lib64/vendor.xiaomi.hardware.campostproc@1.0.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
}
cc_prebuilt_library_shared {
name: "libarcdualcamsat",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libarcdualcamsat.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libarcsat",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libarcsat.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
android_app_import {
name: "MiuiCamera",
owner: "xiaomi",
apk: "proprietary/system/priv-app/MiuiCamera/MiuiCamera.apk",
overrides: ["Aperture", "Snap", "Camera2", "GoogleCameraGo"],
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
}

View File

@ -5,3 +5,12 @@
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
vendor/xiaomi/sweet-miuicamera/common vendor/xiaomi/sweet-miuicamera/common
PRODUCT_PACKAGES += \
libcamera_algoup_jni.xiaomi \
libcamera_mianode_jni.xiaomi \
libmicampostproc_client \
vendor.xiaomi.hardware.campostproc@1.0 \
libarcdualcamsat \
libarcsat \
MiuiCamera

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,9 @@
# These proprietary files are extracted from Redmi Note 10 Pro (codenamed `sweet`) MIUI V14.0.9.0.TKFMIXM, unless pinned
-product/priv-app/MiuiCamera/MiuiCamera.apk:system/priv-app/MiuiCamera/MiuiCamera.apk;OVERRIDES=Aperture,Snap,Camera2,GoogleCameraGo
-system/lib64/libcamera_algoup_jni.xiaomi.so
-system/lib64/libcamera_mianode_jni.xiaomi.so
-system/lib64/libmicampostproc_client.so
-system/lib64/vendor.xiaomi.hardware.campostproc@1.0.so
-vendor/lib64/libarcdualcamsat.so
-vendor/lib64/libarcsat.so