yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] androcraze:
https://github.com/AdAway/adaway.github.io/blob/master/hosts.txt

Well, that is correct. Duplicate entries in hosts files due to one being a derivative of the other. So Steve pulls from that one. Heh.... Always wondered where those lists got their references from.

Could you post that as an issue at https://github.com/AdAway/adaway.github.io/issues ?

Are you saying that ads aren't getting pushed from particle.io? At some point, someone felt that ads were coming from there.... Is that no longer an issue?

EDIT: Nevermind. You folks have already added the request and some detail.
[Android Apps and Games] nansah:
Holy Smokes! It works like a charm now & I couldn't be happier! Thank a bunch, you are a lifesaver ☺️

If Adaway can put the app name by the numerous hostnames, that way we know which apps they are coming from, it will make the troubleshooting so much easier sans all the headache, lol

Thanks once again for the [MENTION=4201835]cnjax[/MENTION] clarification ??
[Android Apps and Games] ktmom:
[MENTION=2822685]PerfectSlayer[/MENTION], I realize you are working on the next major release, but I wanted to draw your attention to a nuisance [emoji39]. In the "your lists", if any of the lists are as long as the screen can display (or longer) the "apply" confirmation covers the bottom two entries.

Could something like, adding padding equal to the height of two entries be added to the end of the list so this doesn't happen, or make the apply confirmation only 1/3rd the width and right justified to allow access to those bottom most entries?

As always, thanks for keeping this project alive!
[Android Apps and Games] BlueMan_86:
Can you make AdAway more stealthly.. Because many site detect it and apps... So i think next step will be STEALTH :)
[Android Apps and Games] githyanki:
Sites may detect that you have blocked ad's, they shouldn't be able to detect what you have installed. No way to fix that with host based ad blocking.

Look into sandboxing the apps that are so invasive that they check for adblockers. Or find better apps.
[Android Apps and Games] ktmom:
Are you referring to the times that a website complains that you are blocking ads? Adaway can't help with that. How to block Adblock
[Android Apps and Games] andy356:
Firefox for Android + uBlock Origin + Nano Defender.
[Android Apps and Games] dhacke:
Just out curiosity:

What is Nano Defender?

And i would add one thing to Firefox for Android plus uBlock Origin:

uMatrix. It is developed from the same author as uBlock Origin and runs together with uBlock Origin but it allows a much more fine-granular control.
[Android Apps and Games] PerfectSlayer:
Yes, there is a github issue about this.

Don't worry, this part of this app is still there in the V5 so I need to fix it.

I still looking at how to fix it properly ^^' (any idea, I can't change the width of the confirmation snackbar...)

There was a big update of the source and this kind of issue was expected. Sorry for the annoyance.

But It was taken care of in the day so update should be coming quick to your users devices.
[Android Apps and Games] andy356:
It hides the presence of an adblocker from websites.
[Android Apps and Games] mrjuniork:
[MENTION=2822685]PerfectSlayer[/MENTION]

Really looking forward to seeing and trying out your AdAway5.. You are all doing this in your spare time, mostly you alone I assume, so I just wanted to let you know that I really appreciate your hard work and dedication for this so important project.

Keep it up :good:
[Android Apps and Games] godzulu:
Quick question - running 4.3.2 and canary magisk systemless. Adaway doesn't seem to save updates - the update doesn't stick after reboot. I've uninstalled, removed module etc. Any ideas? Thanks
[Android Apps and Games] jcmm11:
Did you reboot after applying the Magisk Systemless mod, but before applying Adaway updates?
[Android Apps and Games] godzulu:
Yes, but I'll try it again. :) Still messing with it
[Android Apps and Games] jcmm11:
Just for the record I have the same setup as you and it's working fine (stock ROM?)
[Android Apps and Games] godzulu:
I tried uninstalling/reinstalling again and everything is working. Weird, but all good. Thanks
[Android Apps and Games] javcarbe:
Is blocking the news republic app , how can I fix this issue
[Android Apps and Games] zgfg:
https://github.com/AdAway/AdAway/wiki/Solutions

In short, inspect DNS logs to find out which server(s) it looks for, then whitelist them

