From cd3781c8be3238d5ae7648d81ea2b4db5817b182 Mon Sep 17 00:00:00 2001 From: Demon000 Date: Sun, 12 Jul 2020 11:49:56 +0300 Subject: [PATCH] sm6250-common: define vendor properties Unused: av.offload.enable=true bt.max.hfpclient.connections=1 debug.egl.hw=0 # used to be surfaceflinger props in fw/base, (fw/native) but are since long gone debug.mdpcomp.logs=0 # defaults to NULL if not set, having the same effect as '0 debug.sf.hw=0 # used to be used in gralloc, but not present in sm8150 display HAL dev.pm.dyn_samplingrate=1 media.aac_51_output_enabled=true mmp.enable.3g2=true persist.debug.coresight.config=stm-events persist.fuse_sdcard=true persist.mm.enable.prefetch=true persist.rild.nitz_long_ons_0= persist.rild.nitz_long_ons_1= persist.rild.nitz_long_ons_2= persist.rild.nitz_long_ons_3= persist.rild.nitz_plmn= persist.rild.nitz_short_ons_0= persist.rild.nitz_short_ons_1= persist.rild.nitz_short_ons_2= persist.rild.nitz_short_ons_3= persist.timed.enable=true persist.vendor.max.brightness=455 persist.vendor.qcomsysd.enabled=1 # controls qcom-system-daemon start but qcom-systeam-daemon binary doesn't exist qcom.hw.aac.encoder=true rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so # unsed because we use vendor ril daemon ro.hwui.drop_shadow_cache_size=6 ro.hwui.gradient_cache_size=1 ro.hwui.layer_cache_size=48 ro.hwui.path_cache_size=32 ro.hwui.r_buffer_cache_size=8 ro.hwui.text_large_cache_height=1024 ro.hwui.text_large_cache_width=2048 ro.hwui.text_small_cache_height=1024 ro.hwui.text_small_cache_width=1024 ro.hwui.texture_cache_flushrate=0.4 ro.hwui.texture_cache_size=72 tunnel.audio.encode=true use.voice.path.for.pcm.voip=true sys.vendor.shutdown.waittime=500 Used on MIUI only: persist.audio.button_jack.profile=volume persist.audio.button_jack.switch=0 persist.backup.ntpServer=0.pool.ntp.org persist.demo.hdmirotationlock=false persist.sys.mcd_config_file=/system/etc/mcd_default.conf ro.config.alarm_alert=Alarm_Classic.ogg ro.config.notification_sound=pixiedust.ogg ro.config.ringtone=Ring_Synth_04.ogg ro.vendor.audio.sos=true ro.vendor.audio.voice.volume.boost=manual sys.haptic.down.normal=2 sys.haptic.down.strong=5 sys.haptic.down.weak=0 sys.haptic.down=5,2 sys.haptic.flick.light=5,2 sys.haptic.flick=5,2 sys.haptic.hold=6,0 sys.haptic.long.press=0,1 sys.haptic.mesh.heavy=8,2 sys.haptic.mesh.light=5,1 sys.haptic.mesh.normal=8,2 sys.haptic.motor=linear sys.haptic.pickup=0,2 sys.haptic.popup.light=6,1 sys.haptic.popup.normal=6,2 sys.haptic.runin=13 sys.haptic.scroll.edge=5,0 sys.haptic.switch=9,2 sys.haptic.tap.light=5,2 sys.haptic.tap.normal=3,2 sys.haptic.trigger.drawer=2,0 ro.miui.notch=1 ro.nfc.port=I2C ro.qc.sdk.audio.ssr=false ro.vendor.type=eSE,HCE,UICC sys.qca1530=detect sys.thermal.data.path=/data/vendor/thermal/ Used but make no sense: qemu.hw.mainkeys=0 ro.carrier=unknown ro.com.android.dataroaming=false ro.kernel.qemu.gles=0 Set from BoardConfig: ro.apex.updatable=true ro.board.platform=atoll ro.boot.dynamic_partitions=true Set by build system: ro.bootimage.build.date.utc=1583779344 ro.bootimage.build.date=Tue Mar 10 02:42:24 CST 2020 ro.bootimage.build.fingerprint=Redmi/curtana/curtana:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys ro.hwui.use_vulkan= ro.product.board=curtana ro.product.first_api_level=29 ro.product.vendor.brand=Redmi ro.product.vendor.device=curtana ro.product.vendor.manufacturer=Xiaomi ro.product.vendor.model=Redmi Note 9 Pro ro.product.vendor.name=curtana ro.vendor.build.date.utc=1583779344 ro.vendor.build.date=Tue Mar 10 02:42:24 CST 2020 ro.vendor.build.fingerprint=Redmi/curtana/curtana:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys ro.vendor.build.id=QKQ1.191215.002 ro.vendor.build.security_patch=2020-02-01 ro.vendor.build.tags=release-keys ro.vendor.build.type=user ro.vendor.build.version.incremental=V11.0.4.0.QJWINXM ro.vendor.build.version.release=10 ro.vendor.build.version.sdk=29 ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi ro.vendor.product.cpu.abilist64=arm64-v8a ro.vendor.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi Set from init: dalvik.vm.heapmaxfree=8m dalvik.vm.heapminfree=512k dalvik.vm.heapsize=36m dalvik.vm.heapsize=512m dalvik.vm.heapstartsize=8m dalvik.vm.heaptargetutilization=0.75 Most of those are unused, some of them are set via BoardConfig rules. --- vendor.prop | 228 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 228 insertions(+) diff --git a/vendor.prop b/vendor.prop index e69de29..4359132 100644 --- a/vendor.prop +++ b/vendor.prop @@ -0,0 +1,228 @@ +# 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.buffer.size.kb=32 +audio.offload.gapless.enabled=true +audio.offload.video=true +audio.sys.noisy.broadcast.delay=600 +audio.sys.offload.pstimeout.secs=3 +persist.audio.fluence.speaker=true +persist.audio.fluence.voicecall=true +persist.audio.fluence.voicecomm=true +persist.audio.fluence.voicerec=false +persist.vendor.audio.avs.afe_api_version=2 +persist.vendor.audio.fluence.speaker=true +persist.vendor.audio.fluence.tmic.enabled=false +persist.vendor.audio.fluence.voicecall=true +persist.vendor.audio.fluence.voicerec=false +persist.vendor.audio.ras.enabled=false +persist.vendor.audio.spv3.enable=true +persist.vendor.audio.voicecall.speaker.stereo=false +ro.af.client_heap_size_kbyte=7168 +ro.qc.sdk.audio.fluencetype=none +ro.vendor.audio.sdk.fluencetype=none +ro.vendor.audio.sdk.ssr=false +ro.vendor.audio.soundfx.type=mi +ro.vendor.audio.soundfx.usb=true +ro.vendor.audio.soundtrigger.appdefine.cnn.level=31 +ro.vendor.audio.soundtrigger.appdefine.gmm.level=55 +ro.vendor.audio.soundtrigger.appdefine.gmm.user.level=50 +ro.vendor.audio.soundtrigger.appdefine.vop.level=10 +ro.vendor.audio.soundtrigger.lowpower=true +ro.vendor.audio.soundtrigger.training.level=50 +ro.vendor.audio.soundtrigger.xanzn.cnn.level=70 +ro.vendor.audio.soundtrigger.xanzn.gmm.level=45 +ro.vendor.audio.soundtrigger.xanzn.gmm.user.level=30 +ro.vendor.audio.soundtrigger.xanzn.vop.level=10 +ro.vendor.audio.soundtrigger.xatx.cnn.level=27 +ro.vendor.audio.soundtrigger.xatx.gmm.level=50 +ro.vendor.audio.soundtrigger.xatx.gmm.user.level=40 +ro.vendor.audio.soundtrigger.xatx.vop.level=10 +ro.vendor.audio.soundtrigger=sva +vendor.audio.adm.buffering.ms=2 +vendor.audio.chk.cal.spk=0 +vendor.audio.chk.cal.us=0 +vendor.audio.dolby.ds2.enabled=false +vendor.audio.dolby.ds2.hardbypass=false +vendor.audio.enable.mirrorlink=false +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=true +vendor.audio.feature.compress_meta_data.enable=true +vendor.audio.feature.concurrent_capture.enable=true +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=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.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=true +vendor.audio.hw.aac.encoder=true +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.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 +vendor.voice.path.for.pcm.voip=true + +# Bluetooth +persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac +persist.bluetooth.a2dp_offload.disabled=false +persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac +persist.vendor.bt.aac_frm_ctl.enabled=true +persist.vendor.btstack.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac +persist.vendor.btstack.enable.splita2dp=true +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 +ro.bluetooth.emb_wp_mode=true +ro.bluetooth.library_name=libbluetooth_qti.so +ro.bluetooth.wipower=true +ro.vendor.bluetooth.wipower=false +vendor.bluetooth.soc=cherokee +vendor.qcom.bluetooth.soc=cherokee + +# Camera +camera.disable_zsl_mode=1 + +# CNE +persist.vendor.cne.feature=1 + +# Crypto +ro.crypto.allow_encrypt_override=true +ro.crypto.volume.filenames_mode=aes-256-cts + +# Display +persist.sys.sf.color_saturation=1.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=1 +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=0 +vendor.display.enable_null_display=0 +vendor.display.enable_optimize_refresh=1 +vendor.gralloc.disable_ubwc=0 + +# FM +vendor.hw.fm.init=0 + +# FRP +ro.frp.pst=/dev/block/bootdevice/by-name/frp + +# Keyguard +keyguard.no_require_sim=true + +# Keystore +ro.hardware.keystore_desede=true + +# Media +debug.stagefright.ccodec=1 +debug.stagefright.omx_default_rank.sw-audio=1 +debug.stagefright.omx_default_rank=0 +drm.service.enabled=true +media.settings.xml=/vendor/etc/media_profiles_vendor.xml +media.stagefright.enable-aac=true +media.stagefright.enable-fma2dp=true +media.stagefright.enable-http=true +media.stagefright.enable-player=true +media.stagefright.enable-qcp=true +media.stagefright.enable-scan=true +media.stagefright.thumbnail.prefer_hw_codecs=true +vendor.mm.enable.qcom_parser=63963135 + +# PASR +vendor.power.pasr.enabled=true + +# Perf +ro.vendor.extension_library=libqti-perfd-client.so + +# Priv-app permissions +ro.control_privapp_permissions=enforce + +# Radio +DEVICE_PROVISIONED=1 +persist.data.df.dev_name=rmnet_usb0 +persist.radio.atfwd.start=false +persist.radio.multisim.config=dsds +persist.vendor.data.iwlan.enable=true +persist.vendor.data.mode=concurrent +persist.vendor.radio.apm_sim_not_pwdn=1 +persist.vendor.radio.custom_ecc=1 +persist.vendor.radio.data_con_rprt=1 +persist.vendor.radio.enable_temp_dds=true +persist.vendor.radio.enableadvancedscan=true +persist.vendor.radio.procedure_bytes=SKIP +persist.vendor.radio.rat_on=combine +persist.vendor.radio.sib16_support=1 +persist.vendor.radio.snapshot_enabled=1 +persist.vendor.radio.snapshot_timer=5 +ril.subscription.types=NV,RUIM +ro.telephony.default_network=22,20 +ro.telephony.iwlan_operation_mode=legacy +ro.vendor.use_data_netmgrd=true +telephony.lteOnCdmaDevice=1 + +# Sensors +persist.vendor.sensors.odl.adsp=true + +# SSR +persist.vendor.ssr.restart_level=ALL_ENABLE + +# WFD +persist.debug.wfd.enable=1 +persist.sys.wfd.virtual=0