Fix WiFi disconnects, slow speeds, and instability on MediaTek MT7925 (Filogic 360) WiFi 7 chips — tested on ASUS ROG Flow Z13 2025
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.shNo manual patching, no kernel recompilation — just run the script and reboot.
| 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 |
- ❌ 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
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.
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
# 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.shRebuild the driver after each kernel update:
cd mt7925-wifi-patches
sudo ./mt76-rebuild.shGet 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/- Downloads the
wireless-nextkernel tree (latest WiFi driver development) - Builds mt76 driver modules for your kernel
- Replaces stock modules with patched versions
- Backs up original modules for easy restore
- Disables ASPM (PCIe power management) for stability
- Disables WiFi power save to prevent latency issues
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 |
# Check modules are loaded
lsmod | grep mt79
# Check custom marker exists
ls /lib/modules/$(uname -r)/kernel/drivers/net/wireless/mediatek/mt76/.custom-mt76To undo all changes and restore original drivers:
cd mt7925-wifi-patches
sudo ./mt76-revert.shThis removes custom modules, ASPM config, power save script, and restores original drivers.
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 mt79for errors - Open an issue with your logs
Found a fix? Have a different device working? PRs and issues welcome!
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