yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ipdev:
For me it is still an intermittent issue.

Seems to happen more when check for updates are enabled in the app. ¯\_(ツ)_/¯

I haven't had time to grab logs or try to help with this issue lately. :(

Wish I had a better answer but, it does not stop me from using AdAway (non-root) on my daily use phone. ;)

Cheers. :cowboy:
[Android Apps and Games] Cichy26:
why can't i import this list to the app?
[Android Apps and Games] Nergal di Cuthah:
Because it isn't a host file. Host files are formatted

127.0.0.1 google.com
[Android Apps and Games] DiamondJohn:
NINJA'd!: its for AdGuard not AdAway. The format is completely different between the two, and the URL itself tells you its for AdGuard.
[Android Apps and Games] AnnieBody01:
NFG!

Insists a rooted phone (as confirmed by Advanced Root Checker) is not rooted and will not install because of that false check.

Find an alternative that works!
[Android Apps and Games] Nergal di Cuthah:
Do you have systemless hosts module installed in magisk
[Android Apps and Games] PerfectSlayer:
Not yet. It becomes part of my morning routine. Grabbing my device, checking the state of the device, capturing a logcat, scrolling the log to check what happened, looking for system errors, wandering into android platform documentation… Not an easy task!

I fixed a lot of issues during the whole VPN rewrite. The last one dates from this weekend.

I found the Android Backup Service was killing the VPN foreground service as part as the backup process.

So I rewrote the backup solution. Good news backups will now works properly (the backup data was exceeding the allowed quota so the backup was never uploading to Google services...) for both rooted and non-rooted users.

See the commit for all the details.

Strictly speaking of the network switch bug, the new VPN works pretty well on my side. Again, it will improve from user feedback but I use it on my daily driver without issue (2/3/4/5g, personal wifi, entreprise wifi with multiple hotspots). If you are developer yourself, don't hesitate to built the feature/vpn branch and report how it works for you!
[Android Apps and Games] Prass93:
Please Add features Block ads with option Apps installed 🙏 thx
[Android Apps and Games] zgfg:
When using VPN mode, you can control for which apps blocking will apply (by default, it will block for all the apps installed).

However, it works only for blocking through DNS - if some apps use proprietary methods to push ads through their content channel (like YouTube), you must use special solutions (like Vanced YT) to block their ads

In the hosts mode, AdAway can only give the changed hosts file to the system. After that, system applies thtat hosts file to all apps and AdAway cannot control to which apps the changed hosts file would be applied or not

Finally, by choosing hosts sources, user controls which types of 'ads' will be blocked. By searching on tthe Net, you can find hosts sources that block only commercial apps, and/or analytics, porn, etc

All that (theory, how VPN mode works, how hosts file works) has been extensively discussed earlier here and one can also google and read/learn about, hence it makes no sense to write about all that once again (how the given two mode work and what is possible and how/why or not)
[Android Apps and Games] hsiehboss:
After upgrading to the latest version of chrome, adway cannot block ads.

After downgrading to use version 87.0.4280.141, adaway can block ads.
[Android Apps and Games] zgfg:
Regularly updting Chrome, currently on 96.0.4664.104, and ads are always blocked

AdAway root/hosts version, and Lite mode is disabled in Chrome

Screenshots attached
[Android Apps and Games] hsiehboss:
Thank you,

I have tried this method, but it didn't work.
[Android Apps and Games] tramp20:
Hi,

