yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Oswald Boelcke:
Negative; not as long as root is required to edit the hosts.
[Android Apps and Games] zgfg:
There is DNS66 - root not required.

It can use the same hosts sources as AdAway.

Little bit different technique, utilizing private VPN instead of hosts file, but same results: blocking to resolve FQDNs that are pushing ads

Easier to switch on/off, you can white-list not just FQDNs but also your apps

However, Android allows only a single private VPN at a time. If you need a VPN for work or so, DNS66 must be disabled or work apps must be white-listed
[Android Apps and Games] ktmom:
Yes, [MENTION=2822685]PerfectSlayer[/MENTION] is working on a non-root version.

https://mobile.twitter.com/HardCoding/status/1237999555225976833
[Android Apps and Games] iamnotkurtcobain:
Awesome! I think root will fade away in the coming years.
[Android Apps and Games] xell75:
Wow ? How is non-root adblock possible without any VPN Stuff?
[Android Apps and Games] vatsal_chandan:
I think it will use vpn method
[Android Apps and Games] Oswald Boelcke:
I doubt that it's possible. And as [MENTION=2822685]PerfectSlayer[/MENTION] calls it a "fallback method for non-rooted users" on Twitter my personal assumption is that he's going to implement a VPN method into AdAway for non-rooted users while rooted users are still able to edit the hosts file. At least I hope latter is true, as my VPN is already block by OpenVPN to the Raspberry Pi in our home network.
[Android Apps and Games] knpk13:
Edit: since you mentioned private DNS and vpn stuff [MENTION=2822685]PerfectSlayer[/MENTION]

