Files
device_xiaomi_stone/vendor.prop

322 lines
11 KiB
Plaintext
Raw Normal View History

# Audio
vendor.audio_hal.period_size=192
persist.vendor.audio.ambisonic.capture=false
persist.vendor.audio.ambisonic.auto.profile=false
persist.vendor.audio.apptype.multirec.enabled=false
ro.vendor.audio.sdk.fluencetype=fluence
persist.vendor.audio.fluence.voicecall=true
persist.vendor.audio.fluence.voicerec=true
persist.vendor.audio.fluence.speaker=true
persist.vendor.audio.fluence.tmic.enabled=false
ro.qc.sdk.audio.ssr=false
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=true
persist.audio.fluence.speaker=true
persist.vendor.audio.spv3.enable=true
persist.vendor.audio.avs.afe_api_version=2
vendor.audio.tunnel.encode=false
persist.vendor.audio.ras.enabled=false
vendor.audio.offload.buffer.size.kb=32
vendor.audio.offload.track.enable=true
vendor.voice.path.for.pcm.voip=true
ro.vendor.audio.sos=true
ro.vendor.audio.game.mode=true
vendor.audio.offload.multiaac.enable=true
vendor.audio.dolby.ds2.enabled=false
vendor.audio.dolby.ds2.hardbypass=false
vendor.audio.offload.multiple.enabled=false
vendor.audio.offload.passthrough=false
ro.vendor.audio.sdk.ssr=false
vendor.audio.offload.gapless.enabled=true
vendor.audio.safx.pbe.enabled=false
ro.vendor.audio.voice.volume.boost=manual
vendor.audio.parser.ip.buffer.size=262144
vendor.audio.flac.sw.decoder.24bit=true
vendor.audio.hal.boot.timeout.ms=20000
vendor.audio.use.sw.alac.decoder=true
vendor.audio.use.sw.ape.decoder=true
vendor.audio.use.sw.mpegh.decoder=true
vendor.audio.hw.aac.encoder=true
vendor.audio_hal.in_period_size=144
vendor.audio_hal.period_multiplier=3
vendor.audio.adm.buffering.ms=2
vendor.audio.volume.headset.gain.depcal=true
persist.audio.fluence.voicecomm=true
debug.stagefright.omx_default_rank=0
ro.vendor.audio.ring.filter=true
persist.vendor.audio.ring.filter.mask=0
vendor.audio.hal.output.suspend.supported=true
aaudio.mmap_policy=2
aaudio.mmap_exclusive_policy=2
aaudio.hw_burst_min_usec=2000
vendor.audio.enable.mirrorlink=false
ro.vendor.audio.afe.record=true
ro.vendor.audio.us.proximity=true
persist.vendor.audio.voicecall.speaker.stereo=true
persist.vendor.audio.ha_proxy.enabled=true
vendor.audio.feature.a2dp_offload.enable=true
vendor.audio.feature.afe_proxy.enable=true
vendor.audio.feature.anc_headset.enable=false
vendor.audio.feature.battery_listener.enable=true
vendor.audio.feature.compr_cap.enable=false
vendor.audio.feature.compress_in.enable=true
vendor.audio.feature.compress_meta_data.enable=true
vendor.audio.feature.compr_voip.enable=false
vendor.audio.feature.concurrent_capture.enable=true
vendor.audio.feature.custom_stereo.enable=true
vendor.audio.feature.display_port.enable=true
vendor.audio.feature.dsm_feedback.enable=false
vendor.audio.feature.dynamic_ecns.enable=true
vendor.audio.feature.ext_hw_plugin.enable=false
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.multi_voice_session.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.ras.enable=true
vendor.audio.feature.record_play_concurency.enable=false
vendor.audio.feature.src_trkn.enable=true
vendor.audio.feature.spkr_prot.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.deepbuffer_as_primary.enable=false
vendor.audio.feature.vbat.enable=true
vendor.audio.feature.wsa.enable=false
vendor.audio.feature.audiozoom.enable=false
vendor.audio.feature.snd_mon.enable=true
vendor.audio.chk.cal.spk=2
vendor.audio.chk.cal.us=2
ro.vendor.audio.voice.change.support=true
ro.vendor.audio.soundfx.type=mi
ro.vendor.audio.vocal.support=true
ro.vendor.audio.surround.support=true
ro.vendor.audio.scenario.support=true
ro.vendor.audio.sfx.scenario=true
ro.vendor.audio.spk.stereo=true
ro.vendor.audio.sfx.earadj=true
ro.vendor.audio.soundfx.usb=true
ro.vendor.audio.miui.karaoke.show=false
ro.vendor.audio.miui.karaoke.tencent.show=false
ro.vendor.audio.soundtrigger.xiaomievent=1
ro.vendor.audio.soundtrigger.pangaea=1
ro.vendor.audio.soundtrigger.sva-5.0=1
ro.vendor.audio.soundtrigger=sva
ro.vendor.audio.soundtrigger.lowpower=true
ro.vendor.audio.soundtrigger.training.level=50
ro.vendor.audio.soundtrigger.xanzn.gmm.level=40
ro.vendor.audio.soundtrigger.xanzn.gmm.user.level=30
ro.vendor.audio.soundtrigger.xanzn.cnn.level=70
ro.vendor.audio.soundtrigger.xanzn.vop.level=10
ro.vendor.audio.soundtrigger.xatx.gmm.level=30
ro.vendor.audio.soundtrigger.xatx.gmm.user.level=40
ro.vendor.audio.soundtrigger.xatx.cnn.level=45
ro.vendor.audio.soundtrigger.xatx.vop.level=0
ro.vendor.audio.soundtrigger.appdefine.gmm.level=55
ro.vendor.audio.soundtrigger.appdefine.gmm.user.level=65
ro.vendor.audio.soundtrigger.appdefine.cnn.level=45
ro.vendor.audio.soundtrigger.appdefine.vop.level=10
ro.vendor.audio.soundtrigger.snr=16
ro.vendor.audio.voice.change.youme.support=true
ro.audio.monitorRotation=true
persist.vendor.audio.misound.disable=true
persist.vendor.audio.delta.refresh=true
# Audio volume steps
ro.config.media_vol_steps=15
ro.config.vc_call_vol_steps=11
# Bluetooth
bluetooth.device.class_of_device=90,2,12
bluetooth.hardware.power.operating_voltage_mv=3700
bluetooth.hardware.power.idle_cur_ma=3
bluetooth.hardware.power.rx_cur_ma=20
bluetooth.hardware.power.tx_cur_ma=36
bluetooth.profile.asha.central.enabled?=true
bluetooth.profile.a2dp.source.enabled?=true
bluetooth.profile.avrcp.target.enabled?=true
bluetooth.profile.bap.broadcast.assist.enabled?=true
bluetooth.profile.bap.unicast.client.enabled?=true
bluetooth.profile.bas.client.enabled?=true
bluetooth.profile.csip.set_coordinator.enabled?=true
bluetooth.profile.gatt.enabled?=true
bluetooth.profile.hap.client.enabled?=true
bluetooth.profile.hfp.ag.enabled?=true
bluetooth.profile.hid.device.enabled?=true
bluetooth.profile.hid.host.enabled?=true
bluetooth.profile.map.server.enabled?=true
bluetooth.profile.mcp.server.enabled?=true
bluetooth.profile.opp.enabled?=true
bluetooth.profile.pan.nap.enabled?=true
bluetooth.profile.pan.panu.enabled?=true
bluetooth.profile.pbap.server.enabled?=true
bluetooth.profile.sap.server.enabled?=true
bluetooth.profile.ccp.server.enabled?=true
bluetooth.profile.vcp.controller.enabled?=true
persist.bluetooth.a2dp_offload.disabled=false
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac
persist.vendor.qcom.bluetooth.a2dp_offload_cap=sbc-aptx-aptxhd-aac
ro.bluetooth.a2dp_offload.supported=true
# Camera
camera.disable_zsl_mode=true
# SoC
ro.soc.manufacturer=QTI
ro.soc.model=SM6375
# Crypto
ro.crypto.dm_default_key.options_format.version=2
ro.crypto.volume.metadata.method=dm-default-key
sm6375-common: props: Optimise dex flags This is a squash of the following commits: 1. Optimise dex flags for a faster boot * Used multiple threads and speed profile to hasten the first boot Signed-off-by: baalajimaestro <me@baalajimaestro.me> Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf 2. Rework dex flags again When I went through https://source.android.com/devices/tech/dalvik/configure my previous configs felt wrong, this one should be perfect (I hope). Even though there is a slight trade-off for boot time by using the speed profile, we do make up for it by using 8 threads. PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER attempts to compile all prebuilts fully optimised to speed level, thus the phone doesnt need to deal with it. I also do know that this might be a trade-off on size, but I do see the first boot time is more worthy to trade-off. The speed level mentioned here runs dex verification and compiles all AOT methods. Signed-off-by: baalajimaestro <me@baalajimaestro.me> Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev> Change-Id: Ic0156ff8956a7c5f53820be6db438f6f6399d3c0 3. Switch certain dexopt profiles to verify Prebuilt apps like Gmail/Google App, will be updated by google play, and there is no need spend time and space optimising what is going to be replaced. Switch to Google's recommendation of using verify for an OTA package. Applications still stay on speed. Instead, replace the install profile with speed-profile making apps perform better. Signed-off-by: baalajimaestro <me@baalajimaestro.me> Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf
2022-03-19 19:51:45 -03:00
# Dex2oat
pm.dexopt.first-boot=quicken
pm.dexopt.bg-dexopt=everything
sm6375-common: props: Optimise dex flags This is a squash of the following commits: 1. Optimise dex flags for a faster boot * Used multiple threads and speed profile to hasten the first boot Signed-off-by: baalajimaestro <me@baalajimaestro.me> Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf 2. Rework dex flags again When I went through https://source.android.com/devices/tech/dalvik/configure my previous configs felt wrong, this one should be perfect (I hope). Even though there is a slight trade-off for boot time by using the speed profile, we do make up for it by using 8 threads. PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER attempts to compile all prebuilts fully optimised to speed level, thus the phone doesnt need to deal with it. I also do know that this might be a trade-off on size, but I do see the first boot time is more worthy to trade-off. The speed level mentioned here runs dex verification and compiles all AOT methods. Signed-off-by: baalajimaestro <me@baalajimaestro.me> Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev> Change-Id: Ic0156ff8956a7c5f53820be6db438f6f6399d3c0 3. Switch certain dexopt profiles to verify Prebuilt apps like Gmail/Google App, will be updated by google play, and there is no need spend time and space optimising what is going to be replaced. Switch to Google's recommendation of using verify for an OTA package. Applications still stay on speed. Instead, replace the install profile with speed-profile making apps perform better. Signed-off-by: baalajimaestro <me@baalajimaestro.me> Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf
2022-03-19 19:51:45 -03:00
pm.dexopt.boot=verify
pm.dexopt.install=speed-profile
dalvik.vm.dex2oat-filter=speed
dalvik.vm.dex2oat-threads=8
dalvik.vm.dex2oat64.enabled=true
sm6375-common: props: Optimise dex flags This is a squash of the following commits: 1. Optimise dex flags for a faster boot * Used multiple threads and speed profile to hasten the first boot Signed-off-by: baalajimaestro <me@baalajimaestro.me> Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf 2. Rework dex flags again When I went through https://source.android.com/devices/tech/dalvik/configure my previous configs felt wrong, this one should be perfect (I hope). Even though there is a slight trade-off for boot time by using the speed profile, we do make up for it by using 8 threads. PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER attempts to compile all prebuilts fully optimised to speed level, thus the phone doesnt need to deal with it. I also do know that this might be a trade-off on size, but I do see the first boot time is more worthy to trade-off. The speed level mentioned here runs dex verification and compiles all AOT methods. Signed-off-by: baalajimaestro <me@baalajimaestro.me> Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev> Change-Id: Ic0156ff8956a7c5f53820be6db438f6f6399d3c0 3. Switch certain dexopt profiles to verify Prebuilt apps like Gmail/Google App, will be updated by google play, and there is no need spend time and space optimising what is going to be replaced. Switch to Google's recommendation of using verify for an OTA package. Applications still stay on speed. Instead, replace the install profile with speed-profile making apps perform better. Signed-off-by: baalajimaestro <me@baalajimaestro.me> Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf
2022-03-19 19:51:45 -03:00
dalvik.vm.image-dex2oat-filter=speed
dalvik.vm.image-dex2oat-threads=8
dalvik.vm.systemuicompilerfilter=speed
sm6375-common: props: Optimise dex flags This is a squash of the following commits: 1. Optimise dex flags for a faster boot * Used multiple threads and speed profile to hasten the first boot Signed-off-by: baalajimaestro <me@baalajimaestro.me> Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf 2. Rework dex flags again When I went through https://source.android.com/devices/tech/dalvik/configure my previous configs felt wrong, this one should be perfect (I hope). Even though there is a slight trade-off for boot time by using the speed profile, we do make up for it by using 8 threads. PRODUCT_DEX_PREOPT_DEFAULT_COMPILER_FILTER attempts to compile all prebuilts fully optimised to speed level, thus the phone doesnt need to deal with it. I also do know that this might be a trade-off on size, but I do see the first boot time is more worthy to trade-off. The speed level mentioned here runs dex verification and compiles all AOT methods. Signed-off-by: baalajimaestro <me@baalajimaestro.me> Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev> Change-Id: Ic0156ff8956a7c5f53820be6db438f6f6399d3c0 3. Switch certain dexopt profiles to verify Prebuilt apps like Gmail/Google App, will be updated by google play, and there is no need spend time and space optimising what is going to be replaced. Switch to Google's recommendation of using verify for an OTA package. Applications still stay on speed. Instead, replace the install profile with speed-profile making apps perform better. Signed-off-by: baalajimaestro <me@baalajimaestro.me> Change-Id: I2cce5ddf7d50308511e81436fcac613b2c6537bf
2022-03-19 19:51:45 -03:00
# DPM
persist.vendor.dpm.feature=1
persist.vendor.dpm.idletimer.mode=default
persist.vendor.dpm.nsrm.bkg.evt=3955
persist.vendor.dpmhalservice.enable=1
# DRM
drm.service.enabled=true
# FRP
ro.frp.pst=/dev/block/bootdevice/by-name/frp
# Gatekeeper
vendor.gatekeeper.disable_spu=true
# Graphics
debug.egl.hw=0
debug.mdpcomp.logs=0
debug.hwui.use_hint_manager=true
debug.hwui.target_cpu_time_percent=30
debug.sf.disable_client_composition_cache=1
debug.sf.enable_advanced_sf_phase_offset=1
debug.sf.enable_gl_backpressure=1
debug.sf.enable_transaction_tracing=false
debug.sf.high_fps_early_gl_phase_offset_ns=-4000000
debug.sf.high_fps_early_phase_offset_ns=-4000000
debug.sf.high_fps_late_app_phase_offset_ns=1000000
debug.sf.high_fps_late_sf_phase_offset_ns=-4000000
debug.sf.hw=0
debug.sf.predict_hwc_composition_strategy=0
persist.sys.sf.color_saturation=1.0
ro.hardware.egl=adreno
ro.hardware.vulkan=adreno
ro.opengles.version=196610
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true
ro.surface_flinger.has_HDR_display=true
ro.surface_flinger.has_wide_color_display=true
ro.surface_flinger.max_virtual_display_dimension=4096
ro.surface_flinger.protected_contents=true
ro.surface_flinger.use_color_management=true
ro.surface_flinger.wcg_composition_dataspace=143261696
ro.vendor.colorpick_adjust=true
ro.vendor.all_modes.colorpick_adjust=true
ro.vendor.sf.enable_fb_scaling=1
vendor.display.comp_mask=0
vendor.display.disable_excl_rect=0
vendor.display.disable_excl_rect_partial_fb=1
vendor.display.disable_hw_recovery_dump=1
vendor.display.disable_offline_rotator=1
vendor.display.disable_rotator_downscale=1
vendor.display.disable_scaler=0
vendor.display.enable_async_powermode=0
vendor.display.enable_early_wakeup=1
vendor.display.enable_optimize_refresh=1
vendor.display.enable_perf_hint_large_comp_cycle=1
vendor.display.enable_posted_start_dyn=2
vendor.display.qdcm.mode_combine=2
vendor.display.use_layer_ext=0
vendor.display.use_smooth_motion=0
vendor.gralloc.disable_ubwc=0
# Media
debug.stagefright.ccodec=4
debug.stagefright.omx_default_rank=0
# NFC
ro.vendor.se.type=HCE,UICC
# Radio
keyguard.no_require_sim=true
persist.radio.multisim.config=dsds
persist.vendor.data.iwlan.enable=true
persist.vendor.data.mode=concurrent
persist.vendor.radio.atfwd.start=true
persist.vendor.radio.custom_ecc=1
persist.vendor.radio.data_ltd_sys_ind=1
persist.vendor.radio.dynamic_load_mbn=3
persist.vendor.radio.dynamic_sar=1
persist.vendor.radio.enable_temp_dds=true
persist.vendor.radio.force_ltd_sys_ind=1
persist.vendor.radio.force_on_dc=true
persist.vendor.radio.hidl_dev_service=true
persist.vendor.radio.manual_nw_rej_ct=1
persist.vendor.radio.mbn_trace=true
persist.vendor.radio.procedure_bytes=SKIP
persist.vendor.radio.rat_on=combine
ro.telephony.call_ring.multiple=false
ro.telephony.default_cdma_sub=0
ro.telephony.default_network=33,33
ro.vendor.radio.5g=3
ro.vendor.use_data_netmgrd=true
telephony.lteOnCdmaDevice=1
# Perf
ro.vendor.extension_library=libqti-perfd-client.so
ro.vendor.perf-hal.ver=2.2
# Sensors
persist.vendor.sensors.debug.ssc_qmi_debug=true
persist.vendor.sensors.hal_trigger_ssr=false
persist.vendor.sensors.enable.rt_task=false
persist.vendor.sensors.support_direct_channel=false
persist.vendor.sensors.enable.bypass_worker=true
persist.vendor.sensors.sync_request=true
# Storage
ro.incremental.enable=yes
# Thermal
vendor.sys.thermal.data.path=/data/vendor/thermal/
# USB
vendor.usb.use_ffs_mtp=1
vendor.usb.diag.func.name=diag
vendor.usb.dpl.inst.name=dpl
vendor.usb.qdss.inst.name=qdss
vendor.usb.rmnet.func.name=gsi
vendor.usb.rmnet.inst.name=rmnet
vendor.usb.rndis.func.name=gsi
vendor.usb.use_gadget_hal=0
# Wifi
wifi.aware.interface=wifi-aware0
# Zygote
zygote.critical_window.minute=10