How to block ads from Android apps and games (No root & root)

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! DNS method and Adblocker apps should be able to bypass anti-adblock and crashes automatically. If you use AdAway with root permission, make sure to enable webserver in AdAway settings to improve bypassing anti-adblock

Not all apps can be adblocked. To block from popular apps like Youtube, Instagram, X (Formerly Twitter), etc. either use Firefox browser with uBlock origin extension installed or use modded app

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 the DNS of your choice

Default server

Code:

dns.adguard-dns.com

AdGuard DNS will block ads and trackers.

Family protection server

Code:

family.adguard-dns.com

AdGuard DNS will block ads, trackers, adult content, and enable Safe Search and Safe Mode, where possible.

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 (Recommended) (No root/root):
https://f-droid.org/en/packages/org.adaway/

https://github.com/AdAway/AdAway/releases

Blockada (No root):
https://blokada.org/index.html#download

DNS66 (No root):
https://f-droid.org/packages/org.jak_linux.dns66/

Adguard (No root):
https://adguard.com/en/download.html?os=android&show=1

Adlock (TRIAL) (No root):
https://adlock.com/

Clario (TRIAL) (No root):
https://clario.co/adblocker/

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: https://www.andnixsh.com/2023/05/how-to-block-ads-using-lucky-patcher.html

https://www.luckypatchers.com/download/

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.

Got a problem?

  • 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

Comments

Popular Posts

VMOS Pro - FREE Custom ROMs without VIP | GMS, ROOT, Xposed | Android 4.4.4, 5.1.1, 7.1.2, 9.0 ROMs

List of Android Virtual Machine apps for Android devices