yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Schroeder09:
My wife and I use a grocery list app called out of milk. Whenever I open OOM it will not sync with its servers. Items I add to the list do not get sync'ed so my wife doesn't see them and doesn't get the items at the grocery store. I have to disable adaway to add anything.

I have tried the DNS logger within the app to see what it's trying to access without success. There have been a few things that popped up in the logger when only OOM was open. I allowed all of them on my whitelist, and OOM would still not sync. Adaway has to be disabled. I know this is an issue with the host files I'm using now. I recently upgraded to adaway 4.0 and am only using the standard host files it comes with. I came from adaway 3.3 and OOM worked with it. I'm not sure what my host files were with 3.3. Probably the stock host files, but I had a lot of additions too.
[Android Apps and Games] r0tt0r:
either check if readding / reinstall systemless host file solve the issue or proceed with next step linking /data/hosts to /system/etc/hosts
[Android Apps and Games] DiamondJohn:
If trying to trace which Hosts need to be bypassed isnt working for you, a more manual method I have used in the past is based off of "Newtons Method"

1. Save off a copy of a full hosts file that fails O.o.m.

2. Start with a host file (the default file) that works

3. Add the first half of the saved off Failing host file to your current hosts file

4. if (3) fails, then your blocking hosts is in the first half, so go back to the empty one and add a quarter of the full file

5. if (3) succeeds, add the second half of the full file

6. Continue with the half's until you get down to one line, halving the last added section each time it fails.

NB: you may find that there are actually multiple sections that trigger a failure. Additionally, if you find a host that file like "123.moohost.com", do a search for ".moohost.com" they may simply change the prefix and it will appear in another section.

Its surprising how few cuts it will take.

PS: Careful with the use of "OOM", as it means something very specific within android, that is not "Out Of Milk".
[Android Apps and Games] Ev0luti0n_:
Hey guys. Anybody having issues with adaway disabling itself from time to time? It doesn't seem to be triggered by any particular event. It just disables itself. I then try to enable it again, and it says there is no more space left. After choosing 'systemless mode '' it actives successfully.

Browsed through the settings, but didn't found anything that could be causing this.

