From 71789c3977875693f5efc70e47ff8f862c8d80fb Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 14 May 2018 13:39:17 +0200 Subject: [PATCH] empty-mount trustkernel keystore. It is not working for the moment --- rw-system.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rw-system.sh b/rw-system.sh index 58640fd..2e969ab 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -49,4 +49,7 @@ if grep vendor.huawei.hardware.biometrics.fingerprint /vendor/manifest.xml;then mount -o bind system/phh/huawei/fingerprint.kl /vendor/usr/keylayout/fingerprint.kl fi - +#Disable trustkernel keystore, because it doesn't work for the moment +#Found on MTK devices +mount -o bind /system/phh/empty /vendor/lib/hw/keystore.trustkernel.so || true +mount -o bind /system/phh/empty /vendor/lib64/hw/keystore.trustkernel.so || true