yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Windoors:
Hello, I've been using adaway for years but for few months I noticed that Adaway no longer blocking Google and YouTube ads (in chrome). I am aware it doesn't block ads in YouTube app but in Chrome it definitely used to block YouTube ads.

How can i block them again?

Thanks

---------- Post added at 03:30 PM ---------- Previous post was at 03:25 PM ----------

I can also confirm google and youtube ads aren't being blocked not only in chrome, but also in other browsers.
[Android Apps and Games] broomer68:
You possibly swithed on a data-saver option, or your provider enabled a proxyserver.

Verstuurd vanaf mijn SHIELD Tablet K1 met Tapatalk
[Android Apps and Games] Windoors:
Data saver in chrome is turned off. Also i don't use proxy browser. Would you elaborate on proxyserver? Thanks.
[Android Apps and Games] ktmom:
[MENTION=8897977]Windoors[/MENTION], have you double checked that the sources are updating correctly. Used DNS logging?

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] Windoors:
I was doing it, saw a youtube video with ads and it listed some ad sites in log. What does that supposed to mean?

Also, when adaway enabled, the google/youtube ads show, but if i click on the ads, the link to the ad site seems blocked. So adaway is blocking access to ad sites but allowing the ads to be shown on other sites.
[Android Apps and Games] ktmom:
The ads that are displayed are either coming from a different host, or being called via an ip address which bypasses the host file redirect. Anything that shows up in dns logging, that isn't already in the host source or blacklist probably should be added. The call will still show up in the logging, just whether it is blocked is determined if the host file contains a redirect for the url.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] sirxdroid:
Which version? Dev Build-Feb.08.2017 or v3.2?
[Android Apps and Games] PerfectSlayer:
Yes there is update. I have created milestones and spent hours to merge PR to finish the 3.3 version.

I'm still waiting for the German translation by [MENTION=2148774]Vankog[/MENTION] (I think I'll drop es and ru translations for a 3.4 version).

But I still failed to run built binaries:

02-20 17:51:54.415 5010 5010 F libc : Fatal signal 4 (SIGILL), code 1, fault addr 0xb6f78102 in tid 5010 (libtcpdump_exec)
02-20 17:51:54.416 183 183 W : debuggerd: handling request: pid=5010 uid=0 gid=0 tid=5010
02-20 17:51:54.421 5011 5011 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-20 17:51:54.421 5011 5011 F DEBUG : LineageOS Version: '14.1-20170817-NIGHTLY-mako'
02-20 17:51:54.421 5011 5011 F DEBUG : Build fingerprint: 'google/occam/mako:5.1.1/LMY48M/2167285:user/release-keys'
02-20 17:51:54.421 5011 5011 F DEBUG : Revision: '0'
02-20 17:51:54.421 5011 5011 F DEBUG : ABI: 'arm'
02-20 17:51:54.421 5011 5011 F DEBUG : pid: 5010, tid: 5010, name: libtcpdump_exec >>> /data/app/org.adaway-1/lib/arm/libtcpdump_exec.so <<<
02-20 17:51:54.422 5011 5011 F DEBUG : signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xb6f78102
02-20 17:51:54.422 5011 5011 F DEBUG : r0 00000010 r1 0000007b r2 0000007b r3 00000000
02-20 17:51:54.422 5011 5011 F DEBUG : r4 b6b8e378 r5 b6f78092 r6 ffffffff r7 bec4676f
02-20 17:51:54.422 5011 5011 F DEBUG : r8 00000000 r9 00000000 sl 00000000 fp bec4799c
02-20 17:51:54.422 5011 5011 F DEBUG : ip 00000000 sp bec465b8 lr b6f77e35 pc b6f78102 cpsr 00070030

As you could see, I got illegal opcode running tcpdump… If anyone has a clue to fix it, hit me! (I tried to build under Linux and Windows with the same result.)

About the 4.x.y version, I upgraded the whole build tools and process and I do not have this issue but I don't want to backport it to the 3.x branch (otherwise, it will be a nightmare to merge my hundred of commits).

And Oreo support will be shipped with the new UI and a lot of improvements in the 4.x.y version.
[Android Apps and Games] MC_Ohr:
3.2

Gesendet von meinem HTC U11 life mit Tapatalk
[Android Apps and Games] hsquare:
Hello, I'm using a third-party Twitter app (Talon), where pictures and videos aren't loading. In the official Twitter app everything is fine. Does anyone know, what I have to whitelist to make it work again? Thanks for your help!
[Android Apps and Games] AndroidHtc101:
You should disable adaway. And enable "Log Dns Requests" in adaway settings. Make sure. You close all apps apart from the twitter app. Then look at the Dns log and enable all in whitelist. It's trial and error in most cases.

