forked from PeterCxy/android_device_oneplus_sm8150-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendor_props.mk
149 lines (132 loc) · 4.55 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
#
# Copyright (C) 2018-2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
aaudio.hw_burst_min_usec=2000 \
aaudio.mmap_exclusive_policy=2 \
aaudio.mmap_policy=2 \
af.fast_track_multiplier=2 \
audio.deep_buffer.media=true \
audio.offload.video=true \
persist.vendor.audio.fluence.speaker=true \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.voicerec=true \
persist.vendor.audio.ras.enabled=false \
persist.vendor.audio.voicecall.speaker.stereo=true \
ro.af.client_heap_size_kbyte=7168 \
ro.vendor.audio.sdk.fluencetype=fluence \
ro.vendor.audio.sdk.ssr=false \
vendor.audio.adm.buffering.ms=2 \
vendor.audio.cts.media=false \
vendor.audio.dolby.ds2.enabled=false \
vendor.audio.dolby.ds2.hardbypass=false \
vendor.audio.enable.mirrorlink=false \
vendor.audio.flac.sw.decoder.24bit=true \
vendor.audio.hal.output.suspend.supported=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.pstimeout.secs=3 \
vendor.audio.offload.track.enable=true \
vendor.audio.parser.ip.buffer.size=0 \
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.in_period_size=144 \
vendor.audio_hal.period_multiplier=3 \
vendor.audio_hal.period_size=192 \
vendor.voice.path.for.pcm.voip=true
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac \
persist.vendor.bt.aac_frm_ctl.enabled=true \
vendor.qcom.bluetooth.soc=cherokee
# Crypto
PRODUCT_PROPERTY_OVERRIDES += \
ro.crypto.allow_encrypt_override=true \
ro.crypto.volume.filenames_mode=aes-256-cts
# Dalvik
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapmaxfree=8m \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapsize=512m \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heaptargetutilization=0.75 \
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.display.ad.hdr_calib_data=/vendor/etc/hdr_config.cfg \
ro.vendor.display.ad.sdr_calib_data=/vendor/etc/sdr_config.cfg \
ro.vendor.display.ad=1 \
ro.vendor.display.cabl=2 \
ro.vendor.display.sensortype=2 \
persist.vendor.color.matrix=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_excl_rect=0 \
vendor.display.disable_hw_recovery=0 \
vendor.display.disable_hw_recovery_dump=1 \
vendor.display.disable_inline_rotator=1 \
vendor.display.disable_scaler=0 \
vendor.display.enable_null_display=0
# DRM
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true
# Fingerprint
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.qfp=true \
persist.vendor.qfp.enable_fd=1
# FRP
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/bootdevice/by-name/config
# Gatekeeper
PRODUCT_PROPERTY_OVERRIDES += \
vendor.gatekeeper.disable_spu=true
# GPS
PRODUCT_PROPERTY_OVERRIDES += \
persist.backup.ntpServer=0.pool.ntp.org
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
debug.egl.hw=0 \
debug.mdpcomp.logs=0 \
debug.sf.hw=0 \
debug.sf.latch_unsignaled=1 \
persist.demo.hdmirotationlock=false \
persist.sys.sf.color_saturation=1.0 \
ro.opengles.version=196610 \
vendor.display.enable_default_color_mode=1 \
vendor.gralloc.disable_ubwc=0
# IMS
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1
# Keystore
PRODUCT_PROPERTY_OVERRIDES += \
ro.hardware.keystore_desede=true
# NFC
PRODUCT_PROPERTY_OVERRIDES += \
ro.camera.notify_nfc=1 \
ro.hardware.nfc_nci=nqx.default \
ro.vendor.nfc.notify_tp=1
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so \
ro.vendor.scroll.preobtain.enable=false
# Qualcomm System Daemon
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.qcomsysd.enabled=1
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
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