beyond1lte: Decommonize vaultkeeper

Change-Id: Id259e5498845f25ef21a68234aa4653e9ee6e0ed
This commit is contained in:
Tim Zimmermann
2024-04-01 05:51:42 +02:00
parent 39720c304c
commit 3ffc07bc28
2 changed files with 11 additions and 0 deletions

View File

@@ -8,6 +8,9 @@
function blob_fixup() {
case "${1}" in
vendor/bin/vaultkeeperd|vendor/lib64/libvkservice.so)
sed -i 's/ro\.factory\.factory_binary/ro.vendor.factory_binary\x00/g' "${2}"
;;
vendor/lib64/libexynoscamera3.so)
xxd -p "${2}" | sed "s/8b022036/1f2003d5/g" | xxd -r -p > "${2}".patched
mv "${2}".patched "${2}"