-
Notifications
You must be signed in to change notification settings - Fork 2
/
vendor_prop.mk
243 lines (219 loc) · 8.64 KB
/
vendor_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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
#
# Copyright (C) 2018-2019 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.
#
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.min.duration.secs=30 \
audio.offload.video=true \
persist.vendor.audio.fluence.audiorec=false \
persist.vendor.audio.fluence.speaker=true \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=false \
persist.vendor.audio.ras.enabled=false \
persist.vendor.bt.a2dp_offload_cap=sbc-aac \
persist.vendor.bt.aac_frm_ctl.enabled=true \
ro.af.client_heap_size_kbyte=7168 \
ro.config.alarm_vol_default=10 \
ro.config.alarm_vol_steps=16 \
ro.config.media_vol_default=7 \
ro.config.media_vol_steps=18 \
ro.config.vc_call_vol_default=6 \
ro.config.vc_call_vol_steps=8 \
ro.vendor.audio.sdk.fluencetype=fluence \
ro.vendor.audio.sdk.ssr=false \
vendor.audio.adm.buffering.ms=3 \
vendor.audio.dolby.ds2.enabled=false \
vendor.audio.dolby.ds2.hardbypass=false \
vendor.audio.feature.a2dp_offload.enable=false \
vendor.audio.feature.afe_proxy.enable=true \
vendor.audio.feature.anc_headset.enable=true \
vendor.audio.feature.battery_listener.enable=false \
vendor.audio.feature.compr_cap.enable=false \
vendor.audio.feature.compress_in.enable=false \
vendor.audio.feature.compress_meta_data.enable=true \
vendor.audio.feature.compr_voip.enable=false \
vendor.audio.feature.concurrent_capture.enable=false \
vendor.audio.feature.custom_stereo.enable=true \
vendor.audio.feature.display_port.enable=true \
vendor.audio.feature.dsm_feedback.enable=false \
vendor.audio.feature.dynamic_ecns.enable=false \
vendor.audio.feature.ext_hw_plugin.enable=false \
vendor.audio.feature.external_dsp.enable=false \
vendor.audio.feature.external_speaker.enable=false \
vendor.audio.feature.external_speaker_tfa.enable=false \
vendor.audio.feature.fluence.enable=true \
vendor.audio.feature.fm.enable=true \
vendor.audio.feature.hdmi_edid.enable=false \
vendor.audio.feature.hdmi_passthrough.enable=false \
vendor.audio.feature.hfp.enable=true \
vendor.audio.feature.hifi_audio.enable=false \
vendor.audio.feature.hwdep_cal.enable=false \
vendor.audio.feature.incall_music.enable=false \
vendor.audio.feature.multi_voice_session.enable=true \
vendor.audio.feature.keep_alive.enable=false \
vendor.audio.feature.kpi_optimize.enable=true \
vendor.audio.feature.maxx_audio.enable=false \
vendor.audio.feature.ras.enable=true \
vendor.audio.feature.record_play_concurency.enable=false \
vendor.audio.feature.src_trkn.enable=true \
vendor.audio.feature.spkr_prot.enable=false \
vendor.audio.feature.ssrec.enable=false \
vendor.audio.feature.usb_offload.enable=true \
vendor.audio.feature.usb_offload_burst_mode.enable=false \
vendor.audio.feature.usb_offload_sidetone_volume.enable=false \
vendor.audio.feature.deepbuffer_as_primary.enable=false \
vendor.audio.feature.vbat.enable=true \
vendor.audio.feature.wsa.enable=false \
vendor.audio.feature.audiozoom.enable=false \
vendor.audio.feature.snd_mon.enable=false \
vendor.audio.flac.sw.decoder.24bit=true \
vendor.audio.hw.aac.encoder=true \
vendor.audio.offload.buffer.size.kb=32 \
vendor.audio.offload.gapless.enabled=true \
vendor.audio.offload.multiaac.enable=true \
vendor.audio.offload.multiple.enabled=false \
vendor.audio.offload.passthrough=false \
vendor.audio.offload.track.enable=true \
vendor.audio.parser.ip.buffer.size=262144 \
vendor.audio.safx.pbe.enabled=false \
vendor.audio.spkr_prot.tx.sampling_rate=48000 \
vendor.audio.tunnel.encode=false \
vendor.audio.use.sw.alac.decoder=true \
vendor.audio.use.sw.ape.decoder=true \
vendor.audio_hal.period_multiplier=2 \
vendor.audio_hal.period_size=192
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
vendor.qcom.bluetooth.soc=cherokee \
ro.vendor.bt.bdaddr_path=/proc/bt_mac
# Boot control
PRODUCT_PROPERTY_OVERRIDES += \
ro.cp_system_other_odex=1
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
camera.disable_zsl_mode=1 \
vidc.enc.dcvs.extra-buff-count=2
# CNE
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.cne.feature=1
# Display
PRODUCT_PROPERTY_OVERRIDES += \
debug.egl.force_msaa=false \
debug.sf.enable_gl_backpressure=1 \
debug.sf.enable_hwc_vds=1 \
debug.sf.hw=1 \
debug.sf.latch_unsignaled=0 \
ro.opengles.version=196610 \
ro.vendor.display.cabl=0 \
vendor.display.disable_metadata_dynamic_fps=1 \
vendor.display.disable_partial_split=1 \
vendor.display.disable_rotator_downscale=1 \
vendor.display.disable_skip_validate=1 \
vendor.display.enable_default_color_mode=0 \
vendor.display.perf_hint_window=50 \
vendor.display.res_switch_en=1 \
vendor.gralloc.enable_fb_ubwc=1
# DPM
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.dpm.feature=0
# FRP
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/platform/soc/1da4000.ufshc/by-name/frp
# HDR
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.display.hdr.config=/vendor/etc/hdr_tm_config.xml
# IMS
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.volte_avail_ovr=0 \
persist.dbg.vt_avail_ovr=0 \
persist.dbg.wfc_avail_ovr=0 \
persist.rcs.supported=0
# Media
PRODUCT_PROPERTY_OVERRIDES += \
vendor.vidc.dec.120fps.enabled=1 \
vendor.vidc.dec.drc.enable=1
# Media
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.omx_default_rank.sw-audio=1 \
debug.stagefright.omx_default_rank=0
# Network manager
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.data.iwlan.enable=true
# OEM Unlock reporting
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.oem_unlock_supported=1
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so \
ro.vendor.qti.core_ctl_max_cpu=4 \
ro.vendor.qti.core_ctl_min_cpu=2 \
ro.vendor.qti.sys.fw.bg_apps_limit=38
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.data.mode=concurrent \
persist.vendor.radio.apm_sim_not_pwdn=1 \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.sib16_support=1 \
ro.telephony.call_ring.multiple=false \
ro.telephony.default_network=20 \
ro.vendor.use_data_netmgrd=true \
telephony.lteOnCdmaDevice=1 \
vendor.rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
vendor.voice.path.for.pcm.voip=false
# Sensors
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.sensors.direct_channel=true \
ro.vendor.sensors.dev_ori=false \
ro.vendor.sensors.dpc=true \
ro.vendor.sensors.mot_detect=true \
ro.vendor.sensors.multishake=true \
ro.vendor.sensors.pmd=true \
ro.vendor.sensors.sta_detect=true
# SurfaceFlinger
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \
ro.surface_flinger.has_HDR_display=true \
ro.surface_flinger.has_wide_color_display=true \
ro.surface_flinger.max_virtual_display_dimension=4096 \
ro.surface_flinger.protected_contents=true \
ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \
ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.early_phase_offset_ns=500000 \
debug.sf.early_app_phase_offset_ns=500000 \
debug.sf.early_gl_phase_offset_ns=3000000 \
debug.sf.early_gl_app_phase_offset_ns=15000000
# The default sf phase offset is set to 6ms, to avoid it be included into next
# vsync threshold, set high fps early sf and next vsync threshold phase offset
# to 6.1ms, which is bigger than all sf phase offsets in normal frame rate.
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.high_fps_early_phase_offset_ns=6100000 \
debug.sf.high_fps_early_gl_phase_offset_ns=9000000 \
debug.sf.phase_offset_threshold_for_next_vsync_ns=6100000
# Time services
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.delta_time.enable=true
# Widevine
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# WFD
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.wfd.virtual=0
# Wlan
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0