android_device_oneplus_sm81.../vendor_props.mk

150 lines
4.6 KiB
Makefile

#
# 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