Read/search back in this thread about whitelisting - btw search for News Republic, it was already asked and answered
[Android Apps and Games] paul222008:
Does this block adds when playing videos on Facebook?
[Android Apps and Games] paul222008:
Is there a way to block those?
[Android Apps and Games] patrickdrd:
https://xdaforums.com/android/apps-games/bullshified-version-facebook-okay-to-t3586318
[Android Apps and Games] andreoide:
After apply new update and click reboot, my phone won't startup any more, not a bootloop but its starting up, than at the moment android lineage should start loading, it reboots in a continuous same way. Lineage 9.0 on sm-g901f kccat6 (Samsung s5plus)

Lucky me I made a twrp backup yesterday evening so I could restore to last night but now I'm afraid to use the app and update....

:crying:
[Android Apps and Games] JGradyO:
This does not sound like an AdAway issue at all. How could something that simply manages your hosts file prevent your ROM from booting?

Did you intend to post elsewhere?
[Android Apps and Games] andreoide:
Well how strange than I can boot my phone now over and over, just after doing the update again it fails the same way?

After the update the app ask me to REBOOT NOW and I use that, boot fail.

UPDATE:

After using the update, I did not click the UPDATE NOW method in app itself, I exit the app and use power on/off for option reboot.

No fail now, all good.
[Android Apps and Games] ktmom:
It would help development if you file a bug report here.
[Android Apps and Games] andreoide:
True, but I don't have it, option to make bugfile disabled..

To let you know, I think it was a one-time-accident, I updated today, AND used the build in REBOOT option like I always did before, all goes well and smooth.

I don't think its this app causing trouble, looking back now I think it was just an incident, and let's not hurt our brains for such a probably never returning event any more.

Let's just return and enjoy to our beloved adfree Android(s), and I thank you all for thinking with me and all concern.

:good:

Added 3 hours later (for info)

There was a new update, installed it as usually, no more problems. So I think it must have been a hickup of something internal in my phone.

:cowboy:
[Android Apps and Games] Spo0cky ^^:
Does adaway work with Android 10 ?
[Android Apps and Games] zgfg:
Pls put 10 to the search box (top-right) and find posts about Q
[Android Apps and Games] dhacke:
It was already mentioned several times here in the thread but for safety:

Be sure that you use systemless mode in AdAway and that the Magisk Module "Systemless Hosts" is active.
[Android Apps and Games] Spo0cky ^^:
Thx dhacke, that helped me a lot.

Greetz Spo0cky
[Android Apps and Games] xell75:
For me it works also with directly modify system partition without even tripping safetynet.
[Android Apps and Games] dhacke:
Yes if your system is read-write you don't need to use the workaround with systemless mode.

Then you are lucky person. My pixel is read-only and in such cases the mentioned workaround is needed.
[Android Apps and Games] ktmom:
Not too mention that if you are using Magisk v19.4+, even if your partition layout permits mounting "system", you need to know to mount / not / system.

For many users, it's really just easier to work within the design and use systemless.

The answer really is, to know how to install on your device, you need to become familiar with your device.
[Android Apps and Games] nansah:
CNN has started acting up again with the "Unknown Error. Try again" issue, even after whitelisting those 2. It worked great for like a month after the whitelist & now it is back to the same ol same ol. Are you experiencing the same problem with your app?

Update:

Never mind, I figured it out by whitelisting "*.turner.com" in addition to the above two. So it is working great now. Thanks!
[Android Apps and Games] drewcu:
Actually a couple of days after my post back then, I was able to UN-whitelist those 2 urls without that Unknown Error occurring. Still going strong today too... Think it had to do with some random ad that the CNN app needed to display and once the ad post was no longer newsworthy, the AdAway issues stopped.
[Android Apps and Games] nansah:
Oh ok, thanks for sharing ??
[Android Apps and Games] Player04:
I have a problem with adaway. It is blocking the indeed app. If i disable adaway, indeed app will load. If i enable it, network is not available. I tried adding to the whitelist "www.indeed.com" and still it doesnt work. Please assist
[Android Apps and Games] zgfg:
Probably the site that app is trying to open is not called www.indeed.com

From DNS log examine which site the app is trying to open, then whitelist that app. Reboot and try again. Maybe you have to repeat if there are more sites:

https://github.com/AdAway/AdAway/wiki/LogDNS

https://github.com/AdAway/AdAway/wiki/Solutions

You could also use logcat for logging
[Android Apps and Games] jkim204:
I have systemless host installed as a module and it's still not asking for root acesss.... Keep getting the same old "root access denied" error... Running LineageOS 17.1 Android Q on LG V30.
[Android Apps and Games] Wolfcity:
Is Adaway listed in Magisk Manager's root apps?

