summaryrefslogtreecommitdiff
path: root/extract-files.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 88517a6..8528cec 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -70,6 +70,10 @@ function blob_fixup() {
patchelf --remove-needed vendor.xiaomi.hardware.mtdservice@1.0.so "${2}"
sed -i "s|/system/etc/firmware|/vendor/firmware\x0\x0\x0\x0|g" "${2}"
;;
+
+ vendor/lib/hw/camera.sdm660.so)
+ patchelf --replace-needed libMiWatermark.so libMiWatermark_shim.so "${2}"
+ ;;
esac
}