Uninstalled 25210 and installed 25209 and I still get the same error. Have other people fixed it that way?
Edit: it's working now. I guess it needed another reboot after some modules were installed.
Glad to read that it works now
Always, when you install/remove/disable/enable a module, phone must be rebooted (Magisk takes actions on modules only on reboot)
Also, Magisk mounts the systemless copy of your hosts file (AdAway writes to):
/data/adb/modules/hosts/system/etc/hosts
to
/system/etc/hosts
only on reboot - hence if you add something to Allow list, you should reboot to have the given host really allowed
The same holds for updating hosts sources - your new systemless copy of the hosts file will not be mounted to the system's hosts file until you reboot
For that reason I keep all auto-updates in AdAway disabled and every second day or so I manually open AdAway and let it update hosts sources - then I reboot the phone
Then,also, in the root/hosts phone, AdAway does not need to be given Auto start and Battery not-optimized permissions:
- you manually run the update of hosts sources and then you reboot
- on reboot, Magisk mounts the latest update of the hosts file and Android takes it for the built-in DNS resolver
After that, Magisk does nothing (until it will be updating the hosts file next time)
---
Of course, for the non-root/VPN mode it's the opposite
AdAway runs in the background to maintain the VPN
Also, on updating the hosts sources (or adding to Allow list, etc), AdAway will immediately use the newly updated internal hosts file - no need to reboot there