lisa: Patch xiaomi camera libraries

The modified library NOPs out the instruction to change binder
threadpool, allowing the library to load and camera to work on S.

Change-Id: I1ef0ed29e4a2eb820826e5d7df1fa53c9e3df584
This commit is contained in:
Sebastiano Barezzi 2021-10-12 18:41:32 +02:00 committed by Giovanni Ricca
parent 6a95431df2
commit bab2b740cc
No known key found for this signature in database
GPG Key ID: 61E6552837A234F0

View File

@ -14,6 +14,9 @@ function blob_fixup() {
vendor/lib64/hw/camera.qcom.so) vendor/lib64/hw/camera.qcom.so)
sed -i "s/\x73\x74\x5F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x6C\x69\x63/\x63\x61\x6D\x65\x72\x61\x5F\x63\x6E\x66\x2E\x74\x78\x74/g" "${2}" sed -i "s/\x73\x74\x5F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x6C\x69\x63/\x63\x61\x6D\x65\x72\x61\x5F\x63\x6E\x66\x2E\x74\x78\x74/g" "${2}"
;; ;;
vendor/lib64/hw/camera.xiaomi.so)
"${SIGSCAN}" -p "29 07 00 94" -P "1F 20 03 D5" -f "${2}"
;;
esac esac
} }