Make sure you then enable adaway so new hosts with your new whitelists enabled. Then reboot.
[Android Apps and Games] vikasb32:
How to blocks ads from textra?
[Android Apps and Games] androcraze:
Some Android applications bypass the /system/etc/hosts file, calling the server IP address directly through the app; AdAway can't block ads unless the website is named in the hosts file, and the hosts file doesn't support IP addresses.

Try the following steps:

- See if the app is listed in the AdAway Wiki Problematic Apps page.

- Perform a search of the AdAway XDA thread and see if someone had a similar issue.

- Run DNS Logging from within AdAway (perform a search for "dns logging" in the XDA thread if you can't figure it out).

If all of the above steps fail to work:

- There may be an Xposed or Magisk module that may do the trick.

- Find an alternate, free (or better yet, open source) app that performs the same function.

- Pay the developer to make the ads go away.

- Live with the ads.

EDIT: https://plus.google.com/+MoezBhatti/posts/LWYZfxKJzwU
[Android Apps and Games] jcsww:
Try Message+ by Verizon. Yes, it works with all carriers.
[Android Apps and Games] AndroidHtc101:
With ANY app. Run "Log Dns Requests. Open the app you want to block ads in, using the app for a few minutes.

Then look into the dns log and you can add to whitelist or blacklist offended ad urls.(then apply adaway again must reboot)

It's trial and error and might take a few moments but it's worth it. Log Dns Requests is one of the best features of Adaway :)
[Android Apps and Games] kryzeK:
With v4.0, please add Adaptive Icon support and better App Shortcuts icons (with adaptive shape and red icons).
[Android Apps and Games] Pastitsio:
Is there a way to import the DEFAULT lists from UBLOCK ORIGIN? Thanks
[Android Apps and Games] guest4711:
uBlock origin is using filter lists (to filter against the whole URL) while AdAway maintains the hostfile (which is a translation table from hostnames into ip addresses). So importing would be useless...
[Android Apps and Games] Ultramanoid:
What the above comment says, not with AdAway, which is a hosts file manager. But you can use uBlock Origin with Firefox for Android though. If you don't install adware applications, that will get you to have a system as clean and safe as possible.
[Android Apps and Games] r4Rok:
Which is better ad blocker among the following:

AdAway

UBlock Origin

AdGuard

---------- Post added at 05:16 PM ---------- Previous post was at 05:16 PM ----------

Which is better ad blocker among the following:

AdAway

UBlock Origin

AdGuard
[Android Apps and Games] ktmom:
They are not the same type of thing. So which is better isn't a reasonable comparison. Maybe this thread, [GUIDE][COLLECTION] All About Ad-Blocking by Portgas D. Ace will help you sort through the different ad blocking options.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] jcmm11:
All I can tell you is I'm running both AdAway and, for Firefox, UBlock Origin. (I also have Chrome Canary and Klar installed as browsers, but tend to mostly use Firefox). To tell the truth I could probably get away without UBlock - my ad count tends to be low as is. Some apps (mostly games) are completely blocked from the Internet using AFWall+.

UBlock is excellent, but it's only usable with Firefox (on Android). AdAway is as good as the hosts file you use with it (Steven Black's is excellent) but has the limitation that it can only block domains accessed via DNS. If a program has hard coded ip addresses (or if you're using a proxy) AdAway won't help (hence AFWall+).

Oh - Firefox also has an AdBlocker for YouTube add-on available.

I've never used AdGuard but UBlock works great (and running both of those would be redundant).
[Android Apps and Games] osm0sis:
And let's not forget Blokada, an open source ad blocker running on the same VPN principle as AdGuard, so works without root. I recently switched to it on my unrooted Shield TV and it's quite good.
[Android Apps and Games] jack allen:
Aswell as your app? You have a link please or is it in playstore?
[Android Apps and Games] osm0sis:
Eh? I don't have an app, and just said I switched to it on one of my devices so that doesn't make any sense if I had made it. :confused:

Ad blockers aren't available on the Play Store anymore, as mentioned in the OP. It's here on xda and Google will find it for you pretty readily.. don't be lazy.
[Android Apps and Games] guest4711:
You may try DNS66 (Block ads/hosts via DNS) - https://f-droid.org/app/org.jak_linux.dns66 - and Blokada ad blocker (The ad blocker - battery efficient, fast, powerful and simple to use) - https://f-droid.org/app/org.blokada.alarm

Both are FLOSS and have similar concepts and functionality.
[Android Apps and Games] Ultramanoid:
XDA thread : https://xdaforums.com/android/apps-games/app-dns66-source-host-ad-blocker-root-t3487497
[Android Apps and Games] dddufte:
I was wondering if there is a way to collect statistics how often / how much blocks my AdAway installation is realizing during my daily usage.

In best case even broken down to source & target.

Is there already some kind of solution for that question?

I can imagine redirecting to a self-controlled IP could be a way and run stats on that host then. But i am open for other / better ideas.

If it is the prefered way i could create a related issue on the projects github page as well
[Android Apps and Games] shaqman89:
Since traffic could be routed to webserver already, I think all needs to be done is add logging in there. I don't think that's too hard to do.
[Android Apps and Games] ktmom:
[MENTION=8278676]dddufte[/MENTION], I may misunderstand, but it sounded to me that you might be suggesting this feature should be added to the app. It seems to me this is a rare use case and would bulk out the app unnecessarily.

If adding this as a feature is what you're suggesting, why not consider creating a hosting service yourself that users could redirect to and get the stats. IMHO, this "plugin" approach is more in line with the philosophy of Linux development.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] dddufte:
Hey,

and thanks for the feedback.

To be honest.....i posted to get some feedback about options i might already have before i am trying to implement a solution for myself.

I already assumed that forwarding to a non local ip (self-hosted web service) might be a possible solution to easily run some kind of stats.

I fully understand that adding such a function might be out of focus of the developers.
[Android Apps and Games] r4Rok:
How is when combining AdAway with either Blokada ad blocker, Or DNS66, because mininguard isn't available on Nougat. Or, can anyone suggest other ad blocker to go BEST with AdAway?
[Android Apps and Games] Nightmare[ITA]:
You can use MinMinGuard on nougat.

You need to enable beta version to show in xposed in order to see the version which works with nougat.

I'm on nougat too and currently using it.
[Android Apps and Games] endrju_master:
How can I remove the ad placements in the sites?

I have to pass safetynet because I use android pay. I think xposed is not for me. Help me please

---------- Post added at 05:14 PM ---------- Previous post was at 05:14 PM ----------

How can I remove the ad placements in the sites?

I have to pass safetynet because I use android pay. I think xposed is not for me. Help me please
[Android Apps and Games] guest4711:
Use vpn based blockers like DNS66 (Block ads/hosts via DNS) - https://f-droid.org/app/org.jak_linux.dns66 - or Blokada ad blocker (The ad blocker - battery efficient, fast, powerful and simple to use) - https://f-droid.org/app/org.blokada.alarm

They do not require rooting your device. There are support threads here on XDA for both apps.
[Android Apps and Games] rjm831:
Adaway is working great on my old Gfive Logic X1, but is blocking images on a lot of websites. I'm only using default hosts.

Does anyone have a suggestion? Any whitelisting I can do? Really don't know how to deal with this unwanted blocking.

Thanks all.
[Android Apps and Games] ktmom:
Use DNS logging. Make sure you disable Adaway first so the blocked images can come through. Determine what hosts should be added to your whitelist.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] endrju_master:
I don't want to use VPN. Is it another metod?
[Android Apps and Games] guest4711:
You can block adds in firefox with uBlock-Origin. But this will not help in other apps.

Globaly you can either root your phone (which makes it hard to use Android pay) or use the vpn solutions I did mention. But this aren't real VPNs - they run on your device only. It's the only solution for filtering all network packets on your phone if you did not root it.
[Android Apps and Games] endrju_master:
I think we don't understand each other.

I have rooted phone with magisk. I use Adaway and android pay. Both are working but in chrome I have an empty ad placements (white space). I know that the solution is minminguard and xposed but xposed broke safetynet.

I am looking for another solution.
[Android Apps and Games] Ultramanoid:
The other solution, as has been already mentioned, is Firefox with uBlock, it removes those placeholders in web sites and is miles ahead of Chrome / Chromium / WebView protecting from and cleaning up the web experience. No WebRTC leaks, for instance.

This conversation is veering off-topic anyway, not actually related to AdAway.
[Android Apps and Games] pkelly517:
That's beyond the scope of this thread.

Good luck to you.
[Android Apps and Games] Nightmare[ITA]:
Hi

I'm using the v3.3 fork, since Magisk v15.x broke the Root request on v3.2.

The Problem now is, that Systemless option in settings is greyed out.

