Root and AdAway


Mar 18, 2016
47
2
20
#1
Hi,
I have a Mi 5s and just updated to latest xiaomi.eu dev rom today, with MIUI 10.
Before I was using SuerSU and AdAway with no problem.
Reading on xiaomi.eu install guides I decided to uninstall SuperSU and install Magisk.
All when perfectly. I also checked for SafetyNet status and all passed ok.

Now, the problem is that AdAway does not work at all. I try to load the App but it hangs. So, I decided to uninstall it. In addition, to make sure Magisk works fine I loaded another App that requires root permission and indeed it works perfectly.

Can anyone please explain what should I do to block adds coming from Google Apps like I was doing before with AdAway?
So far in Magisk settings I enabled Universal Systemless.

Somewhere I read about "Unified Hosts Manager" and found an App on PlayStore but do not know if this is what I need.

Please advise....
Thanks
 
May 5, 2017
3
0
13
#2
Yes that's the app that you need but I think that's only the Gui and it also gets installed automatically if you get the module from Magisk /downloads or xda. Adaway has some issues with Magisk 16+ if I remember correctly.

Sent from my MI 5s using Tapatalk
 
Dec 9, 2016
35
3
20
#3
This is how I did it. I wrote a simple bash script which combines multiple hosts files into one (I can read more about it hehe http://jazz.tvtom.pl/adblock-w-openwrt-gargoyle/ unfortunately in polish). I decided to she this final hosts list with other. You can download it from http://jazz.tvtom.pl/download/hosts and then copy it to /magisk/.core/hosts on your phone. Don't forget to enable systemless host in Magisk settings.