android_device_lenovo_msm89.../vendor_prop.mk

158 lines
4.7 KiB
Makefile
Raw Permalink Normal View History

#
# Copyright (C) 2018 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Audio
PRODUCT_PROPERTY_OVERRIDES += \
af.fast_track_multiplier=1 \
audio.deep_buffer.media=true \
audio.offload.min.duration.secs=30 \
audio.offload.video=true \
persist.vendor.audio.fluence.voicecall=true \
persist.vendor.audio.fluence.speaker=true \
persist.vendor.audio.fluence.voicerec=true \
persist.vendor.audio.speaker.prot.enable=false \
persist.vendor.bt.enable.splita2dp=false \
ro.config.media_vol_steps=15 \
ro.config.vc_call_vol_steps=7 \
ro.vendor.audio.sdk.fluencetype=fluence \
ro.vendor.audio.sdk.ssr=false \
vendor.audio_hal.period_size=192 \
vendor.audio.hw.aac.encoder=true \
vendor.audio.offload.buffer.size.kb=64 \
vendor.audio.offload.gapless.enabled=true \
vendor.audio.playback.mch.downsample=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.pp.asphere.enabled=false \
vendor.audio.safx.pbe.enabled=true \
vendor.tunnel.audio.encode=false \
vendor.voice.conc.fallbackpath=deep-buffer \
vendor.voice.path.for.pcm.voip=true
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
qcom.bluetooth.soc=smd \
ro.qualcomm.bt.hci_transport=smd
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.display.umax=1920x1080 \
persist.vendor.camera.display.lmax=1280x720 \
persist.vendor.qti.telephony.vt_cam_interface=1 \
persist.camera.gyro.android=1 \
persist.camera.HAL3.enabled=0 \
persist.camera.is_type=1 \
vidc.enc.dcvs.extra-buff-count=2
# CNE
PRODUCT_PROPERTY_OVERRIDES += \
persist.cne.feature=1
# Display
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=196610 \
ro.qualcomm.cabl=2 \
ro.sf.lcd_density=320
# Fm
PRODUCT_PROPERTY_OVERRIDES += \
ro.fm.transmitter=false
# GPS
PRODUCT_PROPERTY_OVERRIDES += \
ro.gps.agps_provider=1
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
debug.egl.hw=1 \
debug.gralloc.enable_fb_ubwc=1 \
debug.sf.hw=1 \
debug.sf.latch_unsignaled=1 \
dev.pm.dyn_samplingrate=1 \
persist.demo.hdmirotationlock=false \
persist.hwc.enable_vds=1 \
persist.sys.wfd.virtual=0 \
sdm.debug.disable_rotator_split=1 \
sdm.debug.disable_skip_validate=1 \
sdm.perf_hint_window=50
# IMS
PRODUCT_PROPERTY_OVERRIDES += \
persist.dbg.volte_avail_ovr=1 \
persist.dbg.vt_avail_ovr=1
# Media
PRODUCT_PROPERTY_OVERRIDES += \
mm.enable.qcom_parser=4176895 \
media.stagefright.audio.sink=280 \
vendor.vidc.enc.disable_bframes=1 \
vendor.vidc.enc.disable_pframes=1 \
vendor.vidc.enc.narrow.searchrange=1 \
vendor.vidc.disable.split.mode=1
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so \
ro.vendor.qti.sys.fw.bg_apps_limit=60
# Priv-app permissions whitelist
PRODUCT_PROPERTY_OVERRIDES += \
ro.control_privapp_permissions=enforce
# Netmgrd
PRODUCT_PROPERTY_OVERRIDES += \
ro.use_data_netmgrd=true \
persist.data.netmgrd.qos.enable=true \
persist.data.mode=concurrent
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
DEVICE_PROVISIONED=1 \
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so \
ril.subscription.types=NV,RUIM \
ro.telephony.call_ring.multiple=false \
ro.telephony.default_network=22,22 \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.aosp_usr_pref_sel=true \
persist.radio.multisim.config=dsds \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.rat_on=combine \
persist.vendor.radio.sib16_support=1 \
telephony.lteOnCdmaDevice=1
# Time Services
PRODUCT_PROPERTY_OVERRIDES += \
persist.delta_time.enable=true \
persist.timed.enable=true
# Trim properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.sys.fw.use_trim_settings=true \
ro.vendor.qti.sys.fw.empty_app_percent=50 \
ro.vendor.qti.sys.fw.trim_empty_percent=100 \
ro.vendor.qti.sys.fw.trim_cache_percent=100 \
ro.vendor.qti.sys.fw.trim_enable_memory=2147483648
# Usb
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.usb.config.extra=none
# Wifi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0