If I set the location of the host file to "data/data/hosts", will SafetyNet and OTA

still work?

Also, any idea why the systemless option is greyed out?

Thanks
[Android Apps and Games] Lycox:
Do you have a link to 3.3? Found it on 4pda.ru but I'm not able to download it.
[Android Apps and Games] ktmom:
A thread search finds post #10321.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] sirxdroid:
To my surprise, dev build Feb.08.2017 from the first post seems to work OK with the latest Feb Oreo + Magisk 16.
[Android Apps and Games] jcmm11:
All you need to do is set the Magisk option for systemless hosts. Do not change the host location and don't worry about the option being greyed out. It's greyed out because the mechanism is different than it was for supersu (there's no shell script that needs to be run).
[Android Apps and Games] Nightmare[ITA]:
Thank you! :)
[Android Apps and Games] guest4711:
If you mean this version - AdAway (Block advertisements) - https://f-droid.org/app/org.adaway - yes.
[Android Apps and Games] oroboros74:
I just updated to Miui 9 (V9.2.3.0 MHRMIEK) and Adaway had problems. Rooted with Magisk. I only see the title in red and nothing else and then fc.

I tried uninstalling and reinstalling but no luck.

Any suggestions?
[Android Apps and Games] shaqman89:
Yes, search.

https://xdaforums.com/showthread.php?t=2190753&p=75097249
[Android Apps and Games] oroboros74:
Just a quick note if you're interested, but it doesn't work - like it says it's only tested on Oreo.

Any other suggestions?
[Android Apps and Games] jcmm11:
Logs?
[Android Apps and Games] oroboros74:
lol
[Android Apps and Games] PerfectSlayer:
Hi all,

Here it is! I finally succeed to build the binaries of the 3.3 version with the latest SDK/NDK (I had to backport changes from the 4.0 branch).

So I just finish the release adding the changelog and incrementing the version. The new version is available on AndroidFileHost.

Changelog:

Add support for ChainFire's SuperSU "bind sbin" systemless mode - by PerfectSlayer

Improve systemless activation error handling - by PerfectSlayer

Improve su location detection - by tstaylor7

Update Mongoose webserver - by MrRobinson

Replace CyanogenMod references by LineageOS - by experience7

Update translations - by Mattter, mission712, ThomasSmallert and muzena

Fix translation attributes - by Vankog

Fix Magisk 15.x support - by pec0ra

Please note:

I am not the OP so I can't update change the link on the first post The post was converted to a XDA project and I am now a contributor,

I don't have the original certificate file so you must backup your lists, uninstall your version, install the new version then import your backup,

If your feedback is good, I will update the version on F-Droid A regression was found for Oreo users. A new beta update is coming.

Thanks:

Special thanks to [MENTION=2148774]Vankog[/MENTION] and [MENTION=4466123]pec0ra[/MENTION] for working hard on their PRs (yes, I like to motive others to get their best!) and thanks to anyone who contribute to the version.

Download:

AdAway 3.3 on AndroidFileHost (md5: aa1c400f2787dd430033ccb8e4fce031) Update here: https://xdaforums.com/showpost.php?p=75785065&postcount=10597
[Android Apps and Games] rjm831:
I've an old phone, but your new 3.3 is working perfectly. Thank you!
[Android Apps and Games] guest4711:
Thanks a lot for the new version. Could you please add it soon on f-droid (flagging it as unstable version) so we f-droid users can test it without having to uninstall the previous version (I don't like to enter all url's of the blocklists again) and new users get the stable version by default.
[Android Apps and Games] x.trinity:
3.2 exporting list doesnt work for me, so Ive entered all manualy.

3.3 is nice working on my side.

:good:
[Android Apps and Games] jcmm11:
If you have Titanium restoring data (only) should give you everything back. Or you can save /data/data/org.adaway/databases/adaway.db and /data/data/org.adaway/shared_prefs/preferences.xml and then restore them.
[Android Apps and Games] PerfectSlayer:
I will update it on F-Droid by the end of the week if no regression is found.

I don't know if the F-Droid project configuration accept a such "-unstable" label in the version schematic and it could took some days to reach Dominik to get the answer.

So it should be quicker if I wait 48h of feedback and then publish it to F-Droid ;)
[Android Apps and Games] guest4711:
Thanks for the quit answer. On f-droid there are stable, preferred and unstable versions, but I don't know how to set this metadata...
[Android Apps and Games] Portgas D. Ace:
[MENTION=2822685]PerfectSlayer[/MENTION] thank you for your continuous effords :good:

