-
Notifications
You must be signed in to change notification settings - Fork 1
/
vendor_prop.mk
157 lines (140 loc) · 5.25 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
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.min.duration.secs=30 \
audio.offload.video=true \
audio.sys.noisy.broadcast.delay=600 \
audio.sys.offload.pstimeout.secs=3 \
persist.vendor.audio.ras.enabled=false \
persist.dirac.acs.controller=qem \
persist.dirac.acs.ignore_error=1 \
persist.dirac.acs.storeSettings=1 \
ro.audio.soundfx.dirac=true \
ro.vendor.audio.sdk.fluencetype=none \
ro.vendor.audio.sdk.ssr=false \
vendor.audio.adm.buffering.ms=12 \
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=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.tunnel.encode=false \
vendor.audio.use.sw.alac.decoder=true \
vendor.audio.use.sw.ape.decoder=true \
vendor.audio_hal.period_multiplier=3 \
vendor.audio_hal.period_size=240 \
vendor.voice.path.for.pcm.voip=true
# Boot
PRODUCT_PROPERTY_OVERRIDES += \
sys.vendor.shutdown.waittime=500
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac-aptxadaptive \
persist.vendor.bt.aac_frm_ctl.enabled=true \
vendor.qcom.bluetooth.soc=cherokee
# CNE and DPM
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.cne.feature=1 \
persist.vendor.dpm.feature=1 \
persist.vendor.dpm.nsrm.bkg.evt=3955 \
ro.vendor.use_data_netmgrd=true
# Ccodec
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.omx_default_rank.sw-audio=1 \
debug.stagefright.omx_default_rank=0
# Display
PRODUCT_PROPERTY_OVERRIDES += \
debug.gralloc.enable_fb_ubwc=1 \
ro.opengles.version=196610 \
ro.vendor.display.sensortype=2 \
vendor.display.comp_mask=0 \
vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0 \
vendor.display.disable_decimation=1 \
vendor.display.disable_hw_recovery_dump=1 \
vendor.display.enable_default_color_mode=0 \
vendor.gralloc.disable_ubwc=0
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# FRP
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/bootdevice/by-name/frp
# Keystore
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.keystore_desede=true
# Netmgr
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.data.iwlan.enable=true \
persist.vendor.data.mode=concurrent
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so
# Qualcomm / OEM Unlock
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.oem_unlock_supported=1 \
ro.vendor.qti.va_aosp.support=1
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
persist.radio.multisim.config=dsds \
persist.vendor.radio.apm_sim_not_pwdn=1 \
persist.vendor.radio.atfwd.start=true \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.enable_temp_dds=true \
persist.vendor.radio.enableadvancedscan=true \
persist.vendor.radio.force_on_dc=true \
persist.vendor.radio.procedure_bytes=SKIP \
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 \
ril.subscription.types=NV,RUIM \
ro.telephony.default_network=22,22 \
telephony.lteOnCdmaDevice=1
# SurfaceFlinger
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3 \
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.set_display_power_timer_ms=1000 \
ro.surface_flinger.set_idle_timer_ms=80 \
ro.surface_flinger.set_touch_timer_ms=200 \
ro.surface_flinger.wcg_composition_dataspace=143261696
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.enable_gl_backpressure=1 \
debug.sf.enable_egl_image_tracker=1 \
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 \
debug.hwui.renderer=skiagl \
debug.cpurend.vsync=false
#Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.eis.enable=1 \
persist.vendor.camera.ois.disable=1 \
persist.camera.HAL3.enabled=1 \
persist.vendor.camera.HAL3.enabled=1 \
# Zygote preforking
PRODUCT_PROPERTY_OVERRIDES += \
persist.device_config.runtime_native.usap_pool_enabled=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