diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 10374cc..359ad3b 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -77,6 +77,13 @@ TARGET_COPY_OUT_VENDOR := vendor BOARD_USES_QCOM_HARDWARE := true TARGET_BOARD_PLATFORM := bengal +# 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 + # Recovery BOARD_INCLUDE_RECOVERY_DTBO := true BOARD_USES_RECOVERY_AS_BOOT := true diff --git a/odm.prop b/odm.prop new file mode 100644 index 0000000..5455984 --- /dev/null +++ b/odm.prop @@ -0,0 +1,2 @@ +# QVA +ro.vendor.qti.va_odm.support=1 diff --git a/product.prop b/product.prop new file mode 100644 index 0000000..53764a9 --- /dev/null +++ b/product.prop @@ -0,0 +1,16 @@ +# Audio +af.fast_track_multiplier=1 +audio.deep_buffer.media=true +ro.af.client_heap_size_kbyte=7168 +media.stagefright.audio.deep=false +aaudio.mmap_policy=2 +aaudio.mmap_exclusive_policy=2 +aaudio.hw_burst_min_usec=2000 + +# One-Handed mode +ro.support_one_handed_mode=true + +# Radio +ro.telephony.default_network=10,10 +ro.vendor.radio.imei.sv=4 +ril.subscription.types=RUIM diff --git a/system.prop b/system.prop new file mode 100644 index 0000000..0861c3b --- /dev/null +++ b/system.prop @@ -0,0 +1,56 @@ +# Bringup properties +persist.vendor.radio.atfwd.start=true +qemu.hw.mainkeys=0 + +# Charger +ro.charger.enable_suspend=1 + +# Data +ro.vendor.use_data_netmgrd=true +persist.vendor.data.mode=concurrent + +# Display +debug.sf.enable_hwc_vds=1 +debug.sf.latch_unsignaled=1 + +# Graphics +ro.opengles.version=196610 +ro.hwui.texture_cache_size=72 +ro.hwui.layer_cache_size=48 +ro.hwui.r_buffer_cache_size=8 +ro.hwui.path_cache_size=32 +ro.hwui.gradient_cache_size=1 +ro.hwui.drop_shadow_cache_size=6 +ro.hwui.texture_cache_flushrate=0.4 +ro.hwui.text_small_cache_width=1024 +ro.hwui.text_small_cache_height=1024 +ro.hwui.text_large_cache_width=2048 +ro.hwui.text_large_cache_height=1024 + +# IORAPD +persist.device_config.runtime_native_boot.iorap_perfetto_enable=true +ro.iorapd.enable=true + +# Media +media.stagefright.enable-player=true +media.stagefright.enable-http=true +media.stagefright.enable-aac=true +media.stagefright.enable-qcp=true +media.stagefright.enable-fma2dp=true +media.stagefright.enable-scan=true +media.stagefright.thumbnail.prefer_hw_codecs=true +media.settings.xml=/vendor/etc/media_profiles_vendor.xml +vendor.mm.enable.qcom_parser=16777215 +debug.stagefright.ccodec=1 +ro.media.recorder-max-base-layer-fps=60 + +# QVA +ro.vendor.qti.va_aosp.support=1 + +# Radio +rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so +telephony.lteOnCdmaDevice=1 + +# Misc +arm64.memtag.process.system_server=off +ro.launcher.blur.appLaunch=0 diff --git a/system_ext.prop b/system_ext.prop new file mode 100644 index 0000000..37edecb --- /dev/null +++ b/system_ext.prop @@ -0,0 +1,9 @@ +# Audio +audio.offload.disable=false +audio.offload.video=false +audio.offload.min.duration.secs=60 +audio.offload.gapless.enabled=false +media.recorder.show_manufacturer_and_model=true + +# DPM +persist.vendor.dpm.feature=11 diff --git a/vendor.prop b/vendor.prop new file mode 100644 index 0000000..92ba853 --- /dev/null +++ b/vendor.prop @@ -0,0 +1,161 @@ +# Audio +persist.vendor.audio.dualmic.config=endfire +persist.vendor.audio.fluence.voicecall=true +persist.vendor.audio.fluence.voicecomm=true +persist.vendor.audio.fluence.voicerec=false +persist.vendor.audio.fluence.speaker=false +ro.config.vc_call_vol_steps=8 +vendor.audio.snd_card.open.retries=50 +vendor.audio.feature.afe_proxy.enable=true +vendor.audio_hal.period_size=240 +vendor.audio.parser.ip.buffer.size=262144 +vendor.audio.use.sw.alac.decoder=false +vendor.audio.use.sw.ape.decoder=false + +# Bluetooth +ro.bluetooth.a2dp_offload.supported=true +persist.vendor.qcom.bluetooth.soc=cherokee +persist.vendor.qcom.bluetooth.enable.splita2dp=true +persist.vendor.qcom.bluetooth.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac +ro.vendor.bluetooth.wipower=false +persist.vendor.qcom.bluetooth.twsp_state.enabled=false +persist.vendor.qcom.bluetooth.scram.enabled=false +persist.vendor.qcom.bluetooth.aac_vbr_ctl.enabled=false + +# Camera +camera.disable_zsl_mode=1 +persist.vendor.camera.physical.num=4 + +# Chipset +ro.soc.manufacturer=QTI + +# CNE +persist.vendor.cne.feature=1 +persist.vendor.data.iwlan.enable=true +persist.vendor.cne.logging.qxdm=3974 + +# Display +persist.sys.sf.native_mode=1 +persist.sys.sf.color_mode=0 +vendor.display.idle_time=0 +vendor.display.disable_idle_time_hdr=1 +vendor.display.disable_idle_time_video=1 +ro.surface_flinger.set_idle_timer_ms=0 +ro.surface_flinger.set_touch_timer_ms=0 +vendor.display.hwc_disable_hdr=1 +ro.surface_flinger.max_frame_buffer_acquired_buffers=3 +debug.sf.latch_unsignaled=0 +ro.hardware.vulkan=adreno +ro.hardware.egl=adreno +vendor.opengles.version=196610 +persist.demo.hdmirotationlock=false +persist.sys.sf.color_saturation=1.0 +debug.sf.hw=0 +debug.sf.high_fps_late_app_phase_offset_ns=1000000 +debug.sf.enable_gl_backpressure=1 +vendor.gralloc.disable_ubwc=0 +vendor.display.disable_scaler=0 +vendor.display.disable_excl_rect=0 +vendor.display.disable_excl_rect_partial_fb=1 +vendor.display.comp_mask=0 +vendor.display.enable_posted_start_dyn=1 +vendor.display.enable_optimize_refresh=1 +vendor.display.disable_rotator_ubwc=1 +vendor.display.normal_noc_efficiency_factor=0.85 +vendor.display.camera_noc_efficiency_factor=0.70 +vendor.display.disable_layer_stitch=0 +vendor.gralloc.secure_preview_buffer_format=420_sp +debug.sf.high_fps_late_sf_phase_offset_ns=-5000000 +debug.sf.high_fps_early_phase_offset_ns=-5000000 +debug.sf.high_fps_early_gl_phase_offset_ns=-5000000 +vendor.display.disable_hw_recovery_dump=1 +vendor.display.enable_async_powermode=1 +debug.sf.force_cpuset_system_default=1 + +# DPM +persist.vendor.dpmhalservice.enable=1 + +# DRM +drm.service.enabled=true + +# Encryption +ro.crypto.volume.filenames_mode=aes-256-cts +ro.crypto.dm_default_key.options_format.version=2 +ro.crypto.volume.metadata.method=dm-default-key + +# FRP +ro.frp.pst=/dev/block/bootdevice/by-name/frp + +# IMS +persist.vendor.ims.playout_delay=50 +persist.vendor.ims.cam_sensor_delay=20 +persist.vendor.ims.display_delay=40 +persist.vendor.ims.disableIMSLogs=1 +persist.vendor.ims.disableDebugDataPathLogs=1 +persist.vendor.ims.vt.enableadb=1 +persist.vendor.ims.disableDebugLogs=1 + +# Media +debug.stagefright.omx_default_rank=0 +debug.stagefright.ccodec=1 + +# Perf +ro.vendor.extension_library=libqti-perfd-client.so + +# Qcom System Daemon +persist.vendor.qcomsysd.enabled=1 + +# QSPM +ro.vendor.qspm.enable=true + +# Radio +persist.vendor.radio.no_wait_for_card=1 +persist.vendor.radio.dfr_mode_set=1 +persist.vendor.radio.oem_ind_to_both=0 +persist.vendor.radio.qcril_uim_vcc_feature=1 +persist.vendor.radio.0x9e_not_callname=1 +persist.vendor.radio.mt_sms_ack=30 +persist.vendor.radio.force_get_pref=1 +persist.vendor.radio.custom_ecc=1 +persist.vendor.radio.eri64_as_home=1 +persist.vendor.radio.data_con_rprt=1 +persist.vendor.radio.add_power_save=1 +persist.vendor.radio.msgtunnel.start=true +persist.vendor.radio.lte_vrte_ltd=1 +persist.vendor.radio.start_ota_daemon=1 +persist.vendor.radio.sw_mbn_update=0 +persist.vendor.radio.sar_sensor=1 +persist.vendor.radio.fi_supported=0 +persist.vendor.radio.data_ltd_sys_ind=1 +persist.vendor.radio.enableadvancedscan=true +ro.telephony.iwlan_operation_mode=legacy +persist.vendor.radio.apm_sim_not_pwdn=1 +persist.vendor.radio.sib16_support=1 +persist.vendor.radio.procedure_bytes=SKIP +persist.radio.multisim.config=dsds +persist.vendor.radio.rat_on=combine + +# Sensors +persist.vendor.sensors.enable.mag_filter=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 +ro.vendor.sensors.glance_approach=false +ro.vendor.sensors.mot_ltv=true +ro.vendor.sensors.pug=false + +# SSR +persist.vendor.ssr.restart_level=ALL_ENABLE + +# USB +vendor.usb.diag.func.name=diag +vendor.usb.use_ffs_mtp=0 + +# Wifi +wifi.aware.interface=wifi-aware0 + +# Misc +ro.netflix.bsp_rev=Q6115-31409-1 +persist.vendor.qc.sub.rdump.on=1 +persist.vendor.qc.sub.rdump.max=0