How to disable ads on android w3bsit3-dns.com. How to remove ads from android apps apk. Correction of the program code

  • 29.03.2020

Analyzing various firmware for android devices, smartphones and tablets, I came to the conclusion that some of them do not display ads out of the box. That is, you do not need to take any action to block ads. Like the ones I described in my previous article. Where it was suggested to use an ad blocking program. The essence of the work of which is to change the file hosts so that all requests to ad servers are blocked, or rather sent to the android device itself.

Ad blocking technique

The easiest way to block ads is to block access to advertising networks (servers), while the programs themselves with ads will not suspect anything, since requests will be sent and responses will also be received. Access restriction will be carried out by changing the file hosts which describes the correspondence of domain names and their IP addresses. By setting the correspondence of the names of all known advertising sites to the address localhost equal to 127.0.0.1, all requests will be received by the device itself that sent it. And since our phone and / or tablet is not an ad server, then programs with ads will not receive anything in response and, accordingly, we will not see anything.

Blocking ads without programs

As you can see from the above, to block ads, we need a modified file hosts. It is this method of blocking that is used in many third-party firmware, in particular MIUI. On which ads are not shown from the very beginning of using the device. That is, these firmware contain a ready-made modified file hosts.
You can create a similar file yourself using programs like AdAway. Or use a ready-made one of these very firmware.

My way to block ads

Once using the program AdAway I saved the file she created hosts and now I use it in case of Android flashing. My version of the ad blocking file hosts You can download from this link.
The downloaded archive must be unpacked and saved the file hosts by the address /system/etc/ on your android device. That is the full path of the file hosts will be equal to /system/etc/hosts.
After that, the device must be rebooted.
P.S. To use this method, you must have ROOT rights. The method is equally well suited for both smartphones and tablets and works great on any version of android.

Aggressive advertising is gradually moving from TV channels in Internet. It appears in the form of banners, pop-ups or additional buttons in applications, annoying and confusing the user. But this problem can be solved once and for all with the help of applications that will help you remove and completely disable ads on Android devices.

Why pop-up ads appear in games and programs

