vendredi 21 mai 2021

How to block ads on Android

Nobody likes ads, including your very own, whose livelihood depends on an ad-supported internet experience. Yet, it’s hard to imagine a world without ads. Ads are the reason why we can access many of the most popular websites, services, and apps without paying a single penny. It’s not that ads are fundamentally bad — when done right, ads can be entertaining, engaging, and genuinely useful. It’s just that many websites and apps can be short-sighted at times and engage in shady ad practices to boost their revenue.

We have all come across a website that takes us on a bumpy redirecting rollercoaster ride without our consent. And those in-app ads covering the whole display and basically hijacking us by disabling the back button can especially be annoying. It’s practices like these that earn ads a bad name.

While we can’t wipe out these nasty ads from the face of the earth, we can certainly wipe them clean from your Android device. Let us present to you some of the most powerful tools Android users have at their disposable that will make sure you never see the sight of ads.

Removing ads affects the internet ecosystem and the monetization ability of many businesses. If you frequently use certain apps, websites, and services, consider availing their paid services or adding them to a whitelist. Help them continue to be useful to you.

Some of these tools require root access, but you won’t need it at all in most cases. The Android ad-blocking tools come in all sizes and shapes, with each having varying degrees of effectiveness and use case. Let’s review them one by one to help you find the one that works the best for you.

Changing the DNS

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.

Settings page to change the DNS Provider for blocking ads

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. You will no longer see any in-app ad banners, nor any advertisements on web browsers.

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.

AdAway

If you have root access, there’s no better solution than AdAway. It has a non-root mode as well, but it works best with root. AdAway uses a hosts file to block ad-serving hostnames. What it essentially does is keep an updated list of ad networks and redirect them to 127.0.0.1, i.e. your own phone, so these requests go nowhere, and no ads can be served. The best part is it blocks out both browser and in-app advertisements. Setting up the service is very straightforward.

AdAway welcome screen AdAway home screen AdAway DNS recording

The service comes with three sources with over 90k user-verified hosts, with new hosts regularly being added to the list. If some ads still seep through, you can use the DNS logging feature to record the outgoing DNS requests and manually add them to the hosts file. But even without touching any of these or going too technical, AdAway effectively blocks out most ads, if not all, across apps and websites. AdAway is free and open-source and is in active development. If you want to give it a try, head over to the project’s GitHub or grab the latest APK from the official XDA thread linked below.

    AdAway
    A powerful and highly customized ad-blocker that uses hosts file to block out nasty ads.

      Features:

      Pros:

      Cons:

AdGuard

AdGuard is one of the most popular ad blockers on desktop, and it has an Android client as well. The mobile version of AdGuard isn’t as powerful or sophisticated as its desktop counterpart, but it gets the job done quite well. AdGuard sets up a local VPN to filter out ads and trackers. The free version only lets you block browser ads. If you want to get rid of in-app ads as well, you’ll need to purchase the premium version. AdGuard works like a charm on browsers, and while it does work on apps, it significantly slows down the content loading in some apps.

AdGuard home screen AdGuard firewall AdGuard filtering log
    AdGuard
    A non-root ad blocker to get rid of nasty ads in apps and browsers

      Features:

      Pros:

      Cons:

Blokada

A fitting non-root rival of AdAway is Blokada. Just like AdAway, it’s open-source, too, and works on both in-app ads and websites. Blokada gives you a comprehensive list of blocklists to choose from, including DuckDuckGo Tracker Radar, AdAway, Energized, and more. Each host list has a different use case and aggressiveness and can effectively block out ads, trackers, phishing sites, malware servers, and so on.

Blokada turn on Blokada advanced options Blokada blocklists

Besides blocking ads, Blokada also strengthens your privacy by encrypting DNS queries where possible. You can create your own hostlist and control which domains should be blocked or whitelisted. Blokada is available on the Play Store, but it lacks several key features due to Google Play’s strict policy. For the best experience, download the full-fledged version from Blokada’s official website.

    Blokada
    An open-source, non-root ad blocker with an intuitive UI and focus on privacy

      Features:

      Pros:

      Cons:

DNS66

Yet another VPN-based ad blocker that doesn’t require root. DNS66 is completely free and open-source. Compared to AdGuard and Blokada, DNS66 has a somewhat less intuitive and dated UI, but it works well. It establishes a VPN service and redirects DNS server traffic to it. The VPN service intercepts and filters out DNS queries that are on the blacklist while allowing non-blacklisted queries to pass through. DNS66 offers system-wide ad blocking so that it can filter out in-app ads as well. You can also configure custom DNS servers right from the app.

DNS66 main screen DNS66 DND servers DNS66 app ad blocking
    DNS66
    A DNS-based host blocker with a comprehensive set of

      Features:

      Pros:

      Cons:

Energized Protection [Magisk]

Energized Protection is a Magisk module that uses a hosts file to filter out ad-serving domains, trackers, pornware, scripts, and malware across apps and websites. After installing the module, it needs to be configured from a terminal emulator. Energized Protection doesn’t have an app or UI, so it’s only recommended for power users and those familiar with Magisk. If this is the first time you’re coming across the word Magisk and root, this option is probably not for you. For step-by-step installation instruction and more details, check out Energized’s XDA thread.

Download Energized Protection from XDA


Browsers with an in-built ad blocker

If your goal is just to get rid of ads on websites, a browser with ad-blocking capability will be a better choice. There are so many options out there, but to save you time, we have compiled a list of the best ad-blocking browsers that are actively being developed and are guaranteed to work.

Brave

Brave is a Chromium-based browser that’s built with privacy at its front and center. Ad-blocking is enabled out of the box and doesn’t require any configuration. Just install the app, and it will start blocking ads, cross-site trackers and cookies, fingerprinting, and more on every site you visit. You can disable the blocker on your favorite sites.

Brave browser home screen Brave Shields Brave Rewards

Brave also lets you support websites and publishers using its Brave Rewards program. Under this program, Brave will serve you non-intrusive, “privacy-respecting ads.” For every ad you view, you earn tokens which you can send as a tip to support your favorite site or purchase digital content. Ads are sent out as a normal notification, and you can control how often you want to receive them.

Brave Private Browser: Secure, fast web browser (Free, Google Play) →

Samsung Internet

Samsung Internet is one of the best Android browsers out there, and its ad-blocking feature makes it even more compelling. The browser itself doesn’t block ads out of the box like Brave. You’ll have to install a supported third-party ad blocker and configure it to work with Samsung Internet. You can choose from up to seven ad blockers, including Adblock Plus, AdGuard, and Unicorn. Once you install and turn on the ad blocker of your choice, the browser will start blocking ads and trackers on all web pages you visit.

Samsung Internet Browser (Free, Google Play) →

Adblock Browser

Adblock Plus is a Chromium browser with an interface that’s eerily similar to Google Chrome. Adblocking is turned on by default, so you can simply install the app and start surfing the ad-free internet right away. Custom filters, whitelist, language filters, and other advanced options can be accessed from Ad blocking page.

Adblock Browser whitelist Adblock Browser blocking ad on a website Adblock Browser settings

The Adblock Plus also has an Acceptable Ads feature which is turned on by default. This feature doesn’t filter out ads that comply with a strict ad standard and don’t interfere with the content you’re viewing, allowing you to support legit sites while still being protected from nasty websites, a win-win deal.

Adblock Browser: Block ads, browse faster (Free, Google Play) →


There you have it. The list of best tools to get rid of intrusive ads on your Android device. Most of these services are free, and barring a few, all of them don’t require root. AdAway is the best choice if you’re rooted. Meanwhile, AdGuard and Blokada make a solid case as non-root alternatives.

The post How to block ads on Android appeared first on xda-developers.



from xda-developers https://ift.tt/30cglGY
via IFTTT

Aucun commentaire:

Enregistrer un commentaire