Pop-up ads in android apps. How to remove ads from Android apps APK


One of the most important sources of income for software developers and website builders is advertising. People who create programs often include ad units in their products that users have to view. In many cases, this is a kind of payment for the right to work with a free application. If until recently advertising in applications and on Internet pages was characteristic only of the world of full-fledged computers, then with the advent of mobile gadgets (smartphones, tablets) the situation has changed. Hardly anyone now can be surprised by a program running on an android phone, in which ad units appear.

Leave or remove

Although software developers receive a certain income from advertising, it is far from acceptable for all mobile phone owners. And the point is not only that, for example, recommendations for breast augmentation or any other part of the body should not be seen by children. More importantly, most of these ad units are downloaded from the Internet. As a result, the situation is as follows: if the program is launched with access enabled, then traffic is wasted to load unnecessary information, clogging the channel. Otherwise, constant requests to the network are generated, taking away the processor time and resources of the mobile device.

You can also mention that sometimes viruses can enter the system through this mechanism. Needless to say, almost every owner of a mobile phone is interested in smartphones on Android? This allows you to independently decide what content and when to view.

Methodology

There are two main ways to remove ads from applications on Android OS. The simplest is to block the network access program. The disadvantage was indicated above - requests continue to be generated, loading the device with unnecessary calculations. A more complex solution is the use of a special application that can find and “gnaw out” targeted ad units from the code. The result is higher, but does not work in all cases.

Domain names

If the device has received the so-called, then you can edit or simply replace the location located at the "Root system folder-Etc". When a program accesses a network resource, the contents of the specified file are always checked. There are two columns in its structure, where the left one indicates the IP address, and the right one indicates the name of the site, banner, etc. By specifying internal 127.0.0.1 as the address, you can actually block access to any resource. The same mechanism is used on Windows systems as well. You can independently determine where exactly the application with ads is directed and block the loading of ad units, but it is more preferable to use the hosts files offered on the network, in which users have already collected hundreds of unwanted links.

Powerful tool

You can remove ads from android applications using the Security Master program from LBE. This is a unique free tool that is recommended to be used on any mobile device running an operating system from Google. There is only one drawback - part of the RAM is additionally taken away for the resident block of the application. After installation and configuration, you can forget forever what advertising on Android is. How to remove from LBE? Let's make a reservation right away that you can do without root rights, which is crucial for some users. Although, of course, there are more opportunities with them.

After starting, you need to click on the menu button in the upper left corner and select "Active protection". In the list that appears, click on the item responsible for blocking the display of ads, and activate the "Check" button. The scanning process will begin, during which messages will be displayed about "unnecessary" modules found in applications. In the end, information about the number of blocked ad inserts will be displayed. After that, advertising on android almost completely disappears. How to remove is an LBE task. Moreover, during subsequent installations of any programs, they are scanned without user intervention.

Correction of the program code

No less interesting is the method implemented in the Lucky Patcher program. You shouldn't look for it on Google's Market, since the patcher's work is, in fact, illegal. Yes, indeed, ads disappear on android. How to remove this additional code is also not difficult for "Lucky Patcher". Of course, the program's capabilities are not limited to this. To implement all of them, root rights are required. You also need to remember that older versions do not "understand" what advertising on android is. Only the latest revisions "know" how to remove it. After starting, an initial system scan and a request for root access occurs.

If everything went well, a list of all applications will be displayed. It also indicates whether there is an ad unit, purchases or a license in a particular program. To remove the "extra", you need to click on the name of the desired application and select the "Patch menu" in the list that appears. After selecting the item responsible for removing ads, you need to disable Activity (all this is in the menu) by marking the required entries in red. If the user does not have enough knowledge about this method, then you can try to use the removal using the patch. All tips are displayed in Russian, so problems usually do not arise. The only thing that can be recommended is to pre-save the modified files. This will allow, in case of failure, to return everything to its original condition.

Rescue of the drowning ...

Perhaps one of the most effective ways to combat in-app ads is to avoid such programs. It is necessary to choose those in which there were initially no advertising modules or were cut by "skilled pirates". Then you don't have to think about how to erase the ad.

Advertising in our time simply fills everything that is possible: TV programs, streets, fences, billboards, the Internet and even our smartphones and tablets. The most annoying ads are in smartphone apps and in the browser. The smartphone screen is rather small even without ads, and you want to use it to the maximum, and advertising only interferes with doing this. In addition, advertising eats up a huge part of the battery charge and, which is important, traffic is also rapidly decreasing due to it. And on top of that, ads simply distract us from the process of using the app. Another disadvantage is the risk of infecting your phone with viruses due to the presence of ads in applications. So, we urgently need to take measures to rid our smartphone of advertising.

Method number 1. With AdFree.

Let's start with the fact that there is such a wonderful program with which you can save your device from devouring traffic, battery, and of course advertising, it is called AdFree Android... One click on the button “ Download and install hosts”(download and install) in this program will save you from advertising and all the ensuing consequences. After starting this option, you will need to restart all applications that contain ads. After that, you can say goodbye to ads in applications and even in the browser. But, if you suddenly want to return the ad to its usual place, for this it will be enough to click on the button in the AdFree Android application. Revert”(return the original) and the ad appears again. The disadvantage of this program can be called the fact that it does not have the ability to selectively remove ads from your chosen applications. It removes all ads. AdFree Android when using it requires ROOT, (How to root Android) this program will not work without gaining superuser rights. AdFree Android is free and freely available and you can download it.

Method number 2. With Adblock Plus

For the Adblock Plus app to work, you need to root your device. This can be done using special programs - read here -> How to root Android

When rooting is done, download the Adblock Plus .apk file from our website and install the application -> Download Adblock Plus for Android

Then just open it and give Adblock root access.

Also pay attention to the paragraph “ Acceptable updates". Initially, it is enabled, that is, some unobtrusive advertising is allowed. If you want to remove all ads, uncheck this box. But it's better not to do this, appreciate the work of the developers!

Method number 3. With AdAway

This application also requires to remove ads in Android. You can download AdAway for Android -

Opening AdAway, the program will show that the ad blocker is disabled. Click on this item, after which the download of the files necessary for the application to work will begin.

At the end, a message will appear that all components are loaded and you need to reboot the device for the changes to take effect. Click " Yes», After which your smartphone or tablet will reboot.

Now, when you open AdAway, there will be an inscription at the top “ Included", And all ads from games, applications and the browser will disappear.

To return your ad, click the " Disable ad blocking". AdAway will start recovering the file " hosts"By default, after which a message will appear again that you need to restart your device. Click " Yes"And the new changes will take effect.

Method number 4.

Program Adblock plus can also work with non-rooted devices connected to the internet via Wi-Fi.

1. Start the application. At the top, click " Tune».

2. A window "Proxy settings" will appear where in the last paragraph we are interested in 2 parameters: " Proxy hostname localhost" and " Proxy port 2020". At the bottom, click the " Open Wi-Fi settings».

3. You will be taken to the Wi-Fi settings. Hold your finger on your hotspot until an additional menu appears.

4. Select " Change network».

5. Check the box next to “ Advanced settings».

6. Select " Proxy server»After which a list of available options will open. Click " Manually».

7. Enter the data obtained in step 2 and press " Save».

Method number 5. Replacing hosts

To get rid of ads in programs in this way, we go along the path system/etc/hosts for example with (required).

We delete it, and in its place we insert the new hosts that you download from the network, you can take it at www.mvps.org/winhelp2002/hosts.txt- after downloading, remove the file extension (remove after the point TXT). How it works? If you open the Hosts.txt file you will see something like this 127.0.0.1 00fun.com
The 00fun.com site will refer to the internal IP address 127.0.0.1 and will not be able to access the Internet.

Method number 6. Editing a file

Before all manipulations with the application, it is advisable to make a backup copy. In other applications, something may be different and the result is not 100% guaranteed. Let's start in order, we need a file AndroidManifest.xml which we open with


Delete lines

And another example

Delete lines

If Google Ads

Delete lines

More about Google Ads

If you removed the necessary lines from the above and a small black banner with red letters popped up in the application (there is no advertisement, but the banner remains).

We do the following, delete the above lines in AndroidManifest.xml and go to the folder smali - com - google- and delete the folder ads

If the app won't launch after deleting the ads folder

If the application does not start, then do the following, open Notetpad ++ click on the tab ( Search) and select ( find in files) select the folder with the decompiled application, namely the folder smali and in the search we drive in the following phrase "You must have AdActivity declared in AndroidManifest.xml". After the search, we delete this line (basically this line is in the file AdView.smali) and collect the application back (do not delete the ADS folder). Everything should work. Before that, of course, you need to remove ads in AndroidManifest.

Aggressive advertising is gradually moving from television channels to the 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 remove and completely disable ads on Android devices.

Why pop-up ads appear in games and programs

Popular site owners sell ad space to organizations wishing to promote their services. Developers release apps that are free to users and publish them on the Play Store. To pay off their work, they embed ad units in 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-up windows, static or with a playing video;
  • deferred 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 a 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;
  • decreased performance of your smartphone or tablet while playing;
  • 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's policy. Each program is available on the official website of the developer, some of them require root access to work correctly.

    Rooting your Android smartphone or tablet

    Active root access expands the functionality of Android and allows other applications to make adjustments to the operation of a smartphone or tablet. You can get root rights using Kingo Android Root, Farmaroot, Vroot and others. A quick guide to root 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 debug. Click OK.
  • The program will install a mobile analogue on a smartphone and connect.
  • In the program window on your computer, you will see the Root button. Click it.
  • Confirm rooting on the smartphone screen by pressing the OK button.
  • When the process is complete on your PC, click the Finish button.
  • Application requests access to Superuser rights

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

    Adblock plus

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

  • Download the app from the official website.
  • Go to smartphone settings and select "Networks".
  • Select "Shared Modem & Networks" and open "Mobile Networks".
  • After selecting "APN access points", click "Change access point".
  • In the "Proxy" field write localhost, and in the "Port" field - 2020.
  • Launch AdBlock Plus, enable the "Filtering" item. Uncheck Acceptable Ads.
  • Photo gallery: setting up AdBlock Plus

    You can go to the network settings directly from the AdBlock Plus application. The proxy server will have to be configured manually through the network settings of your smartphone or tablet. Turn on filtering and uncheck the box "Allowed applications"

    After all the actions, ads will be blocked - you can enjoy "clean" applications. Items 2–5 are relevant for versions of Android 4.2 and higher. Android 3.x does not provide manual proxy configuration. 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 units in apps and games, you will need to purchase an additional key. The application works without root rights, the filtering parameters are configured in the program menu. You can create a "white list" of sites that you trust. To activate AdGuard blocker, download the program, open it and press the green power button. To configure filtering, click the button in the form of three dots in the upper right corner of the screen and select the "White List" item.

    The program starts with one button

    AdAway

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

  • Download and install AdAway.
  • Open the app and click on "Download files and apply blocking".
  • Wait for the download of the additional file.
  • When the process is complete, restart your 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 "Disable blocking".

    Video: block ads on your phone with AdAway

    LuckyPatcher

    The program scans installed applications, checks for licenses and file integrity, and also 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 you want to block ads from. Tap and hold on a 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 advertising activities".

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

    Video: How to Block Ads with Lucky Patcher App

    Adfree

    The affordable and easy-to-use AdFree app blocks ads if 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:

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

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

  • Open NetGuard and select Preferences.
  • 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 the DNS servers to which you want to deny access.
  • Test the application after 5-10 minutes. Go to the official developer page. If you see Ad Blocking Works there, the application is installed and working correctly.
  • You can configure traffic filtering in the application

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

    Block persistent ads manually

  • Root your device.
  • Follow the link and save the page content 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 cleanse browsers of intrusive ads. If, with an active blocker, ads on the pages of sites are saved, install additional extensions on your smartphone.

    Firefox

    Firefox browser works well with the AdBlock Plus extension and does not require installation of additional programs. Install and launch the application and enjoy the absence of ads.

    Opera

  • Follow the link and copy the code.
  • On your smartphone's memory card, create a file called urlfilter with the extension .ini.
  • Paste the code you copied earlier into the file.
  • Open your browser.
  • In the address bar, write opera: config.
  • 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 developed by Chinese engineers for lazy Android device owners. The application has a built-in ad blocker AdBlock, as well as an optimizer for the appearance of Internet pages. The browser successfully hides ad units and formats the page content based on the user's screen parameters. At the same time, the program retains all the functions inherent in other browsers: download manager, browsing history, optimization for night and day surfing on the Internet.

    Prevention of the appearance of advertising banners and windows

    You can only prevent in-app ads from appearing with blockers. However, more and more often users are faced with pop-up banners caused by a virus. How to distinguish embedded from viral ads:

  • built-in occurs only when using applications in the form of banners and pop-up windows;
  • viral appears periodically when working with the device, regardless of whether third-party programs and games are running.
  • If you suspect the presence of viral advertising in 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 check your device periodically.

    Do not use several applications to block ads on Android at the same time - they will conflict with each other, using similar work algorithms. Test the proposed options and choose the one that best suits your smartphone or tablet.

    I'm pretty sure that ads in games and apps are either bothering you or just tired of you. In a few minutes, you yourself will find out a reliable way to remove what is bothering you. Note that the chosen method is universal and it is equally suitable for smartphones with and without rooted rights.

    On the one hand, thanks to ads in apps and games, we have free content, but still these little banners and pop-up ads get in the way. Therefore, if you are ready to put up with a small advertisement in your window, then you can not delete it and thereby support the developers who work and release updates for the money received from it. Note that projects that work only on one enthusiasm and do not attract sponsors may not last so long.

    If ads annoyingly bother you, then you can use the Adblock Plus program. This application will remove all unnecessary at once, but will not affect the functions in the applications in any way. After cleaning, you will immediately notice that you are less annoyed, since you will not be annoyed by the advertising blocks that pop up more often at the most inopportune moment.

    Trust me, Adblock Plus is the easiest way to block all ads, not only in games and applications, but also in the browser when browsing. Not surprisingly, Google removed this app from the Google Play store as it prevents developers from making money. So think about it again.

    You can download Adblock Plus from the official website of the program.

    Installing Adblock Plus requires enabling the "Allow installation from unknown sources" item in the system settings:

    • Open the settings and scroll through them to the "Applications" item.
    • Open the item "Unknown source" and check the box "Allow the installation of applications from an unknown source."


    You can now install Adblock Plus on your Android smartphone or tablet. If you have root rights, then the application can request access to them. If you do not have root rights, then the installation will take place without prompting, as usual. After installation, you can run the program and check if the "Activate" item is checked. After that, you can launch all your free games and check if there are ads in them. I am sure that now you will not see it and the battery of your smartphone will not be so much consumed.

    The result of the application (on the left - before, on the right - after).