-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WiFi not working due to new sepolicy flag #7764
Comments
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) 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. |
Same issue on miui 12.5.3 android 10. For the moment I'm returning to 26.4 |
If you know what this is doing, you can try it, we don't offer any support for this.
|
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. |
Selinux rule? Creating a mulde with this command on a sepolicy.rule will fix WiFi on android 10? |
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 👍 |
same. me to.
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. |
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? |
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 reverts commit 254f50d. * topjohnwu/Magisk#7764 (comment) Change-Id: I676bb41e088ee8ed8d6afc123e69a464ef6259db Signed-off-by: dotkit <[email protected]>
This reverts commit 254f50d. * topjohnwu/Magisk#7764 (comment) Change-Id: I02a44ccb63cd3706b5a0af27f1e35ce37f720256
This reverts commit 254f50d. * topjohnwu/Magisk#7764 (comment) Change-Id: I02a44ccb63cd3706b5a0af27f1e35ce37f720256
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. |
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. |
FWIW:
So this should do:
However that is impossible on A10 due to
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 personally dont care anymore, I did a backup of my data and swaped to crdroid after +5years. |
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
The text was updated successfully, but these errors were encountered: