forked from corrmaan/rattlesnakeos-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
00004-enable-volte.patch
59 lines (50 loc) · 3.11 KB
/
00004-enable-volte.patch
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
diff -ur a/device/google/muskie/device-common.mk b/device/google/muskie/device-common.mk
--- a/device/google/muskie/device-common.mk 2020-02-12 09:40:27.571347932 -0400
+++ b/device/google/muskie/device-common.mk 2020-02-12 09:41:28.678945901 -0400
@@ -151,3 +151,11 @@
ro.camera.notify_nfc=1
PRODUCT_CHECK_ELF_FILES := true
+
+# Enable wifi calling and volte
+PRODUCT_PROPERTY_OVERRIDES += persist.dbg.ims_volte_enable=1
+PRODUCT_PROPERTY_OVERRIDES += persist.dbg.volte_avail_ovr=1
+PRODUCT_PROPERTY_OVERRIDES += persist.dbg.vt_avail_ovr=0
+PRODUCT_PROPERTY_OVERRIDES += persist.data.iwlan.enable=true
+PRODUCT_PROPERTY_OVERRIDES += persist.dbg.wfc_avail_ovr=1
+PRODUCT_PROPERTY_OVERRIDES += ro.ril.enable.amr.wideband=1
diff -ur a/frameworks/base/core/res/res/values/config.xml b/frameworks/base/core/res/res/values/config.xml
--- a/frameworks/base/core/res/res/values/config.xml 2020-02-12 09:18:56.000000000 -0400
+++ b/frameworks/base/core/res/res/values/config.xml 2020-02-12 09:21:17.496594698 -0400
@@ -2953,18 +2953,18 @@
<bool name="imsServiceAllowTurnOff">true</bool>
<!-- Flag specifying whether VoLTE is available on device -->
- <bool name="config_device_volte_available">false</bool>
+ <bool name="config_device_volte_available">true</bool>
<!-- Flag specifying whether VoLTE should be available for carrier: independent of
carrier provisioning. If false: hard disabled. If true: then depends on carrier
provisioning, availability etc -->
- <bool name="config_carrier_volte_available">false</bool>
+ <bool name="config_carrier_volte_available">true</bool>
<!-- Flag specifying whether VoLTE TTY is supported -->
<bool name="config_carrier_volte_tty_supported">true</bool>
<!-- Flag specifying whether VT is available on device -->
- <bool name="config_device_vt_available">false</bool>
+ <bool name="config_device_vt_available">true</bool>
<!-- Flag specifying whether the device will use the "allow_hold_in_ims_call" carrier config
option. When false, the device will support holding of IMS calls, regardless of the
@@ -2974,15 +2974,15 @@
<!-- Flag specifying whether VT should be available for carrier: independent of
carrier provisioning. If false: hard disabled. If true: then depends on carrier
provisioning, availability etc -->
- <bool name="config_carrier_vt_available">false</bool>
+ <bool name="config_carrier_vt_available">true</bool>
<!-- Flag specifying whether WFC over IMS is available on device -->
- <bool name="config_device_wfc_ims_available">false</bool>
+ <bool name="config_device_wfc_ims_available">true</bool>
<!-- Flag specifying whether WFC over IMS should be available for carrier: independent of
carrier provisioning. If false: hard disabled. If true: then depends on carrier
provisioning, availability etc -->
- <bool name="config_carrier_wfc_ims_available">false</bool>
+ <bool name="config_carrier_wfc_ims_available">true</bool>
<!-- Whether to use voip audio mode for ims call -->
<bool name="config_use_voip_mode_for_ims">false</bool>