If yes you can toogle it to root access allowed.
[Android Apps and Games] jkim204:
No it isn't even listed on there...
[Android Apps and Games] ktmom:
Which version of Adaway, Magisk and Magisk Manager are you using?
[Android Apps and Games] jkim204:
4.3.2, 20.3, and 7.5.1
[Android Apps and Games] githyanki:
Uninstall and reinstall Magisk is what works most of the time people have this issue.
[Android Apps and Games] timmy6:
can someone tell me how to use this on android 10 (pixel experience) I'm kinda of a noobie
[Android Apps and Games] marciozomb13:
Install and apply. More in https://github.com/AdAway/AdAway/wiki
[Android Apps and Games] v12xke:
From what I've read, PE does not come pre-rooted, so that would be step one. Enabling systemless hosts in Magisk Manager would be step two. Then it's a simple matter of side loading the apk.
[Android Apps and Games] DualJoe:
The HOSTS file is honored by every app i've tested but not Firefox 68.5.0. I can see with external tcpdump that it uses the custom dns server entered in Android wifi settings nevertheless. 'Private DNS' is off.

LOS17.1

Any ideas?
[Android Apps and Games] guest4711:
Install uBlock-Origin in firefox...
[Android Apps and Games] DualJoe:
I already have. But its not the same. I would rather have Firefox behave properly.
[Android Apps and Games] andy356:
It's not going to. Maintenance mode. No new updates. The 'focus' is on Fenix now. (Ehehehe)
[Android Apps and Games] zpower:
Any good host list to avoid ads on spotify?
[Android Apps and Games] guest4711:
No, cause the ads are delivered by spotify itself. You may try Ad-Free (Werbeblocker für Spotify) - https://f-droid.org/app/ch.abertschi.adfree
[Android Apps and Games] joeo10:
Spotify can yank your account if you block ads on there as per their TOS. I wouldn't recommend it as it's best to pay up for Premium.
[Android Apps and Games] paul222008:
Is there any ways we can block ads on facebook & messenger official apps?
[Android Apps and Games] ktmom:
Not really. The ads are served directly so hosts blocking can't work.

Search the thread for alternatives.
[Android Apps and Games] akilleas:
That was the culprit.

Thank you very much.
[Android Apps and Games] Nameless Voice:
Not sure where the right place to report issues with the hosts file is.

My router has ad-blocking software which blocks ads at a network level, and one of the hosts files it uses is the AdAway one.

It recently added the domain "ns.exitgames.com", which is used by the Photon multiplayer platform. Blocking that domain breaks any multiplayer games which use that provider.

I noticed it on Distrust, a PC game (and it worked last week, so the change must have been recent), but it sounds like the provider also provides multiplayer to Android games as well.
[Android Apps and Games] androcraze:
Did you submit this as an issue on AdAway's github?
[Android Apps and Games] Nameless Voice:
No, not yet.

The two categories for bugs seemed to be bugs with the Android app (which it isn't), and bugs with compatibility with other Android apps (which it isn't), so I wasn't sure if the bug tracker was the right place to put it.
[Android Apps and Games] ktmom:
Earlier post:
[Android Apps and Games] Nameless Voice:
Thanks, posted it there.
[Android Apps and Games] liog:
I have a problem: when I enable the ads block through the app, it installs the new hosts file but when I reboot the phone it back to being the default hosts file without any modification.

Systemless mode in the app is enabled, and when I reboot the phone I find it unticked. Any solutions?
[Android Apps and Games] ktmom:
Enable systemless hosts in Magisk manager settings.
[Android Apps and Games] Wolfcity:
Can someone pin exactly that sentence in the first post please? In red and big.
[Android Apps and Games] liog:
I had already done it

Inviato dal mio POCOPHONE F1 utilizzando Tapatalk
[Android Apps and Games] ktmom:
In the right order? Enable in Magisk Manager then install Adaway? If this happened to me, I would;

remove Adaway

disable/remove the systemless hosts in MM

reboot

re-enable systemless hosts in MM

reboot

install Adaway

If you then still have trouble, logs would be in order.
[Android Apps and Games] Mandraquinet:
After a host update, is it possible to perform a "fast" reboot (restart applications an UI without touching low-level system) or it's necessary to perform a "normal" reboot ?

