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 committed by Pierre-Hugues Husson
parent 4ba8184713
commit 99d0cda107

View File

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