Magisk
Magisk copied to clipboard
WiFi not working properly
After trying to update to Magisk 27.0 (27001) on Android 10, WiFi still says "IP configuration failed" and WiFi doesn't work. However, with Magisk 26.4 (26400), the WiFi works fine. Device: Wayne (Xiaomi 6x) Android version: 10 (CarbonROM) Magisk version name: 27.0 Magisk version code: 27001
WiFi log provided
also need magisk log
Oh after further investigation I know what is going on now. It's a regression on Android 10- with RTM_GETLINK patched kernel. I have no idea about if it's fixable or if it's responsible for magisk.
I am also experiencing this exact issue ("IP Configuration Failure" string label being shown in Android's Wifi connection area).
Development device and OS/ROM details:
Device: OnePlus 5 (cheeseburger) Android version: 10 (crDroid v6.17) Magisk version name: 27.0 Magisk version code: 27001
Upgraded from working Magisk v26.4.
Ask your kernel devs to revert commit https://review.lineageos.org/#/c/301314.
This commit shouldn't be ported to any Android 10- devices, as this commit only exists on android common kernel started from 11.
After trying to update to Magisk 27.0 (27001) on Android 10, WiFi still says "IP configuration failed" and WiFi doesn't work. However, with Magisk 26.4 (26400), the WiFi works fine. Device: Wayne (Xiaomi 6x) Android version: 10 (CarbonROM) Magisk version name: 27.0 Magisk version code: 27001
Same issue on miui 12.5.3 android 10. For the moment I'm returning to 26.4
#7636
If you know what this is doing, you can try it, we don't offer any support for this.
allow netdomain netdomain netlink_route_socket { bind nlmsg_readpriv nlmsg_getneigh }
After trying to update to Magisk 27.0 (27001) on Android 10, WiFi still says "IP configuration failed" and WiFi doesn't work. However, with Magisk 26.4 (26400), the WiFi works fine. Device: Wayne (Xiaomi 6x) Android version: 10 (CarbonROM) Magisk version name: 27.0 Magisk version code: 27001
I also have this problem but after switching the SELinux to permissive the wifi works again, for the moment he only has this solution for me.
If you know what this is doing, you can try it, we don't offer any support for this.
allow netdomain netdomain netlink_route_socket { bind nlmsg_readpriv nlmsg_getneigh }
Selinux rule? Creating a mulde with this command on a sepolicy.rule will fix WiFi on android 10?
After trying to update to Magisk 27.0 (27001) on Android 10, WiFi still says "IP configuration failed" and WiFi doesn't work. However, with Magisk 26.4 (26400), the WiFi works fine. Device: Wayne (Xiaomi 6x) Android version: 10 (CarbonROM) Magisk version name: 27.0 Magisk version code: 27001
I also have this problem but after switching the SELinux to permissive the wifi works again, for the moment he only has this solution for me.
Can you return to enforce selinux and try this module? It's supposed to fix WiFi on android 10 with magisk v27
After trying to update to Magisk 27.0 (27001) on Android 10, WiFi still says "IP configuration failed" and WiFi doesn't work. However, with Magisk 26.4 (26400), the WiFi works fine. Device: Wayne (Xiaomi 6x) Android version: 10 (CarbonROM) Magisk version name: 27.0 Magisk version code: 27001 wifi_log.txt
I also have this problem but after switching the SELinux to permissive the wifi works again, for the moment he only has this solution for me.
Can you return to enforce selinux and try this module? It's supposed to fix WiFi on android 10 with magisk v27
Well... According to my test, this does not solve the problem regarding WiFi. Always the error "IP configuration failed"
After trying to update to Magisk 27.0 (27001) on Android 10, WiFi still says "IP configuration failed" and WiFi doesn't work. However, with Magisk 26.4 (26400), the WiFi works fine. Device: Wayne (Xiaomi 6x) Android version: 10 (CarbonROM) Magisk version name: 27.0 Magisk version code: 27001 wifi_log.txt
I also have this problem but after switching the SELinux to permissive the wifi works again, for the moment he only has this solution for me.
Can you return to enforce selinux and try this module? It's supposed to fix WiFi on android 10 with magisk v27
Well... According to my test, this does not solve the problem regarding WiFi. Always the error "IP configuration failed"
Well I tried xf thanks for your test 👍
After trying to update to Magisk 27.0 (27001) on Android 10, WiFi still says "IP configuration failed" and WiFi doesn't work. However, with Magisk 26.4 (26400), the WiFi works fine. Device: Wayne (Xiaomi 6x) Android version: 10 (CarbonROM) Magisk version name: 27.0 Magisk version code: 27001
same. me to.
After trying to update to Magisk 27.0 (27001) on Android 10, WiFi still says "IP configuration failed" and WiFi doesn't work. However, with Magisk 26.4 (26400), the WiFi works fine. Device: Wayne (Xiaomi 6x) Android version: 10 (CarbonROM) Magisk version name: 27.0 Magisk version code: 27001 wifi_log.txt
I also have this problem but after switching the SELinux to permissive the wifi works again, for the moment he only has this solution for me.
Can you return to enforce selinux and try this module? It's supposed to fix WiFi on android 10 with magisk v27
not working for me.
I don't know why this was closed.
The issue exists on 26.4 if zygisk is enabled (or maybe zygisk + enforcing).
Going back to 26.3 and all is working again, so the change was introduced in 26.4.
I don't know why this was closed.
The issue exists on 26.4 if zygisk is enabled (or maybe zygisk + enforcing).
Going back to 26.3 and all is working again, so the change was introduced in 26.4.
Kernel issue, search for an update kernel to your device. It's sad but it's true magisk team can't solve it
Perhaps but the issue doesn't exist on 26.3 so maybe we need a choice?
Perhaps but the issue doesn't exist on 26.3 so maybe we need a choice?
Probably magisk change their code and something it's conflicting with a sepolicy of the kernel. On the top a magisk team person says that it's related to WiFi permission sepolicy. Kernels are using a new sepolicy that was introduced on a11
Perhaps but the issue doesn't exist on 26.3 so maybe we need a choice?
Probably magisk change their code and something it's conflicting with a sepolicy of the kernel. On the top a magisk team person says that it's related to WiFi permission sepolicy. Kernels are using a new sepolicy that was introduced on a11
My usage kernel release a new version with fix for WiFi on magisk v27
We should keep the sepolicy flag unchanged
FYI the following didn't fix it for me either, on 26.4 or 27. The module someone posted above is doing the same thing.
allow netdomain netdomain netlink_route_socket { bind nlmsg_readpriv nlmsg_getneigh }
Updated the title, if it still doesn't work after allowing the rule then it's not the same issue, please open a new issue. This issue is only for regressions introduced by the fix to #7636.
I am not an experienced user and it took me some time to figure out how to downgrade Magisk. It might be helpful for others.
I tried to downgrade Magisk through the Magisk App, and after rebooting, the phone was stuck at the boot logo. I launched TWRP, uninstalled Magisk by renaming Magisk to 'uninstall.zip', rebooted, and then installed a other (older) version from TWRP, which fixed the issue.
https://twrp.me/ https://magiskmanager.com/
here 26.4 works, the problem is only in versions 27, I tried with an updated kernel and not working
Please test if https://github.com/aviraxp/Magisk/actions/runs/8313799418/artifacts/1332795391 works for you.
allow netdomain netdomain netlink_route_socket { bind nlmsg_readpriv nlmsg_getneigh }
FWIW: audit2allow mentions:
allow ipacm self:netlink_route_socket nlmsg_readpriv;
allow netutils_wrapper self:netlink_route_socket nlmsg_readpriv;
allow network_stack self:netlink_route_socket nlmsg_readpriv;
So this should do:
allow netdomain self:netlink_route_socket nlmsg_readpriv;
allow netutils_wrapper self:netlink_route_socket nlmsg_readpriv;
However that is impossible on A10 due to netlink_route_socket not "knowing" about nlmsg_readpriv
Please test if https://github.com/aviraxp/Magisk/actions/runs/8313799418/artifacts/1332795391 works for you.
It does.
thx for this was just going to pull my v40 out of retirement to give to the the folks for a music player and encoutered this issue
Fixed with d20b30c
just updated magisk to v27.0 and got same issues. Where can I get the fixed application, dont like to downgrade, thx ?
I was experiencing the same problem with Android 9 on Magisk 27. I couldn't make a WiFi connection unless I set selinux to permissive.
I tried the latest Canary build (downloaded May 3rd), no change.
Downgraded to Magisk 26.3 as @andrewcharnley suggested and WiFi connections are possible again with Selinux enforcing.
I was experiencing the same problem with Android 9
I personally dont care anymore, I did a backup of my data and swaped to crdroid after +5years. Now I'm using KernelSu and I'm happy so far, I hope that I never have to use Magisk again. You always have to be frightened about every small change of a setting or uodate, its a nightmare.