-
Notifications
You must be signed in to change notification settings - Fork 17
/
vendor_prop.mk
235 lines (210 loc) · 7.59 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
#
# vendor prop for albus
#
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.disable=false \
audio.offload.video=false \
persist.vendor.audio.calfile0=/vendor/etc/acdbdata/Bluetooth_cal.acdb \
persist.vendor.audio.calfile1=/vendor/etc/acdbdata/General_cal.acdb \
persist.vendor.audio.calfile2=/vendor/etc/acdbdata/Global_cal.acdb \
persist.vendor.audio.calfile3=/vendor/etc/acdbdata/Handset_cal.acdb \
persist.vendor.audio.calfile4=/vendor/etc/acdbdata/Hdmi_cal.acdb \
persist.vendor.audio.calfile5=/vendor/etc/acdbdata/Headset_cal.acdb \
persist.vendor.audio.calfile6=/vendor/etc/acdbdata/Speaker_cal.acdb \
persist.vendor.audio.dualmic.config=endfire \
persist.vendor.audio.fluence.speaker=true \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicecomm=true \
persist.vendor.audio.fluence.voicerec=false \
persist.vendor.audio.ras.enabled=false \
persist.vendor.audio.default.acc=218752 \
persist.vendor.audio.pdm.gain=12 \
vendor.audio_hal.period_size=240 \
vendor.audio.dolby.ds2.enabled=false \
vendor.audio.dolby.ds2.hardbypass=false \
vendor.audio.flac.sw.decoder.24bit=true \
vendor.audio.hw.aac.encoder=true \
vendor.audio.noisy.broadcast.delay=600 \
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.pcm.16bit.enable=false \
vendor.audio.offload.pcm.24bit.enable=false \
vendor.audio.offload.pstimeout.secs=3 \
vendor.audio.offload.track.enable=true \
vendor.audio.parser.ip.buffer.size=262144 \
vendor.audio.safx.pbe.enabled=true \
vendor.audio.tunnel.encode=false \
vendor.audio.use.sw.alac.decoder=false \
vendor.audio.use.sw.ape.decoder=false \
vendor.voice.path.for.pcm.voip=true \
vendor.audio.offload.min.duration.secs=60
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
bluetooth.hfp.client=1 \
ro.qualcomm.bt.hci_transport=smd \
persist.vendor.qcom.bluetooth.enable.splita2dp=false
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.HAL3.enabled=1 \
vendor.vidc.enc.dcvs.extra-buff-count=2 \
persist.camera.eis.enable=1
# Charger
PRODUCT_PRODUCT_PROPERTIES += \
ro.charger.enable_suspend=true
# CNE
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.cnd.iwlan=1 \
persist.vendor.cne.logging.qxdm=3974
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.vendor.cne.feature=1
# Codec2 switch
PRODUCT_PROPERTY_OVERRIDES += \
debug.media.codec2=2
# core_ctrl
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.core_ctl_min_cpu=2 \
ro.vendor.qti.core_ctl_max_cpu=4
# Dex2oat
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat64.enabled=true
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.hwc_set_default_colormode=true \
debug.sf.enable_hwc_vds=1 \
debug.sf.hw=1 \
debug.sf.latch_unsignaled=1 \
debug.egl.hw=1 \
persist.hwc.mdpcomp.enable=true \
debug.sf.disable_backpressure=1 \
vendor.gralloc.enable_fb_ubwc=1 \
vendor.display.disable_skip_validate=1 \
vendor.video.disable.ubwc=1 \
dev.pm.dyn_samplingrate=1 \
persist.demo.hdmirotationlock=false \
debug.enable.sglscale=1 \
debug.gralloc.enable_fb_ubwc=1 \
debug.sf.recomputecrop=0 \
ro.opengles.version=196610 \
ro.qualcomm.cabl=0
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# FM
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
vendor.bluetooth.soc=smd \
ro.vendor.fm.use_audio_session=true
# IMS
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1
# Media
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
media.stagefright.thumbnail.prefer_hw_codecs=true
# Mods
PRODUCT_PROPERTY_OVERRIDES += \
sys.mod.platformsdkversion=281
# OMX
# Rank OMX SW codecs lower than OMX HW codecs
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.omx_default_rank.sw-audio=1 \
debug.stagefright.omx_default_rank=0
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so
# Qualcomm
PRODUCT_PROPERTY_OVERRIDES += \
com.qc.hardware=true \
debug.qc.hardware=true \
persist.timed.enable=true
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.ims.dropset_feature=0 \
persist.vendor.ims.disableADBLogs=0 \
persist.vendor.ims.disableDebugDataPathLogs=0 \
persist.vendor.ims.disableDebugLogs=0 \
persist.vendor.ims.disableIMSLogs=0 \
persist.vendor.ims.disableQXDMLogs=1 \
persist.vendor.ims.vt.enableadb=1 \
persist.vendor.radio.0x9e_not_callname=1 \
persist.vendor.radio.adb_log_on=0 \
persist.vendor.radio.add_power_save=1 \
persist.vendor.radio.aosp_usr_pref_sel=true \
persist.vendor.radio.apm_sim_not_pwdn=1 \
persist.vendor.radio.cs_srv_type=1 \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.data_con_rprt=1 \
persist.vendor.radio.dfr_mode_set=1 \
persist.vendor.radio.eri64_as_home=1 \
persist.vendor.radio.flexmap_type=none \
persist.vendor.radio.jbims=1 \
persist.vendor.radio.lte_vrte_ltd=1 \
persist.vendor.radio.msgtunnel.start=true \
persist.vendor.radio.mt_sms_ack=30 \
persist.vendor.radio.no_wait_for_card=1 \
persist.vendor.radio.oem_ind_to_both=0 \
persist.vendor.radio.procedure_bytes=SKIP \
persist.vendor.radio.qcril_uim_vcc_feature=1 \
persist.vendor.radio.relay_oprt_change=1 \
persist.vendor.radio.sw_mbn_update=1 \
ro.vendor.radio.imei.sv=13 \
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
ro.build.vendorprefix=/vendor \
ro.telephony.iwlan_operation_mode=legacy
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ril.subscription.types=NV,RUIM \
telephony.lteOnCdmaDevice=1 \
# Sensors
PRODUCT_PROPERTY_OVERRIDES += \
ro.qti.sensors.dev_ori=false \
ro.qti.sensors.dpc=true \
ro.qti.sensors.iod=true \
ro.qti.sensors.pmd=true \
ro.qti.sensors.mot_detect=true \
ro.qti.sensors.multishake=true \
ro.qti.sensors.sta_detect=true \
ro.hardware.sensors=albus \
ro.vendor.sensors.maghalcal=true \
ro.vendor.sensors.amd=false \
ro.vendor.sensors.pmd=false \
ro.vendor.sensors.rmd=false \
ro.vendor.sensors.smd=false \
ro.vendor.sdk.sensors.gestures=false \
ro.vendor.sensors.facing=false \
ro.vendor.sensors.scrn_ortn=false \
ro.vendor.sensors.cmc=false \
ro.vendor.sensors.pedometer=false \
ro.sensors.tof.interval_ms=5000 \
ro.vendor.sensors.dev_ori=true \
ro.vendor.sensors.sta_detect=true \
ro.vendor.sensors.mot_detect=true
# SurfaceFlinger
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.force_hwc_copy_for_virtual_displays=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 \
ro.surface_flinger.has_wide_color_display=true \
ro.surface_flinger.use_color_management=true
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.early_phase_offset_ns=1500000 \
debug.sf.early_app_phase_offset_ns=1500000 \
debug.sf.early_gl_phase_offset_ns=3000000 \
debug.sf.early_gl_app_phase_offset_ns=15000000
# USB
PRODUCT_PROPERTY_OVERRIDES += \
ro.usb.mtp=2e82 \
ro.usb.mtp_adb=2e76 \
ro.usb.ptp=2e83 \
ro.usb.ptp_adb=2e84 \
ro.usb.bpt=2ee5 \
ro.usb.bpt_adb=2ee6 \
ro.usb.bpteth=2ee7 \
ro.usb.bpteth_adb=2ee8