yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ecbock:
Thank you for the reply. I am using Magisk with systemless hosts. The behavior I have been experiencing is that every so often, I will open Chrome and ads are present, when I check Adaway it prompts me to enable adblocking like it was never enabled although the web server is still running. Data saver is off in Chrome.
[Android Apps and Games] droople:
It's working, thank you so much.
[Android Apps and Games] Frostbiter:
Found the fix for both of these problems. It seems the web server got turned on for me so it was causing issues with these apps. Once I turned off the webserver in settings the Amazon app started working again and the errors no longer showed when clocking on a link in Facebook.
[Android Apps and Games] zpower:
Yep, just noticed that in other day and when turn off webserver works again
[Android Apps and Games] bilal91:
been using adaway for a while and recently bet365 (website and app) stopped working for me (v4.3.6)...upon disabling adaway, bet365 works again...any solutions??
[Android Apps and Games] kubalav:
Use DNS log in app.
[Android Apps and Games] Portgas D. Ace:
So it seems that the hosts file change done by AdAway is reverted in some way. Could you check if you also have the systemless mode option enabled within AdAway? Also, did you try to uninstall AdAway completely, reboot your device and install AdAway again?
[Android Apps and Games] bilal91:
whats that?
[Android Apps and Games] Oswald Boelcke:
Link to the Wiki is available in OP.

Here's the section about DNS logging: https://github.com/AdAway/AdAway/wiki/LogDNS
[Android Apps and Games] kubalav:
Read official wiki page
[Android Apps and Games] bilal91:
thanks a lot, that sorted it :)
[Android Apps and Games] mrmrkmail:
hello guys,

first off all thank you for your great app, i really appreciate your hard work.

only marginal issue i have, is that for one button the text is too long (please have a look at the attached screenshot).

best regards
[Android Apps and Games] ecbock:
Thanks again, yes, systemless mode is eneabled in Adaway. Ive been using it for years and have not had this problem until very recently. Ill uninstall reboot and reinstall and see what happens.
[Android Apps and Games] PerfectSlayer:
It seems some of you have issue to upgrade to 5.x versions.

Is it two separate cases or is it confirmed?

Is it the hosts file that can no more be updated?

Is it the blocked host count that is not updated?

Which ad-block method was chosen at the 5.x install?

Another issue was reported on list migration. I will have a look at it.

In the mean time, it could help if I can have more details about migration issues. Thanks!
[Android Apps and Games] lukjod:
[MENTION=2822685]PerfectSlayer[/MENTION]

Is it two separate cases or is it confirmed?

Mine is confirmed, I ve tried 2 times, on 1 I just rolled back to 4.3.6 but later for next 5.0.7 I completely removed 4.3.6 by clearing cache and memory and the uninstall 4.3.6 version. After new install all was OK, before host were not updating and it was totally empty on system

Is it the hosts file that can no more be updated?

Now all is ok, in previous attemp 1 was always empty, can't remember exactly which of 3 but with the biggest number on list

Is it the blocked host count that is not updated?

Don't remember

Which ad-block method was chosen at the 5.x install?

Root

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Android Apps and Games] ridobe:
Same for me. The host file was completely empty except for the header info and it claimed to be up to date. What finally worked was adding a new host source for some reason. Then I could remove it and revert to my original source.
[Android Apps and Games] molitar:
Anyone here able to tell me how to white list Google Chat? When I use adaway the Google Chat will not connect.
[Android Apps and Games] pycxe-01:
I'm using AdAway & AdGuard together; In my case it was the AdGuard issue & I had to disable DNS Filtering there in order to make the Fitbit clock face + app store to work again! Just thought to leave it here coz there may be other Fitbit users trying to figure similar things out! ?
[Android Apps and Games] Wolfcity:
This still happens with Adaway 5.0.8 in VPN mode:

[MENTION=2822685]PerfectSlayer[/MENTION]: This is still an issue for me. Google Photos doesn't upload anything when Adaway is enabled.

The problem seems to be what's posted here:

When you toggle GPhotos to upload via mobile data (when in WiFi !) it's working.

So it seems that the app can't distinguish between mobile data and WiFi when Adaway VPN is enabled.

Something similar happens with Google app. When I'm on mobile data and use "Ok Google" I get "Google isn't reachable" or "Google can't connect to that network".

The whole thing seems to be that these apps can't differ if the device is on mobile data or on WiFi when VPN is enabled by Adaway.

Using DNS logging doesn't help in these cases, it's just "update.googleapis.com" and "www.google.com" that can be whitelisted and that doesn't solve the problem naturally.

