-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathinstall-ims.sh
44 lines (34 loc) · 1.83 KB
/
install-ims.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/sbin/sh
# chmod 644 /system/overlay/treble-overlay-hw-ims.apk
# restorecon /system/overlay/treble-overlay-hw-ims.apk
chmod 644 /system/app/HuaweiIMS/HuaweiIMS.apk
restorecon /system/app/HuaweiIMS/HuaweiIMS.apk
echo " " >> /system/build.prop;
echo "# Ims" >> /system/build.prop;
echo "persist.sys.phh.ims.hw=true" >> /system/build.prop;
echo "persist.radio.calls.on.ims=1" >> /system/build.prop;
echo "persist.dbg.ims_volte_enable=1" >> /system/build.prop;
echo "persist.dbg.volte_avail_ovr=1" >> /system/build.prop;
echo "persist.dbg.vt_avail_ovr=0" >> /system/build.prop;
echo "persist.dbg.wfc_avail_ovr=0" >> /system/build.prop;
# Huawei config specific on EMUI 8 (Android 8)
echo "ro.config.hw_volte_dyn=true" >> /system/build.prop;
echo "ro.config.hw_volte_on=true" >> /system/build.prop;
echo "ro.config.hw_volte_icon_rule=0" >> /system/build.prop;
# Iceows enable volte for my IMS Huawei
echo "ro.hw.volte.enable=1" >> /system/build.prop;
echo " " >> /system/etc/prop.default;
echo "# Ims" >> /system/etc/prop.default;
echo "persist.sys.phh.ims.hw=true" >> /system/etc/prop.default;
echo "persist.radio.calls.on.ims=1" >> /system/etc/prop.default;
echo "persist.dbg.ims_volte_enable=1" >> /system/etc/prop.default;
echo "persist.dbg.volte_avail_ovr=1" >> /system/etc/prop.default;
echo "persist.dbg.vt_avail_ovr=0" >> /system/etc/prop.default;
echo "persist.dbg.wfc_avail_ovr=0" >> /system/etc/prop.default;
# Huawei config specific on EMUI 8 (Android 8)
echo "ro.config.hw_volte_dyn=true" >> /system/etc/prop.default;
echo "ro.config.hw_volte_on=true" >> /system/etc/prop.default;
echo "ro.config.hw_volte_icon_rule=0" >> /system/etc/prop.default;
# Iceows enable volte for my IMS Huawei
echo "ro.hw.volte.enable=1" >> /system/etc/prop.default;
exit 0;