LG8n: Patchelf mnld to load libshim_sensors

Change-Id: I3f63ca6635976e5102a743c36b4156b7123deaa3
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
fjrXTR 2024-07-26 00:32:18 +08:00 committed by Shirayuki39
parent 49cd637d8d
commit 216cd024cd

View file

@ -117,6 +117,7 @@ function blob_fixup {
"$PATCHELF" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-ndk.so" "$2" "$PATCHELF" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-ndk.so" "$2"
grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}" grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}"
;; ;;
vendor/bin/mnld|\
vendor/lib64/hw/android.hardware.sensors@2.X-subhal-mediatek.so|\ vendor/lib64/hw/android.hardware.sensors@2.X-subhal-mediatek.so|\
vendor/lib64/hw/mt6789/vendor.mediatek.hardware.pq@2.15-impl.so|\ vendor/lib64/hw/mt6789/vendor.mediatek.hardware.pq@2.15-impl.so|\
vendor/lib64/mt6789/libaalservice.so|\ vendor/lib64/mt6789/libaalservice.so|\