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 !
This commit is contained in:
Pierre-Hugues Husson 2018-08-28 14:53:16 +02:00
parent 82b15278ba
commit 95622e6a7b
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,12 @@
#!/system/bin/sh
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