From 5cb5a1a942f16d724ff5e2dfde662034624a5ae7 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Thu, 20 Apr 2023 18:43:21 +0300 Subject: [PATCH] sm6225-common: Move properties around * Move whatever makes sense to vendor * Eliminate system.prop Change-Id: I2fd914463fec036b09ca673dfa2f72ff1992ca87 --- BoardConfigCommon.mk | 1 - product.prop | 15 ++++----------- system_ext.prop | 6 +++--- vendor.prop | 15 +++++++++++++++ 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 76269ad..85784ba 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -170,7 +170,6 @@ TARGET_USES_INTERACTION_BOOST := true # Properties TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop -TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop TARGET_SYSTEM_EXT_PROP += $(COMMON_PATH)/system_ext.prop TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop diff --git a/product.prop b/product.prop index 491eb7c..ab7d93e 100644 --- a/product.prop +++ b/product.prop @@ -1,15 +1,8 @@ -# Audio -aaudio.hw_burst_min_usec=2000 -aaudio.mmap_exclusive_policy=2 -aaudio.mmap_policy=2 -af.fast_track_multiplier=1 -audio.deep_buffer.media=true -ro.af.client_heap_size_kbyte=7168 +# Charger +ro.charger.enable_suspend=1 -# Radio -ril.subscription.types=RUIM -ro.telephony.default_network=10,10 -ro.vendor.radio.imei.sv=7 +# System server +arm64.memtag.process.system_server=off # Voice assistant ro.opa.eligible_device=true diff --git a/system_ext.prop b/system_ext.prop index 50a8740..920beb0 100644 --- a/system_ext.prop +++ b/system_ext.prop @@ -1,5 +1,5 @@ -# Audio -audio.offload.min.duration.secs=60 - # DPM persist.vendor.dpm.feature=11 + +# QVA +ro.vendor.qti.va_aosp.support=1 diff --git a/vendor.prop b/vendor.prop index f42e89d..d38d5a8 100644 --- a/vendor.prop +++ b/vendor.prop @@ -1,4 +1,10 @@ # Audio +aaudio.hw_burst_min_usec=2000 +aaudio.mmap_exclusive_policy=2 +aaudio.mmap_policy=2 +af.fast_track_multiplier=1 +audio.deep_buffer.media=true +audio.offload.min.duration.secs=60 persist.vendor.audio.calfile0=/vendor/etc/acdbdata/Bluetooth_cal.acdb persist.vendor.audio.calfile1=/vendor/etc/acdbdata/General_cal.acdb persist.vendor.audio.calfile2=/vendor/etc/acdbdata/Global_cal.acdb @@ -12,6 +18,7 @@ persist.vendor.audio.fluence.tmic.enabled=false persist.vendor.audio.fluence.voicecall=true persist.vendor.audio.fluence.voicecomm=true persist.vendor.audio.fluence.voicerec=false +ro.af.client_heap_size_kbyte=7168 ro.audio.monitorRotation=true ro.config.vc_call_vol_steps=8 ro.vendor.audio.sdk.fluencetype=none @@ -83,6 +90,7 @@ persist.vendor.cne.logging.qxdm=3974 dalvik.vm.dex2oat64.enabled=true # Display +debug.sf.enable_hwc_vds=1 debug.sf.high_fps_early_gl_phase_offset_ns=-5000000 debug.sf.high_fps_early_phase_offset_ns=-5000000 debug.sf.high_fps_late_app_phase_offset_ns=1000000 @@ -153,6 +161,8 @@ persist.vendor.ims.vt.enableadb=1 # Media debug.stagefright.ccodec=1 debug.stagefright.omx_default_rank=0 +media.settings.xml=/vendor/etc/media_profiles_vendor.xml +ro.media.recorder-max-base-layer-fps=60 # Netflix ro.netflix.bsp_rev=Q6115-31409-1 @@ -163,6 +173,7 @@ ro.vendor.extension_library=libqti-perfd-client.so # Radio persist.radio.multisim.config=dsds persist.vendor.data.iwlan.enable=true +persist.vendor.data.mode=concurrent persist.vendor.radio.0x9e_not_callname=1 persist.vendor.radio.add_power_save=1 persist.vendor.radio.apm_sim_not_pwdn=1 @@ -186,7 +197,11 @@ persist.vendor.radio.sar_sensor=1 persist.vendor.radio.sib16_support=1 persist.vendor.radio.start_ota_daemon=1 persist.vendor.radio.sw_mbn_update=0 +ril.subscription.types=RUIM +ro.telephony.default_network=10,10 ro.telephony.iwlan_operation_mode=legacy +ro.vendor.radio.imei.sv=7 +telephony.lteOnCdmaDevice=1 # Sensors persist.vendor.sensors.enable.bypass_worker=true