One thing that all Android users have been struggling with, is ads! The ads on Android can be very intrusive sometimes and make the whole experience unpleasant. To solve this issue, initially ad blockers were introduced for rooted phones only. This worked perfectly but not everyone can or wants to root their phones. It can void the warranty. Here in this guide, you will learn how to block Ads on Android on both Mobile Data and WiFi networks. This is a totally free method and it can be used with Android version as recent as Nougat. You can use it on older versions like Marshmallow, Lollipop and earlier ones. Unlike apps like AdGaurd and AdBlock plus, which are paid, use this guide to block ads without paying anything.
Blocking ads on WiFi without root had been achieved in the past. However the same method would not work with the Mobile Data. The main concern with ads is that they consume too much data. On connections with slow speed, the loading times of pages can be slowed down considerably. Therefore, the adblocking is most vital when using mobile data. The app that we are using is called NetGuard. Thankfully this is an open source app. A specific version of this app is also available on Google Play Store however it is just used as a firewall. Play Store does not allows ad blockers in market. Therefore, we have to use the Open Source version provided by the developer. Even if someone has bought the premium version from Play Store, the purchase will be restored.
Lets take a look at how this app works. The main purpose of this app is to function as a firewall for Android. This is something that you can make use of as well. However, in this guide, we are only looking at how to block ads on Mobile Data and WiFi both on Android. The network traffic is routed via a local VPN. This is provided by NetGuard. It does not send the traffic to any remote server. That would not only consume a lot of data but it would be risky as well. Since all the data would be routed via NetGuard, the battery apps will show it as consuming lot of battery. This is not true. It is shown like this only because all the data traffic of other apps is now being shown via NetGuard only. Therefore, it showing collective battery usage.
How to Enable AdBlocking with NetGuard – WiFi & Mobile Data
Before starting this method, you need to clear the cache from browsers. For example if someone is using Google Chrome, then disable the option for data compression. This saves cache and it needs to be cleared to make sure that ad blocking is working. This option can be enable once the cache has been cleared. This take about 10-15 minutes on average. However, you can verify using any other browser on phone that you have not used in a while. Now lets see how to use NetGuard for blocking ads on Android.
- Download NetGuard APK from Github.
- Copy it to the phone.
- On the phone, use any file manager and open the folder where this APK was placed.
- Tap on it and click on Install.
- If you are not allowed to install it, then head over to Settings > Security > Unknown Sources and enable this option.
- Once the NetGuard app has been installed, open it from app drawer.
- At the start of the app, it will ask you to allow adding VPN settings. Allow it in the next pop-up.
- Now tap on the three vertical dots in top right corner and select Settings > Advanced Options.
- Enable “Filter Traffic” and “Block Domain Names” from the list.
- Now head back to Settings and select Backup.
- Tap on “Download hosts file”.
- It will download the files required for blocking ads.
- This is it!
- You can visit this page to verify if ad blocking is working or not.
Note that this method will not work for YouTube ads because they are not domain based.
If you have questions, let me know in the comments below. Also do not forget to share you experience with us!