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:
parent
6a95431df2
commit
bab2b740cc
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user