Any help would be appreciated. Thanks.
[Android Apps and Games] roxion22:
is it possible to block gifs with adaway?
[Android Apps and Games] guest4711:
No.
[Android Apps and Games] Doomkopf:
no, the functionality of adaway is limited by the functionality of the hosts file. You can only block ip addresses, not gifs (or any other kind of cosmetic filtering). What IS possible tho, is to block the ip address where that gif is loaded from.
[Android Apps and Games] guest4711:
Not quite right: You can block the server, where the gifs are loaded from. You cannot block ip adresses using a hosts file (for blocking ip addresses you'll need a packet filter like ipfilter).
[Android Apps and Games] HTCore:
I had exact same issue. Get OOS Debloater v6.0 which works with Oxygen Pie, flash the debloater, it opens Aroma installer. Delete whatever you think you don't need or you can install from play store .

I removed Google Movies, Google Music, Google Duo & Youtube and it was more than enough for me. You can remove most Google apps since you can install them from playstore.

Delete AdAway storage in app settings then add Systemless Hosts in Magisk. Open Adaway, you know the rest.
[Android Apps and Games] martyfender:
You must also reboot after adding the systemless hosts module in Magisk, for it to be enabled, just like any other module you install.
[Android Apps and Games] andrea0807:
Hi guys, why does adaway no longer let me paste addresses in white lists?

Before I could do it.

If I hold it down, the paste button no longer appears.

Spoiler content hidden.

Inviato dal mio MI 8 utilizzando Tapatalk
[Android Apps and Games] guest4711:
Works for me (4.2.4) if the contents of my clipboard is a valid text. Perhaps you did not grant the right to access clipboard to AdAway? Have a look onto privacy guard...
[Android Apps and Games] andrea0807:
Adaway already has permission to access the notes. other solutions?

Inviato dal mio MI 8 utilizzando Tapatalk
[Android Apps and Games] guest4711:
Use AppOpsX (A front-end for the AppOpsService) - https://f-droid.org/app/com.zzzmode.appopsx - to display/tune the permissions. And make sure your clipboard contains text if trying to paste into AdAway.
[Android Apps and Games] andrea0807:
I have granted all the permissions but it does not work.[/SPOILER]View attachment 4770246

Spoiler content hidden.
[Android Apps and Games] xristos9:
5 days now it says not enough memory space and there is nothing i can do. Before it was working very well. Any suggestion?
[Android Apps and Games] Portgas D. Ace:
Hard to tell without proper information about your device and setup. Which AdAway version and which Android version are you using? Which device? Magisk? If yes, what version? Did you install the systemless hosts module from within Magisk Manager?
[Android Apps and Games] guest4711:
Have a look onto AdAway -- Your Lists -- three Point (Hamburger) Menu -- Import
[Android Apps and Games] kutaxov:
Here is an example of the exported file.
[Android Apps and Games] andy356:
Is anyone using a hosts list hosted on Gitlab? It keeps showing "Unknown update status". This is the list I'm trying:

https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt

Edit: [MENTION=2822685]PerfectSlayer[/MENTION]
[Android Apps and Games] daywalk3r666:
https://raw.githubusercontent.com/quidsup/notrack/master/trackers.txt

use this instead of gitlab
[Android Apps and Games] andy356:
Is this opening for you? I get 404 not found. The project has been moved to Gitlab.
[Android Apps and Games] daywalk3r666:
no its not working. 404er. sry i saw only the link inside the hosts file
[Android Apps and Games] djdelarosa25:
What hosts sources do you guys recommend?
[Android Apps and Games] andy356:
https://firebog.net

Pick the ones you like.
[Android Apps and Games] guest4711:
The default ones are ok for me. I usually add Steven Blacklist, too: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts and adds are history.
[Android Apps and Games] manojl76:
I don't have that lucky have one s8 and one s10 and have ads even in xda app and I use Steven blacklist even in games I have
[Android Apps and Games] guest4711:
So you have a proxy in APN Settings probably. Do you get the ads when on WiFi, too?
[Android Apps and Games] manojl76:
I have ads in wifi too dont have nothing in APN Settings
[Android Apps and Games] manojl76:
Can't delete my previous post here is the Pic from apn
[Android Apps and Games] Luniz2k1:
Click on the APN to see it's settings to see if it has a proxy.
[Android Apps and Games] manojl76:
Here is
[Android Apps and Games] DiamondJohn:
Just a suggestion, but a simple test at first is to ping one of the blocked hosts, and if that shows it is not being blocked, then go through the more arduous steps of finding out why. Of course, test it both on WiFi and phone networks. Personally I had an issue with ads not being blocked while on mobile network, but were on WiFi. I changed (ie explicitly set) the DNS for mobile data, and the ads were then blocked.
[Android Apps and Games] vl319:
Any alternative to adaway? Seems like some ads still showing
[Android Apps and Games] Doomkopf:
a quick google search will help you. But if you choose hosts like stevenblack's list, you will see literally 0 ads (except for embedded ads, in which case adaway's (the hosts file's also) functinality is capped)
[Android Apps and Games] sirxdroid:
Something like this, but harder to manage if you don't have some DNS familiarity:

https://www.nextdns.io/

However, it's not going to solve the embedded ads problem where ads are served by the same domain needed for an app to function (such as Waze, Yahoo Weather, etc you simply cannot block those domains and use the app too).
[Android Apps and Games] vl319:
How to add this to adaway?

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

How to add thisnto adaway?
[Android Apps and Games] guest4711:
Open AdAway, open the hamburger menu -- host sources, press the "+" button, enter url. Press apply.
[Android Apps and Games] PerfectSlayer:
Hi all,

Long time no see! It's been more than two months since the last update.

I can't say I was not active on the project as I start working on a new version (5.x.y) as a side project.

I won't share the source code yet as it is not ready at all and I don't want to give an ETA but this new version targets the following goals:

1. Revamp the UI

2. Clean up old support

3. Address one of the main drawback of the app

1. The card based UI does not feel right. Welcome card takes too much space, update button / status has a lot of critic. I guess I can do better.

I started a new simpler and lighter design which provide the most useful information on home screen and all main actions to trigger in one tap (no more burger menu).

It is still under heavy development but I hopefully get a friend onboard, specialized in graphics and design, to help me :highfive:

2. In order to simplify the development, I clean up the app and remove support for old features.

I bump target SDK version so I finally get Java 8 language feature (it was released 5y ago…) and move to topjohnwu root library (instead of home made one). It means systemless support is now handled by Magisk and other root solutions will still work.

3. Think of what prevent most of users to use AdAway? Now it's gone!

It's not gone forever. It's still here but there will be a fallback to workaround it.

I won't tell more until the first public beta but I guess you get the point :fingers-crossed:

In the meanwhile, here is a new version!

Feedback:

GitLab, like GitHub do not set LastModified HTTP header so update status is not supported... yet!

Changelog:

Add Gist and GitLab hosting support for hosts file

Add option to set default IPv6 redirection

Improve reboot command

Improve UI for overlays

Update translations

Thanks:

Special thanks to [MENTION=6552280]MSF Jarvis[/MENTION] and ralayax for theirs contributions and [MENTION=7570546]andy356[/MENTION] for its helpful bug report.

Download:

AdAway 4.2.5 on AndroidFileHost (md5: ab81225745afaaa7646024109de299c0)
[Android Apps and Games] m0han:
starting here (maybe earlier too; i don't know) there were some discussions / requests regarding adding support for easily backing up / restoring hosts sources in AdAway. is this being planned / implemented? thank you for your work.
[Android Apps and Games] oroboros74:
4.2.5 doesn't install over previous version. Is that intended?

And thanks for your efforts!
[Android Apps and Games] Oswald Boelcke:
Yesterday, I had no problems at all to update v4.2.4 to v4.2.5 provided by [MENTION=2822685]PerfectSlayer[/MENTION] in the post slightly above. All working fine i.e. I'm convinced your issue isn't intended.
[Android Apps and Games] guest4711:
If your previous version is from f-droid, you must uninstall the old version before installing the new one: F-Droid uses its own key for signing...
[Android Apps and Games] ..Cory..:
Install the apk from the source you installed this previous version of the app. So if you got the release from source, install from source and vice versa. I know F-droid will sign the submitted apks with their keys, so it'll have a different signature than the apk from source.
[Android Apps and Games] Oswald Boelcke:
[MENTION=2822685]PerfectSlayer[/MENTION] Do you have any intentions to also take-over [MENTION=3355398]mrRobinson[/MENTION] XDA Labs account and to publish your version not only here at XDA and F-Droid but also at XDA Labs?

https://labs.xda-developers.com/store/app/org.adaway
[Android Apps and Games] martyfender:
Yes, I realize now that is why I had problems on my second, almost identical, device. I had forgot I had installed the F-Droid version on it a while back to test it. The uninstall and install of the new version fixed it.
[Android Apps and Games] gonzo1963:
Good afternoon,

The new version 4.2.5 has bad side menus in the Spanish version.

They do not open what corresponds to their name.

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] Kookitza:
In Hebrew the same thing happen :rolleyes:
[Android Apps and Games] Wolfcity:
Maybe some screenshots would help the developer to understand your issues.
[Android Apps and Games] gonzo1963:
Good night.

For example, the "help" menu sends us to this.

The rest of the menus have the same problem.

Regards

View attachment 4773781View attachment 4773782

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] ipdev:
You appear to missing the first option Home.

Should be Casa I believe ?

Not sure why?

It would explain why your menu options link to one step higher.
[Android Apps and Games] gonzo1963:
Good morning,

That's the problem.

By the way, it's not "Casa", it's "Inicio", jeje.

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] Wolfcity:
It's ok in german language too. Maybe it's because you have more than one line for the option logging DNS requests.
[Android Apps and Games] yogibogi:
i dont have setting in the menu
[Android Apps and Games] PerfectSlayer:
Hi all,

