yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Morghoth:
Firstly, sorry for bothering you because this seems to be a ROM issue. Yet Adaway is the only app not properly working after a ROM update.

Here is a sum up of my problem:

After an clean update (wipe data, cache, system) from unofficial LOS 15.1 to official LOS 15.1, Adaway is not working, no matter the version.

Adaway says that ad-blocking is enabled even though adds are still in every app.

Root:

I have tried both default root from LOS and the latest Magisk 19.3 with systemless plugin. No change. Other apps requiring root are woking fine.

Systemless mode can be selected in Adaway 4.2.5. Not in Adaway 3.3 (the option is dim).

Symlink:

Changing the target directory hasn't done anything. Adaway says that applying Symlink was successful but after reset adds are still there.

In the attachment there are both the hosts file and my catlog. Hosts file seems to be edited successfully by Adaway. In Total Commander it shows -rw-r--r--.

These instructions require some previous knowledge and I am not sure if inserting the command into Twrp terminal is the whole thing...?
[Android Apps and Games] guest4711:
Did you make sure you have no procies defined in your APN settings? Hosts based ad blocking does not work if hosts file is ignored (e.g. when using a VPN or proxies).
[Android Apps and Games] Morghoth:
In settings > networks > access points there is only apn that is used to connect to my carrier network (3G, LTE...). I was using it on my previous ROM without problems with Adaway. Also no VPNs in use.
[Android Apps and Games] guest4711:
Did you verify this APN has no proxies defined, even in your current ROM.
[Android Apps and Games] githyanki:
You have to "edit" the APN to see if there a proxy listed. It may be wrong in the new ROM.
[Android Apps and Games] jcmm11:
Well based on the hosts file you attached AdAway did it's job. Hosts file is populated with entries from AdAway.

So your problem lies elsewhere. Either hosts is somehow being bypassed or you're hitting sites that aren't flagged by the blacklists you're using (unlikely since you say it worked previously)
[Android Apps and Games] vurtomatic:
Does anyone know when the latest version can be updated via F-Droid?
[Android Apps and Games] c_86:
I'm getting really tired of this ****.

I am constantly getting ads. In Pinterest. XDA. Chive. Facebook. Browser. Everywhere.

I have the latest adaway. Systemless. With the following hosts (see attached image)

No matter what i so nothing works. This is beyond frustrating at this point.

Suggestions on how to get this to actually work. Or maybe something else all together that actually works?
[Android Apps and Games] githyanki:
There has been several posts about things to check if adaway is not blocking ads anywhere. Can you tell is what you have checked? If you need a list of things to look for check FAQ, or search, or look at the last few pages.
[Android Apps and Games] Android.Sysop:
Thanks for the advice. I have tried this, but even if I put all requests in the "positive list", playing the "right movies" in SkyGo does not work, only the playing of the "commercials" works. I disable the AdAway, SkyGo works correctly. The host file is created "systemless".
[Android Apps and Games] PoochyX:
The engerized host files are like the best recommendation to use them just the lite version one does the job

([emoji3590]9/[emoji725]/9[emoji3590])
[Android Apps and Games] Morghoth:
Proxies: not set. The most likely variant is that during boot hosts are somehow omitted, as mentioned. Not sure how I include it.
[Android Apps and Games] Android.Sysop:
Which "lite version", into AdAway config use only the adaway host source?
[Android Apps and Games] Oswald Boelcke:
I'm personally not using that source but I assume (although not convinced) he means "EnergizedHosts" from here: https://github.com/EnergizedProtection/EnergizedHosts

Taken from above linked page, this is the link to "Energized Lite": https://raw.githubusercontent.com/E...zedHosts/master/EnergizedLite/energized/hosts
[Android Apps and Games] touchbattle.mika:
Does anyone have any idea on how to completely block jwplayer videos please? They are primarily ads and nothing of value will ever be lost if they are gone.
[Android Apps and Games] andy356:
Put jwplayer.com into your blacklist and see?

https://developer.jwplayer.com/jw-platform/docs/developer-guide/delivery-api/embedding-players/
[Android Apps and Games] githyanki:
What size is the /etc/hosts file? If adaway did it's job, it is larger than 10k.
[Android Apps and Games] Morghoth:
Hosts is 1.5MB. It seems to be ROM related issue.
[Android Apps and Games] touchbattle.mika:
Already did that to no effect.
[Android Apps and Games] DiamondJohn:
Have you tried pinging one of the blocked hosts?

