#!
/system/bin/sh
# 🎮 Free Fire Max Boost Script for MIUI 14 - Redmi Note 10 Pro
# ✅ App Priority
cmd appops set [Link] RUN_IN_BACKGROUND allow
cmd appops set [Link] RUN_ANY_IN_BACKGROUND allow
cmd appops set [Link] allow
# 🧠 Kill background apps
am kill-all
# 🚀 Touch & Performance Optimizations
settings put system pointer_speed 7
settings put system long_press_timeout 120
settings put system tap_duration 50
settings put system touch_slop 2
settings put system touchpad_pointer_speed 7
# ⚙️ Disable animations for smoother UI
settings put global window_animation_scale 0
settings put global transition_animation_scale 0
settings put global animator_duration_scale 0
# 🧬 Refresh rate optimization (MIUI)
settings put system peak_refresh_rate 120
settings put system min_refresh_rate 120
# 📱 Enable MIUI Game Turbo (if available)
settings put secure miui_app_boost_pkg [Link]
settings put global game_mode_com.[Link] 1
# 🧼 Flush DNS
ndc resolver flushdefaultif
# 🌐 DNS (Cloudflare)
settings put global private_dns_mode hostname
settings put global private_dns_specifier [Link]
# 🎮 Launch Free Fire Max
monkey -p [Link] -c [Link] 1
echo "✅ Free Fire Max Boost for MIUI 14 Applied"