What's the difference between using AdGuard DNS and AdAway? Any pros and cons or other thoughts? Couldn't really find anything on the internet other than this article comparing them (I think it's the old AdGuard app, no the DNS version though), not to mention any possible bias considering the article is published by AdGuard itself. I found AdGuard DNS when I was looking to block ads on a new unrooted device until I rooted it and it seems to work fine.

https://adguard.com/en/blog/adguard-vs-adaway-dns66.html

I found this too but it's not really a comparison. I did learn about something called PiHole if anyone has a Raspberry Pi and likes to DIY.

https://www.ghacks.net/2018/12/31/a-look-at-adguard-dns/
[Android Apps and Games] Oswald Boelcke:
I did: https://xdaforums.com/raspberry-pi/general/pi-hole-pivpn-powered-raspberry-pi-3-t3768983
[Android Apps and Games] rocciacoraggiosa45:
It's possible to exclude one or two apps from adblocking?
[Android Apps and Games] Mahennemaha:
[MENTION=5210322]FlanjeUK[/MENTION]

Can you export your hosts sources in a plain text file?
[Android Apps and Games] FlanjeUK:
Not that I know of, but they're all listed here :)

Apart from adblock.mahakala.is but there it is to copy/paste :P
[Android Apps and Games] TheLucidEnhancer:
If I already have the Play Store version, do I have to uninstall it first ? Thank you !
[Android Apps and Games] Pons:
Yep, because they have different signatures.
[Android Apps and Games] Bradden1:
HotukDeals

Hi

I've updated to 4.4.2 and since the adaway seems to be blocking the HotUKdeals app.. I've logged DNS requests and added to white list but it still blocks it.. anyone else having the same problem?
[Android Apps and Games] Nic2215:
just so u know there's an update 1.71 in xposed...
[Android Apps and Games] feromoni:
I have a problem with AdAway force closing in the Applying stage. I've tried all the versions in the OP and changed the permissions on the hosts file with no luck. Using OmniROM with S3 I9300. Any ideas?
[Android Apps and Games] DecypherT:
Did you also try the "d4rken" mod?

This release should fix your issue.

Send from my Nexus 4
[Android Apps and Games] feromoni:
Yes I did, doesn't help.
[Android Apps and Games] TotallyAnxious:
When you switched to the d4rken one did you clear app data before uninstalling the new one and reboot before installing the d4rken one? That's what fixed my problem.
[Android Apps and Games] Pkt_Lnt:
Yes,I know, using it for nine days, that is how I knew and posted here. That thread is shut down again and who knows if development continues or not. If a new version shows up in the repo, I will know.
[Android Apps and Games] feromoni:
I reinstalled the app and didn't restore data from an earlier version this time and it worked. Thanks! Now I just have to input hosts and lists again, which I was trying to avoid.
[Android Apps and Games] 1droidmod:
I have had this issue for 2 days now. FC at the end during the last stage. Right now I uninstalled Adaway with tb (left my 1.6mb host file alone) downloaded d4rkn installed opened it up, updated fast and smooth and applied successfully. I never rebooted or cleared anything before/after uninstall/Reinstall.. only once new download applied successfully..

HTC one m8 vzw

hit ThAnKs if I was helpful!!!
[Android Apps and Games] penfold:
Adaway now only works on wifi, but I'm seeing ads on data connection?

Whats the point of that ....need ads turned off on my data connection not wifi
[Android Apps and Games] Pons:
Depends on how your provider routes the traffic. Try logging DNS requests.
[Android Apps and Games] penfold:
Thanks, that worked, removed the proxy from the data connection settings
[Android Apps and Games] swat4samp:
I'm starting to see ads in apps which weren't shown before. Logging DNS request also do not work. What should i do? Should i disable and then check dns requests as stated somewhere?
[Android Apps and Games] DecypherT:
did you add some optional hosts? a few pages back you can find a url to the github page.

Maybe that will work.

Send from my Nexus 4
[Android Apps and Games] swat4samp:
I didn't add anything. I always use default hosts. The problem is when i click on tcpdump, it turns on but when i go back and check again, it's turned off automatically :confused:

I even disabled adaway and checked but still it didn't work
[Android Apps and Games] marciozomb13:
No
[Android Apps and Games] ktmom:
If you log the DNS requests, then whitelist those requests for the apps, you can effectively remove them from blocking. See the Adaway DNS Logging wiki.
[Android Apps and Games] PerfectSlayer:
You guess it right. At the start up, you can choose between root and vpn blocking methods. Otherwise, the UI and behavior stays the same :D

Root blocking method is faster and battery friendly but require root and writable system, typically Magisk.

But with the possible coming limitations (SafetyNet, improved security in next Android versions) it could be the right time to provide an alternative option.

VPN blocking method provides a good compatibility as it is offered by the system but has some limitations like only one VPN at the time and it runs in background.

I also researched how to use the new private DNS settings and DNS over TLS the past years but nothing really works without root...

It's a thing that will be easier to achieve with VPN blocking. I just finish the UI to exclude the app you want.
[Android Apps and Games] dhacke:
[MENTION=2822685]PerfectSlayer[/MENTION]

Regarding Private DNS and VPN blocking mode:

Mayby the devs of Blockada know a way. I believe they have the same problem.

And thx that you offer the root method parallel to the vpn method in the next version. So every user can decide which method he prefers.

(I will remain with root method because i don't want to sacrifice the private dns:D).
[Android Apps and Games] PerfectSlayer:
It's on my todo list to forward VPN intercepted DNS requests to a custom private DNS (chosen by user from settings).

The only limitation is you will have to disable it from Android preference as I don't want to intercept and break secure DNS requests then enable it in AdAway.
[Android Apps and Games] dhacke:
So the dns requests goes to the dns server which the user configured in AdAway. And are these requests then encrypted or not?

That part isn't completly clear to me yet.
[Android Apps and Games] rocciacoraggiosa45:
[MENTION=2822685]PerfectSlayer[/MENTION]

Method from [MENTION=6617276]ktmom[/MENTION] work good

---------- Post added at 10:20 PM ---------- Previous post was at 10:19 PM ----------

[/COLOR [MENTION=2822685]PerfectSlayer[/MENTION]

Method from [MENTION=6617276]ktmom[/MENTION] work good
[Android Apps and Games] Josh McGrath:
Im on the latest build and update regularly but some ads are slipping through on certain apps. For example I use seetv (old phone cam app) and ads break through all the time, but are Google add while webpage ads are consistently blocked.

What can cause this? I can't figure it out.

OnePlus 7t, rooted running Android 10 and I have selected systemless on both magisk and adawa.

Search feature times out for me so I'm sorry if it's been asked before.
[Android Apps and Games] dhacke:
As far as i see it there are one of these reasons which can cause your problem:

1. The ad domains don't exist in one of blocking lists and you must add them manually in the custom entries menu of AdAway.

2. The ad domains are hardcoded over IP adresses. In that case AdAway can't help because AdAway only look at dns level. Better use AfWall+ as extra layer to block the unwanted IPs.
[Android Apps and Games] MMN:
So far I have used adaway with custom roms without any problems.

But on my new MIUI (v11) autostart of the web server does not work: I always have to start the web server manually.

Unfortunately I have not found a suitable solution so far. Does anyone know one?

Update:

I didn't see the possibility to "autostart" each app with the built-in appmanager.

Now it's working.
[Android Apps and Games] vatsal_chandan:
As far as I know there is option to log dns requests but is it possible to add feature which shows if particular dns request is blocked or allowed so we can take action according to it ?
[Android Apps and Games] Frog$kyWater:
How to manage per-app with AdAway ? gotta find the hosts my apps use and delete them from the file ?
[Android Apps and Games] zgfg:
There is a white-list option to enter hosts you want to enable (will be kept after updating hosts file)

Discussed in the thread, find in Wiki, but straightforward in the app to list - reboot afterwards
[Android Apps and Games] Obito_Sama:
I installed ENERGYZED Unified pack and it's working fine...

I'm not only concerned about ads, but also malwares ,adwares, trackers, popups, statics and in app ads.

I want to know what are the best hosts to use along energyzed and adaway's hosts and thank you for this great project
[Android Apps and Games] Frog$kyWater:
Yeah perfect i'll check that asap

Thank you sir
[Android Apps and Games] Sage:
Any chance of expanding adaway to include malicious ips? Would be an amazing addition. Even if only optional.

I can only imagine it would not be hard to implement as it's just another ip source.

What do you think? [MENTION=2822685]PerfectSlayer[/MENTION]

---------- Post added at 11:07 PM ---------- Previous post was at 11:07 PM ----------

Any chance of expanding adaway to include malicious ips? Would be an amazing addition. Even if only optional.

I can only imagine it would not be hard to implement as it's just another ip source.

What do you think? [MENTION=2822685]PerfectSlayer[/MENTION]
[Android Apps and Games] PerfectSlayer:
I agree. That would be an amazing feature. But like the current adware feature, it miss frequent update of the ISP / database...

That the most difficult part. Otherwise, the feature is not relevant.

About privacy, I would also like to work with Exodus Privacy team to see if we can do some stuff together but I never had the opportunity to talk to them yet.
[Android Apps and Games] TotallyAnxious:
You should send everyone a free pihole with all the money you make maintaining adaway. Lol
[Android Apps and Games] Sage:
yeah makes sense..

I just added:

https://github.com/stamparm/ipsum/raw/master/ipsum.txt

As my own custom source of malicious IPs and it worked! So hopefully that may do for the time being.
[Android Apps and Games] TotallyAnxious:
https://github.com/r-a-y/mobile-hosts

Not quite sure how much malicious stuff in these, but I rarely see these mentioned.

Plus not even Steven black has everything these do. I don't personally use these, just Steven Black and a huge whitelist lol
[Android Apps and Games] Sage:
Didnt know about Steven Black mate. Will check it out. Thanks
[Android Apps and Games] Wolfcity:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[Android Apps and Games] knpk13:
Mistake: Deleted
[Android Apps and Games] jcmm11:
Note that the "default" version of Steven Black does include malware blocking (from "Malware Domain List")

For all the possible different flavors see

https://github.com/StevenBlack/hosts/blob/master/readme.md
[Android Apps and Games] stilkus:
I just Upgraded my pocophone to Android 10 and since then AdAway isn't able to Update my hosts file anymore!
[Android Apps and Games] dvhttn:
Please 'search' ......
[Android Apps and Games] guest4711:
Install Magisk, enable 'systemless hosts in Magisk Manager', reboot and try again.
[Android Apps and Games] stilkus:
I already had Magisk, enabling systemless hosts worked. thanks !
[Android Apps and Games] anuradha96:
I did this in my One Plus 7T and still some ads appear when using chrome. Any solution?
[Android Apps and Games] mohdschizo:
Im on op7t too but no ads dare to appear

Below are my hostlist if its help
[Android Apps and Games] zgfg:
For Chrome you need additional steps

https://xdaforums.com/showpost.php?p=80526823&postcount=2

If you search back in this thread about Chrome you will find the discussion
[Android Apps and Games] coukou:
Hello,

I have been using AdAway for a long time with my rooted Galaxy Note4.

I have just bought the newest Galxy S20 Ultra non-rooted. Do you think I can use AdAway? if not which app do you recommend

Regards
[Android Apps and Games] Oswald Boelcke:
AdAway must be able to modify/edit the hostsfile, and this is only possible with root. I apologise but it means you can't use AdAway on your new device. I suggest to have a look at M66B's products. I'm convinced you'll find something of your desire.
[Android Apps and Games] guhvanoh:
For my non rooted devices I use Blokada.
[Android Apps and Games] Ultramanoid:
Open source, free, and you can use the same hosts file you were using :

https://xdaforums.com/android/apps-games/app-dns66-source-host-ad-blocker-root-t3487497
[Android Apps and Games] andy356:
I prefer Personal DNS Filter over DNS66. It has all of the latter's features, plus DNS over TLS/HTTPS, a visible log of connected domains, and CNAME uncloaking that uBlock Origin also introduced recently. If you need DoT/DoH on Android versions below 9, you can use it in conjunction with AdAway! Just disable blocking so AdAway can handle that part.

DNSfilter (DNS request based Host Blocker over local VPN using a Blocklist) - https://f-droid.org/app/dnsfilter.android

And it somehow manages to pack all that in a measly ~200 KiB.
[Android Apps and Games] jawz101:
Personally, I think malware lists are pointless. They are likely old domains for viruses that ran on Windows computers.
[Android Apps and Games] DiamondJohn:
yes, that's where most malware is targeted, and yes, these guys are not the most "stable"/"steady" group of domains. However, its also the one in a million that will get you. Since its no real work on my part (I add my malware list once) and I cannot detect any slowdown personally with a larger host file, i have a malware inclusive list or two in my build of host files. So, close to pointless maybe, but not necessarily completely pointless.
[Android Apps and Games] guest4711:
AdAway needs root. If you don't have root using an app which uses an internal vpn to filter dns requests us a good choice. Have a look onto DNS66 (Block ads/hosts via DNS) - https://f-droid.org/app/org.jak_linux.dns66 - and Blokada v4 (ad blocker) (The ad blocker - battery efficient, fast, powerful and simple to use) - https://f-droid.org/app/org.blokada.alarm .
[Android Apps and Games] zgfg:
For the matter of fact Blokada also utilizes private VPN like DNS66.

I tested both over time and didn't find any differences in battery usage.

And despite their advertising of being simple to use, for me DNS66 is simple and yet efficient (or I was already accustomed to).

So I rather use DNS66 on my not rooted phone, but I definitely keep using AdAway on my two rooted phones :)
[Android Apps and Games] replica9000:
I just updated the hosts file, and one of my apps stopped working. The app doesn't display any ads. How can I find out what connection(s) i need to whitelist have it work again?
[Android Apps and Games] marciozomb13:
Read the op and wiki dns logging.
[Android Apps and Games] zgfg:
Go to OP post #1, find a link to Wiki, read and follow
[Android Apps and Games] replica9000:
Thanks. I forgot to disable adaway before logging dns requests. App fixed!
[Android Apps and Games] coukou:
TNX all for yr advices ;)

I'll test both DNS66 and Blokada
[Android Apps and Games] rxk:
Adaway not working on my rooted galaxy s20 ultra... unable to get write access to system.
[Android Apps and Games] marciozomb13:
Because Android 10+ doesn't allow you to write in system. Use systemless host option.
[Android Apps and Games] rxk:
can you recommend app that works on android 10
[Android Apps and Games] zputnyq:
You could try activating systemless host module in magisk's settings then enabling systemless mode in adaway's preferences. If it doesn't solve your problem, there were some apps mentioned on this thread that you could try.
[Android Apps and Games] martyfender:
You must also reboot after enabling systemless hosts module, for the changes to take effect.
[Android Apps and Games] Ps24u:
Please fix "hosts-file.net", this is currently not responding / timing-out.
[Android Apps and Games] blacksmith_tb:
Can confirm, hosts-file.net has been 404ing for days

$ curl -L https://hosts-file.net/ad_servers.txt
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>

In the short run, I would suggest going into Hosts Sources and unchecking hosts-file.net for now, you could replace it with another source like https://someonewhocares.org/hosts/ etc. if you are worried about gaps.
[Android Apps and Games] androcraze:
Interesting.... I'm getting redirects to a malwarebytes.com webpage:

https://www.malwarebytes.com/browserguard
[Android Apps and Games] andy356:
hpHosts is gone forever. MalwareBytes bought them several years ago, and now they've taken it down and apparently (according to a link I found on reddit, I think) integrated it into the browser extension the user above mentioned.

uBlock Origin has already removed it from the list of filters.
[Android Apps and Games] Anakill:
Hello,

I've been using Adaway for a long time on each of the devices I've had. Recently I switched to a Mi 9T and I don't know if it's related but most Facebook videos (videos in Facebook watch, videos in stories, and simple videos in my feed) won't play with Adaway on. Videos keep buffering and never play.

I've tried to disable ad blocking in Adaway and then videos played OK back again.

I hope the subject hasn't been discussed before. I've search the whole thread but found nothing.

By the way, it's the same issue with Facebook Lite and when I go to Facebook in Chrome.

Thanks for the help.
[Android Apps and Games] androcraze:
If hosts-file.net is dead, then [MENTION=2822685]PerfectSlayer[/MENTION] will need to modify the defaults included with AdAway.

Perhaps Steven Black's list will be the new standard.

EDIT: I'm seeing an issue filed on Github, https://github.com/AdAway/AdAway/issues/1620
[Android Apps and Games] PerfectSlayer:
Hi [MENTION=5061138]androcraze[/MENTION] !

We are currently discussing the issue with [MENTION=1813256]jawz101[/MENTION] to see what to do.

There is two options: replace it by a new one to be choosen or simply remove it.

As jawz101 did a great job to upgrade the AdAway list, I think it is the best to choose what to do.

For users that really bother to have a host failure, just disable it.

I am not the owner of this hosts file so I won't be able to bring it back.

Overall, I having hard times to finalize a pre-release for the V5.

I finish the changelog tonight and fix some bugs related to related to production build.

Backend server is running since this weekend (dns and tls certificate are okay).

So users (like [MENTION=1102057]coukou[/MENTION] [MENTION=2486735]rxk[/MENTION] ) with writable system issue (despite of magisk updates) and Android 10 should have a look at it.

I'm doing my best to release it as there is more and more user complains but it's really not easy nowadays.

Covid19 is striking hard here and remote work takes a lot of time and energy. That lefts me not as much spare time as I want... So stay tunes!
[Android Apps and Games] androcraze:
Absolute foolish question....

AdAway has two lists outside its "jurisdiction" defined and defaulted to "on" (hosts-file and yoyo). Why?

Why not have an active list of hosts sources included with the AdAway app (probably everything active that's listed in the wiki), but only have the AdAway.org hosts file "checked" or enabled? Users could could toggle and un-toggle from the list to their heart's content. Of course, the option to add custom host source entries would still be there. Maybe a link at the top of the sources list ("Information about this list, click here") that points directly to the wiki?

Hosts sources come and go, and perhaps the app needs to be a little more dynamic in offering host sources; maybe it could download an updated list of recommended sources from the AdAway website (it would have a default, built-in failsafe).
[Android Apps and Games] Fleuvesanseau:
Hello,

I dont know why adaway 4.3.2 doesnt block any ads since yesterday. I'm using Steven's unified hosfile and the problem doesn't seems to come from there too becasue i changed for another one and adaway still don't work.

So i reverted to adaway 4.2.8 and now everythings work great again. I dont know why but i just wanted to let people know, maybe someone will have the same problem.

Thank you for your work :good:

Xiomie mi9, xiomie.eu rom, magisk 20.4, android 10
[Android Apps and Games] DiamondJohn:
AdAway does not block ads. The resultant host file (built by AdAway) is what blocks the ads. Once you have a "working" host file, you could uninstall AdAway, but the host file will get old over time, and become less and less effective.

Also, if you are using systemless hosts, you will need to reboot to see it actually take effect.

To actually see if there is a difference, you will need to compare the host file between the versions.
[Android Apps and Games] PerfectSlayer:
Hi all,

I hope you are all going well in those difficult times...

Everything is getting ready for a V5 beta but I wanted to address an update for the stable branch before.

So here it is, it mainly fixes the absence of hpHost service. It is replaced by StevenBlack hosts for new users.

If you would like to update, I would recommend to update your hosts source from https://hosts-file.net/ad_servers.txt to https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts .

It won't change user existing settings (on purpose).

About downloads, there is now a useful permalink to the latest stable build: https://app.adaway.org/adaway.apk and they now will be stored within GitHub releases.

About F-Droid download, it doesn't change anything.

Take care of yourself :highfive:

Changelog:

Replace hpHosts default hosts file by StevenBlack hosts file

Improve tcpdump icons

Update translations

Thanks:

Special thanks to damoasda for its contribution and gallegonovato for its helpful bug report.

Download:

AdAway 4.3.3 (sha2: 27e85209d0d85b97751afe009c3a1eb6db7dd0fa89cd352d5785654c15edb070)

P.S. : Oh yeah, I forgot... I might go live from time to time during app development. Not sure of what will happen but it could be nice to say hi to some of you during containment... Past videos won't be available but if you are lucky, you can find me here: https://www.twitch.tv/tperfectslayer