I had an issue where the hosts were blocked when I was on wifi but were not blocked when on mobile data. I explicitly set the DNS while on mobile data, and viola, the hosts were blocked on mobile data as well.
[Android Apps and Games] jcmm11:
Try "jwpsrv.com", "jwpltx.com", and "i.n.jwpltx.com"
[Android Apps and Games] touchbattle.mika:
Still nothing. I'm interested in blocking pwplayer videos as used on the gizmodo media group sites. Kotaku.com, gizmodo.com, lifehacker.com, etc.

Whatever their implementation of jwplayer is, it also bypasses the opera web browser ad blocker.

While the videos don't start auto playing, whenever you scroll past them, they start buffering, uselessly eating up both data from the data cap and power from the battery.
[Android Apps and Games] andy356:
https://support.jwplayer.com/articles/how-to-configure-dns-masking

It seems this is not a problem you can solve with a hosts file. You probably need uMatrix or NoScript blocking media content on untrusted sites.
[Android Apps and Games] touchbattle.mika:
Not exactly am option on android now is it? Even with dns masking, it should still be possible to block it on the hosts file level, once the relevant links are discovered. Problem is, even with the instructions, I don't know how to find what those are.
[Android Apps and Games] Ultramanoid:
Use Firefox ( I suggest F-Droid's Fennec build for the minimum / disabled telemetry and tracking ) + uMatrix. Or even with just uBlock Origin, works as well.
[Android Apps and Games] cultofluna:
How to block xda ads?

any suggestion?
[Android Apps and Games] andy356:
https://xdaforums.com/android/apps-games/labs-t3241866/post63676332
[Android Apps and Games] Oswald Boelcke:
One possible and pretty successful solution that also supports this great world-wide forum we ALL benefit from: https://xdaforums.com/ad-free/
[Android Apps and Games] cultofluna:
If i wanted to pay i wouldn't ask buddy...
[Android Apps and Games] Oswald Boelcke:
In deed, I had zero doubts about that. Gratefully, this site has exactly at this moment 9,748,340 members, of which 25,344 are online. Certainly a few of them are happy to support this forum in that way that also you can benefit from it. I'm convinced nobody is going to refrain from supporting and helping you if required despite this stance.

[MENTION=2822685]PerfectSlayer[/MENTION] I apologise for this off-topic post but I could refrain from sharing my very personal two cents.
[Android Apps and Games] JAYNO20:
I'm still getting ads present while Adaway is working, has root access, and IS updating the hosts file. Chrome data saver is NOT on and I have NO proxies enabled under APN. Ads happen on wifi or 4G. I've added Steven Blacks host list and ads still remain. What else can I try?
[Android Apps and Games] manojl76:
Facing same issue in my s8+ and my s10+ only difference its my host file in s8 its 1.70mb and in s10 it's 2.15mb
[Android Apps and Games] JAYNO20:
It's odd because my friend with the same phone, same rom, same everything, has his ads blocked. I can't figure it out.
[Android Apps and Games] manojl76:
In my s8 I have custom rom I was thinking that could be the problem but in my s10 i have stock firmware with root and I see I have problem with ads too dont know what to do more
[Android Apps and Games] cultofluna:
Thanks but no..

I'll not buy
[Android Apps and Games] jcmm11:
[MENTION=2687676]JAYNO20[/MENTION] [MENTION=5749782]manojl76[/MENTION]

Just guessing here. Under preferences have you enabled ipv6?
[Android Apps and Games] manojl76:
I have
[Android Apps and Games] andy356:
[MENTION=2822685]PerfectSlayer[/MENTION] The F-Droid build is failing for some reason.
[Android Apps and Games] JAYNO20:
I do have that enabled, yes.
[Android Apps and Games] Nergal di Cuthah:
More clearly, what do you mean by"failing"
[Android Apps and Games] DiamondJohn:
Have you tried pinging one of the hosts that are being blocked in your hosts file? This will test if its actually using the hosts file. I had an issue and changing my DNS server for mobile data fixed it.
[Android Apps and Games] JAYNO20:
I just tried and sure enough it went through so it must not even be looking at my Host file... I'm on wifi 90% of the time, though. Would the mobile data DNS info still affect me while connected to wifi?
[Android Apps and Games] DiamondJohn:
I can only go by what I know which is by what I have experienced. So, when I set up my WiFi, I had the DNS server set to either google (8.8.8.8, 8.8.4.4) or that other one (1.0.0.1, 1.1.1.1), and ads were blocked perfectly. However, when I left my WiFi, the DNS changed, most likely set by my mobile provider. You can check your current DNS server using ADB (dont know the command off the top of my head) so I use this app I built

https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260

You will find it in the menu under

Current Running>Network>Current DNS

I also use the following to get some info on my Hosts file, and compare the results between builds of the hosts

Various Ungrouped Extras>Host File Check

But thats only of any interest if its being used.
[Android Apps and Games] andy356:
https://f-droid.org/wiki/page/org.adaway/lastbuild
[Android Apps and Games] Nergal di Cuthah:
Just say what you mean I don't think having a link is clear.
[Android Apps and Games] jcmm11:
If you look at that link it's clear what he means. AdAway for F-Droid isn't building correctly but is throwing errors
[Android Apps and Games] andy356:
I'm just following the sound literary advice of "show, don't tell." ;)
[Android Apps and Games] JAYNO20:
I don't understand why I would have to do any of this if no one else really has to. I feel like I'm missing something simple...
[Android Apps and Games] DiamondJohn:
Every phone is a different device, running a different ROM, configured differently, connecting to a different mobile data provider etc etc etc.

As I said above, I had to change my DNS server on the same phone I am using now, but did not have to do it previously or now. There are soooooo many different variables that control how your phone works, and therefore what you may have to do to get the same behavior as someone else.

If you read this thread other people have had to do things that not everyone else has to.
[Android Apps and Games] gil80:
hi guys.

flashed a new ROM on my 1+1. Using TugaPower (Pie 9) latest build.

Have Magisk installed.

I grant SU for AdAway but after it's applying the host files and I reboot the device, I then launch the app again and I see:

Disabled

Default hosts file installed.

I'm using Adaway version 4.2.5

Can someone help please?
[Android Apps and Games] zputnyq:
Have you enabled systemless hosts, both in magisk (settings) & adaway (preferences)?
[Android Apps and Games] dimm0k:
the non-d4rken version of this app was working fine for me, but lately whenever I try to update it'll go through the motions and somewhere during the build it fails. After that if I choose to download and update again it works fine... anyone else have this?
[Android Apps and Games] swat4samp:
Anyone :(
[Android Apps and Games] Hgneto:
I have white listed everything that appeared in DNS log requests when I had CNET open and still doesn't show the video or the pictures.. If anyone find a solution please tell.
[Android Apps and Games] arvansome:
I had the same problem, so i tried the d4rken version and it works fine. If i remember correctly it was something about not being able to write to the hosts dir, the d4rken's version fixed it, at least for me. :)
[Android Apps and Games] dimm0k:
odd... I wasn't sure whether I needed the d4rken version or not so I had started with the unmodded version and that worked right off the bat and even after a few updates until now. Thanks, I'll give the d4rken version a shot!
[Android Apps and Games] Hgneto:
Any updates with the CNET App? Btw BBC news videos also not loading.. (already white listed everything that appeared in the logs)
[Android Apps and Games] melvinaury:
I finish using the Web base CNET page. On the mobile app I can't see the pictures. One thing that I don't understand is that the Spanish version work perfect.
[Android Apps and Games] Hgneto:
Weird.. I'm Portuguese and I understand Spanish, but I prefer to see the news in English.. Let's wait, maybe someone can solve this. Regards
[Android Apps and Games] FrutasX:
It is working on chrome?

Thanks
[Android Apps and Games] visceralpsyche:
Yes, it's system wide. With Chrome though, make sure you disable the Bandwidth Management setting, otherwise you won't see any benefit because that causes Chrome to bypass the system host file. HTH!
[Android Apps and Games] FrutasX:
Many Thanks!

LG G Pad with TapTalk Pro
[Android Apps and Games] :
This app still seems to have trouble applying the host file on KitKat.
[Android Apps and Games] Lord Takyon:
Read the first post again and you will receive your answer.

Use the mod version :)

Sent from my Z1 via transwarp conduit.
[Android Apps and Games] :
Oh yeah, that's what I'm after. Thanks!
[Android Apps and Games] kingvortex:
One of the default host file providers (I'm not sure which) has added tapatalk.com to their list, therefore blocking all images and links from the Tapatalk app, so I've had to whitelist it.

Just a heads up for anyone having problems.

Edit - The provider that added it is hosts-file.net.

Here's one example - http://hosts-file.net/default.asp?s=support.tapatalk.com

Apparently, the Tapatalk support forum is an ad tracking server. :rolleyes:

Edit 2 - I joined their forum and requested the removal of all Tapatalk related URLs from their host file.

It appears that they added them just because someone was annoyed by the popup advertising Tapatalk when visiting a forum (that the forum admin can easily disable).

Mega facepalm moment from someone that supposedly only adds verified URLs to their host file that is relied upon by many.
[Android Apps and Games] Skripka:
Strange I just updated hosts today, and most of the images in a "post your homescreens" thread looked to work fine. Hmmmm.
[Android Apps and Games] kingvortex:
Perhaps I should have clarified. It will only affect images hosted by Tapatalk. Also, when you click an outside link from the Tapatalk app, it's redirected via link.tapatalk.com and therefore will not load.

Search your hosts file and you will see multiple entries for tapatalk.com in there.

I only updated a few minutes before posting so maybe they were only added very recently.
[Android Apps and Games] Pons:
To work around this, try an Xposed module Crappalinks by GermainZ which strips out the redirect through tapatalk servers, among others. So it sends you to the link directly.
[Android Apps and Games] bberryhill0:
Support.tapatalk.com is also blocked. That's the forums. I reverted.

Swyped from my Verizon LG G2 using Tapatalk 4.4.13
[Android Apps and Games] kingvortex:
Thanks for the advice, but I simply whitelisted the tapatalk.com domain. I only posted here to inform others, as I know many others use Tapatalk. :)
[Android Apps and Games] gil80:
No I didn't enable such option in both apps..
[Android Apps and Games] zputnyq:
You can try enable it :)
[Android Apps and Games] PoochyX:
That doesn't really help him in any case the host file still should of installed yo the system

Thot Conqueror
[Android Apps and Games] zputnyq:
Not really
[Android Apps and Games] PoochyX:
Right cause if he has any magisk modules installed he's not able to write to the system cause of the magisk modules hence he needs systemless

Thot Conqueror
[Android Apps and Games] Wolfcity:
Activate systemless hosts in the magisk module section and in adaway's settings as written before and you should be good to go.

If you still have problems try v4.2 4, some users have problems with the latest build.
[Android Apps and Games] JAYNO20:
After changing DNS server to Googles and OpenDNS, I'm still getting ads. Anyone have any input as to why this would be?
[Android Apps and Games] Nergal di Cuthah:
Where are you seeing ads? In apps? In browser?
[Android Apps and Games] JAYNO20:
In browser. No data saver turned on.
[Android Apps and Games] Nergal di Cuthah:
What host sources do you use?
[Android Apps and Games] JAYNO20:
Default with Steven Blacks added.
[Android Apps and Games] banesi:
can we block ads inside Instagram app?
[Android Apps and Games] jcmm11:
Example of site where you see ads?
[Android Apps and Games] JAYNO20:
https://ads-blocker.com/testing/ and of course XDA.
[Android Apps and Games] PoochyX:
Have you tried the engerised host file just using the using the spark one and it's working wonders for me

