-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendor_props.mk
181 lines (158 loc) · 5.5 KB
/
vendor_props.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
#
# Copyright (C) 2018-2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.video=true \
persist.vendor.audio.fluence.audiorec=true \
persist.vendor.audio.fluence.speaker=true \
persist.vendor.audio.fluence.tmic.enabled=false \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=true \
persist.vendor.audio.spv3.enable=true \
persist.vendor.audio.avs.afe_api_version=2 \
persist.vendor.audio.ras.enabled=false \
persist.vendor.audio.hifi.int_codec=true \
ro.af.client_heap_size_kbyte=7168 \
ro.vendor.audio.sdk.fluencetype=none \
ro.vendor.audio.sdk.ssr=false \
vendor.audio_hal.period_size=240 \
vendor.audio.apptype.multirec.enabled=false \
vendor.audio.record.multiple.enabled=false \
vendor.audio.tunnel.encode=false \
vendor.audio.offload.buffer.size.kb=256 \
vendor.audio.offload.track.enable=true \
vendor.audio.offload.multiaac.enable=true \
vendor.audio.dolby.ds2.enabled=false \
vendor.audio.dolby.ds2.hardbypass=false \
vendor.audio.offload.multiple.enabled=false \
vendor.audio.offload.passthrough=false \
vendor.audio.offload.gapless.enabled=true \
vendor.audio.safx.pbe.enabled=true \
vendor.audio.parser.ip.buffer.size=262144 \
vendor.audio.flac.sw.decoder.24bit=true \
vendor.audio.use.sw.alac.decoder=true \
vendor.audio.use.sw.ape.decoder=true \
vendor.audio.hw.aac.encoder=true \
vendor.audio.noisy.broadcast.delay=600 \
vendor.audio.offload.pstimeout.secs=3 \
vendor.voice.path.for.pcm.voip=true
# ART
PRODUCT_PROPERTY_OVERRIDES += \
pm.dexopt.ab-ota=speed-profile \
dalvik.vm.dex2oat-filter=speed \
dalvik.vm.image-dex2oat-filter=speed \
ro.vendor.qti.am.reschedule_service=true \
ro.sys.fw.dex2oat_thread_count=8 \
dalvik.vm.boot-dex2oat-threads=8 \
dalvik.vm.dex2oat-threads=4 \
dalvik.vm.image-dex2oat-threads=4
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
vendor.qcom.bluetooth.soc=cherokee
# BPF
PRODUCT_PROPERTY_OVERRIDES += \
ro.kernel.ebpf.supported=true
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.camera.gyro.disable=0
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.display.ad.sdr_calib_data=/vendor/etc/OPPO_OLED_AD_calib.cfg \
ro.vendor.display.ad=1 \
ro.vendor.display.cabl=2 \
ro.vendor.display.sensortype=2 \
vendor.display.enable_default_color_mode=1
# Display density
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=440
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# Fling
PRODUCT_PROPERTY_OVERRIDES += \
ro.min.fling_velocity=160 \
ro.max.fling_velocity=20000
# FRP
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/bootdevice/by-name/frp
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
debug.cpurend.vsync=true \
debug.egl.callstack=1 \
debug.egl.hw=0 \
debug.mdpcomp.logs=0 \
debug.sf.hw=1 \
debug.sf.latch_unsignaled=0 \
debug.sf.disable_backpressure=0 \
persist.sys.sf.color_saturation=1.0 \
ro.opengles.version=196610 \
vendor.gralloc.disable_ubwc=0 \
ro.hardware.vulkan=adreno \
ro.hardware.egl=adreno
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
debug.sf.use_phase_offsets_as_durations=1 \
debug.sf.late.sf.duration=10500000 \
debug.sf.late.app.duration=20500000 \
debug.sf.early.sf.duration=16000000 \
debug.sf.early.app.duration=16500000 \
debug.sf.earlyGl.sf.duration=13500000 \
debug.sf.earlyGl.app.duration=21000000 \
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \
ro.surface_flinger.max_frame_buffer_acquired_buffers=2 \
ro.surface_flinger.max_virtual_display_dimension=4096 \
ro.surface_flinger.has_wide_color_display=true \
ro.surface_flinger.has_HDR_display=true \
ro.surface_flinger.use_color_management=true \
ro.surface_flinger.wcg_composition_dataspace=143261696
# IMS
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1 \
persist.dbg.ims_volte_enable=1 \
persist.vendor.radio.data_ltd_sys_ind=1 \
persist.vendor.radio.data_con_rprt=1 \
persist.vendor.radio.add_power_save=1
# IORap app launch prefetching using Perfetto traces and madvise
PRODUCT_PRODUCT_PROPERTIES += \
ro.iorapd.enable=true
# Keystore
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.keystore_desede=true
# Media
PRODUCT_PROPERTY_OVERRIDES += \
ro.media.recorder-max-base-layer-fps=60
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so \
ro.vendor.at_library=libqti-at.so \
persist.vendor.qti.games.gt.prof=1
# Pre-rendering
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.perf.scroll_opt=true
# Qualcomm System Daemon
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.qcomsysd.enabled=1
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.multisim.config=dsds \
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
# Wi-Fi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.aware.interface=wifi-aware0
# ZRAM writeback
PRODUCT_PROPERTY_OVERRIDES += \
ro.zram.mark_idle_delay_mins=60 \
ro.zram.first_wb_delay_mins=1440 \
ro.zram.periodic_wb_delay_hours=24
# Zygote preforking
PRODUCT_PROPERTY_OVERRIDES += \
persist.device_config.runtime_native.usap_pool_enabled=true