I've found nothing about that on previous posts.

Thanks !
[Android Apps and Games] ktmom:
The purpose of the reboot is to clear the Java DNS cache. If a "fast" reboot does that, you're good to go. I suspect it won't though.
[Android Apps and Games] Mandraquinet:
OK, thanks for your quick reply !
[Android Apps and Games] Ultramanoid:
Depends on Android version and system. I don't remember myself the last time I had to reboot any of my devices when replacing the hosts file directly in /system/etc; it is picked up instantly.
[Android Apps and Games] ktmom:
Yup, very true. I didn't have to reboot the N6, but every device since had required a reboot. I don't think anything I said was contrary to this. If a fast reboot works, great. If no reboot works, even better. If you are walking on the edge of your knowledge, just reboot and be done with it [emoji56].
[Android Apps and Games] DiamondJohn:
I do not know if it clears the cache, but the closest I know of is

am restart;

Another possible way, which I would really not advise, is: killall zygote; or something like that.

But before either of those, I would also run:

am write;
sync;
sleep 0.5;

As I said, I do not know if they will achieve what you are hoping for, but they simply look like they may be what you are looking for. They are also not really that fast, as it still runs your boot animation. The question is why a normal shutdown is so slow, unless its doing important shutdown stuff, which wont happen on a fast shutdown.

