Skip to content

MT7925 WiFi fix for Linux - tested on ASUS ROG Flow Z13 2025. Fixes WiFi disconnects, slow speeds & instability on MediaTek Filogic 360 WiFi 7 chip

License

Notifications You must be signed in to change notification settings

burakgon/mt7925-wifi-patches

Repository files navigation

MT7925 WiFi Fix for Linux (ASUS ROG Flow Z13 2025 & More)

Fix WiFi disconnects, slow speeds, and instability on MediaTek MT7925 (Filogic 360) WiFi 7 chips — tested on ASUS ROG Flow Z13 2025

What This Does

This tool automatically downloads, builds, and installs the latest WiFi drivers for the MediaTek MT7925 chip from the Linux kernel's development tree (wireless-next). These drivers contain stability fixes that haven't reached stable kernels yet.

One command to fix your WiFi:

sudo ./mt76-rebuild.sh

No manual patching, no kernel recompilation — just run the script and reboot.

Features

Feature Description
🔧 One-Command Rebuild Single script downloads, builds, and installs everything
ASPM Disabled Disables PCIe power management to prevent disconnects
🔋 Power Save Disabled Disables WiFi power save to prevent latency issues
🔔 Desktop Notifications Get notified on login with driver, ASPM, and power save status
📱 App Launcher Integration Check patch status from KDE/GNOME app menu
💾 Auto Backup Original drivers backed up automatically for easy restore
🔄 Auto Update Script pulls latest fixes from wireless-next before building
↩️ Easy Revert One command to restore original Fedora drivers
🐧 Multi-Distro Works on Fedora, Ubuntu, Arch, and more

Symptoms This Fixes

  • ❌ WiFi randomly disconnects
  • ❌ Slow WiFi speeds
  • ❌ WiFi won't connect after sleep/suspend
  • ❌ Connection drops under load
  • ❌ "No Wi-Fi adapter found" after kernel update
  • ❌ High latency / ping spikes

Supported Devices

Originally built for ASUS ROG Flow Z13 (2025) but works on any laptop with the MT7925 chip:

Device Chip Status
ASUS ROG Flow Z13 (2025) MT7925 Tested & Working
ASUS ROG Zephyrus G14/G16 (2024+) MT7925 Should work
ASUS Zenbook / Vivobook (2024+) MT7925 Should work
Laptops with MediaTek RZ738 MT7925 Should work
Any device with MT7925 WiFi 7 MT7925 Should work

Have a different device? Open an issue to add it to the list!

💡 ASUS ROG Flow Z13 2025 users: This fix was specifically developed and tested on your device. It fixes the WiFi instability issues on Linux.

Supported Distros

Works on any Linux distro with kernel 6.x+:

  • Fedora 39+ ✅ (tested on Fedora 43)
  • Ubuntu 24.04+
  • Arch Linux
  • openSUSE Tumbleweed
  • Debian Testing/Unstable
  • Pop!_OS
  • Linux Mint

Quick Start

# Clone this repo
git clone https://github.com/burakgon/mt7925-wifi-patches.git
cd mt7925-wifi-patches

# Install dependencies (pick your distro)
# Fedora:
sudo dnf install kernel-devel kernel-headers gcc make git

# Ubuntu/Debian:
sudo apt install linux-headers-$(uname -r) build-essential git

# Arch:
sudo pacman -S linux-headers base-devel git

# Run the rebuild script
sudo ./mt76-rebuild.sh

After Kernel Updates

Rebuild the driver after each kernel update:

cd mt7925-wifi-patches
sudo ./mt76-rebuild.sh

Desktop Notifications (Optional)

Get notified when patches need to be reapplied:

# Autostart on login (KDE/GNOME/XFCE)
mkdir -p ~/.config/autostart
cp mt76-check.desktop ~/.config/autostart/

# Add to app launcher
mkdir -p ~/.local/share/applications
cp mt76-status.desktop ~/.local/share/applications/

How It Works

  1. Downloads the wireless-next kernel tree (latest WiFi driver development)
  2. Builds mt76 driver modules for your kernel
  3. Replaces stock modules with patched versions
  4. Backs up original modules for easy restore
  5. Disables ASPM (PCIe power management) for stability
  6. Disables WiFi power save to prevent latency issues

Stability Settings

The script automatically configures these settings to prevent common issues:

Setting File Purpose
ASPM Disabled /etc/modprobe.d/mt7925.conf Prevents random disconnects and freezes
Power Save Off NetworkManager dispatcher script Prevents latency spikes and connection drops

Verify It's Working

# Check modules are loaded
lsmod | grep mt79

# Check custom marker exists
ls /lib/modules/$(uname -r)/kernel/drivers/net/wireless/mediatek/mt76/.custom-mt76

Restore Stock Drivers

To undo all changes and restore original drivers:

cd mt7925-wifi-patches
sudo ./mt76-revert.sh

This removes custom modules, ASPM config, power save script, and restores original drivers.

Troubleshooting

Build fails with "kernel headers not found"

# Fedora
sudo dnf install kernel-devel-$(uname -r)

# Ubuntu
sudo apt install linux-headers-$(uname -r)

WiFi still not working after install

  • Reboot your system
  • Check dmesg | grep mt79 for errors
  • Open an issue with your logs

Related Links

Contributing

Found a fix? Have a different device working? PRs and issues welcome!

License

MIT License. See LICENSE file.


Keywords: MT7925 Linux driver, MediaTek WiFi fix, Filogic 360 Linux, WiFi 7 Linux, mt76 driver, ASUS ROG WiFi fix, Linux WiFi disconnects, RZ738 Linux, WiFi not working Linux, kernel WiFi patch, ASUS ROG Flow Z13 2025 Linux, Z13 WiFi fix, ASUS Z13 2025 WiFi not working, ROG Flow Z13 Linux WiFi, ASUS Z13 Fedora WiFi, ASUS Z13 Ubuntu WiFi, ASUS Z13 Arch Linux

About

MT7925 WiFi fix for Linux - tested on ASUS ROG Flow Z13 2025. Fixes WiFi disconnects, slow speeds & instability on MediaTek Filogic 360 WiFi 7 chip

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages