-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathradio.mk
100 lines (88 loc) · 3.29 KB
/
radio.mk
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# RRO (Runtime Resource Overlay)
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += $(LOCAL_PATH)/overlay-radio/packages/apps/CarrierConfig
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml
# Common
PRODUCT_PACKAGES += \
libqdMetaData.system
# RIL
PRODUCT_PACKAGES += \
# Telephony
PRODUCT_PACKAGES += \
ims-ext-common \
ims_ext_common.xml \
qti-telephony-hidl-wrapper \
qti_telephony_hidl_wrapper.xml \
telephony-ext
PRODUCT_BOOT_JARS += \
telephony-ext
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml
# Privapp Whitelist
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.netmgrd.qos.enable=true \
persist.data.qmi.adb_logmask=0 \
persist.radio.add_power_save=1 \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.block_allow_data=1 \
persist.radio.custom_ecc=1 \
persist.radio.mt_sms_ack=19 \
persist.radio.oem_socket=true \
persist.radio.redir_party_num=0 \
persist.radio.sib16_support=1 \
persist.radio.wait_for_pbm=1 \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.sib16_support=1 \
persist.vendor.radio.add_power_save=1 \
persist.vendor.radio.start_ota_daemon=1 \
persist.vendor.radio.adb_log_on=1
PRODUCT_PROPERTY_OVERRIDES += \
vendor.rild.libargs=-d[SPACE]/dev/smd0 \
vendor.rild.libpath=/vendor/lib64/libril-wrapper.so \
ril.subscription.types=NV,RUIM
PRODUCT_PROPERTY_OVERRIDES += \
ro.data.large_tcp_window_size=true \
ro.ril.telephony.mqanelements=5 \
ro.telephony.call_ring.multiple=false \
ro.use_data_netmgrd=true
#VoLTE / VoWifi
PRODUCT_PROPERTY_OVERRIDES += \
DEVICE_PROVISIONED=1 \
persist.dbg.ims_volte_enable=1 \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=0 \
persist.dbg.wfc_avail_ovr=0 \
persist.radio.calls.on.ims=1 \
persist.data.iwlan.enable=false \
persist.radio.enable_nw_cw=1 \
persist.ro.ril.sms_sync_sending=1 \
ro.nfc.se.sim.enable=true \
persist.ims.volte=true \
persist.radio.RATE_ADAPT_ENABLE=1 \
persist.radio.ROTATION_ENABLE=1 \
persist.radio.VT_ENABLE=1 \
persist.radio.VT_HYBRID_ENABLE=1 \
ro.cst.prm=1281-1806:R2D \
persist.radio.ue_interrogate=0