diff --git a/BoardConfig.mk b/BoardConfig.mk index aac89875..c37fa674 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -100,7 +100,9 @@ TARGET_COPY_OUT_VENDOR := vendor TARGET_BOARD_PLATFORM := msmnile # Properties +TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop +TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop # QCOM BOARD_USES_QCOM_HARDWARE := true diff --git a/odm.prop b/odm.prop new file mode 100644 index 00000000..21ee00f9 --- /dev/null +++ b/odm.prop @@ -0,0 +1,2 @@ +# QC framework value-adds +ro.vendor.qti.va_odm.support=1 diff --git a/vendor.prop b/vendor.prop new file mode 100644 index 00000000..a3c33ccd --- /dev/null +++ b/vendor.prop @@ -0,0 +1,168 @@ +# 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.video=true +persist.vendor.audio.fluence.speaker=true +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 +persist.vendor.audio.ras.enabled=false +persist.vendor.audio.voicecall.speaker.stereo=true +ro.af.client_heap_size_kbyte=7168 +ro.config.vc_call_vol_steps=7 +ro.vendor.audio.sdk.fluencetype=fluence +ro.vendor.audio.sdk.ssr=false +ro.vendor.audio.sfx.earadj=true +ro.vendor.audio.soundfx.usb=true +ro.vendor.audio.soundtrigger.cnn.adsp.level=27 +ro.vendor.audio.soundtrigger.cnn.level=27 +ro.vendor.audio.soundtrigger.gmm.adsp.level=50 +ro.vendor.audio.soundtrigger.gmm.level=50 +ro.vendor.audio.soundtrigger.gmm.user.adsp.level=10 +ro.vendor.audio.soundtrigger.gmm.user.level=10 +ro.vendor.audio.soundtrigger.lowpower=true +ro.vendor.audio.soundtrigger.training.level=50 +ro.vendor.audio.soundtrigger.vop.adsp.level=10 +ro.vendor.audio.soundtrigger.vop.level=10 +ro.vendor.audio.soundtrigger=sva +vendor.audio.adm.buffering.ms=16 +vendor.audio.feature.a2dp_offload.enable=true +vendor.audio.feature.afe_proxy.enable=true +vendor.audio.feature.anc_headset.enable=true +vendor.audio.feature.audiozoom.enable=false +vendor.audio.feature.battery_listener.enable=true +vendor.audio.feature.compr_cap.enable=false +vendor.audio.feature.compr_voip.enable=false +vendor.audio.feature.compress_in.enable=false +vendor.audio.feature.compress_meta_data.enable=true +vendor.audio.feature.concurrent_capture.enable=false +vendor.audio.feature.custom_stereo.enable=true +vendor.audio.feature.deepbuffer_as_primary.enable=false +vendor.audio.feature.display_port.enable=true +vendor.audio.feature.dsm_feedback.enable=false +vendor.audio.feature.dynamic_ecns.enable=false +vendor.audio.feature.ext_hw_plugin.enable=true +vendor.audio.feature.external_dsp.enable=false +vendor.audio.feature.external_speaker.enable=false +vendor.audio.feature.external_speaker_tfa.enable=false +vendor.audio.feature.fluence.enable=true +vendor.audio.feature.fm.enable=true +vendor.audio.feature.hdmi_edid.enable=true +vendor.audio.feature.hdmi_passthrough.enable=true +vendor.audio.feature.hfp.enable=true +vendor.audio.feature.hifi_audio.enable=false +vendor.audio.feature.hwdep_cal.enable=false +vendor.audio.feature.incall_music.enable=true +vendor.audio.feature.keep_alive.enable=true +vendor.audio.feature.kpi_optimize.enable=true +vendor.audio.feature.maxx_audio.enable=false +vendor.audio.feature.multi_voice_session.enable=true +vendor.audio.feature.ras.enable=true +vendor.audio.feature.record_play_concurency.enable=false +vendor.audio.feature.snd_mon.enable=true +vendor.audio.feature.spkr_prot.enable=true +vendor.audio.feature.src_trkn.enable=true +vendor.audio.feature.ssrec.enable=true +vendor.audio.feature.usb_offload.enable=true +vendor.audio.feature.usb_offload_burst_mode.enable=true +vendor.audio.feature.usb_offload_sidetone_volume.enable=false +vendor.audio.feature.vbat.enable=true +vendor.audio.feature.wsa.enable=false +vendor.audio.flac.sw.decoder.24bit=true +vendor.audio.hal.output.suspend.supported=false +vendor.audio.hw.aac.encoder=false +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.track.enable=false +vendor.audio.parser.ip.buffer.size=262144 +vendor.audio.safx.pbe.enabled=false +vendor.audio.tunnel.encode=false +vendor.audio.usb.disable.sidetone=true +vendor.audio.use.sw.alac.decoder=true +vendor.audio.use.sw.ape.decoder=true +vendor.audio.volume.headset.gain.depcal=true +vendor.audio_hal.in_period_size=144 +vendor.audio_hal.period_multiplier=3 +vendor.audio_hal.period_size=192 + +# Bluetooth +persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac +persist.bluetooth.a2dp_offload.disabled=false +persist.vendor.bt.aac_frm_ctl.enabled=false +persist.vendor.qcom.bluetooth.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac-aptxadaptive +persist.vendor.qcom.bluetooth.aac_frm_ctl.enabled=true +persist.vendor.qcom.bluetooth.enable.splita2dp=true +persist.vendor.qcom.bluetooth.twsp_state.enabled=false +ro.bluetooth.a2dp_offload.supported=true +vendor.qcom.bluetooth.soc=cherokee + +# Camera +camera.disable_zsl_mode=true + +# CNE +persist.vendor.cne.feature=1 + +# Data modules +persist.vendor.data.iwlan.enable=true +persist.vendor.data.mode=concurrent + +# Display +debug.egl.hw=0 +debug.mdpcomp.logs=0 +debug.sf.disable_backpressure=1 +debug.sf.enable_hwc_vds=1 +debug.sf.hw=0 +ro.hardware.egl=adreno +ro.hardware.vulkan=adreno +ro.opengles.version=196610 +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_dump=1 +vendor.display.disable_inline_rotator=1 +vendor.display.disable_scaler=0 +vendor.display.disable_ui_3d_tonemap=1 +vendor.display.enable_default_color_mode=1 +vendor.display.enable_null_display=0 +vendor.display.enable_optimize_refresh=1 +vendor.gralloc.disable_ubwc=0 +debug.sf.enable_gl_backpressure=1 + +# FRP +ro.frp.pst=/dev/block/bootdevice/by-name/frp + +# Gatekeeper +vendor.gatekeeper.disable_spu=true + +# Memory +ro.vendor.qti.va_aosp.support=1 +ro.vendor.qti.va_odm.support=1 + +# Property to enable/disable PASR +vendor.power.pasr.enabled=true + +# QC framework value-adds +ro.vendor.qti.va_aosp.support=1 + +# Radio +persist.vendor.radio.apm_sim_not_pwdn=1 +persist.vendor.radio.custom_ecc=1 +persist.vendor.radio.enableadvancedscan=true +persist.vendor.radio.force_on_dc=true +persist.vendor.radio.procedure_bytes=SKIP +persist.vendor.radio.rat_on=combine +persist.vendor.radio.redir_party_num=1 +persist.vendor.radio.report_codec=1 +persist.vendor.radio.sib16_support=1 + +# Sensors +persist.vendor.sensors.enable.mag_filter=true +persist.vendor.uspsensor=default