2019-12-05 10:22:07 +01:00
|
|
|
# Memory optimizations
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.vendor.qti.am.reschedule_service=true \
|
|
|
|
ro.vendor.qti.sys.fw.bservice_enable=true
|
|
|
|
|
2019-03-29 12:22:53 +01:00
|
|
|
# Art
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
dalvik.vm.dex2oat-swap=false
|
|
|
|
|
2020-04-08 11:13:05 +02:00
|
|
|
# Low memory
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.config.low_ram=true
|
|
|
|
|
2019-03-29 12:22:53 +01:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
af.fast_track_multiplier=1 \
|
|
|
|
audio.deep_buffer.media=true \
|
|
|
|
audio.offload.buffer.size.kb=32 \
|
|
|
|
audio.offload.pcm.16bit.enable=true \
|
|
|
|
audio.offload.pcm.24bit.enable=true \
|
|
|
|
audio.offload.video=true \
|
|
|
|
persist.vendor.audio.fluence.speaker=true \
|
|
|
|
persist.vendor.audio.fluence.voicecall=true \
|
|
|
|
persist.vendor.audio.fluence.voicerec=false \
|
|
|
|
ro.vendor.audio.sdk.fluencetype=fluence \
|
|
|
|
vendor.audio.offload.multiple.enabled=false \
|
|
|
|
vendor.audio_hal.period_size=192 \
|
|
|
|
vendor.dedicated.device.for.voip=true \
|
|
|
|
vendor.voice.path.for.pcm.voip=false
|
|
|
|
|
2019-12-10 12:48:28 +01:00
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
audio.offload.gapless.enabled=false \
|
|
|
|
av.offload.enable=true
|
|
|
|
|
2019-03-29 12:22:53 +01:00
|
|
|
# Camera
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
camera2.portability.force_api=1
|
|
|
|
|
|
|
|
# Dalvik heap
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2019-10-28 10:00:21 +01:00
|
|
|
dalvik.vm.heapstartsize=8m \
|
|
|
|
dalvik.vm.heapgrowthlimit=128m \
|
2019-03-29 12:22:53 +01:00
|
|
|
dalvik.vm.heapsize=512m \
|
|
|
|
dalvik.vm.heaptargetutilization=0.75 \
|
|
|
|
dalvik.vm.heapminfree=2m \
|
|
|
|
dalvik.vm.heapmaxfree=8m
|
|
|
|
|
2019-12-05 10:22:07 +01:00
|
|
|
# Limit dex2oat threads to improve thermals
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
dalvik.vm.dex2oat-threads=2 \
|
|
|
|
dalvik.vm.image-dex2oat-threads=4
|
|
|
|
|
2019-10-28 10:00:21 +01:00
|
|
|
# Bluetooth
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
vendor.qcom.bluetooth.soc=smd \
|
|
|
|
ro.bt.bdaddr_path=/efs/bluetooth/bt_addr
|
|
|
|
|
2019-03-29 12:22:53 +01:00
|
|
|
# Display
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2019-12-10 12:48:28 +01:00
|
|
|
debug.sf.hw=1 \
|
|
|
|
debug.mdpcomp.logs=0 \
|
|
|
|
persist.hwc.mdpcomp.enable=true \
|
2019-12-05 10:22:07 +01:00
|
|
|
ro.hdcp2.rx=tz \
|
|
|
|
ro.qualcomm.cabl=1 \
|
|
|
|
ro.secwvk=144 \
|
|
|
|
ro.sf.lcd_density=320 \
|
2019-10-28 10:00:21 +01:00
|
|
|
debug.hwui.use_buffer_age=false \
|
2019-12-10 12:48:28 +01:00
|
|
|
ro.opengles.version=196608 \
|
2019-12-05 10:22:07 +01:00
|
|
|
debug.sf.enable_gl_backpressure=1
|
2019-03-29 12:22:53 +01:00
|
|
|
|
2019-12-13 12:47:36 +01:00
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
lockscreen.rot_override=true
|
|
|
|
|
2019-03-29 12:22:53 +01:00
|
|
|
# GPS
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.gps.qc_nlp_in_use=0 \
|
|
|
|
ro.gps.agps_provider=1 \
|
|
|
|
ro.qc.sdk.izat.premium_enabled=0 \
|
|
|
|
ro.qc.sdk.izat.service_mask=0x0
|
|
|
|
|
|
|
|
# Media
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.media.treble_omx=false
|
|
|
|
|
2019-12-05 10:22:07 +01:00
|
|
|
# Disable more Codec2.0 components
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
debug.stagefright.ccodec=0
|
|
|
|
|
2019-03-29 12:22:53 +01:00
|
|
|
# Perf
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so
|
|
|
|
|
2019-12-10 12:48:28 +01:00
|
|
|
# Radio
|
2019-12-05 10:22:07 +01:00
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.radio.noril=yes
|
|
|
|
|
2019-03-29 12:22:53 +01:00
|
|
|
# Sensors
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
debug.sensors=1
|
|
|
|
|
|
|
|
# Tethering
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
net.tethering.noprovisioning=true
|
|
|
|
|
|
|
|
# WiFi
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
wifi.interface=wlan0
|
2019-12-10 12:48:28 +01:00
|
|
|
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.timed.enable=true
|