Fix MTK RIL by disablimg IMS and EPDG
This isn't ideal from a user point-of-view because the device will
reboot on first boot.
Thanks a lot @Dinolek !
Conflicts:
phh-on-boot.sh
Change-Id: If25a7b4e91a0713e575260f4f74dffa34020e960
diff --git a/phh-on-boot.sh b/phh-on-boot.sh
index 00c31a9..0fe95e3 100644
--- a/phh-on-boot.sh
+++ b/phh-on-boot.sh
@@ -10,6 +10,14 @@
phh-su -c 'mount -o remount,ro /system'
fi
+if [ -f /vendor/bin/mtkmal ];then
+ if [ "$(getprop persist.mtk_ims_support)" == 1 ];then
+ setprop persist.mtk_ims_support 0
+ setprop persist.mtk_epdg_support 0
+ reboot
+ fi
+fi
+
#Clear looping services
sleep 30
getprop | \