yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] lenoid:
An friend of mine has problems with AdAway. He always uses Wi-Fi at home and switches on mobile data when he is on the move. However, it takes several minutes or multiple reconnections until there is actually a data connection and he can get data from the Internet. If Adaway is deactivated, there are no problems.

AdAway version is 5.6.0 and runs under Android 11 in VPN mode. No other VPN apps are installed. For me, the same version under 8.0 in Hosts mode does not cause any problems.

In the settings of AdAway, VPN has a "Monitor" function (I do not have the exact wording). What does this do? The translation seemed to me not quite correct.

Does anyone have an idea what this can be and how to fix it?
[Android Apps and Games] lepicane1:
I've used AdAway for many years on a rooted phone and loved it. Had to unroot because of my banking apps and started using AdAway VPN. Tried everything but could not resolve issues of reconnecting when switching between wi-fi and mobile network on my mido running LOS 18.1 i.e. AdAway would hang and take forever to check the host lists. In the end had to reluctantly give up on AdAway VPN, at least on an unrooted phone.

{Mod edit}
[Android Apps and Games] lenoid:
@lepicane1

Thanks! It's good to know that this seems to be a known issue.

{Mod edit}

Hopefully it's only a missunderstanding as stated from the developers. I'll recommend it as an alternative.

If you use Magisk for root you can try to hide root for your banking app.
[Android Apps and Games] Oswald Boelcke:
Moderator Announcement

Thread cleaned from discussions about other app then AdAway. Such discussion are not only off-topic in this development thread but also disrespectful towards the developer of AdAway.

Please refrain from such posts in here in future.

Stay safe and stay healthy!

Regards

Oswald Boelcke

Senior Moderator
[Android Apps and Games] lepicane1:
Thanks for pointing that out and apologies, however no disrespect intended at all, far from it.

The developer himself and others have discussed other solutions in this thread, including the one I mentioned. The issue I and a few others are experiencing with AdAware VPN is not widespread, reported on GitHub, and the developer has tried to get to the bottom of it. The fact that I don't have these issues with another VPN ad-blocking solution might help the developer potentially resolve this issue in AdAware VPN as it could mean that it is not necessarily a ROM/device/network issue.

Was just trying to help fellow XDA-ers...
[Android Apps and Games] lenoid:
I personally will stay at AdAway on my rooted devices. But for those unrooted, who have problems with AdAways VPN I think it should be ok to show alternatives when there is no solution for AdAway is known or possible. @lepicane1 helped me a lot with his hint and the alternative in my case would be probably to have no adblocker. I think nobody wanted to blame AdAway and his developers. They're doing a great job and that's why I'm using AdAway since v2.x.

For the developers: It's a Samsung device with Android 11 stock ROM.
[Android Apps and Games] gallegonovato:
Good afternoon @PerfectSlayer @zgfg

I wanted to propose to the developers of Adaway, a host source. That I don't know if it would be possible to add, source to Adaway.

I mean the bongochong host https://github.com/bongochong/CombinedPrivacyBlockLists . Together with those that already brings Adaway of origin would give a better protection. Since those of bongochong covers or only the range of ipv4, ipv6 or both together.

Thank you very much for your consideration and your time
[Android Apps and Games] zgfg:
Please, let us don't steal the credits.

@PerfectSlayer is the one and only developer - I never wrote a single line of code here.

I'm just a user, like you and others here
[Android Apps and Games] gallegonovato:
Good evening @zgfg

I apologize for my mistake it was not my intention to upset or do anything wrong. On the contrary, thanks for the point and clarification.

Also if I may there is this tremendous hosts based Comprehensive hosts to block Ads, Analytics, Tracking & Telemetry based on Exodus list and with a beast of a source https://github.com/kaabir/AdBlock_Hosts/blob/master/source.txt . That would be https://github.com/kaabir/AdBlock_Hosts . The problem with the one with the tracking and telemetry list, I don't know if it could make any application not work well.

But even so if you allow me @PerfectSlayer it would also be a good option.

And I comment it to you in case some Adaway user wants to use it or it seems useful.

Thanks a lot for your time and effort.
[Android Apps and Games] ipdev:
You can add the hosts lists you want to use to your Hosts sources in AdAway.

If it is a GitHub source, you might need to use a raw.github link.

