android_device_samsung_mond.../system_prop.mk
nyyu b485245b82 mondrianwifi: Import stock Dalvik heap overrides
Change-Id: Ifac6650a874cf982a6e767da92599d4b6230a637
2021-08-25 15:35:43 +02:00

112 lines
2.8 KiB
Makefile
Executable File

# Memory optimizations
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.qti.am.reschedule_service=true \
ro.vendor.qti.sys.fw.bservice_enable=true
# Art
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat-swap=false
# Low memory
#PRODUCT_PROPERTY_OVERRIDES += \
# ro.config.low_ram=true
# 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
PRODUCT_PROPERTY_OVERRIDES += \
audio.offload.gapless.enabled=false \
av.offload.enable=true
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
camera2.portability.force_api=1
# Dalvik heap
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=16m \
dalvik.vm.heapgrowthlimit=192m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m
# Limit dex2oat threads to improve thermals
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat-threads=2 \
dalvik.vm.image-dex2oat-threads=2
# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
vendor.qcom.bluetooth.soc=smd \
ro.bt.bdaddr_path=/efs/bluetooth/bt_addr
# Display
PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.hw=1 \
debug.mdpcomp.logs=0 \
persist.hwc.mdpcomp.enable=true \
ro.hdcp2.rx=tz \
ro.qualcomm.cabl=1 \
ro.secwvk=144 \
ro.sf.lcd_density=320 \
debug.hwui.use_buffer_age=false \
ro.opengles.version=196608 \
debug.sf.enable_gl_backpressure=1 \
debug.sf.latch_unsignaled=1
PRODUCT_PROPERTY_OVERRIDES += \
lockscreen.rot_override=true
# 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
# Disable more Codec2.0 components
PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.ccodec=0
# Perf
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
ro.radio.noril=yes
# Sensors
PRODUCT_PROPERTY_OVERRIDES += \
debug.sensors=1
# Tethering
PRODUCT_PROPERTY_OVERRIDES += \
net.tethering.noprovisioning=true
# WiFi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
PRODUCT_PROPERTY_OVERRIDES += \
persist.timed.enable=true