Feedback:

There is an import / export feature for black / white / redirect list. Nothing ready for source yet.

The main question is: should those two features be merged as a unique export feature?

If yes, which format should be used? Should I keep custom text format (poor structure but easier to write by hand) or something like JSON (better structure so safer to import but "harder" to write).

It requires to coordinate with mrRobinson. It was already discussed but I haven't done it yet.

I already provide to 2 downloads: XDA (no telemetry, mrRobinson sign key) and F-Droid (opt-in telemetry, F-Droid sign key) which are not compatible (you can't install one on top of the other due to the sign key)

If I have more free time, I could have a look to XDA Labs and Aptoide but it is not on my todo list right now (I am more focused on support and dev to be honest).

I saw this issue using linter. As it is related to translations, you could fix it by yourself in following the superb [MENTION=2148774]Vankog[/MENTION] translation guide.

Then it will automagically create a PR on GitHub that he could merge. So the issue could be fixed in the next release ;)
[Android Apps and Games] andy356:
I would like to be able to backup all the user modifiable stuff: app preferences, hosts sources and custom entries.

This way, I could take a backup, install a new ROM, and a one tap restore would set up AdAway for me. This is how it currently works in DNS66 (it uses JSON for the backup, btw).
[Android Apps and Games] Marvino.:
Perfect developer doesn't exis..
[Android Apps and Games] tqwzUX6fn39GZMEzSnDF:
Not only backup, also set up would be more comfortable. I'd like to have a simple text file where e. g. I can add / manage my sources for hosts-files.
[Android Apps and Games] Oswald Boelcke:
You're absolutely right, and I apologise. It had been discussed before, and actually it's only a convenience feature.