Popular website owners sell advertising space to organizations that want to promote their services. Developers release apps that are free for users and publish them on the Play Store. To recoup their work, they build ad units into games and programs and sell them to advertisers. The more popular the application, the more income it brings.

  • static banners at the top or bottom of the display;
  • pop-ups, static or with a video playing;
  • delayed advertising that appears two to three days after the first launch of the program;
  • ad units in the interface (for example, a banner that pops up when you click the "Close" button);
  • convenient advertising when the user receives a bonus for watching the video - an extra life or coins in the game.
  • The banner is located at the bottom of the screen - the user can close it

  • excessive consumption of Internet traffic;
  • decrease in smartphone or tablet performance during the game;
  • in exceptional cases - overlapping game buttons with pop-up windows.
  • How to disable and block using applications

    Dozens of applications have been created to block ads. They cannot be downloaded from the Play Store because they violate Google policy. Each program is available on the official website of the developer, some of them require root access to work correctly.

    Getting root rights on an Android smartphone or tablet

    The current root access extends the functionality of Android and allows other applications to make adjustments to the smartphone or tablet. You can get root rights using Kingo programs android root, Farmaroot, Vroot and others. Brief instructions for obtaining root rights using Kingo Android Root:

  • Download and install the program on your computer.
  • Connect your smartphone to PC in USB debugging mode.
  • On the smartphone screen, you will see a request to perform debugging. Click OK.
  • The program will install a mobile analogue on a smartphone and connect.
  • In the program window on the computer, you will see the Root button. Click it.
  • On the smartphone screen, confirm rooting by pressing the OK button.
  • When the process is complete on the PC, click the Finish button.
  • The application is requesting access to Superuser rights

    In the smartphone menu, you will see a new SuperSU Free item, which is responsible for providing root access to applications.

    AdBlock Plus

    The Adblock Plus app does not need root access. It is a popular ad blocker in apps and browsers, works with Android and other operating systems. Instructions for working with the program:

  • Download the application from the official site.
  • Go to your smartphone settings and select "Networks".
  • Select "Shared modem and networks" and open "Mobile networks".
  • After selecting "APN access points", click "Change access point".
  • Enter localhost in the Proxy field and 2020 in the Port field.
  • Launch AdBlock Plus, turn on the "Filtering" item. Uncheck the box Acceptable Ads.
  • Photo gallery: setting up AdBlock Plus

    You can go to the network settings directly from the AdBlock Plus application Proxy server will have to be configured manually through the network settings of your smartphone or tablet Enable filtering and uncheck the "Allowed applications" item

    After all actions, ads will be blocked - you can enjoy "clean" applications. Items 2–5 are relevant for Android versions 4.2 and higher. Android 3.x does not provide manual proxy settings. Owners of such smartphones will need to root the device for AdBlock Plus to work.

    AdGuard

    The free version of the AdGuard app blocks ads in browsers, as well as fraudulent and phishing resources. To hide ad blocks in programs and games, you will need to purchase an additional key. The application works without root rights, filtering options are configured in the program menu. You can create a "whitelist" of sites you trust. To activate the AdGuard blocker, download the program, open it and press the green enable button. To configure filtering, click the button in three dots in the upper right corner of the screen and select "White List".

    The program starts with one button

    AdAway

    The developers claim that the AdAway program eliminates 99% of ads. The application prevents programs from sending requests to ad servers. Requires root rights. At the same time, a smaller percentage is blocked using mobile networks advertisements. To enable the blocker, follow the instructions:

  • Download and install AdAway.
  • Open the app and click "Upload Files and Apply Lock".
  • Wait for the download of the additional file.
  • At the end of the process, restart the gadget.
  • There are only two buttons in the application - to activate and deactivate the lock

    To remove the block, go to the application and click "Unlock".

    Video: block ads on your phone with AdAway

    Lucky Patcher

    The program scans installed applications, checks for a license and file integrity, and hides ads. LuckyPatcher requiresroot access and installationBusybox. To disable ads using Lucky Patcher, follow the instructions:

  • Run the program. You will see a list of applications installed on your smartphone or tablet.
  • Select the app for which you want to block ads. Press and hold on the title until a pop-up menu opens.
  • Select "Patch Menu - Remove Ads".
  • If the method did not work, go to Lucky Patcher again and select "Remove Ad Activities".

    Be sure to make a copy of the game or program for which you plan to hide ad units. Lucky Patcher may corrupt the application's internal files and prevent it from launching.

    Video: How to Block Ads with the Lucky Patcher App

    adfree

    Affordable and easy to use, AdFree blocks ads when the user is rooted. The program works in applications and browsers, takes up little space and allows you to create white and black lists of resources. To block ads:

  • Launch AdFree and answer the request for Superuser rights with "Grant".
  • Click the Download and Install button.
  • NetGuard

    NetGuard is a well-known firewall, in the latest versions of which an ad blocking function has been added. On the Play Store, the application is available in a truncated version - you can download the full program with the blocker from the developer's website. To set up ad protection:

  • Open NetGuard and select Settings.
  • Turn on Traffic Filter.
  • Select "Download hosts file" and wait for the download.
  • Return to the main menu and activate the firewall.
  • The program will start updating DNS servers, access to which you want to deny.
  • After 5-10 minutes, test the application. Go to the official developer page. If you see the inscription Ad Blocking Works there, the application is installed and working correctly.
  • In the application, you can configure traffic filtering

    To verify the effectiveness of the program, visit an Internet resource with a large number of advertising windows and banners.

    Blocking Persistent Ads Manually

  • Get root access to the device.
  • Follow the link and save the content of the page as a text file.
  • Name the file hosts.
  • Transfer the file to your smartphone and use the file manager to place it in the system / etc folder, after saving the original version of the file in a safe place.
  • How to get rid of intrusive content in browsers

    Ad blockers are app-centric and don't completely clear browsers of intrusive ads. If ads remain on website pages with the active blocker, install additional extensions on your smartphone.

    Firefox

    Firefox browser works great with the AdBlock Plus extension and does not require installation additional programs. Install and launch the app and enjoy the ad-free experience.

    Opera

  • Follow the link and copy the code.
  • On the smartphone's memory card, create a file with the name urlfilter and the extension .ini.
  • Paste the code you copied earlier into the file.
  • Open a browser.
  • Type opera:config in the address bar.
  • A pop-up list of configurations will open. Select URL Filter.
  • Specify the path to the previously created .ini file.
  • Restart the gadget and the browser will be cleared of advertisements.

    UC Browser

    UC Browser is designed by Chinese engineers for lazy Android device owners. The application has a built-in blocker adblock ads, as well as the optimizer appearance Internet pages. The browser successfully hides ad units and formats page content based on the user's screen settings. At the same time, the program retains all the functions inherent in other browsers: download manager, browsing history, optimization for night and day surfing the Internet.

    Preventing the appearance of advertising banners and windows

    The only way to prevent in-app ads is to use blockers. However, more and more often users are faced with pop-up banners caused by a virus. How to distinguish embedded ads from viral ones:

  • built-in occurs only when using applications in the form of banners and pop-up windows;
  • virus appears periodically when working with the device, regardless of whether third party programs and games.
  • If you suspect the presence of viral advertising on your smartphone or tablet, install an anti-virus program - Kaspersky Internet Security, McAfee, Dr. Web or another - and run a full scan of the device. Delete the files detected by the antivirus. To prevent the appearance of viral ads, leave the antivirus enabled and periodically check the device.

    Do not use several ad blocking apps on Android at the same time - they will conflict with each other, using similar work algorithms. Test the suggested options and choose the one that best suits your smartphone or tablet.

    Probably, it is not necessary to say that advertising in Android applets or in browsers when accessing the Internet inexpressibly irritates all users without exception. But own funds system to get rid of this scourge does not work. So what to do? Ad blocking on Android systems can be done either using special programs or manually by changing one of the key system files.

    Where do ads come from in Android apps?

    Probably, every owner of an Android device thought about where so much garbage in the form of advertising comes from in programs. The answer to this question must be sought in the Google Play service itself, from which, in most cases, mobile applications are downloaded and installed.

    The situation is such that absolutely all free applications that are presented in the service have built-in ads. All!!! The only exceptions are paid programs. They don't have that garbage. But after all, not everyone wants (or can) pay a certain amount just to get rid of constantly pop-up messages and banners. But there is a way out. You need to use some kind of ad blocking application on Android, which can remove it from both installed applications and from the browser when the user surfs the Internet.

    Types of advertising and ways to eliminate it

    But before proceeding to consider how, for example, ad blocking is done in Chrome on Android or its elimination in installed applets, it is worth looking at what main types of it can be found.

    Many experts, having analyzed all possible situations, tend to divide advertising into several main types:

    • static or dynamic (pop-up) banners on top, bottom or full screen with a picture or video;
    • built-in advertising directly in the program interface;
    • advertising that appears after 2-3 days of using the application;
    • "Useful" advertising, after viewing which the user receives some points, bonuses, coins, etc.

    As for the methods of its elimination, in most cases, when installing additional applets, you must have superuser rights, otherwise you will not be able to achieve at least some significant result. But! It will not work - does not mean that it is impossible in principle. Blocking ads on "Android" without root-rights can also be done. We will dwell on this separately.

    By the way, one of the easiest methods to prevent the appearance of ads in applications is to download and install them not from the Google Play service, but download their full counterparts in the form of APK files, followed by installation from other sources. But the resources must be verified, otherwise no one will give a guarantee that you will not catch a virus somewhere. Programs on such sites in most cases are already free of ads, even in situations where the application requires constant access to the Internet to work correctly.

    Ad blocker on Android: the most popular apps

    On the Internet, you can now find quite a lot of software applets aimed at ridding the user of annoying banners and messages. Not all of them are equal. But in most cases, there are a few of the most powerful, popular and interesting applications:

    • AdAway.
    • Lucky Patcher.
    • adfree.
    • ad block.
    • adguard.
    • Adblock Browser, etc.

    This list is interesting because the first three applications require root rights without fail, the second three can work without them. Let's look at a few utilities. In principle, they all work on similar principles.

    AdAway is the easiest app to use

    Blocking ads on Android using this program is based on the automatic change of the hosts file.

    After installing and launching the application, you need to use only two buttons. First you should tap on the file download button, and then on the button to disable ads. True, as it is already clear, the emergence of such programs is completely unprofitable for Google, so it is pointless to look for it in the Market. You will have to download from other sources and install manually.

    AdBlock is a program for Android. Free ad blocker

    As is probably clear from the name, this applet is a mobile version of a computer add-on for browsers, adapted to Android systems.

    This utility, like Adblock Browser, which is a regular browser with a built-in blocker, is designed to be used as an add-on (extension) to all available browsers in the system. True, she has one drawback. If the system provides for the provision of root rights, the application will filter absolutely all traffic, and to block without them, you will additionally need to configure the proxy server settings. And please note that this application may not work on all devices and not in all versions. operating system Android.

    Lucky Patcher - one-stop solution

    Many experts believe that this application - the best program to block ads on Android. And it's not even about how it works.

    The program itself is in some way a slightly modified analogue of the AdAway applet in terms of interface. However, its possibilities are much wider. In fact, the application is a whole complex-patcher for all occasions.

    When programs are launched, it performs a full system scan, and distributes the results in the application category into several types, highlighting them in different colors:

    • yellow - the application has been fixed and no further action is required;
    • green - Google license verification required;
    • blue - the presence of advertising.

    Programs that cannot be patched are included in a separate section. By clicking on the desired application, the user receives an additional menu in which an action option is selected (removing ads, installing a patch, etc.).

    AdFree is another simple tool

    This program almost completely repeats the AdAway applet presented above.

    It not only uses the same principle of changing the hosts file, but also the procedure for troubleshooting in the form of using the file download buttons and disabling ads.

    Using manual mode

    Blocking ads on Android in this case involves downloading the modified hosts file from the Internet on your own or creating it on a computer using any text editor (for example, Notepad). It looks like the image below.

    The original system file, in order to avoid trouble, you first need to rename (or make a backup copy of it), after which new object hosts to the etc directory, which can be located either in the root of the system or in the System directory using a file manager like Root Explorer. After that, it remains only to reboot the device and rejoice.

    What to use?

    As for the choice of the preferred method for getting rid of ads, it is difficult to advise something specific, since each program is focused on a certain type of task. However, if you have superuser rights, it is better to install LuckyPatcher (the application can be useful for other purposes as well). But in the best option in order to remove ads from both installed programs and from the browser, the best solution would be to install two applets, one of which will block the appearance of unwanted banners in applications, and the second will eliminate ads when surfing the Internet. For example, in addition to LuckyPatcher, you can install AdBlock. However, here the choice is up to the owner of the mobile device. As for the download or manual creation hosts file, this option can be used if suddenly (which is unlikely) nothing else helps.

    It's no secret that by downloading applications from a special one, you can improve your smartphone in many ways, or become the owner of some popular toy. Often, paid versions from free ones, differ only in the presence of advertising in them.

    Today we will look at 5 of the fastest and better ways how to remove ads on Android so that after it does not appear again and you do not have to start all over again.

    Of course, you can ignore it, but we will discuss at least three reasons why it is better to get rid of such ads, and then we will figure out how to remove pop-up ads on the phone.

    Updating information and checking the relevance of all applications - 03/08/2018

    1. Advertising is a separate process, which not only occupies a place on random access memory , but also affects the rapid discharge of the battery (by the way, here are some recommendations about your device).
    2. In addition, the presence of ads on a smartphone can cause unwanted software to appear on it ( software), or worse, .
    3. Also advertising consumes internet traffic(You will ask how, the answer is simple - to spin up ads, you need to send a request to the advertiser's server and then show it to you. So, for example, if when viewing a news feed social network VK per hour you will consume a maximum of 10-20 mb, and if at this time you will be popping up advertisements, then with this use used at least 70% over traffic, that is, ~ 15mb), and, as you know, not everyone has unlimited.

    Naturally, all this suggests that advertising in applications and games - it's not a harmless "add-on" for free download. And when you are convinced of this, you will be ready to remove it from your smartphone. Now, after citing a few hard facts about ads not showing up on your phone due to malware, I will give you many different solutions for different situations.

    Method 1: Disable pop-up ads with AdBlock Plus

    AdBlock Plusthe best program of its kind to get rid of annoying ads from apps and games. She is so good that she was able to damage the business for almost $22 billion And that's just for 2015! Still need some confirmation? This is a great program to remove ads.

    But it’s worth saying right away that in the store You will not find such an application on Google Play. Probably because Google's only source of income in this case is advertising! It turns out that it is not advisable to distribute a program in your store that would deprive this way of earning.

    This means only one thing - you will need to install the program manually. There is nothing terrible in such a process, especially since after the installation is completed, you will enjoy numerous programs, games and applications without the presence of ads in them.

    Information Update - Adblock Browser

    But you still can download older versions of Adblock Plus from third-party sites. We recommend that you go to the w3bsit3-dns.com forum thread, where you will find past and improved versions. But remember that then updates will not be available to you.

    Where to find and how to install

    • Download the Adblock Plus program from the w3bsit3-dns.com forum, and follow the next step, if you downloaded it on a computer, then you should transfer it to your device;
    • Click on the line with the program in your file explorer;
    • Let's start the installation.

    What to do if a third-party application does not want to install

    In order to install the program from a non-official source, you have to change some things in the settings.

    1. We are looking for the "Settings" section.
    2. In the window that appears, find the "Security" or "Applications" section. Different devices will have one of these partitions.
    3. After opening the desired one, find the item " unknown sources". That's where you need to check the box.

    Sometimes this window pops up, during the installation of such an application. Then in the pop-up window you will need to immediately put the desired checkmark and wait for the installation to complete.

    Setting

    To forget about always enabling the application, you can run it as a background process, for this use this setting:

    1. After installation, you can immediately open the program and run it. A message will appear stating that Adblock Plus cannot change the proxy. You will have to do this on your own. First press " tune” and then “Open Wi-Fi settings”.
    2. Click on the network enabled on the device and hold until the settings window appears. Click "Advanced options" and check the box next to the proxy by selecting " Manually».
    3. You need to enter the node name " localhost", and the port " 2020 ". After you need to save.
    4. Remember! If you suddenly need to turn off the program, then simply return the Wi-Fi settings to the state " Default».

    Method 2: How to remove ads on the desktop

    After familiarizing yourself with the above program, you will already have the necessary knowledge, but if suddenly it cannot remove ads on the Android desktop, then it is worth reading a small guide.

    After downloading the applications (as mentioned above), you can pick up unwanted software. That is, many developers from the Play Market can be attributed here, who are unscrupulously trying to make money on us. That is why, now more and more start to panic when: “Suddenly, out of nowhere, an advertisement pops up (pops up) on the desktop” and a person begins to “rush” around the Internet in a panic in search of a quick, but not always right solution.

    Adfree - Root Rights

    AirPush - No Root

    This app scans your entire android and detects all suspicious apps. In the video, I tried to scan my phone, and it said that no viruses were found. Only applications with built-in purchases were found, but they do not belong to a number of dangerous ones.

    If you still have questions, then ask them below in the comments.

    Method 3: Removing without Root Rights

    Most modern smartphones and tablets based on Android 6.0 and higher completely refuse to agree to the installation of Root rights (SuperSu), there is nothing wrong with it, as everywhere there are pluses and minuses. The developers are trying as best as possible to keep the core of the system away from the skillful hands of users, so that after they do not complain about the malfunction of the device. Some craftsmen overcome this milestone on smartphones, while other models remain defiant.

    But what if the problem is with an adware virus, and there is no way to install a special program that requires Superuser Rights to block it, or you simply do not have such knowledge?! The answer is simple, choose one or more applications that can be used without ROOT rights.

    1. Lucky Patcher - many errors and device freezes (strongly do not recommend)
    2. Adguard (take a look at this option)

    adguard

    The application after a global update no longer supports ad blocking in third-party applications. Take a look at other options.

    Method 4: Remove ad units on YouTube

    If you often watch various videos on YouTube and you are simply tired of seeing preview intros in the form of ads for 5-20 seconds without the possibility of closing before every second video, then this information will help you.

    Disable all ads on YouTube using the Xposed Framework (ROOT rights)

    More detailed description look in a separate article on the Xposed Framework.

    Method 5: A simple option to disable ads

    AT Android system in the standard version, a fairly simple browser is installed, which you don’t really want to use. Typically, users install options such as Chrome, Opera, and Firefox. Particularly interesting are 2 and 3. There are special built-in plugins that allow you to hide ads on web pages. Just download this app from the store.

    Video instruction

    In our video, we only cover the main features in the apps and browsers mentioned above. Since I didn't have any problem with viral advertising on the phone (and I hope that it does not arise), I cannot demonstrate their full functionality to you. But no one forbids to get acquainted with them.

    What to do if an ad pops up on Android after a call

    If you have caught a dialer virus very strongly, that is, after incoming / outgoing calls, advertising appears immediately in the menu, then here are some tips for you.

    • Go through the antivirus, there is an application on Google Play Doctor Web(others are possible, it doesn't matter), install it. After enabling, find the function "Full check", wait for the scanning process to finish. After that, if a dangerous application is found, follow the instructions (if you installed an application, then decide: delete or fight. If you want to leave it, or it is a system file, then use the settings (settings - applications) to clear the application data, just do not stop it, otherwise you have to do it all over again).
    • Remember, after which advertising began to appear, maybe you installed something, or downloaded from the Internet. If that doesn't help, go to step 1.
    • Perhaps it will help.
    • Describe your problem in more detail in the comments and you will be answered as soon as possible.

    Now you know at least 5 different ways to clean your Android from an adware virus. Again, if there is no answer to your question here, then please ask a question in the comments.

    Advertising, which appears more and more often on smartphones, greatly annoys users, forcing them to look for new ways to deal with it. Most of the methods require Root rights. Let's see how to limit ads if there are no root rights.

    This application is well known to users as an extension for browsers, and its version for Android was released back in 2012. Adblock Plus establishes a connection to the Web on your smartphone using a proxy server, after which ad blocking occurs.

    There is no need to make additional settings - all that is required from the user is to set up a subscription to the list of regional filters.

    You can also try Adblock Browser, which has an ad blocker built in.

    adguard

    With Adguard you can:

    • Configure network traffic for a specific application;
    • Use Wi-Fi or Mobile Internet for applications;
    • Set filtering for https;
    • Set custom filters.

    Another argument in favor of Adguard is the ability to work in two modes: proxy or VPN.

    The application works quickly and efficiently, without leaving even a trace of advertising. The program is paid, the annual subscription costs 149 rubles, you can also buy Adguard forever for 349 rubles.

    NetGuard

    You can block ads using the fairly well-known NetGuard application. This opportunity implemented in build 2.12 and later, and only for the version that is on the official developer page.

    In the "Backup" section of the settings, download the hosts file with the names of ad servers and activate NetGuard.

    You can check the operation of the blocker using a mobile browser by typing in the address bar www.netguard.me/test . If everything is done correctly, the message "Ad blocking works" will appear.

    DNS66

    The last utility in our review, DNS66, modifies the system's DNS using a VPN, allowing traffic to be filtered. Working with the program is simple - after starting, switch to the “Domain Filters” tab, where we turn on the required filters (after which they turn green).