Tutorial How to block ads in all Android apps and games (No root & root)

AndnixSH

Security Detective
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,215
206,005
1,213
Modding World
Tired of random ads and popups that ruin your experience and interrupt while playing games, waitching video and surfing on the web? and while using mods with malcious ads from other site? This simple trick block across your entire device, in your browser, in the apps and the games. Some of these tools require root access, but you won’t need it at all in most cases.

Blocking ads is highly recommended if you use mods from other site with malcious ads injected!

Changing the DNS (Android 9 Pie and above)
One of the easiest ways to block ads on Android smartphones is by changing to an ad-blocking service’s private DNS provider. This method requires no apps, but it only works on Android phones with Android 9 Pie and above, as the Private DNS setting was introduced with this version of the OS.

To change the DNS, go to Settings > Network and Internet > Advanced > Private DNS. Choose the option “Private DNS Provider Hostname”, and enter “dns.adguard.com” or “us.adhole.org“, and hit “Save”. And that’s it.

On some phones, the path to change the Private DNS may be different. If your phone UX has a search bar, simply search for “Private DNS” to land on the relevant settings page.

However chrome is designed to ignore this by default. So an additional step is required for blocking ads in chrome.

Type "chrome://flags" in your chrome browser. Search for "Async DNS resolver" in the page which opens up and change the value to "Disabled". This will ensure chrome follows the system DNS setting.

That's all! Enjoy an ad free phone

Using apps
Those apps sets up a local VPN to filter out ads and trackers that doesn't require root, and may drain battery a bit, while root way like AdAway and LP can directly modify hosts in the system without VPN, thus saving battery life

Choose the apps you like to use. They are pretty easy to use, just need to install and press a button to enable. Make sure to allow installing apps from unknown sources in your device’s OS settings. I recommended Adaway in root way because it's free and lightweight

Adaway (No root/root):

Blockada (No root):

Blockada Slim (No root):
Please note: The full-featured version, due to Google's business model, isn't allowed on Google Play. Hence, the version available on Play Store only allows changing the DNS service.
Blokada Slim Ad blocker - No Ads, better battery - Apps on Google Play

Clario (No root):

DNS66 (No root):

Adlock (No root):

Adguard (No root):

Lucky Patcher (No root/Root):
Best if you have root access. No root way requires you to create modded APK. It is not recommended to do
Tutorial: How to block ads using Lucky Patcher - Platinmods.com - Android & iOS MODs, Mobile Games & Apps



Replace hosts file manually (Root only)
Download any hosts file you like to use: StevenBlack/hosts

Open any file manager, enable and grant root access and replace "hosts" at /system/etc

Restart your phone and you are now ad-free!

With this way, you can't whitelist the sites or apps. If you use Chrome or other browsers which have "data saver" or "VPN" build-in, enable it to bypass adblocking and bypass anti-adblock warning message. Or use Puffin Browser or any free VPN apps.

Problem? Read this:
* If you use Chrome or other browsers and still see ads on web pages, remember to disable the "data saver" or "reduced data usage" browser option
* Check your APN settings for any proxy, the proxy itself could be allowing ads. Disable the proxy.
* After you install or make any change to AdAway, you must reboot for those changes to take effect
* Disable VPN connection if connected

My hosts
If you want better adblocking, stability with less false positives you can add my hosts source in the adblocking app and disable all others or replace hosts manually

It is written from scratch by myself and been using it daily since 2016.
https://repo.andnixsh.com/adblocker/hosts
 
Last edited:

GG78

ADBlock Expert
Jan 6, 2019
843
37,500
1,193
HexHausen
1. Very nice

Now my experience:

DnS66 was great in the older days (til Android 6) in 2019 its dead cause of new OS versions.

Adguard Premium, i was a huge fanboy but unfortunately it stops a lot on Android Pie (it just turns off, even if i set it to high priority, ignore battery optimization, always run, still same shiet) under Android 7 & 8 (like on my Huawei Mediapad) it works flawless and never stops.


So yeah for my Android 9 device i modded all the apps i use myself (most i shared here too) and for internet i use Kiwi Browser with uBlock Origin extension = also 100% Adfree without using any App ?
 

AndnixSH

Security Detective
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,215
206,005
1,213
Modding World
@0x404 Didn't know that dns66 was dead but it was updated months ago

yeah uBlock Origin is great, i'm using it on Firefox browser. But for blocking all apps and games, I use Adaway with only my own filter enabled since I have root on my phone running Android Pie :)
 

JohnnyC

Platinian
Jun 29, 2017
5
25
13
behind G-BO ッ
I use Adaway with only my own filter
so it would be the best to use the same like u cause u use the best way/apps right? ^^
 

AndnixSH

Security Detective
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,215
206,005
1,213
Modding World
can i block this ads from BS with adaway or BSTweaker5 (or any other way)??


(btw. buy premium is not a option so dont try to be funny..)
I don't know, try both or try adguard AdGuard — World's most advanced adblocker!
I never cared about those ads
 
  • Like
Reactions: JohnnyC

Sagara35

Rookie
May 26, 2020
1
0
1
40
Paraguay
Como obtengo carga de diamantes
 

Not-Dead

Platinian
Dec 9, 2020
23
15
8
Earth
Well Don't Do that Please This will make people stop making games Ads is only way to earn for a starter Buddy please don't do that :face49: :face01:
 

AndnixSH

Security Detective
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,215
206,005
1,213
Modding World
Well Don't Do that Please This will make people stop making games Ads is only way to earn for a starter Buddy please don't do that :face49: :face01:
I don't care about pay2win games.
I do what I want and my main target is to block malcious and annoyance ads
They also die even they don't use ads
 
  • Like
Reactions: Noobies

UAQKunoichi

Platinian On Fire
Jul 25, 2017
286
593
93
25
Land of the rising red dot
I don't care about pay2win games.
I do what I want and my main target is to block malcious and annoyance ads
They also die even they don't use ads
Lol.I myself use LP nor only can I remove ads on specific app,do Android Care patch, but also patch inn-app purchase and Google Play patch so I could update mod app from Play Store even if signature doesn't match.
 
  • Wow
Reactions: Daisasuke Kurogane

AndnixSH

Security Detective
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,215
206,005
1,213
Modding World
Lol.I myself use LP nor only can I remove ads on specific app,do Android Care patch, but also patch inn-app purchase and Google Play patch so I could update mod app from Play Store even if signature doesn't match.
that's nice haha. I will make tutorial for this later
did you also tried this on mod with malcious ads? XD
 
  • Love
Reactions: Daisasuke Kurogane

AndnixSH

Security Detective
Original poster
Staff member
Modding-Team
Jun 27, 2017
3,215
206,005
1,213
Modding World
Yes platin,AR or Black people it doesn't matter works with any and all apks
haha, well only B* have injected extra ads on their mod. PMT and other sites don't do that
 

About us

  • Welcome to platinmods.com! We are proud to present you the place which let's dreams come true! Focusing on quality and trust we have spend much time to build a gaming community fitting to your wishes and needs. Actually we offer you the finest MODs and Games of the Android section and we slowly expand to the iOS section as well. But games, Android MODs & iOS MODs are not the only things we can offer you. We have tutorials, tools, a very friendly, active and solid community which will help you with any problem you have =) Your happiness is our goal. We hope you enjoy!

Forum statistics

Threads
49,788
Messages
1,472,150
Members
2,777,880
Latest member
Dogian