This repository has been archived by the owner on Jan 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproperties.mk
258 lines (233 loc) · 9.15 KB
/
properties.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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.min.duration.secs=30 \
audio.offload.video=true \
ro.af.client_heap_size_kbyte=7168 \
ro.config.media_vol_steps=25 \
ro.config.vc_call_vol_steps=7 \
ro.vendor.audio.sdk.fluencetype=fluence \
ro.vendor.audio.sdk.ssr=false \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=false \
persist.vendor.audio.fluence.speaker=false \
persist.vendor.audio.hifi.int_codec=true \
persist.vendor.audio.ras.enabled=false \
vendor.audio_hal.period_size=240 \
vendor.audio.adm.buffering.ms=6 \
vendor.audio.dolby.ds2.enabled=false \
vendor.audio.dolby.ds2.hardbypass=false \
vendor.audio.hal.boot.timeout.ms=20000 \
vendor.audio.offload.buffer.size.kb=256 \
vendor.audio.offload.track.enable=true \
vendor.audio.offload.multiaac.enable=true \
vendor.audio.offload.multiple.enabled=false \
vendor.audio.offload.passthrough=false \
vendor.audio.offload.gapless.enabled=true \
vendor.audio.parser.ip.buffer.size=262144 \
vendor.audio.flac.sw.decoder.24bit=true \
vendor.audio.hw.aac.encoder=true \
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.volume.headset.gain.depcal=true \
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=true \
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=true \
vendor.audio.feature.hdmi_passthrough.enable=true \
vendor.audio.feature.hfp.enable=true \
vendor.audio.feature.hifi_audio.enable=true \
vendor.audio.feature.hwdep_cal.enable=false \
vendor.audio.feature.incall_music.enable=true \
vendor.audio.feature.multi_voice_session.enable=true \
vendor.audio.feature.keep_alive.enable=false \
vendor.audio.feature.kpi_optimize.enable=false \
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=true \
vendor.audio.feature.ssrec.enable=true \
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=true \
vendor.voice.path.for.pcm.voip=true
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac \
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac \
persist.vendor.bt.aac_frm_ctl.enabled=true \
persist.vendor.qcom.bluetooth.a2dp_offload_cap=sbc-aptx-aptxhd-aac-ldac \
persist.vendor.qcom.bluetooth.enable.splita2dp=true \
persist.vendor.qcom.bluetooth.scram.enabled=false \
persist.vendor.qcom.bluetooth.soc=cherokee \
ro.bluetooth.a2dp_offload.supported=true \
ro.vendor.bluetooth.wipower=false
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.HAL3.enabled=1 \
persist.vendor.camera.awb.sync=2 \
persist.vendor.camera.depth.focus.cb=0 \
persist.vendor.camera.dual.isp.sync=0 \
persist.vendor.camera.exif.make=Xiaomi \
persist.vendor.camera.expose.aux=1 \
persist.vendor.camera.fdvideo=1 \
persist.vendor.camera.imglib.usefdlite=1 \
persist.vendor.camera.isp.clock.optmz=0 \
persist.vendor.camera.isp.turbo=1 \
persist.vendor.camera.linkpreview=0 \
persist.vendor.camera.ltm.overlap=13 \
persist.vendor.camera.preview.ubwc=0 \
persist.vendor.camera.stats.test=5 \
persist.vendor.flash.light.lux=340 \
persist.vendor.flash.low.lux=390 \
persist.vendor.imx376_ofilm.light.lux=280 \
persist.vendor.imx376_ofilm.low.lux=310 \
persist.vendor.imx376_sunny.light.lux=280 \
persist.vendor.imx376_sunny.low.lux=310 \
persist.vendor.ov13855_sunny.light.lux=370 \
persist.vendor.ov13855_sunny.low.lux=385 \
persist.vendor.s5k3l8_ofilm.light.lux=367 \
persist.vendor.s5k3l8_ofilm.low.lux=379 \
vidc.enc.dcvs.extra-buff-count=2 \
vendor.video.disable.ubwc=1
# Chipset
PRODUCT_VENDOR_PROPERTIES += \
ro.soc.manufacturer=QTI \
ro.soc.model=SDM660
# Crypto
PRODUCT_PROPERTY_OVERRIDES += \
ro.crypto.volume.filenames_mode=aes-256-cts
# Dalvik
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat64.enabled=true
# Display
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
debug.sf.early_phase_offset_ns=11600000 \
debug.sf.early_app_phase_offset_ns=11600000 \
debug.sf.early_gl_phase_offset_ns=3000000 \
debug.sf.early_gl_app_phase_offset_ns=15000000 \
ro.opengles.version=196610
PRODUCT_PROPERTY_OVERRIDES += \
debug.mdpcomp.logs=0 \
debug.sf.disable_client_composition_cache=1 \
debug.sf.hw=1 \
vendor.gralloc.disable_ubwc=0 \
vendor.display.comp_mask=0 \
vendor.display.disable_scaler=0 \
vendor.display.disable_skip_validate=1 \
vendor.display.enable_default_color_mode=1 \
vendor.display.idle_time=32767 \
vendor.gralloc.enable_fb_ubwc=1
PRODUCT_SYSTEM_PROPERTIES += \
ro.launcher.blur.appLaunch=0
# DPM
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.dpmhalservice.enable=1
PRODUCT_SYSTEM_EXT_PROPERTIES += \
persist.vendor.dpm.feature=11 \
persist.vendor.dpm.loglevel=0 \
persist.vendor.dpm.nsrm.bkg.evt=3955
# FRP
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/bootdevice/by-name/frp
# Fwk detect
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.va_aosp.support=1
PRODUCT_ODM_PROPERTIES += \
ro.vendor.qti.va_odm.support=1
# LMKD
PRODUCT_PROPERTY_OVERRIDES += \
ro.lmk.critical_upgrade=true \
ro.lmk.upgrade_pressure=40 \
ro.lmk.downgrade_pressure=60 \
ro.lmk.kill_heaviest_task=false
# Media
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.omx_default_rank=0 \
media.stagefright.thumbnail.prefer_hw_codecs=true \
vendor.vidc.dec.enable.downscalar=1 \
vendor.vidc.enc.disable_bframes=1 \
vendor.vidc.enc.disable.pq=true
PRODUCT_SYSTEM_PROPERTIES += \
ro.media.recorder-max-base-layer-fps=60
# Netmgr
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.data.iwlan.enable=true \
persist.vendor.data.mode=concurrent \
ro.telephony.iwlan_operation_mode=legacy \
ro.vendor.use_data_netmgrd=true
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so
# RCS
PRODUCT_PROPERTY_OVERRIDES += \
persist.rcs.supported=0
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.multisim.config=dsds \
persist.sys.fflag.override.settings_provider_model=false \
persist.vendor.radio.apm_sim_not_pwdn=1 \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.data_con_rprt=1 \
persist.vendor.radio.data_ltd_sys_ind=1 \
persist.vendor.radio.force_ltd_sys_ind=1 \
persist.vendor.radio.manual_nw_rej_ct=1 \
persist.vendor.radio.mt_sms_ack=30 \
persist.vendor.radio.procedure_bytes=SKIP \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.sib16_support=1 \
ro.telephony.default_cdma_sub=0 \
ro.telephony.default_network=22,22 \
telephony.lteOnCdmaDevice=1
# Radio (VoLTE)
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1
# Disable Rescue Party on userdebug & eng build
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PRODUCT_PROPERTIES += \
persist.sys.disable_rescue=true \
persist.sys.binary_xml=false
endif
# Sensor
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.sdk.sensors.gestures=false \
ro.vendor.sensors.cmc=false \
ro.vendor.sensors.facing=false \
ro.vendor.sensors.dev_ori=true \
ro.vendor.sensors.pmd=true \
ro.vendor.sensors.sta_detect=true \
ro.vendor.sensors.mot_detect=true
# Subsystem silent restart
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.ssr.restart_level=ALL_ENABLE \
persist.vendor.ssr.enable_ramdumps=0
# System other
PRODUCT_PROPERTY_OVERRIDES += \
ro.cp_system_other_odex=1