Maybe Julian from DNS66 can help because as far as I remember these things doesn't happen with DNS66 but I have to check that.

If you need some kind of logs just tell me which ones you need.
[Android Apps and Games] zgfg:
Sorry for the simple question, did you enable GPhotos under Preferences / VPN based ad blocker /Exclude user application

Some apps need their own VPN while Android doesn't allow multiple VPN connections, hence those apps must be excluded ('whitelisted') from AdAway VPN
[Android Apps and Games] PerfectSlayer:
Hum, it's not the first time I read that.

Can you confirm the step to reproduce:

- Use AdAway VPN mode / default block list,

- (do not whitelist some apps from VPN settings)

- Enable Google Photos upload using mobile data

- Take a picture

And Google Photos is unable to upload the picture until I connect back to a WiFi. Is that right?

If it's a workaround, it definitely worth it write it in the FAQ until I could find a bug fix...

Thanks! A was able to reproduce and fix cache issue about it.

The internal modification dates changed in 5.0.3 from milliseconds to seconds (with all the timezone issue we had...) but I didn't update the value when migrating. So the source was up-to-date for months/years in advance...

I also clear last download dates for source to ensure the cache are well built at update. It should be fine now.

For those stuck with this bug, I would recommend to export your settings (Preferences > Backup / restore block rules), clear app data, then restore your settings. If you don't have any specific block rules, just clear app data should do the trick ;)
[Android Apps and Games] Wolfcity:
At the moment I'm unable to reproduce that, the whole thing is getting very strange. Now Google Photos is uploading every picture that I take twice :confused:

No matter if mobile or WiFi, two identical photos are getting uploaded. I have to dive into that a bit deeper, I'll let you know when I get any stable results. Thank you for the moment.
[Android Apps and Games] cb474:
Is AdAway working in Android 11?
[Android Apps and Games] bluey45:
Yeah 5.08 is working fine with magisk canary
[Android Apps and Games] spiou:
No freeze with systemless hosts module enabled in magisk ?

It's the case for me on Pixel 3a with adaway 4.3..6...
[Android Apps and Games] Lughnasadh:
I'll just speak for myself. No freezes with systemless hosts module enabled using latest canary and Adaway 5.08 on Pixel 4 XL.

EDIT: I'm using root based as well in Adaway.
[Android Apps and Games] zgfg:
Look into the XDA Magisk thread - this is now a known issue (confirmed by other users, known also to TJW) for Pixels with Android 11, freezing when Systemless hosts is enabled

Since the system is read only, you cannot use AdAway in hosts mode without systemless overlay.

You can try AdAway 5.0.8 in the non-root virtual VPN mode (not fully the same thing but ...)
[Android Apps and Games] spiou:
Thank you very much. I just installed 5.0.8 and no freeze !

---------- Post added at 08:52 PM ---------- Previous post was at 08:49 PM ----------

Well I already saw the magisk thread. But after installing 5.0.8 I can confirm the problem is related to 4.0.6

I can enable systemless hosts module in android 11 with 5.0.8 installed in root mode : no freeze.
[Android Apps and Games] geokilla:
Does anyone have a recommended host to use? Steven Black's host doesn't seem to be blocking all the ads.
[Android Apps and Games] Wolfcity:
Steven Black has almost all hosts in it that others have. Not every ad can be blocked cause not every ad is host based.

Anyway, you can take a look in the wiki linked in the OP:

https://github.com/AdAway/AdAway/wiki/HostsSources
[Android Apps and Games] djjohnnyblaze:
Does Steven black list now block amazon? It seems to be blocking amazon now for me. Amazon works when disabling Steven black hosts file. Thanks

EDIT: NVM. Figured it out. Changed redirect IP to 0.0.0.0 and disabled local web server.
[Android Apps and Games] PerfectSlayer:
Hi all,

Here is your new update with a bunch of bug fixes!

It mainly fixes the migration issues from the 4.x stable version (migration issue starting from the 5.0.3 version) and updates few dependencies (androidx, dns packet inspection and web server).

I am wondering if I should tackle the secure dns client feature or consider to release the 5.x version as stable. What are your advice?

Is 5.x stable enough? Is always running for a more complete app means to never release it?

Changelog:

Fix no hosts to block from 4.x to 5.x migration

Fix wrong source type in source edition UI

Update AndroidX dependencies

Update mongoose web server

Thanks:

Special thanks to auanasgheps, lukjod, ridobe, sacrificialpawn for theirs helpful bug reports.