On a side, I can update my host file and have it working, but I am not using Magisk system-less host. That will require a reboot, or one opf the above, or maybe possibly some kind of restart of Magisk. Maybe even ask the question on the Magisk thread if you are using the system-less host.
[Android Apps and Games] Ultramanoid:
Right, same here. ( Point being there's no definitive answer to the question, as ktmom post says, whatever works. )
[Android Apps and Games] Oswald Boelcke:
I always (hard) reboot; it just takes maximum a minute - so what. And as I only update AdAway once a week, I think that's pretty decent.
[Android Apps and Games] zgfg:
Depending on device/ROM, it may work without systemless hosts - but if it works without, still check that such real changes into system/etc/hosts doid not breake Device certification in Google Playstore

If you lost Device is certified (and if it bothers you), you will have to disable AdBlock, activate Systemless hosts, enable AdBlock, and you will also need to Clean Data for Google, Google Playstore, Google Playstore Services, Google Framework Services to 'convince' Playstore again to accept your Device as Certified.

Due to the possible complications with obtaining again Device is Certified, I use Systemless hosts even if it might work without
[Android Apps and Games] Ultramanoid:
Useful consideration for those requiring it.

( I don't use Google services or applications myself, in fact consider them pretty much spyware, data miners and malvertising only. )
[Android Apps and Games] dhacke:
[MENTION=4004386]Ultramanoid[/MENTION]

I agree totally regarding your statements in the brackets and that are the reasons why i run all my phones (including my current pixel 4 xl) only with Roms which don't include Gapps and Google Play Services.

Good to see that i'm not the only one who thinks about this in that way:svetius:
[Android Apps and Games] zgfg:
For the matter of fact, I used to set AdAway to update automatically every day, and only over WiFi, but it really properly worked for me like three or more years ago on some Lollipop phone - although I did try various things (keep it working in background, disabling battery optimization) on various newer phones and Android versions

But as you say, updating hosts manually once every or every second weekend (as part of some hygiene, when you get time) is good enough

Effectively, you can turn off auto-starting AdAway, running in background, auto-updating - just start AdAway once a week or so, let it update hosts, reboot the phone and forget till next time

---

Off topic
[Android Apps and Games] emonkhan826:
I want to whitelist this website plzz help me

MOD EDIT:

Attachment showing links to warez/ppc/ppd removed.
[Android Apps and Games] zgfg:
Use Logcat, try to login/download in your app/whatever, inspect the log to find where it wants to go but DNS resolving fails

Enter that domain to Whitelist in AdAway, reboot and try again - there might be it that wants to go to several sites that are blocked, and you must whitelist them all
[Android Apps and Games] ktmom:
There's a Wiki for that [emoji6]
[Android Apps and Games] mathmysterygame:
Thanks

Great work on the app. Thanks a ton.

---------- Post added at 01:48 PM ---------- Previous post was at 01:37 PM ----------

Is there any easy way to update the app. I know the definitions do get updated automatically. But since this is not present on the play store, it is very difficult to know when an update is available.
[Android Apps and Games] Oswald Boelcke:
I use F-Droid: https://f-droid.org/en/packages/org.adaway/
[Android Apps and Games] ktmom:
Either use F-Droid or follow this thread.

IMHO, this is an app where the user does not suffer if not on the latest and greatest release. It does one thing (very well) and unless an OS update causes problems, you really aren't missing functionality of you are doing to update.
[Android Apps and Games] zgfg:
You must make sure that you every week or so force updating of hosts file (AdAway settings).

That has nothing to do with updating of the app itself (don't expect more than few updates of the app during a year)

There is a setting to force auto-pdating of hosts file on every reboot - but you probably don't reboot the phone every day.

There is also a setting to force auro-updating of hosts file every day - but there is a high chance that it won't work as expected

So better, take time like every weekend and force updating of hosts file and then reboot
[Android Apps and Games] cardonarico:
Question about Regex and IPtables

Hey guys,

I searched the whole thread for "regex" and found only two mentions about it so I decided to put the question on the group.

Question is I tried add an entry on whitelist like *googleadservice.com but the button "apply" grayed out.

So the question is , is Regex is supported ? if yes how is the sintax.

tks
[Android Apps and Games] githyanki:
Regex would be great, but alas, no. It is an issue with DNS on phone, it does not accept regex expressions in the hosts file. AdAway can put them in, but it would be confusing when they didn't work. Better to not allow them so there's an indication that they won't work right away.
[Android Apps and Games] PerfectSlayer:
That's a point I try to solve with the next version. It will bundle a "check for app update" feature that will notify you from app homescreen and allow to check the changelog, download and install the latest version.

Thanks! Again, no update needed until you want some new features or some compatibility improvements. The check for update feature will only display a discrete label that a new version is available. It's up to you to care or not.
[Android Apps and Games] IronTechmonkey:
I care about not caring about updates. :silly:

But seriously, to channel some pertinent thoughts which have come up before regarding updating the app and lists:

AdAway is one of the least needy of apps regarding app updates, and this stands out in a world of updates for the sake of updates.

I install the newest version of Adaway on every device at flash then install the one minimal (AdAway) list and restore 30 or so manually added items. The aforementioned scenario will remain unchanged with no updates for many months on my primary device, over a year on secondary devices, without becoming less effective.

I have admittedly light requirements for the hosts list but even for those who require larger and more recent host entries, updating the list is what you want. No need to get update-happy about the app unless, as mentioned, there is a specific sought-after fix in the works.
[Android Apps and Games] guest4711:
Joker (wild) chars are forbidden for blacklists but allowed on whitelists. So your example would work...
[Android Apps and Games] mathmysterygame:
Thanks

Thanks! Didnt know about Fdroid. Will check it out.

---------- Post added at 09:13 AM ---------- Previous post was at 09:12 AM ----------

Thank you.

Didnt know about F-droid. Will try it out.

---------- Post added at 09:15 AM ---------- Previous post was at 09:13 AM ----------

Great! That will be an awesome feature
[Android Apps and Games] jp0469:
I've been using AdAway for years now and up until recently, ads were always replaced with blank space. Lately, I always get a red outlined box where the ad would be and the box always contains the following text:

Missing AdActivity with android:configChanges in AndroidManifest.xml

I don't know if this is an AdAway issue specifically but I was hoping someone might have some insight regarding a fix.
[Android Apps and Games] zgfg:
With AdAway (or with DNS66, or similar tools) DNS resolving to pull the ad gets failed (resolved to 0.0.0.0 or 127.0.0.1 or similarly for IPv6 - depending on the host sources you use and your AdAway settings)

What would the partiicular app do / present in the box the app wanted to use to show the ad is purely up to the given app

Otherwise, you would need to buy a paid version of each particular app (if available) that doesn't bother with ads, or look for the tampered versions of apps where displaying of ads is removed
[Android Apps and Games] jp0469:
Makes sense, it just seems odd that it started happening with several apps all around the same time and it's apps that never behaved this way before with AdAway in place.
[Android Apps and Games] zgfg:
IMO, apps use Google API for ads.

Maybe apps were recently updated, and/or maybe it depends on updating Google Play Services or so
[Android Apps and Games] jp0469:
Thanks for the replies. I've at least ruled out AdAway as the cause by disabling it and using Adguard DNS. The result was the same behavior.
[Android Apps and Games] iamnotkurtcobain:
Will adaway someday be usable without root?