I am not able to search on XDA for a single word :-(

If AdAway (5.11 or 4.3.5) is deactivated I have a very low latency (some ms between Smartphone and my AVM router/internet).

With activated AdAway the latency increases to several seconds, sometimes to almost 20 seconds.

Both AdAway versions are root based.

The URLs to the router are allowed.

I have this behavior on all of my smartphones :-(
[Android Apps and Games] zgfg:
Unfortunately, Search in the thread is (somewhat) broken in XDA, but there is a workariund (follow the screenshots):

- Scroll up, tap Search in this thread

- Don't bother to fill the search keywords, XDA will ignore this time, just tap Search

- Search results for "*" (wildcard) will be displayed, hence all posts in the thread - useless.

(Even if you bothered to fill the keywords, results for wildcard will be displayed)

- Tap to the wildcard "*", and NOW fill your keywords.

Scroll down and restrict e.g. to Most recent, and tap Search

- Now, on this second try, XDA will properly display the search results

Btw, a month or more it was reported to admins in the XDA

thread about the forum itself (confirmed by several users, and this workaround was presented by another user) but with no 'official' response (now the new round of discussion about changing XDA colors had started but again no response on this reported issue with Search ignoring the keywords and responding wildcard results instead)

Apparently, it won't be fixed (soon), but this workaround works fine :)
[Android Apps and Games] tramp20:
Thank you but I found nothing with "latency".

So I will wait for a solution.
[Android Apps and Games] DiamondJohn:
if you are using root mod, then adaway the app does not affect your latency. It is only rinning while building a host file, and that wont come into action until after a reboot (if using systemless hosts). It is the host resolution or caching on your device, that would be the first thing I would blame. Maybe your device is slow at using a large host file. To test, build a host file, and then uninstall adaway, the speed test results should be the same. Unless something weird is going on with your device/config.
[Android Apps and Games] tramp20:
Thank you.

This could be.

With the 3 default sources (I did not change this) AdAway 5.11 shows ~100.000 blocks that should slow the resolution on my old Sony xperia.

I use Magisk 23016 and systemless hosts.

Perhaps I will create my own small list with the help of the DNS protocol :-(

Or are here small source files available?
[Android Apps and Games] zgfg:
Play by switching some of the three off - and reboot.

You can also check hosts sources ftom Energized.pro (but rare of them are nowadays smaller than 100K sites)

I remember that I have seen time ago, on devices with only 1-2 GB RAM that even over 200-300K blocked sites could considerably slow the phone (too 'big' hosts file caching)
[Android Apps and Games] tramp20:
After switching off one after another the latency is faster until some msecs.
[Android Apps and Games] DiamondJohn:
Just some info, and useless at that. My first Android phone was a Sony Xperia Ray, with only 500mb ram and a single 1GH CPU (OC'd to 1,8). I had a relativity larger host file than default Adaway (but nothing like the 3M hosts I block now) , and I cannot say that I noticed it slowed down due to the host file. I understand it was a case of luck and the ROM (LOS Based RR from memory)
[Android Apps and Games] hsiehboss:
Oneplus 8t oos11,rooted。

chrome beta with adaway can block ads, but chrome with adaway can not.

The only difference is that chrome is system app installed by default and chrome-beta is not.
[Android Apps and Games] cognitivedissonance:
It appears that the En Blu Go hosts list is blocking the Magisk Repo from loading. I have been trying to use the AdAway DNS logger to determine what needs to be whitelisted, but don't seem to be having much luck. If anyone figures it out, please let me know.

EDIT: For anyone who finds this, I did figure out what I needed to whitelist to allow downloads from the [now abandoned] Magisk Repo to complete successfully. It was "cdn.jsdelivr.com" (less the quotes.) It wasn't showing up in the DNS logger of AdAway the first bunch of times I tried it out, and so I was just whitelisting "*.github.com" but that didn't do it (and also isn't necessary since github.com urls are not actually blocked.) I'm a bit hesitant to allow jsdelivr to stay on the whitelist b/c I'm not really sure what it is, so I'll look into it. Really though, I may just disable AdAway anytime I use Magisk if I'm trying to grab something from the [now abandoned] Repo.
[Android Apps and Games] zgfg:
DNS log, find and whitelist.

But not much use of the old Magisk repo, it's abandoned (no submission of new modules, no updating of the old ones). Frozen

Btw, you just asked similarly in the General Magisk thread, read the answer there (about the Fox Magisk Module Manager and the new Alternative Repo)
[Android Apps and Games] cognitivedissonance:
The strange thing is that it did bring up a bunch of links to github, which is what I expected, and even after whitelisting them it was still blocking it. Very strange. As you said though, it's not of much use going forward. I'll have a look at the other thread regarding Fox Magisk Module Manager. Thank you!
[Android Apps and Games] Dragon Kumera:
How do i edit hosts and have it not overwritten by adaway?

(my dads moto g6 on pixelexperience needs host edit to stop updates and battery drain). But adaway erases the fix.

Also cannot delete host file in the 2 locations. system/ect and root/ect.
[Android Apps and Games] zgfg:
You have Blocked and Allowed on the main AdAway page/window - add your sites you want to block/blacklist or allow/whitelist there

If system is read-only, you cannot (hard) edit anything on the system, that s why AdAway needs Systeless hosts (AdAway writes to /data/adb/modules/hosts/system/etc/hosts and Magisk mounts that to /system/etc/hosts)
[Android Apps and Games] Dragon Kumera:
I will check that out once my dad gets home from work today.
[Android Apps and Games] stankyou:
Has anyone figured out how to block ads in Chrome? It looks like Chrome did something with their recent updates. Ads only show when using data saver in Chrome before. Now it looks like even with data saver disabled ads can slip through.
[Android Apps and Games] zgfg:
AdAway root mode, Chrome updated today morning (regularly updating), Lite mode off (keeping always), working fine as usual
[Android Apps and Games] stankyou:
Thank you for your reply. I do have the same Chrome version and Lite Mode setting. Adaway is running on root mode and Magisk systemless hosts module is also installed but still no luck on my Pixel 6.

On Firefox browser however, the ads are blocked just fine.
[Android Apps and Games] zgfg:
Do you have Lite mode Off
[Android Apps and Games] stankyou:
Yes. Lite mode is off, always. This thing is driving me nuts. Lol! I really don't wanna be using another browser.

It feels like even if Lite Mode is off, Chrome still runs my query through Google that's why the ads comes through.
[Android Apps and Games] Nergal di Cuthah:
If you're seeing ads in the google search results that's normal, if you click one it will error out but you can still see them in the results. Switch to duckduckgo as you can turn off their ads
[Android Apps and Games] darkerm:
I am having same problem with Chrome new update. Did you managed to fix it mate?
[Android Apps and Games] stankyou:
No luck. I still see ads in Chrome. Adaway works for everything else though.
[Android Apps and Games] hsiehboss:
Oos11 have same problem with newest Chrome.

On newest chromebeta , the ads are blocked just fine.
[Android Apps and Games] DiamondJohn:
FYIL I had a false positive from my Virus software on my PC, when I updated chrome.
[Android Apps and Games] bokkoman:
I have an app (My Renault) that is not working with AdAway turned on.

I have been trying to figure out what to whitelist, but the DNS log doesn't show anything. Tried different apps, but also nothing.

Anyone has any insight on this?
[Android Apps and Games] Dragon Kumera:
try whitelist the package name itself? (you can use apk extractor to find it or through adb shell)
[Android Apps and Games] bokkoman:
You can use package names?

In the end i found the addresses i needed to whitelist, and has been working since.
[Android Apps and Games] Dragon Kumera:
I am not sure but i would think so. That great you found the address.
[Android Apps and Games] zgfg:
Sorry but you are totally wrong with blocking or whitelisting based on app package names - AdAway does not do anything based on package names

At the bottom of the main AdAway window you have Show help and tps - worth to read as a very basic intro
[Android Apps and Games] Dragon Kumera:
ah. Thank you for clarifying.
[Android Apps and Games] L1p1c1:
Blocks ads from all apps or only from browsers ?
[Android Apps and Games] Nergal di Cuthah:
Browsers and some apps (the ones that use dns and not hardcoded ip addresses)
[Android Apps and Games] ashish1989:
Using adaway with energized basic hosts enabled, I am still seeing ads space in facebook webpages, see below

View attachment 5542617
[Android Apps and Games] Nergal di Cuthah:
Correct, adaway does not remove space, it just provides a way to change hosts. The ad is served from a blocked site but the space for the ad is controlled by the page you are on. In other words it is working correctly
[Android Apps and Games] zgfg:
You can experiment with Preferences, Ad Blocker, Local Web server (disable)
[Android Apps and Games] ashish1989:
No offence, but the same can be achieved just by dns.aguard

Adblock with root method should be more refined

Where to find such option in adaway. Also can you suggest any hosts sources which can also remove ad spaces
[Android Apps and Games] zgfg:
As I wrote: Preferences / Root based ad blocker / Local web server.

Find the Preferences on the bottom-left on your main AdAway window

No hosts sources remove ad spaces. They only block sites that push ads
[Android Apps and Games] Nergal di Cuthah:
Not sure why i would take offence it's not my app. Yes the same host blocking is done by dns. Root method only provides url to home remapping

hosts (file) - Wikipedia

en.m.wikipedia.org
[Android Apps and Games] Gourcuff14:
I am not able to login to eBay Android application with AdAway enabled. I had a similar problem with Amazon application.

How do I let these applications work with AdAway?
[Android Apps and Games] Pkt_Lnt:
regular or d4rken mod version
[Android Apps and Games] my95z34:
Regular, I think. Lol. Haven't installed it in months. But everything applies successfully, and I just opened the hosts file at /etc and /system/etc (sym linked, obviously) and all of the changes are in the file. So I guess the app is working properly, maybe the rom is ignoring the hosts file... Is that even possible? Lol
[Android Apps and Games] Pkt_Lnt:
Try the d4rken mod version in post #1, it works better for many of us.
[Android Apps and Games] my95z34:
Using the d4rken mod it fails to install the hosts file at all.
[Android Apps and Games] Hitorijanae:
You could download an ad blocked hosts file and copy it manually for the time being.
[Android Apps and Games] Cirno5:
Does it also support blocking frames?
[Android Apps and Games] rseiler:
Just moved up from 4.3.1 to 4.4.4 (phone reset) to find AdAway missing from the store. Came here, found this, and tried the d4rken mod version straightaway.

It wouldn't apply the updated hosts file, as others have reported, until I manually deleted the original dummy hosts from /etc, but other than that it's working very nicely. Hopefully that problem doesn't recur, but I only update the file maybe once a month anyway.
[Android Apps and Games] pdario:
Hello, it is some days now that AdAway says it cannot write hosts file; I tried removing root grants and allowing them again, but nothing changed.

How can I fix this?

Thank you!
[Android Apps and Games] rog_star:
Have you tried adaway with d4rken mod (see OP)?

If not, uninstall adaway and install d4rken mod and try again to create the hosts file.
[Android Apps and Games] pdario:
I just switched and tried again, but the result is the same... :(
[Android Apps and Games] FlanjeUK:
1. Which ROM? SlimSaber

2. Which Device? i9100

EDIT (just checked ur sig) are these correct?
[Android Apps and Games] pdario:
Nope, I just corrected version from 4.4.3 to 4.4.4
[Android Apps and Games] :
Does anyone own any host file updated?
[Android Apps and Games] FlanjeUK:
Well I am running SSK (weekly 6.0 - 4.4.4) on my i9505

The standard version works perfectly on my phone (have never tried the d4rken mod)

Are you using built in Superuser (koush) or SuperSU (chainfire)? I had issues with the built in su a long time ago but SuperSU works flawlessly.
[Android Apps and Games] pdario:
Built in, but I don't have any sing of it not working...

I see my /system/etc/hosts file has rw-r--r-- permissions, I suppose they are right.

/system is mounted read-only, but I think AdAway can manage this.
[Android Apps and Games] FlanjeUK:
I can share my updated host file if you want it? Updated 5mins ago, it's 17mb and is made from the following 13 sources (includes MoaAB):

Spoiler content hidden.

Download from here

Download and flash latest SuperSU from here it's worth a shot, it's much faster and more reliable than the built in superuser too :)
[Android Apps and Games] pdario:
Won't it clash with builtin functions? What will happen when I'll flash a new version of the ROM?
[Android Apps and Games] FlanjeUK:
1. It won't clash at all, it will override the built in su (you can still go into the settings through the menu but they wont do anything, only the SuperSU app controls work)

2. You can use an addon.d script to automatically backup/restore SuperSU between dirty updates download from here ;)
[Android Apps and Games] pdario:
I see a debug log in the options: where does AdAway log?
[Android Apps and Games] zgfg:
I don't use Amazon but if I recall, it was posted here earlier the site(s) to be whitelisted

I know, it's hard to search in the thread .. There are instructions how to use DNS logging to find out what to whotelist in case of problems with some app

(AdAway does not block particular sites, but it gets them from your configured hosts sources)

Btw, try the following first:

Preferences (bottom-left), Root based adblocker,

Local Web server - disable
[Android Apps and Games] Gourcuff14:
I did try search, I couldn't find a solution.

I tried DNS log, whitelisted as much as I could still I cannot login.

I tried your suggestion in preferences. I can still not login.

I have everything set up as default. Host files as they are installed from default.

The only way I can login is to disable the AdAway. Login to eBay. Then enable AdAway again. I'm not sure whether AdAway is blocking anything further after I'm logged in and AdAway is enabled.
[Android Apps and Games] zgfg:
Again, AdAway blocks the sites that its input hosts sources request to block

You could go to Blocked, search for Amazon, and disable from blocking all sites with the name amazon

Sorry, cannot help you futther since I don't use Amazon
[Android Apps and Games] Gourcuff14:
Host files from default.

eBay application.

Login fails with StevenBlack Unified hosts.

Login success with AdAway official hosts.

Login success with Pete Lowe blocklist hosts.

Disable StevenBlack Unified hosts. Or request for provider to fix problem.
[Android Apps and Games] androcraze:
Here's some to play with:

ebayit-dp.nuggad.net

ebay1.112.2o7.net

ebaynonreg.112.2o7.net

ebayreg.112.2o7.net

ebayus.112.2o7.net

adn.ebay.com

ebayadvertising.com

ebayadvertising.triadretail.net

gbp.ebayadvertising.triadretail.net

www.ebayadvertising.com

www.ebaybanner.com

b.ns1p.net

ns1p.net
[Android Apps and Games] vandyman:
If you are rooted. You need to check systemless in the Magisk app for Amazon to work.

It has been mentioned multiple times here in this thread!
[Android Apps and Games] Nergal di Cuthah:
You mean systemless hosts? You need that no matter if you use Amazon or not..

I stopped my adaway/Amazon problems by turning off adaway's webserver
[Android Apps and Games] vandyman:
No, AdAway works without systemless hosts in Magisk.

Amazon app will not work if you have systemless host turn off.

If you are talking about Amazon ads, then that is totally different topic. Is not a clear issue...
[Android Apps and Games] zgfg:
If System is read-only (modern phones, for sure all A11 and newer), then no chance that AdAway could work without Systemless hosts because the read only /system/etc/hosts file cannot be overwritten

That's the whole point of Systemless Hosts (and similarly all the other systemless modules)

They write instead to /data/adb/modules/<MODULE>/system/*

and Magisk then mounts the changes to /system/* at the boot time

But /system/* remains unchanged and if you disable or uninstall the module(s), changes disappear because the (read-only) /system was never actually overwritten
[Android Apps and Games] Nergal di Cuthah:
Nope not ads, amazon was 404ing everything (including log on screen) and the only way around it was to turn off adaway (or so i thought). I was researching the member above's amazon problem and noticed that webserver was active (i usually keep it off but recently switched adaway from vpn to root and i must have turned on then), when i turned off webserver amazon (and wells fargo) started to work properly.
[Android Apps and Games] vandyman:
Hmm, odd. I going off my memory when I installed AdAway on my Pixel 5 about 15 months ago. And with the Pixel 6,I just continued doing the same. Lol, Things change..

Thanks for the info..
[Android Apps and Games] vandyman:
Come to think of it. When you mentioned "web server". My memory came back.

I was completely wrong on the above.

Systemless host, yes all the time.

Web sever is off for Amazon app.

Sorry for the confusion...

I had it as* backwards. Lol...
[Android Apps and Games] Gourcuff14:
I have web server through root enabled. Android 9 MIUI 12. Amazon is working fine. Without systemless in Magisk also.
[Android Apps and Games] zgfg:
Post #16617 today, as on the screenshot.

Unfortunately, then the discussion derailed in the wrong direction (due to missunderstandings of root-only SAR systems, systemless methods, etc)
[Android Apps and Games] zgfg:
And, do you know if your system is read-only or not?!

Go to /vendor/etc/fstab.*

(on my phone, with Snapdragon, it's fstab qcomm)

Open to read as text file and find how your /system (or / on the new phones is defined)

If ro=read-only, as for me, then YOU MUST use Systemless hosts because the whole system is read-only and AdAway cannot write to /system/etc/hosts

If you have Xiaomi with A9, then your /systen will be rw=read/write and you don't need Systemless Hosts

Btw, from Magisk app you have on few clicks only the excellent Magisk documentation written by TJW and you can read there about the Systemless concept
[Android Apps and Games] vandyman:
Is this just for some devices. The reason why I am asking is, If I give an app root privileges. The app will have read/write access with or without systemless host.

Examples: CX Explorer, Termux, SD Maid, etc..