forked from LineageOS/android_device_leeco_msm8996-common
-
Notifications
You must be signed in to change notification settings - Fork 3
/
system_prop.mk
209 lines (184 loc) · 5.84 KB
/
system_prop.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
#
# System Properties for msm8996-common
#
# system props for the MM modules
PRODUCT_PROPERTY_OVERRIDES += \
media.stagefright.enable-player=true \
media.stagefright.enable-http=true \
media.stagefright.enable-aac=true \
media.stagefright.enable-qcp=true \
media.stagefright.enable-fma2dp=true \
media.stagefright.enable-scan=true \
mmp.enable.3g2=true \
mm.enable.smoothstreaming=true \
mm.enable.qcom_parser=4194303 \
persist.mm.enable.prefetch=true
# Enable AAC 5.1 output
PRODUCT_PROPERTY_OVERRIDES += \
media.aac_51_output_enabled=true
# Additional i/p buffer in case of encoder DCVS
PRODUCT_PROPERTY_OVERRIDES += \
vidc.enc.dcvs.extra-buff-count=2
# Set default power mode to low power for encoder
PRODUCT_PROPERTY_OVERRIDES += \
vidc.debug.perf.mode=2
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.qc.sdk.audio.ssr=false \
persist.audio.ssr.3mic=false \
ro.qc.sdk.audio.fluencetype=fluence \
persist.audio.fluence.voicecall=true \
persist.audio.fluence.voicerec=false \
persist.audio.fluence.speaker=true \
tunnel.audio.encode=false \
media.aac_51_output_enabled=true \
audio.offload.buffer.size.kb=32 \
audio.offload.video=true \
audio.offload.pcm.16bit.enable=true \
audio.offload.pcm.24bit.enable=true \
audio.offload.track.enable=false \
audio.deep_buffer.media=true \
use.voice.path.for.pcm.voip=true \
audio.offload.multiaac.enable=true \
audio.offload.gapless.enabled=true \
audio.safx.pbe.enabled=true \
audio.parser.ip.buffer.size=262144 \
audio.dolby.ds2.enabled=false \
audio.dolby.ds2.hardbypass=false \
audio.offload.passthrough=false \
audio.offload.multiple.enabled=true \
audio.offload.min.duration.secs=30 \
af.fast_track_multiplier=1 \
audio_hal.period_size=192
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
bt.max.hfpclient.connections=1 \
qcom.bluetooth.soc=rome \
ro.bluetooth.wipower=true \
ro.bluetooth.emb_wp_mode=true
# System property for cabl
PRODUCT_PROPERTY_OVERRIDES += \
ro.qualcomm.cabl=2
# Property for vendor specific library
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.gt_library=libqti-gt.so \
ro.vendor.at_library=libqti-at.so \
sys.games.gt.prof=1
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.imglib.fddsp=1 \
persist.camera.llc=1 \
persist.camera.llnoise=1 \
# Display power reduction (FOSS)
PRODUCT_PROPERTY_OVERRIDES += \
ro.qcom.dpps.sensortype=3 \
ro.qualcomm.display.paneltype=1 \
ro.qualcomm.foss=1 \
config.foss.xml=1 \
config.foss.path="/system/etc/FOSSConfig.xml"
# CNE
PRODUCT_PROPERTY_OVERRIDES += \
persist.cne.feature=1
# Data modules
PRODUCT_PROPERTY_OVERRIDES += \
ro.use_data_netmgrd=true \
persist.data.netmgrd.qos.enable=true \
persist.data.mode=concurrent
# GPS
PRODUCT_PROPERTY_OVERRIDES += \
persist.gps.qc_nlp_in_use=0 \
ro.gps.agps_provider=1
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.hw=1 \
debug.egl.hw=1 \
debug.gralloc.enable_fb_ubwc=1 \
dev.pm.dyn_samplingrate=1 \
persist.demo.hdmirotationlock=false \
ro.opengles.version=196609 \
persist.debug.wfd.enable=1 \
persist.sys.wfd.virtual=0 \
sdm.perf_hint_window=50 \
persist.hwc.enable_vds=1 \
sdm.debug.disable_rotator_split=1 \
ro.persist.qcapb = 1
#enable Apical AD
PRODUCT_PROPERTY_OVERRIDES += \
ro.qcom.ad=1 \
ro.qcom.ad.sensortype=3
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.am.reschedule_service=true \
ro.vendor.extension_library=libqti-perfd-client.so \
ro.min_freq_0=307200 \
ro.min_freq_4=307200 \
ro.sys.fw.bg_apps_limit=60
# QCOM
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst="/dev/block/bootdevice/by-name/frp" \
drm.service.enabled=true
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
rild.libpath="/vendor/lib64/libril-qc-qmi-1.so" \
persist.rild.nitz_plmn="" \
persist.rild.nitz_long_ons_0="" \
persist.rild.nitz_long_ons_1="" \
persist.rild.nitz_long_ons_2="" \
persist.rild.nitz_long_ons_3="" \
persist.rild.nitz_short_ons_0="" \
persist.rild.nitz_short_ons_1="" \
persist.rild.nitz_short_ons_2="" \
persist.rild.nitz_short_ons_3="" \
ril.subscription.types=NV,RUIM \
DEVICE_PROVISIONED=1 \
persist.volte_enalbed_by_hw=1 \
persist.radio.data_ltd_sys_ind=1 \
ro.telephony.default_network=10,10 \
telephony.lteOnCdmaDevice=1 \
ro.telephony.call_ring.multiple=false \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.custom_ecc=1 \
persist.radio.sib16_support=1 \
persist.data.qmi.adb_logmask=0 \
persist.net.doxlat=true \
persist.oem.dump=0 \
persist.radio.hw_mbn_update=0 \
persist.radio.sw_mbn_update=0 \
persist.radio.start_ota_daemon=1
#default SAR mode 0:off/1:on
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.sar_mode=1
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.cs_srv_type=1 \
persist.radio.calls.on.ims=0 \
persist.radio.jbims=0 \
persist.radio.csvt.enabled=false \
persist.radio.rat_on=combine \
persist.radio.mt_sms_ack=20 \
persist.radio.ignore_dom_time=5 \
persist.radio.force_on_dc=true \
persist.radio.flexmap_type=none \
persist.radio.facnotsup_as_nonw=1
# RmNet Data
PRODUCT_PROPERTY_OVERRIDES += \
persist.rmnet.data.enable=true \
persist.data.wda.enable=true \
persist.data.df.dl_mode=5 \
persist.data.df.ul_mode=5 \
persist.data.df.agg.dl_pkt=10 \
persist.data.df.agg.dl_size=4096 \
persist.data.df.mux_count=8 \
persist.data.df.iwlan_mux=9 \
persist.data.df.dev_name=rmnet_usb0
# Timeservice
PRODUCT_PROPERTY_OVERRIDES += \
persist.timed.enable=true
# Wifi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
# SSR
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.ssr.restart_level=ALL_ENABLE
# Fastcharge
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.le_fast_chrg_enable=1