From bdbd72c7dae8784f42f2156adb959af33212a337 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 29 Aug 2018 20:36:21 +0200 Subject: [PATCH] Fix FDE + MTK RIL fix --- phh-on-boot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phh-on-boot.sh b/phh-on-boot.sh index 9365cf7..9f40955 100644 --- a/phh-on-boot.sh +++ b/phh-on-boot.sh @@ -1,7 +1,8 @@ #!/system/bin/sh +[ "$(getprop vold.decrypt)" == "trigger_restart_min_framework" ] && exit 0 if [ -f /vendor/bin/mtkmal ];then - if [ "$(getprop persist.mtk_ims_support)" == 1 ];then + if [ "$(getprop persist.mtk_ims_support)" == 1 -o "$(getprop persist.mtk_epdg_support)" == 1 ];then setprop persist.mtk_ims_support 0 setprop persist.mtk_epdg_support 0 reboot