sm8250-common: Use libcamera_metadata_shim for unlocking cameras

Change-Id: I985c6e317b36d8cdc6b41a9f9f625b293a8987eb
This commit is contained in:
LuK1337
2022-11-25 15:46:37 +01:00
parent 0bd5603fc5
commit 6fa8797615
3 changed files with 3 additions and 3 deletions

View File

@@ -83,8 +83,7 @@ function blob_fixup() {
sed -i "s/^NXP_RF_CONF_BLK_10/#NXP_RF_CONF_BLK_10/" "${2}"
;;
vendor/lib64/hw/com.qti.chi.override.so)
"${SIGSCAN}" -p "9B 2B 04 94" -P "1F 20 03 D5" -f "${2}"
"${SIGSCAN}" -p "46 23 04 94" -P "1F 20 03 D5" -f "${2}"
grep -q libcamera_metadata_shim.so "${2}" || "${PATCHELF}" --add-needed libcamera_metadata_shim.so "${2}"
sed -i "s/com.oem.autotest/\x00om.oem.autotest/" "${2}"
;;
vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so)