sm8350-common: Unlock aux cameras

This basically NOPs update_camera_metadata_entry() call that sets
ANDROID_REQUEST_AVAILABLE_CAPABILITIES_SYSTEM_CAMERA to 1 for aux cams.

Change-Id: Ie869b3eb0ea85af99904e2e23e86c4cd0acc3596
This commit is contained in:
LuK1337
2022-06-01 19:31:13 +02:00
parent 9954b93e93
commit e1871f0a0b
2 changed files with 7 additions and 1 deletions

View File

@@ -60,12 +60,18 @@ fi
function blob_fixup() {
case "${1}" in
odm/etc/camera/CameraHWConfiguration.config)
sed -i "/SystemCamera = / s/1;/0;/g" "${2}"
;;
product/etc/sysconfig/com.android.hotwordenrollment.common.util.xml)
sed -i "s/\/my_product/\/product/" "${2}"
;;
system_ext/lib64/libwfdnative.so)
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
;;
vendor/lib64/hw/com.qti.chi.override.so)
"${SIGSCAN}" -p "C0 6D 05 94" -P "1F 20 03 D5" -f "${2}"
;;
vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so)
"${SIGSCAN}" -p "3F 0A 00 94" -P "1F 20 03 D5" -f "${2}"
;;

View File

@@ -755,7 +755,7 @@ vendor/lib64/camera/components/com.qtistatic.stats.awb.so
vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so
vendor/lib64/camera/components/libdepthmapwrapper_secure.so
vendor/lib64/hw/camera.qcom.so
vendor/lib64/hw/com.qti.chi.override.so
vendor/lib64/hw/com.qti.chi.override.so|26ca45c094105c5118ea33555dbedefa8d0d22c1|c93087d3b8fdc1b29d704c130ce7c1487d339b66
vendor/lib64/com.qti.chiusecaseselector.so
vendor/lib64/com.qti.feature2.anchorsync.so
vendor/lib64/com.qti.feature2.demux.so