Download:

AdAway 5.0.9
[Android Apps and Games] zgfg:
Thanks.

Btw, "Update available" text is not much visible, maybe you could consider also a notification
[Android Apps and Games] natanvarga:
Where do updated apk's get stored in directory structure?
[Android Apps and Games] ScottIsMyName:
Using latest 5.0.9 version with Android 11 (root based) with the systemless host addon still causes system freezes for me. I am able to remedy this by removing one of my sources (which has 207k hosts). Perhaps there is some sort of space issue even in systemless mode?
[Android Apps and Games] Wolfcity:
Agree to that. I'm overlooking this message very often and notice an update by reading this thread;) Maybe a notification or (instead of the line "update available") a coloured circle with "update" in it.

Anyway, I'm not sure if Adaway 5 is stable enough but as I recognize some similar glitches or (maybe user related) bugs in DNS66 too (I use the VPN based version) it may be stable enough.

Btw, I fixed my "Ok Google" problem by setting excluding system apps from "all" to "none" and about the Google Photos issue I'm not sure if it's just the Google app or maybe device specific. Still checking.

https://xdaforums.com/showthread.php?t=2190753&p=83464153

Thanks for your effort and your continuous great work [MENTION=2822685]PerfectSlayer[/MENTION]!
[Android Apps and Games] snakesanti:
Hi, i downloaded latest version and when trying to install a message appears saying that an error occurr when analizyng package...and cant install.

Can someone explain me why?
[Android Apps and Games] Wishmasterflo:
A corrupted file perhaps? Try to redownload it.
[Android Apps and Games] snakesanti:
Thanks for answering...but nop. I tried seceral times from different sources (including non official ones) no way, same message on my Xiaomi redmi note 5a prime.... I can install from non known sources and install version with different signature or "downgrading", device rooted and app working fine...but when trying some updates (some other worked) same message.
[Android Apps and Games] :
I saw you mention dns66 before, and I am pretty sure that it also had (or has?) issues where Google photos backup would stop working when the adblocker vpn was active.

Maybe there's a workaround to be found somewhere on the dns66 xda thread or github.
[Android Apps and Games] ipdev:
Hi.

You should only use links to official downloads.

releases from github or F-Droid.

Unless you are building it yourself.

Xiaomi is a little different.

Did you try turning off (disable) battery optimization before installing?

Sound odd but it makes a difference on miui when installing from unknown sources.

Normally you can turn optimization back on after install is complete.

Cheers. :cowboy:
[Android Apps and Games] zgfg:
Do you mean AdAway 5.0.9?

I'm on Xiaomi Mi 9T (MIUI 12, Android 10) and I tested, I can update from 5.0.8 to 5.0.9 from the app, but also I downloaded and installed 5.0.9 both from post #1 and #15342 with no problems.

Btw, I'm all the time using AdAway 5.0.x versions with all my stock versions and updates, starting from MIUI 10, Android 9 last year

I'm not sure but if you had F-Droid version installed, maybe it had different signature preventing you to update to the GitHub version

Try uninstalling whatever AdAway you previously had, reboot (maybe wipe Dalwik and Cache) and try again
[Android Apps and Games] ScottIsMyName:
Removing my large ad block source fixed my problem on Android 11 for a while (root method, v 5.0.9), but it seems to have broke again. I was able to boot up and remove another source and now it's fine again. It really seems like a problem with space somehow, but not sure how I can confirm this.
[Android Apps and Games] snakesanti:
Uninstalled, cleaned dalvik and restarted device... 5.09 (latest ver.) Still same message.

Retried latest stable (4.3.6) and work fine, it installs without problem and do its job... dont understand...but is what it is...
[Android Apps and Games] HerrT:
As this seems to be the first time you installed 5.x: which version of Android/Miui do you have?

Because AdAway 5.x needs at least Android 8.x (which seems to translate to Miui 11 or 12)...
[Android Apps and Games] zgfg:
Sorry, have you posted the screenshot of your error (preferably in English), maybe somebody will have a clue

And yes, check your Android version agaibst the required min. Android version for 5.0.x as in OP posts.

And make sure you don't have enabled some settings blocking the installation of apk packages or maybe some antivirus securities thinking that AdAway is a threat
[Android Apps and Games] snakesanti:
Ok...you found it! I did not realize requirements...mi android version is 7!

Thank you all...and sorry
[Android Apps and Games] madmuthertrucker:
How do I do this?
[Android Apps and Games] bombadier:
Go into preferences/root based ad blocker and untick Webserver, easy as that.
[Android Apps and Games] madmuthertrucker:
Thank you!
[Android Apps and Games] meovv:
crashing after updating to android 11