The Combined New Hosts (six days old as of this post) would be.

https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/newhosts-final.hosts

I am not sure if that has everything or if there is another one to use or add in addition to.

Take a look at repo and see what each one does and add the one(s) you want to include into AdAway.

Personaly I use minimal blocking, I have no reason to block half a million domains. ;)

Testing the above bongochong raw link, my Blocked list went from 20074 to 101626.

There are a lot of hosts lists out there for blocking and non-blocking of domains.

There is no need to add them all as defualts to AdAway.

I did not check kaabir but, same thing. Check the repo and see what file you want to use with AdAway and include that in you hosts sources.

Cheers. :cowboy:

--

PSA.

AdAway - GitHub - Project Status - Link
[Android Apps and Games] mingkee:
I think AdAway is getting too aggressive and it kills few apps (CVS and NY MTA)

As a result, I spent money to acquire more adguard license. I added root supported function, and all look good now
[Android Apps and Games] DiamondJohn:
AdAway is not aggressive, its the host lists you select that control how aggressive the blocking is or is not.
[Android Apps and Games] Zippy the Wonderslug:
I have a Google Nexus 10 running 4.4.4. rooted.

By accident I enabled ads in the app and I can't seem to get it back to how it was.

I'm currently using AdAway 3.3. Not sure what I had before, maybe 3.2?

I uninstalled the app, including Magisk, and started all over again.

I keep getting the following error.

View attachment 5329847

Any suggested ideas to problem solve this?

Please and thank you.

Edit:

I changed permissions with Root Explorer but upon reboot, it changes back to its default.

View attachment 5329855
[Android Apps and Games] IamTheBRAVE:
Is anyone getting "app not installed" error when trying to update from the app? I have the f-droid branch installed on my T531 tab so maybe i need to manually uninstall and redownload new version from f-droid?

Thank to @PerfectSlayer for this Perfect app (pun intended🤓) i can't imagine my android world without it.
[Android Apps and Games] lenoid:
I'd suggest to use v4.3.6 for Android 4.4.
[Android Apps and Games] zgfg:
There used to be issues with updating from f-droid. If you use XDA version,you can always update to the latest with no issues whatsoever
[Android Apps and Games] Zippy the Wonderslug:
Done. But it doesn't seem to take.

View attachment 5330259

Installed correctly then followed instructions to reboot.

View attachment 5330263

View attachment 5330265

View attachment 5330267

View attachment 5330293
[Android Apps and Games] shah22:
Regards and kudos for your continuous work Sir :cheers: @PerfectSlayer

Just wanted to ask something about webserver issue on latest version. If I remember correctly, enabling webserver hid those ugly broken faces/links in place of ads with white blank space or ad away logo. But currently, this isn't working. Is it intended this way? Because previously, this was the only benefit of using webserver as I know.

Phone: S7 edge G935F

OS: One ui 2.5 android 10

Ad away ver : 5.6

Magisk ver : 23
[Android Apps and Games] desertcat:
Quick update: There is a new version of the CVS app (7.6.0) and it works correctly with Adaway.
[Android Apps and Games] Zippy the Wonderslug:
Can no one help me get back AdAway on my Nexus 10 version 4.4.4?

Again, I enabled ads by accident and now I can't seem to restore the app's features.
[Android Apps and Games] Zippy the Wonderslug:
Okay.

I think I got it back.

I downloaded a DataMaster-Android-AdBlock-Hosts text file I found on the internet.

I removed the txt extension.

I then copied the 10.4 Mb file and replaced it with the host file in /system/etc using Total Commander.

Rebooted and ran AdAway which once again gave errors stating I was not online.

It seems to be working though.

I understand nothing. :D
[Android Apps and Games] Zerton:
Hello supporters,

I installed AdAway and enabled it(ROOT). After that i tried to test it on chrome, but the ads are still there nothing seems to have changed. Is there any ways to fix it. Please reply
[Android Apps and Games] zgfg:
Please, you need to provide more info - which AdAway version number you installed.

Also, which Magisk version (for root) you have.

What is your phone and ROM, and actually what is your Android version?

Also, what about Systemless hosts - did you enable in Magisk (and reboot)?