Your focus is correct; development takes absolute precedence, followed by support if time permits. Thanks very much for your great work in continuation to [MENTION=3355398]mrRobinson[/MENTION] superb job. Your application is a must-have on every rooted device.
[Android Apps and Games] MrBrady:
Should this be installed instead of the included hosts or in addition to the included hosts? I thought it should be only Steven's hosts, unchecking the others. But I'm not completely sure.
[Android Apps and Games] guest4711:
You may use all together. Duplicates will be eliminated by AdAway when building the new hosts file.
[Android Apps and Games] imaverik:
Q beta 4

App fails in Android q beta 4. Not sure if it still uses a single hosts file but even after changing default in app, unable to apply hosts to any location.

Root is working and adaway has storage access.

Magisk has root enabled for adaway 4.2.5.
[Android Apps and Games] NTWarrior:
I'm on an OP3 and AdAway hasn't worked since I upgraded to OOS 9.0.2. I tried turning off Chrome's DNS resolver but that didn't work and I found ads were being shown in other browsers too. Magisk is working and systemless hosts are enabled in both Magisk Manager and AdAway, although sometimes the checkbox in AdAway will turn off again and won't change to On even though tapping brings up the Magisk superuser toast for AdAway. I've granted AdAway the storage permission and tried changing the target location to no avail. I've opened /system/etc/hosts and the entries are actually there though.

Anything else I should try?
[Android Apps and Games] Oswald Boelcke:
If you're using Chrome did you implement what the OP suggests:

otherwise, maybe this might help:

https://github.com/AdAway/AdAway/wiki/LogDNS
[Android Apps and Games] guest4711:
Did you have a look at your APNs? To get AdAway working there must be no proxies in use...
[Android Apps and Games] thespeed:
I have the same issue on my Oneplus 3T.

The systemless hosts are enabled in Magisk 19.3 (19300)/ manager 7.2.0 (213)

If i press the systemless hosts on Adaway and i see a message of Magisk that it's getting root access.

Sometimes the phone hangs when i press that checkbox (on /off button and home button not working)

Also sometimes the checkbox wil turn on. (don't know when exactly)
[Android Apps and Games] alessio89g:
On latest build, Adware Scan menu shows TCPdump, Preferences menu shows Adware, and Help menu shows Preferences. o_O
[Android Apps and Games] Morghoth:
I am using 4.2.5 stable. I did a clean install of a newer Lineage 15.1 (using dedicated root addon from LOS). Since install I am facing "Not Enough Space" error. Previous stable (3.3.) enables ad-blocking but adds are still present. Any solution?
[Android Apps and Games] Oswald Boelcke:
That was already reported about five days ago. Refer to here.

The "previous stable (3.3)" is pretty mature if not to say deprecated. I suggest to chnage your root solution to Magisk v19.3, and to enable "systemless hosts" both in Magisk and in AdAway v4.2.5.
[Android Apps and Games] guest4711:
There are devices like i9100 (Sammy Sii) which cannot use Magisk. Magisk need newer kernel functions than supplied by the kernels which cannot be updated cause of incompatibilities of newer versions with closed source drivers available as BLOBs only.
[Android Apps and Games] m0han:
i'm on the latest 4.2.5. things seem ok.
[Android Apps and Games] Oswald Boelcke:
Yes, English, German and most other languages are ok; however, not all. @PerfectSlayer already advised in that respect at the bottom of this post five days ago.
[Android Apps and Games] Morghoth:
Is there any way to solve "Not Enough Space" error this without Magisk?
[Android Apps and Games] githyanki:
You need some form of root, may not work with other root solutions, provide logs and the Dev may try to see if anything can be done on his side.
[Android Apps and Games] Morghoth:
Where is a logcat generated? Some particular folder?
[Android Apps and Games] Wolfcity:
Just use an app like Catlog or Logcat Extreme from playstore.
[Android Apps and Games] martyfender:
Catlog has some problems on modern devices. Matlog is based on Catlog source and works much better. I use both Matlog and Logcat Extreme. I particularly like the per app logcat feature in LogcatX.
[Android Apps and Games] jcmm11:
Copy /system/etc/hosts to someplace in /data

Using a boot script (hopefully your root method provides for those) issue a bind mount (you want global mount namespace, hopefully your root has an option for that) binding your copied file to the original. So it would look something like

su -mm -c mount --bind <your copy in /data> /system/etc/hosts

where -mm is the global namespace option -c is the command line option
[Android Apps and Games] Morghoth:
View attachment 4776906

So here is my catlog. Adaway 3.3 is behaving like everything is ok (Ad-blocking enabled) but adds are still present in every app. It seems like Adaway is unable to edit the host file or am I wrong? Also I did numerous restarts and reinstalls but no luck. Same catlog for Adaway 4.2.5.
[Android Apps and Games] DiamondJohn:
The logcat is not really partitioned by app. In the logcat, you may get an error in the android system that will not be marked as being triggered by a specific app, but the timing/order of the logcat events makes it clear what has caused it. I would use the "per app" feature very carefully. When you write an app, you set the tag for a logcat event originating from within your app, but you have no control over the tag logged within system components, where the actual error may be first triggered. ie your app causes an error in a system component.

---------- Post added at 10:35 ---------- Previous post was at 10:30 ----------

When posting logcats, its best to actually save the output to text and host it on a site such as hastebin.com or del.gog, not a screenshot.

Check your Host file. Has it been updated?

What happens when you ping a blocked host in our host file?
[Android Apps and Games] touchbattle.mika:
Hello, is there a way to get adaway to completely block all jwplayer based videos? They are used on sites like gizmodo.com and instantly start loading video on page load, eating up massive amounts of both data and battery.

I tried adding things like jwcdn.com to my own blacklist, but this has no impact on any instance of the player whatsoever.

I use majisk and the latest adaway on lineage os 16
[Android Apps and Games] PoochyX:
Is HTTP filtering better then host ad blocking?
[Android Apps and Games] Piout:
Do you mind making a list of your Host file so it can bd easily copied. Thanks
[Android Apps and Games] Android.Sysop:
AdAway Host block SkyGo Streams

I have found follow problem:

If activated advertising blocking host file by AdAway you can't see no more movie streams into SkyGo app. If you start the movie you see only the 3 advertising streams and after this telling SkyGo app problems with the internet connection.

With AdAway you can see only advertising, no movies!

After deactivated AdAway is SkyGo without error, you can see advertising and movies.

Which line in host I must delete what SkyGo running with AdWay active?
[Android Apps and Games] guest4711:
Don't know the answer but if I had this problem I would go the way described in wiki/help inbuild: Disable AdAway blocking, start "Log DNS request", start your app. Stop it after video started, have a look at the logged dns requests. Add them to whitelist. Start AdAway blocking again. Then you may disable whitelist entries one by one until you get no video...
[Android Apps and Games] Aijen:
I dont have thats options why? ?
[Android Apps and Games] Aijen:
Some options are missing
[Android Apps and Games] Oswald Boelcke:
[MENTION=6550184]Aijen[/MENTION]

I assume you've set the language to Spanish. Issue is well known as a in-thread search will show.

Please refer to here and here.