mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
LG8n: Patch Keymint services
* This will be useful when updating to Android 14 Change-Id: I1892e9a15b2c10121581a7717a24eb6c64f849ef Signed-off-by: fjrXTR <fajarslebew31@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
749d7d4521
commit
a777cf1e36
|
@ -102,10 +102,15 @@ function blob_fixup {
|
||||||
;;
|
;;
|
||||||
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service)
|
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service)
|
||||||
"${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "${2}"
|
"${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "${2}"
|
||||||
;;
|
;;
|
||||||
vendor/lib*/hw/android.hardware.thermal@2.0-impl.so)
|
vendor/lib*/hw/android.hardware.thermal@2.0-impl.so)
|
||||||
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}"
|
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}"
|
||||||
;;
|
;;
|
||||||
|
vendor/bin/hw/android.hardware.security.keymint-service.trustonic)
|
||||||
|
"$PATCHELF" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V1-ndk.so" "$2"
|
||||||
|
"$PATCHELF" --replace-needed "android.hardware.security.secureclock-V1-ndk_platform.so" "android.hardware.security.secureclock-V1-ndk.so" "$2"
|
||||||
|
"$PATCHELF" --replace-needed "android.hardware.security.sharedsecret-V1-ndk_platform.so" "android.hardware.security.sharedsecret-V1-ndk.so" "$2"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue