diff --git a/configs/properties/system.prop b/configs/properties/system.prop index 4e1ad5d..2b75442 100644 --- a/configs/properties/system.prop +++ b/configs/properties/system.prop @@ -1,24 +1,90 @@ +# audio +ro.camera.sound.forced=0 +ro.audio.silent=0 + +# Audio +ro.audio.silent=0 +ro.audio.usb.period_us=16000 +ro.config.vc_call_vol_steps=9 +persist.vendor.anr.dumpthr=1 + +# Brand +Build.BRAND=MTK + +# Camera +ro.camera.sound.forced=0 +vendor.camera.tran.nums=1 + # Charger ro.charger.enable_suspend=true -# Dalvik +# Dexopt dalvik.vm.dex2oat64.enabled=true +pm.dexopt.install=speed-profile +pm.dexopt.bg-dexopt=speed-profile +pm.dexopt.boot=verify +pm.dexopt.first-boot=verify +pm.dexopt.ab-ota=speed-profile +dalvik.vm.dex2oat-cpu-set=0,1,2,3,4,5 +dalvik.vm.dex2oat-threads=6 +dalvik.vm.boot-dex2oat-cpu-set=0,1,2,3,4,5 +dalvik.vm.boot-dex2oat-threads=6 +dalvik.vm.image-dex2oat-cpu-set=0,1,2,3,4,5 +dalvik.vm.image-dex2oat-threads=6 # IMS persist.dbg.volte_avail_ovr=1 persist.dbg.vt_avail_ovr=1 persist.dbg.wfc_avail_ovr=1 -# RIL Powersaving -persist.radio.add_power_save=1 -pm.sleep_mode=1 -ro.ril.disable.power.collapse=0 -ro.ril.fast.dormancy.rule=1 -ro.ril.fast.dormancy.timeout=3 -ro.mot.eri.losalert.delay=100 -ro.vendor.use_data_netmgrd=true -ro.vold.umsdirtyratio=20 -power.saving.mode=1 +# Kernel +ro.kernel.zio=38,108,105,16 +ro.iorapd.enable=false + +# Media +debug.stagefright.c2inputsurface=-1 +media.stagefright.thumbnail.prefer_hw_codecs=true +vendor.mtk_thumbnail_optimization=true +ro.vendor.mtk_flv_playback_support=1 + +# MTK vendor +ro.vendor.mtk_omacp_support=1 +ro.vendor.mtk_flv_playback_support=1 +ro.vendor.mtk_telephony_add_on_policy=0 + +# Perf +ro.mtk_perf_fast_start_win=1 +ro.mtk_perf_response_time=1 +ro.mtk_perf_simple_start_win=1 +security.perf_harden=1 + +# Power +sys.ipo.disable=1 +sys.ipo.pwrdncap=2 +persist.sys.usic.support=true + +# USB +ro.sys.usb.bicr=no +ro.sys.usb.charging.only=yes +ro.sys.usb.mtp.whql.enable=0 +ro.sys.usb.storage.type=mtp +ro.usb.connect.keycodes=100,200 + +# WiFi +ro.mediatek.wlan.p2p=1 +ro.mediatek.wlan.wsc=1 +mediatek.wlan.ctia=0 +wifi.direct.interface=p2p0 +wifi.interface=wlan0 +wifi.tethering.interface=ap0 + +# ZRAM +ro.zram.mark_idle_delay_mins=60 +ro.zram.first_wb_delay_mins=1440 +ro.zram.periodic_wb_delay_hours=24 # Zygote zygote.critical_window.minute=10 + +# SurfaceFlinger +debug.sf.disable_client_composition_cache=1 diff --git a/configs/properties/vendor.prop b/configs/properties/vendor.prop index 21cea5a..2bc6a1b 100644 --- a/configs/properties/vendor.prop +++ b/configs/properties/vendor.prop @@ -1,18 +1,51 @@ +# AEE +ro.vendor.have_aee_feature=1 +persist.vendor.mtk.aee.filter=0 + # APK Verity ro.apk_verity.mode=2 +# ART +dalvik.vm.dex2oat-minidebuginfo=false +dalvik.vm.minidebuginfo=false + # Audio aaudio.mmap_exclusive_policy=2 aaudio.mmap_policy=2 # Bluetooth +bluetooth.profile.asha.central.enabled=true +bluetooth.device.class_of_device=90,2,12 +bluetooth.profile.a2dp.source.enabled=true +bluetooth.profile.avrcp.target.enabled=true +bluetooth.profile.bas.client.enabled=true +bluetooth.profile.gatt.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.opp.enabled=true +bluetooth.profile.pan.nap.enabled=true +bluetooth.profile.pan.panu.enabled=true +bluetooth.profile.pbap.server.enabled=true +bluetooth.profile.bap.unicast.client.enabled=?false +bluetooth.profile.ccp.server.enabled=?false +bluetooth.profile.csip.set_coordinator.enabled=?false +bluetooth.profile.mcp.server.enabled=?false +bluetooth.profile.sap.server.enabled=?true +bluetooth.profile.vcp.controller.enabled=?false persist.bluetooth.a2dp_offload.cap=sbc-aac persist.bluetooth.a2dp_offload.disabled=true -ro.bluetooth.a2dp_offload.supported=true +persist.vendor.bluetooth.leaudio_mode=ums +vendor.bluetooth.ldac.abr=true +ro.vendor.mtk.bt_sap_enable=true +ro.vendor.bluetooth.a2dp_aac_vbr.is_disabled=true +ro.vendor.bluetooth.bt_multidevice_perform=600 ro.vendor.bt.platform=connac1x ro.vendor.mtk.bt_sap_enable=true # Camera +vendor.camera.aux.packageexcludelist=org.telegram.messenger,org.thunderdog.challegram,tw.nekomimi.nekogram camera.disable_zsl_mode=1 ro.vendor.camera_tran_hal_server_support=1 vendor.camera.mdp.dre.enable=1 @@ -54,7 +87,6 @@ ro.vendor.tran.midtest.camera_als_ic=alspdt17 ro.vendor.mtk_camera_app_version=3 ro.vendor.camera.isp.support.colorspace=0 ro.vendor.mtk_cam_security_support=0 -vendor.camera.aux.packageexcludelist=org.telegram.messenger,org.thunderdog.challegram,tw.nekomimi.nekogram # Connsys persist.vendor.connsys.chipid=-1 @@ -64,21 +96,25 @@ ro.vendor.connsys.dedicated.log.port=bt,wifi,gps,mcu ro.vendor.connsys.dedicated.log=1 vendor.connsys.driver.ready=no -# Dexopt -dalvik.vm.dex2oat64.enabled=true -pm.dexopt.install=speed-profile -pm.dexopt.bg-dexopt=speed-profile -pm.dexopt.boot=verify -pm.dexopt.first-boot=verify -pm.dexopt.ab-ota=speed-profile -dalvik.vm.dex2oat-cpu-set=0,1,2,3,4,5 -dalvik.vm.dex2oat-threads=6 -dalvik.vm.boot-dex2oat-cpu-set=0,1,2,3,4,5 -dalvik.vm.boot-dex2oat-threads=6 -dalvik.vm.image-dex2oat-cpu-set=0,1,2,3,4,5 -dalvik.vm.image-dex2oat-threads=6 +# Data +persist.vendor.factory.GB2312=no +persist.vendor.fd.on.charge=0 +persist.vendor.swapfile_enable=true +persist.vendor.swapfile_size_mb=0 +ro.vendor.mtk_config_max_dram_size=0x800000000 +ro.vendor.mtk_f2fs_enable=1 +ro.vendor.mtk_fd_support=1 +ro.vendor.mtk_emmc_support=1 +ro.vendor.mtk_ufs_support=1 +ro.crypto.volume.filenames_mode=aes-256-cts +ro.vendor.mm.defrag.support=1 # Display +debug.mediatek.appgamepq_compress=1 +debug.mediatek.disp_decompress=1 +persist.vendor.uxcompaction_enable=true +debug.renderengine.backend=skiaglthreaded +debug.hwui.skia_atrace_enabled=false debug.sf.use_phase_offsets_as_durations=1 debug.sf.late.sf.duration=27600000 debug.sf.late.app.duration=20000000 @@ -93,8 +129,41 @@ ro.hardware.gralloc=common ro.hardware.vulkan=mali ro.surface_flinger.force_hwc_copy_for_virtual_displays=true ro.surface_flinger.max_frame_buffer_acquired_buffers=3 +debug.sf.enable_egl_image_tracker=1 +debug.sf.disable_backpressure=1 ro.vendor.mtk_ovl_bringup=0 ro.vendor.mtk_pq_support=2 +ro.vendor.mtk_pq_color_mode=1 +ro.vendor.pq.mtk_pq_video_whitelist_support=0 +ro.vendor.pq.mtk_video_transition=0 +ro.vendor.pq.mtk_scltm_support=0 +ro.vendor.mml.mtk_mml_support=0 +ro.vendor.pq.mtk_ai_scence_pq_support=0 +ro.vendor.pq.mtk_hdr10_plus_recording_support=0 +ro.vendor.pq.mtk_mdp_lite_pq_support=0 +ro.vendor.pq.mtk_ai_sdr_to_hdr_support=0 +ro.vendor.pq.mtk_ultra_resolution_support=0 +ro.vendor.pq.mtk_dc_support=0 +ro.vendor.pq.mtk_ds_support=0 +ro.vendor.pq.mtk_hfg_support=1 +ro.vendor.pq.mtk_caltm_support=0 +ro.vendor.pq.mtk_clearzoom_support=1 +ro.vendor.pq.mtk_mdp_ccorr_support=0 +ro.vendor.pq.mtk_pq_interface_support=0 +ro.vendor.pq.mtk_disp_c3d_support=0 +ro.vendor.pq.mtk_disp_tdshp_support=0 +ro.vendor.pq.mtk_disp_color_support=1 +ro.vendor.pq.mtk_disp_ccorr_support=1 +ro.vendor.pq.mtk_disp_gamma_support=1 +ro.vendor.pq.mtk_aal_support=1 +ro.vendor.mtk_aal_support=1 +ro.vendor.pq.mtk_dre30_support=0 +ro.vendor.pq.mtk_disp_game_pq_support=0 +ro.vendor.pq.mtk_backlight_smooth_support=0 +ro.vendor.pq.mtk_ultra_dimming_support=0 +ro.vendor.pq.mtk_blulight_def_support=1 +ro.vendor.mtk_mvpu_security_support=0 +ro.vendor.mtk_fd_support=1 # Gatekeeper ro.hardware.gatekeeper=trustonic @@ -105,6 +174,15 @@ ro.vendor.mtk_agps_app=1 ro.vendor.mtk_gps_support=1 ro.vendor.mtk_log_hide_gps=1 +# GPU +ro.opengles.version=196610 + +# Dalvik +dalvik.vm.dex2oat64.enabled=true + +# Fuse passthrough +persist.sys.fuse.passthrough.enable=true + # Keymaster ro.crypto.volume.filenames_mode=aes-256-cts ro.hardware.kmsetkey=trustonic @@ -152,16 +230,68 @@ persist.vendor.volte_support=1 ro.vendor.md_auto_setup_ims=1 ro.vendor.mtk_data_config=1 +# Logging +persist.log.tag.BufferQueueDump=I +persist.log.tag.BufferQueueProducer=I +persist.log.tag.GraphicBuffer=I +persist.log.tag.SurfaceControl=I +persist.log.tag.Telecom=I +persist.log.tag.Telephony=I + +# Logd +ro.logd.kernel=false + +# LMK +ro.lmk.kill_heaviest_task=true +ro.lmk.kill_timeout_ms=100 +ro.lmk.psi_complete_stall_ms=150 +ro.lmk.swap_free_low_percentage=20 +ro.lmk.swap_util_max=90 +ro.lmk.thrashing_limit=25 +ro.lmk.thrashing_limit_decay=50 + # Media +ro.vendor.mtk.c2.vdec.fmt.support.level=1 debug.mediatek.disp_decompress=1 debug.stagefright.c2inputsurface=-1 media.c2.dmabuf.padding=3072 -ro.vendor.jpeg_decode_sw_opt=1 -ro.vendor.mtk_config_max_dram_size=0x800000000 +ro.vendor.iomanager.support=1 +ro.vendor.jpeg_decode_sw_opt=2 ro.vendor.mtk_sec_video_path_support=1 ro.vendor.mtk_video_hevc_enc_support=1 vendor.mtk.vdec.waitkeyframeforplay=9 +# MediaTek +ro.soc.manufacturer=Mediatek +ro.vendor.mediatek.platform=MT6789 +ro.vendor.mediatek.version.branch=alps-mp-s0.mp1 +ro.vendor.mediatek.version.release=alps-mp-s0.mp1.rc-V14.2.1_reallytek.s0mp1rc.k61v1.64.bsp_P119 + +# Stock Stuff +ro.vendor.rc=/vendor/etc/init/hw/ +# MTK Stuff +ro.vendor.mtk_nn_baseline_support=1 +persist.vendor.factory.GB2312=no +ro.vendor.mtk_fast_charging_support=1 +ro.vendor.mtk.sensor.support=yes +ro.vendor.camera.isp.support.colorspace=0 +ro.vendor.mtk_sec_video_path_support=1 +ro.vendor.mtk_tee_gp_support=1 +ro.vendor.mtk_wfd_support=1 +ro.vendor.mtk_thermal_2_0=1 +ro.vendor.efuse_writer_enable=1 +ro.vendor.mtk_cam_security_support=0 +ro.vendor.mtk.c2.vdec.fmt.support.level=1 +ro.vendor.mtk_svp_on_mtee_support=2 +vendor.media.heif.highThreshold=20 +vendor.media.heif.feature.off=1 +ro.netflix.bsp_rev=MTK6789-35965-1 +ro.limit_cache.support=1 +ro.vendor.mgk_name=mgk_64_entry_level_k510 + +# MTE +arm64.memtag.process.system_server=off + # Neural Networks debug.mtk_tflite.target_nnapi=29 ro.vendor.mtk_nn.option=A,B,C,D,E,F,G,Z @@ -169,14 +299,39 @@ ro.vendor.mtk_nn_baseline_support=1 ro.vendor.mtk_nn_quant_preferred=1 ro.vendor.mtk_nn_support=1 +# Perf +persist.vendor.iomanager.dirty=1 +persist.vendor.iomanager.switch=1 +persist.vendor.pnpmgr.enable=1 +persist.vendor.pnpmgr.gamemode.enable=1 +persist.vendor.pnpmgr.gamerecord.enable=1 +ro.vendor.transched.support=1 +ro.vendor.powerhal.gsi_watermark=500 +ro.vendor.powerhal_fling_mode_support=1 + # Sensors ro.vendor.mtk.sensor.support=yes # TEE ro.vendor.mtk_trustonic_tee_support=1 +# Shutdown +init.userspace_reboot.is_supported=true + +# USB +ro.vendor.usb.kpoc_adb=0 + +# Vibrator +ro.vendor.tran.vibrator.option=single + # Wi-Fi ro.vendor.wifi.sap.concurrent.iface=ap1 ro.vendor.wifi.sap.interface=ap0 ro.vendor.wlan.chrdev=wmt_chrdev_wifi ro.vendor.wlan.gen=gen4m_6789 + +# Misc +vendor.boostfwk.fling_distance_dp=20 +vendor.boostfwk.aosp_move=1 +vendor.boostfwk.launcher_use_interaction=1 +vendor.boostfwk.aosp_fling=1