Did you afterwards restarted AdAway and ask it to configure again the root method, and restart afterwards?
[Android Apps and Games] daywalk3r666:
Did you disable data saver mode in chrome?
[Android Apps and Games] zgfg:
Chrome, Settings, Lite mode must be set to Off
[Android Apps and Games] Ngovandang:
Can I block overlay ads like in this photo? Or I mean elements or div, class, lol
[Android Apps and Games] gallegonovato:
Good afternoon @Zippy the Wonderslug

The problem is that for you to get adaway on your nexus 10 with android 4.4.4.4

You need Magisk and Magisk Manager. And have systemless host active in Magisk. With supersu does not work.

I do not know if I remember the version of Magisk would be the 18 you can try downloading it from https://github.com/topjohnwu/Magisk/releases . But first you would have to remove supersu https://download.lineageos.org/extras from the trwp if I'm not mistaken. Or from the supersu application itself.

What I advise you, or you could do is to upgrade your nexus 10. Installing lineageos, for example https://xdaforums.com/t/rom-lineageos-17-1-unofficial-nexus10-2021-05-10.3557735/ , https://www.getdroidtips.com/lineage-os-17-google-nexus-10/ , https://lineageosroms.com/manta/

If you upgrade it to 17 you could use Adaway version 5. If not in the version you are in and if Magisk is valid in that version (I think they already left it aside) you could use version 4 of adaway https://github.com/AdAway/AdAway/releases?after=v5.0.9b . And without doing anything else you should be fine. Neither with total comander or doing anything else.

So think about putting lineageos, so you give more life to the tablet.

A hug
[Android Apps and Games] gallegonovato:
Good afternoon @Ngovandang

Please correct me if I am wrong. But to block ads and so on. You should look in adaway in show dns. The ones that connect and block them. Or in firefox also in about:networking . In chrome I have no idea how to look at the connections.

But it gives me that what you want is to clean the web of banners and others. To do this I recommend using ublock origin. In which you can remove and so on to your liking. And instead of using chrone I would opt for a iceraven or fennec of fdroid. But that to taste, since these two that I tell you better allow you to use the compkementos for my.

But I don't know if a colleague can tell you if you can do what you want with adaway. The rest I can not tell you more, because as I said a moderator would be discrediting and out of the same thread.

A hug
[Android Apps and Games] arnoldpalmernold:
Hey all! Just wanted to say thanks to the AdAway team for continuing to maintain this great application over the years, and to @gallegonovato for liking my project enough to suggest it be included as a default option in AdAway. I was planning on doing so *eventually* myself (with the *mini* variant of my hosts file), but wanted to slim it down and tweak it a bit more before I did, as - IIRC - AdAway has very specific standards for the default list selections, and rightly so.

In regard to @ipdev pointing out that my main hosts file was not updated for 6 days as of @gallegonovato's proposal, I recently had a family emergency which required a fair amount of travel, and forgot to sync the latest iteration of my backend scripts between my main computer and travel laptop (see more here: https://community.blokada.org/t/introducing-combined-privacy-block-lists/11657/5?u=bongochong) and will ensure that such an oversight never occurs again in the future. Much love.
[Android Apps and Games] gallegonovato:
Good afternoon @arnoldpalmernold

First of all I hope all is well in the family.

You don't have to thank me because I like your lists. Since I have to say that they are wonderful and very very very very complete.

And to say that I noticed a change for the better. Including ipv4, ipv6 or both together.

What I hope they include it at the end in Adaway. Since you deserve it and although I have already said it. Your lists can and will help a lot of people. And it would be together with Adaway a combination as they say in the press a bomb or splendid combination.

Thank you very much partner and thank you for all your work and effort.
[Android Apps and Games] ipdev:
@arnoldpalmernold

Sorry to hear about a family emergency.

My best wishes to you and your family.

Personal life and family is always first.

--

Only mentioned that it was 6 days old as reference to the list version I tested at the time of my post.

I did not check the history to see how often you update it.

I was not sure if you did daily, weekly, bi-weekly, or monthly.

Personally I use minimal blocking.

I did check again using the Combined New Hosts (six hours old as of this post), AdAway had no issues.

My Blocked list went from 20060 to 101866.

Cheers. :cowboy:
[Android Apps and Games] arnoldpalmernold:
Thanks friend! Sorry if I came off defensively at all. Did not feel like you were attacking me or anything. I just wanted to clarify, because I've been making a point of doing at least biweekly updates for a while now. I actually felt guilty about not having all of my scripts handy when the one week mark hit 😬
[Android Apps and Games] PerfectSlayer:
Thanks!