Quick question: how is this going to be handled? From what I see, your version is an unofficial version of AdAway, is it planned that you take over the releases for AdAway or will official versions still being pushed out by mrRobinson? Seems that it might be somewhat inefficient if both of you push out new versions and users have to re-install the app every time if they want the latest version.
[Android Apps and Games] utg1:
Really thanks mate.

Just one question: does it work with magisk version 16 or 15.3?
[Android Apps and Games] jcmm11:
Yes. Running with 16 right now.
[Android Apps and Games] PerfectSlayer:
Good question! Actually, I'm a member of the AdAway GitHub organization like mrRobinson and Dominik Schürmann (the original author).

I guess the builds from mrRobinson and I are both unofficial as they don't come from Dominik. I tried to reach mrRobinson on XDA and GitHub to make the release or share its keystore but I got no answer (it's fine to be busy/away). So I generate my own keystore to build my versions.

About the next major release, the version 4.0 is an hundred of commits ahead master and will ship a new UI and a lot of under the hood improvements.

I use continuous integration with Travis to publish signed build for each GitHub commit. The keystore is uploaded (and encrypted) on my repo and I don't know if mrRobinson will allow it with its own keystore.

Moreover I wonder if I should open a new thread about the future beta because I don't want to pollute this thread with bug report that does not relates to the stable branch and I can't update the OP to give instructions or answer the recurrent questions. What do you think about it?
[Android Apps and Games] osm0sis:
I think it's probably fine to keep it in here since you're the only one actively developing AdAway at the moment, so it's all relevant.

Also, maybe [MENTION=3355398]mrRobinson[/MENTION] should turn this thread into an xda DevDB project. That way he can add you as a co-dev and you can both edit the OP.
[Android Apps and Games] x.trinity:
Yes, I always grant a storage permission. When i try to import list in 3.2 it reports an error.
[Android Apps and Games] martyfender:
On 4 devices, adaway is not asking for storage permissions. I have to go into settings, apps adaway and grant it there. However, maybe this is normal, as there are other apps that behave this way also. It just seems that it should be asking for this permission in the app, itself. I am using Magisk 16.0.

After granting storage permissions, adaway appears to be working great using the http://sbc.io/host/hosts host file that I normally use.
[Android Apps and Games] PerfectSlayer:
Could be a good idea! :good: But I don't know if he will agree.

I implemented the permission check and request in the 4.0 version with the help of [MENTION=8393509]GeoZac[/MENTION]. I posted a capture few page ago.

But for the 3.x versions, you have to allow the storage permission manually.
[Android Apps and Games] x.trinity:
After a reboot sequence, when all applications get superuser rights,, I've noticed this writing on my desktop..I've checked Magisk /Superuser, everything is fine.
[Android Apps and Games] jcmm11:
I've seen this as well. It's not caused by the new version since I saw it before that (but only on 8.1, not on Nougat. Nougat was Supersu, 8.1 is Magisk - not sure if that's relevant). I figure it's a timing glitch of some kind. I just go and manually bring up AdAway and everything's fine after that. It doesn't happen on every boot. Usually when there's more activity then usual going on. eg. Rebuilding dalvik. Some other apps also choke temporarily.
[Android Apps and Games] x.trinity:
Have never seen such message on N.

Im using RR/O now ,not quite sure is that occur just on the new v.3.3 or is Oreo related.

It happens on every reboot on my side.
[Android Apps and Games] jcmm11:
It's definitely not the new 3.3. The old 3.3 also did it. Not sure about 3.2. I think it's Oreo related. Maybe Oreo + Magisk (since I need root to run AdAway sort of tough to test without Magisk ?)

Small experiment. After you reboot just leave the phone alone for about 5 minutes. Let the phone settle on its own (maybe turn screen off) and see if you still get it.

Magisk, at boot, is definitely doing more than supersu did - for starters it has a ton of bind mounts. Oreo also, I think, is doing things it didn't do before. Although that's conjecture on my part.
[Android Apps and Games] Shtiff1:
Just installed 3.3. Checked box for enabling system less mode is darkened out. Any suggestions? XT1254, 6.0.1, stock rom, magisk 16.0
[Android Apps and Games] Nergal di Cuthah:
Go into magisk manager and enable systemless hosts
[Android Apps and Games] Shtiff1:
It already is
[Android Apps and Games] Nergal di Cuthah:
Then you're good to go. It's a known bug/feature that the box is greyed out when using magisk
[Android Apps and Games] Shtiff1:
Ok thank you