Version 1.0
Author 4ekav0meow
Experimental KernelSU/Magisk-style module for Wi-Fi region issues on rooted Android systems where Wi-Fi country handling remains stuck on a restrictive region and 5 GHz support is incomplete.
This module targets a specific class of issue where:
- Wi-Fi country code stays on
CN - 5 GHz support is only partial
- DFS channels such as
144are missing - normal prop edits are not enough to move the Wi-Fi stack away from
CN
In the tested environments, applying this patch moved Wi-Fi country handling to PA and expanded the allowed 5 GHz channel set to include DFS channels including 144.
- Device:
Redmi Pad SE - Codename:
xun - Firmware base:
Oplus/ColorOS-based port - Root environment:
KernelSU - Also confirmed by the author on at least one
LineageOS-basedsystem
Confirmed working:
- Redmi Pad SE (
xun) on an Oplus/ColorOS-based port - at least one LineageOS-based rooted system
Best fit:
- rooted systems where
cmd wifi force-country-codeis available - systems where Wi-Fi country handling can still be influenced from Android userspace
- devices with similar Wi-Fi framework behavior
May work:
- other Oplus/ColorOS-based ports
- other LineageOS-based systems
- similar rooted Android devices with matching Wi-Fi stack assumptions
Not considered universal:
- AOSP-based ROMs
- LineageOS-based ROMs
- Pixel-style ROMs
- Samsung firmware
- non-Oplus vendor stacks
- devices where vendor HAL or firmware hard-locks the regulatory domain
This is not a clean universal Wi-Fi fix.
The module is still device- and firmware-sensitive. It modifies boot-time behavior, rewrites Wi-Fi config values, and may affect more than just Wi-Fi on unsupported systems.
Use at your own risk.
- sets region-related props to
PA - sets locale-related props to
es-PA - rewrites Wi-Fi country values in
WifiConfigStore.xml - restarts Wi-Fi after boot
- tries
cmd wifi force-country-code enabled PA - tries to disable obviously China-labeled overlays by simple name matching
- writes diagnostics into the module log directory
module.proppost-fs-data.shservice.shREADME_GITHUB.mdCHANGELOG.mdLICENSE
Current packaged module:
wifi-region-fix-module-v1.0.zip
- make sure you understand how to disable KernelSU/Magisk modules from recovery
- do not assume it is safe on unrelated devices
- do not assume it will fix vendor or firmware-level regulatory restrictions
If you want the full compatibility explanation, device-specific caveats, and risk details, read README_GITHUB.md.