About the web server, it serves two purposes:

* Help applications that need to get answer when their ads are blocked (some applications froze or crash otherwise)

* Remove some « ugly deading pixel in gray area » on your browser when ads blocked (it's currently limited to http ads and doubleclick (Google) https ads)

But it might also come with compatibility issues. For example, Amazon app is famous to dislike its answers... It was the same for Spotify broadcast few years ago.
[Android Apps and Games] Event_Horizon:
Hii.. I didn't find how to whitelist an app, so that adaway doesn't work on that.. I see there is way to whitelist hostname, but how to know the hostname source urls of an app?? So that I could put that in whitelist!! Please help
[Android Apps and Games] zgfg:
You can whitelist apps only if you use non-root/VPN mode (not the root/hosts mode)

You must be on AdAway 5.x

If you are already using the root mode, you must uninstall and reinstall AdAway (or Wipe its Data from Settings, Apps) and configure it once again, this time choosing the VPN mode
[Android Apps and Games] rjbweb:
Hi there, I have a redmi note 9s and since the last update to miui 12.0.2.0 RJWEUX, Adaway has stop to block any ads at all in apps or browser, I use Edge as a browser and I don't use data saver.

I tried to uninstall and reinstall but nothing works... It was ok few days ago but since the update... nothing works...

My 9s isn't rooted I use Adaway as VPN.

Thanks in advance.
[Android Apps and Games] gallegonovato:
Good afternoon:

I wanted to ask you for help, because I wanted to block in Adaway everything related to:

Twitter (whole and its ads)

Facebook (the same as before)

Instagram (idem)

Tiktok (idem)

Bitcoin and bitcoins

covid and covid19 (idem)

OpenCnam

Auskunft

OpenStreetMap

coronavirus (since some ads appear on the web, analytic)

I know, you could block everything that contains that with the * (if I remember correctly). But I don't know how to do it.

I don't know if you could tell me how to do it.

Thank you for your time and help.
[Android Apps and Games] Nergal di Cuthah:
Adaway blocks web addresses (www.place.com) not subjects
[Android Apps and Games] gallegonovato:
Good afternoon @Nergal di Cuthah

First of all thank you very much for your reply and help.

But I have to disagree on the answer. Since adaway does not only block entire websites. But also ads for example and other things. Even if you blacklist tiktok it blocks it. Or if you put firefox.settings.services.mozilla.com it will not connect to that address. Or you can block google ads for example.

Not if you remember @zgfg how to use the * and could help me on this issue.

Best regards

Pd: Even for example in the blacklist I have OpenCnam and if I enter the web or any web has that connection, Adaway blocks it and does not let me continue. Even somewhere I saw OpenStreetMap. and if I go to look at adaway connections, this does not come out even if the web has it. And for example in fennec of fdroid (browser that I use) and ublock origin it comes out that there is that connection.
[Android Apps and Games] RimWulf:
Where do I report a bug? Adaway [ROOT] is still blocking ads when it's paused I don't have this problem when using VPN blocking. I have to powercycle my phone in prefer to clear it.
[Android Apps and Games] zgfg:
Do you have Systemless hosts enabled?

In that case, AdAway cleans /data/adb/modules/hosts/system/etc/hosts

but Magisk mounts that cleaned file to /etc/hosts only on next reboot

Even without Systemlesd hosts, some phones cache the hosts file when booting, hence stoppig AdAway (that is, cleaning the hosts file) takes again effect only on the next reboot

For VPN it's totally different. No changes to hosts file but running or not running filtering depending on whether the VPN is active or not

Therefore, not a bug (in the case of root/hosts mode), but the systen limitation

---

Anyway, bugs are reported to Github, and link to Github is right on your Adaway app
[Android Apps and Games] IamTheBRAVE:
Thanks for this info very useful. I've been trying to add an in-app ad to whitelist by pausing adaway and recording dns logs but whitelisting the results of the log has no effect still can't view ad in the app (unless adaway is completely turned off)

Any advice? Am i doing it wrong?
[Android Apps and Games] zgfg:
I always do full reboot - when stopping AdAway for DNS logging, on restarting AdAway, blacklisteing or whitelisting, etc
[Android Apps and Games] IamTheBRAVE:
Yes i did a full reboot when dns logging and pause/start adaway, but not after whitelisting. Will try again thanks.
[Android Apps and Games] DiamondJohn:
@Nergal di Cuthah was correct.. To make it easier to understand lets go by an example.

One of the items you have listed is "COVID and COVID19". A lot of resources on this topic are hosted by university and medical websites. These websites would also host information on other medical conditions such as cancer, from the exact same host. AdAway would not be able to selectively block the COVID pages from the Cancer pages, coming from the same host; ie web server. Another example will be news sites. They will have stories about COVID and also ones about cats stuck up trees. AdAway will either block all of the stories from the same host, or none. It is not content specific, only host specific. A host does not map one to one with a topic.
[Android Apps and Games] ipdev:
Hi. :)

