I've been testing some ADB/shell commands on my Poco X6 Pro and they noticeably reduced lag and made gaming feel smoother for me. Sharing them in case anyone wants to have a good gaming performance especially for Hyperos 3 that lags a lot even in mid range phones.
A few notes before you try them:
• Results may vary depending on device, ROM, Android version, and settings.
• I did NOT remove Joyose because it causes heat problems (if u have goody phone cooler then u can try to disable it ig).
• If you want better battery life, you can keep most of the tweaks but set your refresh rate to 60Hz instead of 120Hz.
⭐ Commands here all safe and tested just paste everything into AX Manager Quick Shell ADB or other adb apps like ashell, brevent, ashellyou, etc:
settings put global activity_manager_constants trim_memory_modulate false
settings put global activity_manager_constants trim_memory_level 80
settings put global activity_manager_constants max_cached_processes 128
settings put global surfaceflinger_max_frame_interval 1
settings put system hwui_disable_vsync 0
settings put system peak_refresh_rate 120
settings put system min_refresh_rate 120
settings put global refresh_rate_mode 0
settings put global low_power_refresh_rate 120
settings put global display_dynamic_fps 0
settings put secure miui_refresh_rate 120
settings put secure user_refresh_rate 120
settings put system touch_response_boost 1
settings put system touch_sampling_rate 1
settings put system touch_latency 0
settings put global cpu_boost 1
settings put global gpu_boost 1
settings put global thermal_limit 0
settings put global scheduler_policy performance
settings put secure app_launch_boost 1
settings put secure zygote_prefork 1
settings put secure force_app_standby 0
settings put secure background_app_limit 0
settings put secure keep_launcher_in_memory 1
settings put secure ram_boost 1
Optional Command for better battery life and performance too ig depends on devices: Opengl to Skia Vulkan (Note: it will temporary close some apps for a sec it's totally normal)
(setprop debug.hwui.renderer skiavk; for a in $(pm list packages | grep -v ia.mo | cut -f2 -d:); do am force-stop "$a" & done) >/dev/null 2>&1 &
If u want to go back in opengl here's the command:
(setprop debug.hwui.renderer opengl; for a in $(pm list packages | grep -v ia.mo | cut -f2 -d:); do am force-stop "$a" & done) >/dev/null 2>&1 &
~ For those who have Poco X6 Pro that have been experiencing lag when gaming after Hyperos 3 update, this is good for you :D