-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendor_prop.mk
304 lines (272 loc) · 9.34 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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.min.duration.secs=30 \
audio.offload.video=true \
av.debug.disable.pers.cache=1 \
persist.dirac.acs.controller=qem \
persist.dirac.acs.ignore_error=1 \
persist.dirac.acs.storeSettings=1 \
persist.vendor.audio.fluence.speaker=true \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=false \
persist.vendor.audio.hw.binder.size_kbyte=1024 \
persist.vendor.audio.speaker.prot.enable=false \
ro.af.client_heap_size_kbyte=7168 \
ro.audio.soundfx.dirac=true \
ro.vendor.audio.sdk.fluencetype=fluence \
ro.vendor.audio.sdk.ssr=false \
ro.vendor.audio.sos=true \
ro.vendor.audio.voice.volume.boost=manual \
vendor.audio.chk.cal.spk=0 \
vendor.audio.chk.cal.us=0 \
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.offload.buffer.size.kb=64 \
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.playback.mch.downsample=true \
vendor.audio.pp.asphere.enabled=false \
vendor.audio.safx.pbe.enabled=true \
vendor.audio.tunnel.encode=false \
vendor.audio.use.sw.alac.decoder=true \
vendor.audio.use.sw.ape.decoder=true \
vendor.audio_hal.period_size=192 \
vendor.voice.conc.fallbackpath=deep-buffer \
vendor.voice.path.for.pcm.voip=true \
vendor.voice.playback.conc.disabled=true \
vendor.voice.record.conc.disabled=false \
vendor.voice.voip.conc.disabled=true
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
vendor.qcom.bluetooth.soc=pronto \
vendor.bluetooth.soc=pronto \
ro.bluetooth.library_name=libbluetooth_qti.so
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.awb.sync=2 \
persist.vendor.camera.display.lmax=1280x720 \
persist.vendor.camera.display.umax=1920x1080 \
persist.vendor.camera.expose.aux=1 \
persist.vendor.camera.imglib.usefdlite=1 \
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.google.android.GoogleCamera \
camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.google.android.GoogleCamera \
vendor.camera.hal1.packagelist=com.skype.raider,com.google.android.talk \
vendor.camera.lowpower.record.enable=1
# CnE
PRODUCT_PROPERTY_OVERRIDES += \
persist.cne.feature=1 \
persist.vendor.cne.feature=1
# Coresight
PRODUCT_PROPERTY_OVERRIDES += \
persist.debug.coresight.config=stm-events
# Dalvik
PRODUCT_PROPERTY_OVERRIDES += \
ro.dalvik.vm.native.bridge=0
# Display
PRODUCT_PROPERTY_OVERRIDES += \
debug.egl.hw=0 \
debug.gralloc.enable_fb_ubwc=1 \
debug.sf.enable_hwc_vds=1 \
debug.sf.hw=1 \
debug.sf.latch_unsignaled=1 \
debug.composition.type=gpu \
debug.enabletr=true \
debug.overlayui.enable=1 \
debug.performance.tuning=1 \
hw3d.force=1 \
hwui.disable_vsync=true \
hwui.render_dirty_regions=false \
persist.sys.composition.type=gpu \
persist.sys.ui.hw=1 \
ro.config.enable.hw_accel=true \
ro.product.gpu.driver=1 \
ro.fb.mode=1 \
ro.vold.umsdirtyratio=60 \
ro.sf.compbypass.enable=0 \
video.accelerate.hw=1 \
com.qc.hardware=true \
debug.qc.hardware=true \
debug.qctwa.preservebuf=1 \
debug.qctwa.statusbar=1 \
debug.sf.recomputecrop=0 \
dev.pm.dyn_samplingrate=1 \
persist.demo.hdmirotationlock=false \
ro.opengles.version=196610 \
ro.qualcomm.cabl=0 \
ro.vendor.display.cabl=0 \
ro.vendor.display.sensortype=2 \
ro.vendor.display.svi=1 \
sdm.debug.disable_skip_validate=1 \
vendor.display.disable_skip_validate=1 \
vendor.display.enable_default_color_mode=0 \
vendor.display.svi.config=1 \
vendor.display.svi.config_path=/system/etc/display/SVIConfig.xml \
vendor.gralloc.enable_fb_ubwc=1
# DPM
PRODUCT_PROPERTY_OVERRIDES += \
persist.dpm.feature=1
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# Fingerprint
PRODUCT_PROPERTY_OVERRIDES += \
persist.qfp=false
# Netflix
PRODUCT_PROPERTY_OVERRIDES += \
ro.netflix.bsp_rev=Q660-13149-1
# FM
PRODUCT_PROPERTY_OVERRIDES += \
ro.fm.transmitter=false \
vendor.hw.fm.init=0
# LMKD
PRODUCT_PRODUCT_PROPERTIES += \
ro.lmk.low=1001 \
ro.lmk.medium=800 \
ro.lmk.critical=0 \
ro.lmk.critical_upgrade=false \
ro.lmk.upgrade_pressure=100 \
ro.lmk.downgrade_pressure=100 \
ro.lmk.kill_heaviest_task=true \
ro.lmk.kill_timeout_ms=100 \
ro.lmk.use_minfree_levels=true
# FRP
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/bootdevice/by-name/config
# Keystore
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.keystore_desede=true
# Location
PRODUCT_PROPERTY_OVERRIDES += \
ro.location.osnlp.package=com.google.android.gms \
ro.location.osnlp.region.package= \
persist.backup.ntpServer=0.pool.ntp.org
# Media
PRODUCT_PROPERTY_OVERRIDES += \
media.aac_51_output_enabled=true \
media.msm8956hw=0 \
media.stagefright.thumbnail.prefer_hw_codecs=true \
mm.enable.smoothstreaming=true \
mmp.enable.3g2=true \
persist.mm.sta.enable=0 \
vendor.mm.enable.qcom_parser=1048575 \
vendor.vidc.dec.downscalar_height=1088 \
vendor.vidc.dec.downscalar_width=1920 \
vendor.vidc.disable.split.mode=1 \
vendor.vidc.enc.disable.pq=true \
vendor.vidc.enc.disable_bframes=1 \
vidc.enc.dcvs.extra-buff-count=2 \
persist.camera.HAL3.enabled=1
debug.enable.sglscale=1 \
debug.mdpcomp.logs=0 \
persist.hwc.enable_vds=1 \
persist.hwc.mdpcomp.enable=true \
vendor.video.disable.ubwc=1 \
sys.display-size=1920x1080
# Netmgrd
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.netmgrd.qos.enable=true \
persist.vendor.data.mode=concurrent \
ro.vendor.use_data_netmgrd=true
#Memory optimization
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.sys.fw.bservice_enable=true \
ro.vendor.qti.am.reschedule_service=true
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so \
vendor.perflocks_customized_for_apps=1
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.qti.telephony.vt_cam_interface=1 \
DEVICE_PROVISIONED=1 \
persist.radio.multisim.config=dsds \
persist.vendor.ims.disableADBLogs=1 \
persist.vendor.ims.disableDebugLogs=1 \
persist.vendor.ims.disableIMSLogs=1 \
persist.vendor.ims.disableQXDMLogs=1 \
persist.vendor.radio.apm_sim_not_pwdn=1 \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.data_con_rprt=1 \
persist.vendor.radio.hw_mbn_update=0 \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.redir_party_num=1 \
persist.vendor.radio.report_codec=1 \
persist.vendor.radio.sib16_support=1 \
persist.vendor.radio.start_ota_daemon=1 \
persist.vendor.radio.sw_mbn_update=0 \
ril.subscription.types=NV,RUIM \
rild.libargs=-d /dev/smd0 \
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
ro.carrier=unknown \
ro.telephony.default_network=22,22 \
telephony.lteOnCdmaDevice=1 \
persist.sys.fflag.override.settings_network_and_internet_v2=true \
vendor.rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
# Storage
PRODUCT_PROPERTY_OVERRIDES += \
persist.fuse_sdcard=true
# SurfaceFlinger
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.force_hwc_copy_for_virtual_displays = true \
ro.surface_flinger.max_virtual_display_dimension = 4096
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.disable_backpressure=1
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
# Thermal
PRODUCT_PROPERTY_OVERRIDES += \
sys.thermal.data.path=/data/vendor/thermal/
# Time service
PRODUCT_PROPERTY_OVERRIDES += \
persist.timed.enable=true
# USB
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.usb.diag_mdlog_enable=false
# Misc
PRODUCT_PROPERTY_OVERRIDES += \
ro.emmc_size=16GB \
ro.cutoff_voltage_mv=3400
# USB debugging
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp,adb \
ro.adb.secure=0 \
ro.secure=0 \
ro.debuggable=1
# WiFi calling
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.wfc_avail_ovr=1
ro.vendor.qti.sys.fw.bservice_enable=true \
ro.vendor.qti.sys.fw.bservice_limit=5 \
ro.vendor.qti.sys.fw.bservice_age=5000
# RAM Tweaks
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.fha_enable=true \
ro.sys.fw.bg_apps_limit=32 \
ro.config.dha_cached_max=16 \
ro.config.dha_empty_max=42 \
ro.config.dha_empty_init=32 \
ro.config.dha_lmk_scale=0.545 \
ro.config.dha_th_rate=2.3 \
ro.config.sdha_apps_bg_max=64 \
ro.config.sdha_apps_bg_min=8
# Framework boost
PRODUCT_PROPERTY_OVERRIDES += \
vendor.iop.enable_iop=1 \
ro.vendor.at_library=true \
vendor.iop.enable_uxe=1 \
vendor.perf.iop_v3.enable=true \
vendor.perf.iop_v3.enable.debug=false \
vendor.enable.prefetch=false \
vendor.iop.enable_prefetch_ofr=false \
vendor.perf.gestureflingboost.enable=true \
vendor.perf.workloadclassifier.enable=true