• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Question Adblocker in apps?

Search This thread

Veid71

Senior Member
Apr 1, 2015
556
43
OnePlus 9 Pro
Is there a way to block ads in apps? I remember AdAway being a thing, is it still? And does it work on our phones? I tried searching for it in magisk and didn't find anything
 
  • Like
Reactions: galaxys

Warrkill

Member
Nov 2, 2021
15
4
In my opinion the best and the cheapest (free, lol) way to block ads on phone, and mb on whole wi-fi spot is to use pi-hole.
If you don't have raspberry pi, or don't want to install you can you it on your old (not too old tho..) Android phone.
Just tested, works good. Root your phone, install pi-hole by guide in readme, set DNS in DHCP on your router to local address of your Android phone and forget about phone, leaving it plugged into the wall.
By using web ui you can configure so much filters as you want.

You can also combine it with dnscrypt-proxy in termux. Download android bin from releases, chmod +x dnscrypt-proxy, change dnscrypt-proxy.toml to your requirements, mandatory step is to change listening address port from 53 to one you like, I use 5354. After that execute, go to web console, set custom DNS to 127.0.0.1#5354.
 

Top Liked Posts