Hello, I tried searching but haven't found an answer.

I recently updated to Android 11 on my Pixel 3 XL. It is stock rooted running Magisk v20.4. Since updating to Android 11 (R), I have not been able to get Adaway to work. The version I had before (which I don't remember) kept saying not enough space try a different host location, different host location gave S-Link error. So I updated my Adaway...

AdAway 4.3.6 cannot get root access no matter what setting I try on Magisk.

AdAway v3.3 crashes on opening

AdAway 5.0.9 crashes on opening

If anyone has any ideas to try, I'd appreciate it. Thanks!
[Android Apps and Games] zgfg:
No space - SAR - use Systemless hosts
[Android Apps and Games] meovv:
Thanks for the response. I did turn on systemless host on Magisk and rebooted, but no luck. Also, I'm not sure what version I had that was able to run Adaway and have root access.
[Android Apps and Games] zgfg:
You probably need also to disable hosts in Adaway, enable again, let it then parse hosts sources. Some reboots here and there ?
[Android Apps and Games] pan.droid:
REQUEST

Okay, so I'd like to use a mega blocklist made up of all the sources for the Pi-hole project but it's not formatted with the redirects. Yes, I know about large host files and all that but I'm not worried about it as my phone has 12gb RAM.

So my question is:

Can the app have an option to automatically format old school host lists with both ipv4 & ipv6 redirects? Lets just pretend I'm talking 100k entries. Don't think it's that high at all but if I choose an option to reformat the source for both ipv4 & 6 that would entail adaway reformating each address twice. Does this make sense?

I'm a previous donater. Even though I'm broke I'd pledge 10 USD to see this done. I have always taken great pride in having a bs free Android phone & the inability to lock this down perturbs me.

Thanks to the dev for keeping this project alive after all these years. I'm an app enthusiast. I've spent a fortune supporting developers who've given up in short order. I can think of no other donation model app that I've used for so long across every Android device I've owned.

P.S. the redesign is very handsome.
[Android Apps and Games] meovv:
Update

Adaway 5.0.9 no longer crashes, but also says, "Either the su binary could not be found or you did not allow root permissions for Adaway."

Perhaps unrelated, but my phone seems to be freezing for less than a second here and there,which I read others on this thread having the same issue.
[Android Apps and Games] zgfg:
It was discussed in Magisk general thread (also here in AdAway thread) that Pixels with A11 freeze when using Adaway 5.0.9 (for some users it works with 4.3.6, for some still crashing with Systemless hosts), and issue was also opened for Magisk in GitHub.

Results vary by users, please check, maybe you find something applicable for your 3XL
[Android Apps and Games] djjohnnyblaze:
Huh... Maybe this explains my system lock ups on Android 11.
[Android Apps and Games] Ch3vr0n:
The lockups have been reported on GitHub. The culprit for the moment seems to be having the systemless hosts module enabled. I had lockups too. Disabled that module, no more issues in 3d.
[Android Apps and Games] djjohnnyblaze:
Good to know. Thanks!
[Android Apps and Games] ScottIsMyName:
So are you using vpn mode then? I like the speed of root mode better and every day or so I have to disable the vpn and enable it again in order to get anything to work.
[Android Apps and Games] Ch3vr0n:
No, I'm going with ads for the moment until the issue gets addressed
[Android Apps and Games] djjohnnyblaze:
I am also testing without adaway / magisk module at the moment to see if it helps. Previously I thought it was a kernel issue but still had lock ups with stock kernel.
[Android Apps and Games] PoochyX:
What is the secret to a ultra instinct android device

([emoji88]Omni Rom[emoji88])
[Android Apps and Games] QuickInfo:
Does whtielisting not work? I tried adding many sites but still shows connection refused. Using 5.0.9 but this has been case for a while, evenw ith previous 4.x.x. versions.
[Android Apps and Games] marciozomb13:
Definitely you are doing something wrong. Better read the wiki linked on OP.
[Android Apps and Games] Rojrijo8:
I have installed adaway on my stock rooted Note 9 (android 10) but it's not working for me, I still get ads on apps and sometimes full screen ads, AdAway shows that it's enabled. I also tried the lucky patcher ad blocker but that doesn't work for me either. It used to work on android 9. Anyone can help please?
[Android Apps and Games] Ch3vr0n:
Adaway uses hosts file dns boxing. If the ad urls are HARDCODED in the website/app adaway can't block those
[Android Apps and Games] Wolfcity:
And please don't talk about warez here. LP steels the money of developers and XDA is a developers forum.....
[Android Apps and Games] TotallyAnxious:
I'm just high enough to want to say LP allows individuals to steal, just like how adaway isn't an adblocker but allows individuals to block ads.

*cue admins*

I hope I get someone who likes me :silly:
[Android Apps and Games] IronTechmonkey:
There might be some broad philosophical similarity but down here with us there's not much of a comparison. One; helps us avoiding speculative and persistent intrusion (which if not so intrusive people might accept). The other; is theft of existing product or intellectual property. Perhaps being high has diminished your ability to perceive the large gap between speculative communication and existing commercial or personal property. No moral judgments about your chemical state although I do question your defense of warez.

:silly:

Apologies for the OT.
[Android Apps and Games] TotallyAnxious:
I do question your consumption of ad supported content without consuming ads.

:silly:

And to make you feel bad, 26 year old stage 3 cancer and stroke survivor :silly: (imagine that being a super saiyan silly face)
[Android Apps and Games] mrjuniork:
Folks, let's get back on topic, shall we?!

You can take it up with PM, in case you want to continue the process of "agree to disagree".

But please, do not clutter the thread any further with topics that aren't related to this app and the development of it.

Thx guys :highfive:

Cheers
[Android Apps and Games] DiamondJohn:
Host blocking (ie adaway) CAN block hardcoded URL's, what it cannot block is hardcoded IP ADDRESSES.
[Android Apps and Games] Ch3vr0n:
I knew it was some type of hardcoded things it couldn't block [emoji28]
[Android Apps and Games] simplicio11:
Hi all, I'm on latest 5.x beta (no root). All traffic in wifi mode is blocked, while in 4G is fine. What is the issue in your opinion?
[Android Apps and Games] drnightshadow:
You can always use firewall or iptable rules :laugh:.. no internet for bad apps :victory: ergo no ads lool
[Android Apps and Games] simplicio11:
I find a workaround: I have to switch ON/OFF the blocker and the WiFi traffic is fine.

It's a known issue?
[Android Apps and Games] ipdev:
There was some feedback in the thread about it month or two ago.

There is also an open issue on github for it.

Issue # 2154 GitHub - Link

Cheers. :cowboy:
[Android Apps and Games] wix256:
AdAway is blocking push notifications from the MLB app, is there any way to figure out what URL the notifications are coming from? I searched the hosts file for 'mlb' but no obvious url's stuck out.
[Android Apps and Games] Oswald Boelcke:
Are you using Google Play Services ot microG?
[Android Apps and Games] wix256:
Play services.
[Android Apps and Games] Oswald Boelcke:
Thanks. Just was asking because with microG it's suggested to whitelist mtalk.google.com (reference)

Otherwise sorry. No idea about baseball apps.
[Android Apps and Games] guest4711:
Disable AdAway and use the DNSLOG feature to evaluate the hosts used. Whitelist them and stop DNSLOG. Re-Enable AdAway and test all is working. If all is working, disable one whitelisted host and try again. If it is not working anymore re-enable this whitelist entry and disable the next one. Test again..

Repeat until you are satisfied.
[Android Apps and Games] zgfg:
By looking to Up-to-date for Hosts sources, I found that WinHelp2002 is up-to-date for 617 months (since March 1969) and claiming 10k hosts?

Actually, the URL is dead

https://winhelp2002.mvps.org/hosts.txt

but Adaway 5.0.9, both Hosts and VPN (two phones) were not reporting any error while checking and parsing through my hosts sources lists
[Android Apps and Games] rho-bot:
They only support unsecured URL:

http://winhelp2002.mvps.org/hosts.txt
[Android Apps and Games] zgfg:
But AdAway 5.0.x requires HTTPS (and for some time it was available).

Anyway, it's funny how it shows in list as reported above
[Android Apps and Games] jawz101:
[MENTION=7786725]zgfg[/MENTION] for what it's worth, you're already getting mvps if you're using Steven Blacks
[Android Apps and Games] Nergal di Cuthah:
This hasn't been true in six months or so.

Looks up to date to me, had a refresh 23hours ago
[Android Apps and Games] zgfg:
Yeah, that's what I was talking about:

- Try to open in browser, page does not exist:

https://winhelp2002.mvps.org/hosts.txt

- But if you already have that URL in the hosts source list, you do refreshes and it never reports an error

- If you try to define a new hosts source with that not working URL, it will report an error when you Apply changes