Smartphones based on the operating system Android 7.0 Nougat i Android 7.1 are still actively used by millions of people around the world. It is a reliable platform that ensures stable operation of most modern applications. However, owners of such devices often face one serious problem - aggressive advertising. Banners block the interface, pop-ups appear in the most inappropriate places, and videos interrupt the viewing of content. This is not just annoying, but also significantly reduces the performance of the gadget, using up the battery and Internet traffic.
Ad blocking on this version of the OS has its own characteristics, since there are fewer built-in system filters here than in the latest releases Android 13 or 14. However, there are several effective ways to clear the airwaves of your smartphone. We will look at methods from simple network settings to using specialized software. You do not need to have superuser rights (Root) to return comfort to using the device. It is enough to consistently apply the techniques described below.
Using a private DNS to block ads
One of the most effective and least resource-intensive ways to remove banners is to change the DNS settings. The principle of operation is simple: your smartphone contacts a special server that recognizes requests to advertising networks and blocks them at the connection level. In Android 7 this function may not be in the standard settings menu, unlike newer versions, where it is placed in a separate item.
To implement this method, you will need a third-party application or manual configuration through the developer menu, if your firmware allows it. The most popular solution is to use the service AdGuard DNS or similar free alternatives. You enter the server address, and all traffic begins to be filtered. This works globally for all browsers and most applications, without requiring the installation of a heavy background process.
If there is no “Private DNS” option in the Settings → Wireless networks → Other networks section, try going to the developer menu. Activate it by tapping seven times on the build number in the About Phone section. Then find the option setprop or use terminal to enter the command if you have access to ADB. However, the easiest way is to install a lightweight client that changes this setting automatically.
⚠️ Attention: When changing the DNS server, some legitimate sites may stop opening if the filter is too aggressive. If you notice problems with accessing resources, temporarily disable this feature or change your DNS provider to a softer one.
The advantage of the method is that it does not slow down the system. Requests are processed on a remote server, so your smartphone’s processor is not burdened with unnecessary calculations. This is critical for devices on Android 7which often have limited RAM.
If you are using public Wi-Fi in a cafe or airport, changing the DNS may conflict with the network captive portal. In such cases, temporarily return the “Auto” or “Default” settings.
Installing local blockers without root access
When global DNS settings are not enough, local blockers come to the rescue. These apps create a local VPN tunnel on the device through which all traffic passes. Inside this tunnel there is a filter that cuts out the advertising code before it reaches the browser or application. AdGuardremains the leader in this niche for a long time, although there are other worthy options, such as Blokada (old versions compatible with Android 7).
Installation of such software requires permission to create a VPN connection. The system will issue a corresponding warning, which must be confirmed. Once launched, the application will offer to download filter lists. For users in the CIS, it is recommended to connect regional lists, as they contain domain databases of local advertising networks, which are often ignored by international filters.
It is important to understand that working through a local VPN may slightly increase battery consumption. The processor must process every data packet passing through the tunnel. On older devices with entry-level Snapdragon 400 or MediaTek series processors, this may be noticeable. However, the comfort of the absence of advertising usually outweighs this drawback.
- 🛡️ AdGuard - a powerful all-in-one tool with the ability to filter HTTPS traffic and protect against trackers.
- 🚫 Blokada 4 - a lightweight open source solution, ideal for weak devices.
- 🌐 DNS66 - a minimalistic blocker that works exclusively through DNS filtering without deep analysis packets.
- ⚙️ Personal DNS Filter —a tool for advanced users that allows you to fine-tune blocking rules.
Some applications may require manual configuration of certificates to filter encrypted traffic. B Android 7 the security system has become stricter, and user certificates may not work for system applications without special manipulations. However, for browsers and most user apps, the standard installation is sufficient.
Disabling advertising identifiers and personalization
Even if you have installed a blocker, some applications continue to show “native” ads that are part of their interface. To reduce the targeting of these ads and limit data collection, you must disable the advertising identifier. In Android 7 this mechanism is already quite developed and allows the user to control their digital privacy.
Go to the device settings and find the section Google → Advertising. Here you will see two important switches. The first allows you to reset your current advertising ID, assigning you a new random set of characters. This breaks the connection between your behavioral history and your current profile on ad networks. The second switch, “Turn off ad personalization,” prevents your data from being used to tailor ads.
While this won't remove banners entirely, the ads will become less intrusive and contextual. You'll see random ads that are less likely to be based on your searches or location. This also reduces the load on the network, since tracking mechanisms work less actively.
⚠️ Attention: Disabling personalization does not affect the amount of advertising in free versions of games and applications. Developers will still show ads for monetization, they just won't be tailored specifically to your interests.
It is recommended to reset your ID every few months. This creates additional confusion for data collection algorithms. In combination with a traffic blocker, this measure provides a double level of privacy protection.
Resetting the advertising identifier is basic digital security hygiene, which should be performed regularly regardless of the use of blockers.
Setting up browsers for surfing without banners
A significant part of advertising is consumed through web browsers. A standard browser Android WebView or an outdated one Chrome on version 7.0 may not have built-in powerful filters. The optimal solution is to install a specialized browser or configure the current one.
The browser Firefox for Android supports the installation of extensions. On this version of the OS you can install an add-on uBlock Origin, which is the gold standard for blocking ads on the web. It effectively cuts out banners, pop-ups and video ads on YouTube (on the web version). The extension is installed through the add-ons menu in the browser settings.
An alternative is the browser Brave or Opera, which have built-in blockers. They work out of the box and do not require additional configuration. Just download the APK file of the compatible version and install it. In your privacy settings, make sure that the “Tracker blocking” and “Ad blocking” items are active.
| Browser | Blocking type | Battery impact | Compatibility with Android 7 |
|---|---|---|---|
| Firefox + uBlock | Expansion (maximum) | Medium | Full |
| Brave | Built-in shield | Low | Full |
| Chrome | None (settings only) | Low | Full |
| Opera Mini | Server compression | Minimum | Full |
Don't forget to update regularly browsers, even if the main system does not receive updates. Browser developers often release security patches and update filter lists to combat new types of advertising.
Why shouldn't you use older versions of Chrome?
Older versions of browsers contain security vulnerabilities that could allow advertising networks to inject malicious code. Always use the latest available version supported by your OS.
Radical methods: editing the hosts file
For users who are ready to take extreme measures, there is a method of editing the system file hosts. This file contains a map of domain names and IP addresses. By redirecting the addresses of known ad servers to a local address 127.0.0.1, you can block them at the operating system level.
It is important to note that the system files section is protected. For direct recording to a file Android 7 The system files partition is protected. To write directly to a file /system/etc/hosts required root access. If your device is rooted, you can use file managers with access to the system partition, for example Root Explorer or Solid Explorer with superuser mode enabled.
127.0.0.1 adserver.example.com127.0.0.1 track.analytics.net
127.0.0.1 ads.mobiclient.com
There are ready-made lists of domains to block that can be found in the community developers. You just need to copy their contents and paste them into the hosts file. After saving and rebooting the device, advertising from the specified domains will stop loading in any applications, including system ones.
⚠️ Attention: Incorrect editing of system files can cause the smartphone to stop loading (bootloop). Before making changes, be sure to create a full backup of the system via Recovery.
If you do not have root access, this method is not directly available. However, some blocking applications simulate working with the hosts file through a local VPN, as we discussed earlier. This is a safe alternative that does not require hacking the system.
☑️ Preparing to edit hosts
Fighting advertising modules in installed applications
Often the source of pop-up windows is not sites, but the installed applications themselves. Free utilities are especially guilty of this: flashlights, QR code scanners, memory cleaners and simple games. They contain built-in advertising modules that can be active even outside the application itself.
Analyze the list of installed apps. Go to Settings → Applications and sort them by frequency of use. If you see unfamiliar utilities that you didn't knowingly install or low-rated apps, uninstall them immediately. Often such “junk” advertising comes along with free software from unreliable sources.
It is also worth checking application permissions. Go to your permissions settings and see which apps have the Draw over other apps permission. This is a key permission that allows advertisements to pop up on top of your desktop or other apps. Revoke this right from all suspicious applications. Android 7 It's also worth checking application permissions. Go to your permissions settings and see which apps have the Draw over other apps permission. This is a key permission that allows advertisements to pop up on top of your desktop or other apps. Revoke this right from all suspicious applications.
- 🔍 Check applications with device administrator rights in the section
Security → Device Administrators. - 🗑️ Remove applications installed shortly before the ad problem appeared.
- 🚫 Prevent background data transfer for suspicious apps in the "Data Usage" section.
- 📉 Disable notifications for applications that do not require constant notification.
Sometimes advertisements are disguised as system notifications. Look carefully at the banner text. If, when you long press a notification, the system prompts you to turn off notifications for a specific application, do so. Often, an aggressive advertising module is hidden behind an innocuous name.
Use the “Show Overlay” function in the developer settings to see which application is creating the pop-up window the moment it appears. This will help quickly identify the culprit.
Frequently asked questions (FAQ)
Will blocking ads reduce the speed of the Internet on Android 7?
On the contrary, the speed may increase. Because the browser and apps don't have to load heavy graphic banners and videos, the amount of traffic consumed is reduced. Website pages open faster because unnecessary code is filtered out. However, when using a local VPN blocker, there may be a slight delay due to the processing of traffic by the processor.
Is it safe to use free ad blocking apps?
Most popular open source blockers (such as Blokada or DNS66) are safe. However, only download them from official developer sites or trusted repositories like F-Droid. Avoid dubious APK files from forums, as malware may be hiding under the guise of a blocker and collecting your data.
Why do ads appear even after installing the blocker?
This can happen for several reasons. Firstly, some applications use their own hard-coded banners, which are difficult to filter without Root. Secondly, filter lists may be out of date. Try updating the filter databases in the settings of the blocker application or change the DNS provider.
Do you need to update Android 7 to a new version to protect against advertising?
Updating the system itself does not block ads, but new versions of Android (starting from 9 and especially 10+) have stricter security policies and built-in functions for limiting background activity, which indirectly makes it difficult for aggressive advertising networks to operate. However, if your device does not support the new OS, the methods described in this article remain relevant.
Does blocking ads affect the operation of your favorite free applications?
Yes, it can. Many free services exist solely through advertising. If completely blocked, the application may stop functioning, display an error, or ask you to disable the blocker. In such cases, you have to look for a compromise: disable blocking for a specific application or accept the presence of static banners.