As Nergal di Cuthah pointed out.

We are diverting a name call to localhost.

I made a few posts a while back about dns resolution.

Post 15,715 - Link

Post 16,001 - Link

---

You would have to use a blocking list that includes all the sources that are called.

A quick search I found this..

GitHub Gist - Link

This seems to work for Facebook but, not so good for Twitter.​

You should be able to use a wild card * in your block list but, you need to make sure to include all the domains.

Including all the linked and subdomains.​

You might want to look into some of the customizable hosts sources like energized or other hosts sources mentioned in this thread.

They may include or have a list that includes what you are looking for.

If none exist, then you will have to search each one and add corresponding domains to you blocking list.

You can also create your own hosts source list(s) and then just include them into you hosts sources in AdAway.

---

Also, it is not necessary to include dead (no longer used) domains in your blocking list.

A well maintained blocking hosts source will remove dead domains instead of just adding domains.

You can always use the dns logging option to find more domain names to add to your blocking list.

---

Hope it helps more than confuse. :)

Cheers. :cowboy:
[Android Apps and Games] gallegonovato:
Good afternoon: First of all ask for forgiveness for not responding before. But I was involved with family things. Well then I was wrong. But then it must be how I have the rules or filters in ublock. Because I did not get any connection even putting a single word. And looking at adaway or about: networking in the browser. I apologize for my failure. By the way, what it is to have your head in thousands of places and not be focused (I say it for me). I didn't remember that we had already talked about the * thing on page 806. I need a few hours of sleep and for the problems in the family to pass quickly. I again apologize for this other failure. a hug and thanks for your help
[Android Apps and Games] :
Getting error as adblocker detected

Any way to hide adaway

View attachment 5344631
[Android Apps and Games] DiamondJohn:
Its not "seeing" AdAway, it is simply unable to access one of the hosts it checks to see if you are blocking its ads. Do a log of the hosts, and whitelist the host(s). But, you may find that whitelisting that host(s), enables ads in more than just this one app.
[Android Apps and Games] zgfg:
Or reinstall AdAway and instead of root/hosts, choose non-root VPN method where you can whitelist a particular app (please scroll up and read through the thread, how/why and about some issues with the VPN mode)

Btw, the whole thing about DNS logging etc, was also asked and answered many times and also described in the docs (start from the link to Github ftom AdAway) - please read the materials
[Android Apps and Games] LimitsX:
Hi,

I am on Pixel 3 XL - Android 11 stock rom - everything stock.

I installed latest magisk. Then systemless hosts is enabled. Next, rebooted the phone and installed away 5.6.0.

I updated hosts file.

For the app: "Lose Weight App for Men", ads are not blocked. The ads are showing.

What do I do to block them?
[Android Apps and Games] celestialspring:
1. Ensure that the app is not whitelisted.

2. Use the DNS log function to find which sites it is contacting. Block offending sites.
[Android Apps and Games] DiamondJohn:
for my own understanding, systemless host is only for root-mode is it not?

another lazy approach is to add a few more host sources, which if your lucky, also block the ads from your specific app.

oooh... just noticed, your actually suppose to reboot after you update / refresh your hosts (in root mode), to enable the new host file.
[Android Apps and Games] mingkee:
It appears CVS app works again partially with AdAway. However, I still have to turn it off to make My MTA work.

This would be perfect if AdAway has "app whitelist" (or allowed app) so certain apps can bypass without turning off

@PerfectSlayer