Thot Conqueror
[Android Apps and Games] DiamondJohn:
This user previously could ping a host that was in their host file. I would guess that its NOT the contents of the host file that is their issue.

As before, simply try pinging a host that is in your host file. If that gets through, which host file source you use becomes irrelevant.

How did you check that that the DNS you specified was actually being used? how did you change your DNS? Not sure if it would help, but maybe a traceroute might give some extra info. For me, I had to change my DNS (both in my build props and with set props) I covered all the following networks on my phone

net.dns1
net.dns2
dhcp.wlan0.dns1
dhcp.wlan0.dns2
net.ppp0.dns1
net.ppp0.dns2
net.rmnet0.dns1
net.rmnet0.dns2
net.rmnet1.dns1
net.rmnet1.dns2
net.pdpbr1.dns1
net.pdpbr1.dns2
net.eth0.dns1
net.eth0.dns2
net.rmnet2.dns1
net.rmnet2.dns2
net.wlan0.dns1
net.wlan0.dns2

Maybe a little overboard :o, but it worked for me.
[Android Apps and Games] PerfectSlayer:
Hi all,

While V5 is still on its way, I don't forget the V4.
[MENTION=7570546]andy356[/MENTION] ping me about F-Droid build server issue so I backport the fix from V5 to V4. I hope it should be working now.

I also got a contribution from RichyHBM which adds hosts source backup. I merged it and finally implements a more complete backup feature.

It now saves user lists (blacklist, whitelist, redirection lists) hosts and statuses (enabled or not) and hosts sources (url and status too) in a JSON file.

JSON is more verbose than basic text file but more robust to parse. And it is still simple text format than users can edit. So I hope it will suit your needs =)

Changelog:

Improve backup feature (user lists and hosts source using JSON format)

Fix F-Droid build issue

Update translations

Thanks:

Special thanks to RichyHBM for its contributions and andy356 for its bug report.

Download:

AdAway 4.2.6 on AndroidFileHost (md5: 6e82061e612b5ce54d04018319c5eddf)
[Android Apps and Games] guest4711:
Thanks for the update and the new complete backup. It would be fine if AdAway could import the old AdAway-export file (from previous version) too....
[Android Apps and Games] DarwinJ94:
I have my phone in Spanish and with this update the menus are still all mixed up and doesn't have any preferences menu.
[Android Apps and Games] Oswald Boelcke:
Did you contribue to the Spanish translation as it was requested here due to the mentioned issue?
[Android Apps and Games] DarwinJ94:
Thanks for bringing that up, I didn't saw that in previous posts. I just translated a bunch of stuff that needed to. Hope this helps!

EDIT: I'm using 4.2.4 because latest isn't working properly with Spanish language and I'm still seeing a lot of ads in apps like XDA and others. I have defaults host plus Steven Black and Energized Spark
[Android Apps and Games] rocciacoraggiosa45:
Hi all, adaway cause permanent reboot my phone when connect Internet
[Android Apps and Games] marciozomb13:
Better you post the proof (logs).
[Android Apps and Games] rocciacoraggiosa45:
i not have logs i removed adaway and phone not reboot now
[Android Apps and Games] PoochyX:
Well obviously you don't have twrp else you wouldn't of wrote this... Guess you have to reflash your rom buddy

([emoji813]9/[emoji725]/9[emoji813])
[Android Apps and Games] kojak1989:
Visible translation strings in App menu
[Android Apps and Games] stormy_gale:
Thanks for your findings. These have helped with my issue quoted below. :good:

Intermittenly my Sky Q & Sky Go were reporting ' No Wifi connection' when you tried to play anything in the apps.

Could never get to the cause, everything else on my tablet worked ok to Wifi & my phone worked Ok to sky.

It reoccurred a couple of weeks ago so i disabled Adaway & voila both apps started working.

Not sure if it will help you but I've 'whitelisted' the following addresses in Adaway.

adserver.skyhookwireless.com

api.skyhookwireless.com

blog.skyhookwireless.com

bskyb.hb.omtrdc.net

bskyb.sc.omtrdc.net

config.sky.com

init.sky.com

my.skyhookwireless.com
[Android Apps and Games] auris1993:
When my phone(s8 if that matters) in non english language, adaway not display menu items
[Android Apps and Games] Oswald Boelcke:
This is a well known issue. In this regard, I replied just a few posts above yours: https://xdaforums.com/showpost.php?p=79780632&postcount=13467

Unless this is sufficient I suggest to use the great XDA search function.
[Android Apps and Games] Dor71:
Your response is OK but is not a solution. I uninstall adway because this.
[Android Apps and Games] Wolfcity:
Why don't you use English (shouldn't be so hard to remember the 6 entries) or contribute to the translation to your language?

It's absolutely your choice but there are not so many good ad blocking apps out there.

For me AdAway is one of the main reasons to root my devices. But as said above, it's up to you.
[Android Apps and Games] icke:
There's nothing more to say :good:
[Android Apps and Games] Oswald Boelcke:
I'm glad that you've appreciated my response, and I've to admit that the solution is slightly hidden in my response, which linked to another post. And that post again linked/quoted to the solution provided by the developer @PerfectSlayer himself here.

TL;DR! Support the translation to your language; and the issue is fixed in the next release.
[Android Apps and Games] gygabyte017:
Hi, is there a way to apply settings per-app? I mean, something like "Traffic must be ad-filtered for all apps, except for app X where all traffic must pass". This because maybe I want a specific app to show ads, but maybe that app shows ads from a lot of sites, and if I whitelist those sites then all other apps can show ads from those sites.

Thank you.
[Android Apps and Games] guest4711:
No, this is impossible for an adblocker that simply modifies the hosts file.

You should have a look onto apps which filter the traffic by simulating a vpn like dns66 - https://f-droid.org/app/org.jak_linux.dns66 - or blokada Blokada v3 (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] Porogami:
When I enable adblocking, it says symlink is missing and when I attempt to create one (in the prompt) it fails. Can anyone help me out? I'm on magisk 19.4, q beta 4 pixel 3.
[Android Apps and Games] jcmm11:
Did you enable system hosts in Magisk (and reboot after doing that)?
[Android Apps and Games] Porogami:
Ah yes, thanks that was it. Working perfectly now.
[Android Apps and Games] L.F.B.:
Hi guys, Any way to block these block adblock sites?

This Is all over places now... ?
[Android Apps and Games] Ultramanoid:
Firefox + uBlock Origin / uMatrix. AdAway is a hosts file manager.
[Android Apps and Games] L.F.B.:
How about this list? Im testing to see if it works...

https://easylist-downloads.adblockplus.org/antiadblockfilters.txt