Hello
it's possible to add an application to the whitelist? If yes, how? Thank you.
Not as requested. That's not the way hosts files work.
What you can do is Log DNS requests from the app and whitelist those.
---------- Post added at 13:27 ---------- Previous post was at 13:20 ----------
You indicated that you rebooted after enabling the systemless hosts module in Magisk. Did you reboot after applying Adaway?AdAway does not work any more on my new phone (Motorola G7 Power, Android 9.0 Pie, Magisk 20.0). Systemless hosts are enabled in both Magisk Manager (with reboot, of course) and AdAway. Although AdAway displays the latest hosts file as activated without any error message, ads are still shown in apps.
Screenshots can be provided on request.
If after a reboot ads are still appearing, then it's time to go back to basic troubleshooting. If you check the size of the /etc/hosts file, is it larger than just a few bytes? You can also check the text banner at the start of the /etc/hosts file, it should indicate it was built by Adaway.
If not, then the hosts is not applying correctly. Getting logs would help.
If the hosts file is properly updated, then what app(s) are you having trouble with? Have you checked on both mobile data and Wi-Fi?
Last edited: