yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] awaisuk:
i installed adaway, and I see that all the ads are now showing "the server refused the connection" with grey squares..

Is it possible to have white background instead of these grey squares (which are in place of the ads)
[Android Apps and Games] ItzMar:
Sorry if its already been posted but I get stuck on "applying hosts file" on my stock Nexus 5.

Can't get it to work.
[Android Apps and Games] an0n981:
Downgrade to version 2.3
[Android Apps and Games] ItzMar:
Link please
[Android Apps and Games] Shinyhead:
Go back a page or two. I posted a linked for 2.3
[Android Apps and Games] andrewNY:
Turn on the Webserver option in AdAway.
[Android Apps and Games] lanwarrior:
Google changed something such that YouTube no longer works if AdAway is installed. I already get Connection error and server timeout.

I tried every version of AdAway for the last 3 version and also uninstalled all updates on the YouTube app itself.

So now I had to uninstall AdAway.
[Android Apps and Games] manbat:
My Youtube works fine...with no adds...after latest update.
[Android Apps and Games] 78Staff:
Same here, no issues with AdAway and YouTube
[Android Apps and Games] lanwarrior:
What do you guys use?

On Nexus 7 2013, YouTube got the dreaded server time out.

In my S4 Active, it works.
[Android Apps and Games] 78Staff:
In my sig... ATT S4, AdAway 2.8 and Clear YouTube 5.2.27
[Android Apps and Games] tusharg:
Thanks. It's working on Yu Yuphoria running AEX Nougat. ?
[Android Apps and Games] OSheden:
This issue is not related to AdAway (I tried with and without).
[Android Apps and Games] kurtn:
Oh. Then it's sporadic. And rebooting (e.g. when swithing AdAway) gives you a new try.
[Android Apps and Games] OSheden:
You may want to share your findings on Github since it's OT here IMO.
[Android Apps and Games] Rascker:
Thanks , it is very good ,
[Android Apps and Games] devilmaycry2020:
HI all

My phone 7.1.1 was rooted by using magisk v14 and i can change host file in system/etc with adaway but it can't block ads. please help me. thank you.
[Android Apps and Games] Pkt_Lnt:
Chrome data saver off?

Proxy in APN?

More here - https://github.com/AdAway/AdAway/wiki/Solutions
[Android Apps and Games] ktmom:
You don't say what sources your using. And you don't say what app(s) are having trouble. If the ads are in chrome, make sure data saver is off. If in YouTube, it can't be fixed via hosts file.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] devilmaycry2020:
thanks for fast help. Datasaver was OFF. No proxy at all. i'm using adaway 3.2

---------- Post added at 08:38 AM ---------- Previous post was at 08:32 AM ----------

i use Dev Build: AdAway-release_Build-Feb.08.2017.apk.

the app i have trouble is Chrome v62. Datasaver completely OFF. no using proxy, i dont have this problem in android 6.x
[Android Apps and Games] offbeatdave:
Fantastic advice. For me it was the proxy setting in my Tesco Mobile APN setting that the Sim defaulted to that was stopping the adblocker from working.
[Android Apps and Games] kecodoc:
Closed.
[Android Apps and Games] Ultramanoid:
It's working just fine on Lineage 14.1 ( 7.1.2 ). If you have a problem start by giving details of your device, root method, what is not working exactly, and providing logs if necessary.

Also, mind the manners. To post a demand such as "pls fix" without even bothering to spell it, is not quite acceptable on a developers' forum, check XDA's rules if you will.
[Android Apps and Games] Rascker:
Nice , thansk for your info
[Android Apps and Games] devilmaycry2020:
Hi all.

i've edited host file in system folder but ads still exist when i use chrome . please help. my z5 phone rooted 7.1.1.
[Android Apps and Games] Pkt_Lnt:
data saver off?

no proxy in apn?
[Android Apps and Games] devilmaycry2020:
of course , data off, no proxy.
[Android Apps and Games] androcraze:
Try Lightning Browser:

https://play.google.com/store/apps/details?id=acr.browser.barebones

See if you gets ads with AdAway and that. A simple test. If the ads are gone, it's a Chrome issue; if not, it's an AdAway/hosts issue.
[Android Apps and Games] devilmaycry2020:
Ads still there, just weird.
[Android Apps and Games] Ultramanoid:
Lightning browser does not have an independent engine, it uses whatever WebView is present in the OS, and in some cases that may even be the same actual engine Chrome is using because that's the one it borrows. Try Firefox or a build of Chromium, better Firefox in this case.
[Android Apps and Games] guest4711:
Did you reboot after applying your changes?
[Android Apps and Games] androcraze:
Lightning Browser doesn't do anything with ad-blocking.

If you're still seeing ads with Lightning, there's an issue with the hosts file not getting read properly.
[Android Apps and Games] Ultramanoid:
Lightning browser does have ad-block options in preferences, but that's besides the point, testing with Lightning instead of Chrome to discard a Chrome problem is moot. To know whether WebView or Chrome are circumventing the hosts file or not with hardcoded urls, requires a check with Firefox, which has an independent engine.
[Android Apps and Games] rayman95:
Just 2 questions....what 's the difference with V3.2 from here and in Aosp rom V6.0????

Second one, V3.2 has some positive results with virus total 8 in fact and V6.0 only 1.....

How explain that???

Thanks for your answer....
[Android Apps and Games] zm3:
Is there any away to block AdSense ads?
[Android Apps and Games] kos25k:
also if there is a way to block puffin's browser ads..
[Android Apps and Games] patrickdrd:
puffin no, because pages come from it's own cloud
[Android Apps and Games] Des9281:
why removed?
[Android Apps and Games] KOLIOSIS:
If you're asking about a post of yours being removed,contact a Moderator via PM & ask about it.
[Android Apps and Games] unkash:
hi everybody. i have a problem. i'm systemless root with magisk and works fine with greenefy, link2sd and other, but adaway tell me i dont have root access and only i have two options exit or go to a guide for root my phone :S. titanium backup dont detect root access too. what can i do for fix that?

thx very much
[Android Apps and Games] devilmaycry2020:
i've tried to use firefox but ads still exist. i dont know why. here is the host file. someone know take a look please. thanks.
[Android Apps and Games] ktmom:
Your hosts file is properly populated. Adaway has done it's job.

Try going to "http://googleadservices.com/"

If your hosts file is being read properly, that should give you an "unable to connect" error.

If you can access that page, then try from Firefox. If you can still connect, then you need to sort out why the hosts file isn't blocking sites. It won't have anything to do with Adaway. Most likely there is a proxy server interfering or the pages are cached, such as a data saver option through your isp.

If that page is blocked, but you still have problem ads, then the sources you are using aren't sufficient to block all the ads served to you. Try using the Stephan black source (search thread) or the blacklisting capability of Adaway.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] rjm831:
Great idea for a simple test of Adaway. Thanks.
[Android Apps and Games] AndroidHtc101:
Hi guys wondered if anyone could help me.

Somehow I've blocked the Android Twitch app video thumbnails from loading, plus a few other overlays.

I have a long list in my blacklist and I'm unsure which ones to uncheck.

Any ideas what the twitch app uses?

Cheers for any help:)
[Android Apps and Games] githyanki:
Disable AdAway, turn on the log. Load up Twitch, go look at log. This should help you find the errant entry.

Add them to a whitelist.
[Android Apps and Games] AndroidHtc101:
Thank You for your help that worked! :)
[Android Apps and Games] unkash:
Antes idea??? Thx
[Android Apps and Games] guest4711:
I'd install "Busybox for android NDK" magisk module, reboot and try again. (Busybox may be needed for some stuff. You can install it in MagiskManager -- Downloads.)
[Android Apps and Games] unkash:
Thx for your answer.

I've tried that and nothing happen. In module tab is listed nothing. Busybox must be listed, doesn't it?
[Android Apps and Games] ktmom:
I think you need to completely remove Magisk, dirty flash your ROM so the kernel is fresh then try rooting again. There's something wrong with your root.

Neither Adaway nor TiBu need any thing special for Magisk.

Maybe there's an app, or hide or something else interfering. But of starting grab doesn't work, you'll want to head over to the Magisk forum for help. Make sure you provide more information about your device, ROM act in any future posts.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] unkash:
I'm tried again. Reinstall and works greneefy, Link2SD, .., but adaway still doesn't work

This is log of magisk. There are an error mount /Dev/block/loop0

beginning of main

I( 312: 312) Magisk v14.0(1400) daemon started

I( 312: 314) ** post-fs mode running

--------- beginning of system

I( 312: 468) ** post-fs-data mode running

I( 312: 468) * Mounting mirrors

I( 312: 468) mount: /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system -> /dev/magisk/mirror/system

I( 312: 468) link: /dev/magisk/mirror/system/vendor -> /dev/magisk/mirror/vendor

I( 312: 468) bind_mount: /dev/magisk/mirror/bin

E( 312: 468) mount /dev/block/loop0->/dev/source failed with 13: Permission denied

I( 312: 529) ** late_start service mode running

I( 312: 529) * Running service.d scripts

I( 312: 529) * Running module service scripts
[Android Apps and Games] guest4711:
Yes, if it is installed and "core only mode" is disabled. If it does not something went wrong. Probably there are traces of old rooting solutions like SuperSU in your system which could be killed by wiping system (*not* data !!) and reflashing your ROM, g-apps (if necessary) and magisk. It should be helpful to wipe dalvik and cache before rebooting.

Good luck!

---------- Post added at 01:33 AM ---------- Previous post was at 01:23 AM ----------

This is a problem of some magisk versions not working (afaik with some encrypted devices), see the magisk thread, e.g. https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589/post74406214
[Android Apps and Games] Pkt_Lnt:
A reminder that *both* MagiskSU and SuperSU install to data so system is not modified, so wiping system will not get rid of old SU detritus. If you keep data without a full clean install, then get the UnSU zip by osm0sis. https://xdaforums.com/showthread.php?t=2239421
[Android Apps and Games] MultiKoopa:
Where can I find a list of the Hosts sources for Adaway? Don't have a rooted phone at the moment so I can't actually open the app to check its settings
[Android Apps and Games] unkash:
Yesterday i flashed the ROM, unlock bootloader, flash magisk.zip buenas recogerte and install magisk manager. I didnt get root by other way and supersu didnt install un mundo pone. So i Dont know where os the problem

P.S. Core only is disable
[Android Apps and Games] ktmom:
On the developer's site linked in the OP.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

---------- Post added at 06:25 ---------- Previous post was at 06:18 ----------

All I can tell you is that it's not an Adaway problem. You should look for help from either the Magisk forum or your device forum.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] MultiKoopa:
It's actually here: https://github.com/AdAway/AdAway/wiki/HostsSources

this is linked on the adaway website though. thanks
[Android Apps and Games] devilmaycry2020:
i coudn't access http://googleadservices.com and still have problem with ads. if you can try access this page vnexpress.net to see what happen. i look into source page and saw some ads website and i add it to host but it didn't block ads.
[Android Apps and Games] guest4711:
Did you reboot after adding the sites?

I just tested and it works for me, even with chrome (note the blank part of the page, possibly caused by blocking an ad).

I use only one hostlist: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts
[Android Apps and Games] devilmaycry2020:
thanks. i use your host list but it didn't block ads. i restart of course.
[Android Apps and Games] guest4711:
So your browser does not use the hostfile for adress-resolution. It will only work if you don't use any vpn nor proxy. If you are using mobile data make sure there is no proxy defined in APN-settings. If you use standard browser, chrome or opera, make sure "datasaving" is disabled...
[Android Apps and Games] devilmaycry2020:
I told many times as I don't use any vpn nor proxy and data saving was off.
[Android Apps and Games] ktmom:
Either the isp you use is delivering these ads regardless of the host blocking on your device

- or -

You don't have the servers serving these ads properly listed in the hosts file.

As I said in an earlier post, you need to use the dns logging feature of Adaway (not look at the source file trying to find an html call).

Open Adaway

Tap the 3-dot menu

Select "Log DNS requests"

Tap the button "TCPDUMP NOT RUNNING" it will switch to running

Switch to the browser and reload the vnexpress site

Return to Adaway

Tap the button "TCPDUMP IS RUNNING!" it will switch to not running

Tap button "OPEN LOG FILE"

You will see a list similar to the attached image. You need to add anything listed with adtrue.com and maybe other entries as well.

Host files can not work with wildcards (e.g. *.adtrue.com) so every subdomain must be added to the blacklist individually.

Reapply Adaway, reboot and test.

View attachment 4326818

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] guest4711:
So try another browser. As I have shown to you for me the host blocking is working as expected...

Another test: Open a terminal on your device , perform following command and show me the answer

ping -c1 googleadservices.com

If it is answering something like

u0_a183@:/ $ ping -c1 googleadservices.com
PING googleadservices.com (172.217.16.162) 56(84) bytes of data.

your hostfile is ignored, if it is like

PING googleadservices.com (127.0.0.1) 56(84) bytes of data.

it will be used.
[Android Apps and Games] Caltinpla:
Here is my black list to block ads on vnexpress.net
[Android Apps and Games] ktmom:
Oops, sorry, wrong poster ?
[Android Apps and Games] githyanki:
What is the output if you type the following command in terminal on your phone:

cat /etc/hosts

Are there a lot of lines that look like:

127.0.0.1 googleadservices.com
[Android Apps and Games] devilmaycry2020:
here is my ping result
[Android Apps and Games] githyanki:
OK, your host file is updated and used. The problem is not adaway or your host file. It must be your web browser or your network.
[Android Apps and Games] multi_rom_user:
Try booting to recovery and double flashing magisk. Just a quick thought then reinstall adaway. Also look for the magisk module named universal hosts adblock and flash it as well
[Android Apps and Games] guest4711:
So your hostfile is working... (the request is send to localhost, not to the 'real' host).

But if you see all the advertising in your browser something is bypassing your host file (e.g. by asking dnsserver first). Is there any app active claiming 'network optimization'? Did you try another browser?
[Android Apps and Games] unkash:
I've done that and same problem. Too i had treating install unified host adblock and I get an error. Look picture

I've seen, in settings, security, my phone status is encrypted, but I didn't encrypted. How can I decrypted? Is it the problem?

Thx so much for your time
[Android Apps and Games] ktmom:
This is so *not* an Adaway problem.

Reflashing a root solution on top of a (modem) root solution is a bad idea. The boot image (kernel) is modified by root. On the second flash you are trying to repeat the same process. The proper way to re-root is to use the uninstaller then flash the original boot image, fully returning to an unrooted state. Or use osm0sis' unsu.zip.

Please head over to your device thread for further help rooting your device and to unencrypt it.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] devilmaycry2020:
thanks for info. could you sent to me the log file with black list ads site you captured by adaway ? cause i couldn't active Log DNS request. i turn on tcpdump and it auto turn off because adaway was disabled i can't turn on.
[Android Apps and Games] ktmom:
The list was in the image I posted. But if Adaway won't enable, you need to fix that first.
[Android Apps and Games] teegale:
Adaway isn't blocking ads in the "Listonic" app and hasn't for awhile now. Not sure if the devs read this thread but save me :)
[Android Apps and Games] ktmom:
You don't need a developer. Either use a different/more sources or follow the instructions in the below quoted post (edited) from just a little earlier in the thread.

The app you refer to, is free and gets its revenue for development from the ads. You really should just pay for the ad free add-on. You will likely be playing wack-a-mole trying to block ads, and if they don't already, when they go to just using ip addresses instead of domain names, there is nothing Adaway will be able to do to help. Adaway modifies the hosts file and direct ip addresses bypass the hosts file.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] multi_rom_user:
I agree, there is something wrong with your root. Try full unrooting, the flash a stable build of magisk then the build that you prefer to use and try again.
[Android Apps and Games] devilmaycry2020:
Thanks for your helps. Now it's worked as it should. perfect ads blocking. its seem we can't use system/etc/host in Nougat directly, we have to use systemless host file because i have to turn on systemless host in Magisk setting. Right ? it mirror host file in system/etc to /magisk/.core if i turn it off it doesn't block ads.
[Android Apps and Games] ktmom:
Yes, using the modern root methods you are rooted in systemless mode. Therefore​ the hosts file that is modified is is not actually on /system but symbolically linked onto the /system/etc/hosts path.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] ad78:
The verge site cannot be blocked...
[Android Apps and Games] guest4711:
Really? It's looking fine for me, using https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts
[Android Apps and Games] Szabi01:
How can I whitelist Facebook Messenger? Because of a game, I get free things there if I watch an ad.
[Android Apps and Games] ktmom:
Just use the whitelist in Adaway. 3-dot menu -> Your Lists

If your are not sure what domain(s) need to be whitelisted, use the dns logging feature also found in the 3-dot menu. It's the same process as outlined for blacklisting in post #10109, just a few back from here.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] heynando:
the daily update is not being executed on my copy of adaway. So i have to manually enter the app weekly just to update. I'd prefer if the daily thing working automatically. I've reinstalled it but issue persists. Any tips? Where do I start?
[Android Apps and Games] guest4711:
I'd look at same "tools for optimizing your system". AdAway needs the permission to run in background. Otherwise it cannot update automatically. And some tools disable the background activity... If there is no good interface for inspecting these settings you can use BackgroundRestrictor (set android's hidden RUN_IN_BACKGROUND permission) - https://f-droid.org/app/com.pavelsikun.runinbackgroundpermissionsetter

And I'd have a look at settings. If you use mobile data always, updating should not be restricted to wifi...
[Android Apps and Games] masterepiece321:
Hi guys,

I'm using adaway and thank you for this great app! I really love every bit of it.

Just curious, is there a way where we can block every websites except specific one, eg whitelist in adaway? If there's none, is there any alternative solution?

Thank you.
[Android Apps and Games] multi_rom_user:
Yes tap the menu key in top right of the app, navigate to Your Lists then to WHITE and tap add.
[Android Apps and Games] masterepiece321:
I have tried but it doesn't work - The way I'm looking is to block EVERY websites and allow abc.com ONLY. After I filled in the whitelist, all other websites still able to be loaded.

Do you have any idea?
[Android Apps and Games] multi_rom_user:
Just to make sure, are you meaning to completely block the websites or just the ads on them?
[Android Apps and Games] masterepiece321:
The former. Block all the websites except abc.com.

So I could only access to abc.com on the phone but all other websites will return with localhost. :D
[Android Apps and Games] jcmm11:
You'll want a firewall app. AFWall+ https://xdaforums.com/showthread.php?t=1957231

Then you'll have to use the custom rule feature and study up a bit on iptables rules. The FAQ/wiki on his GitHub may be enough (see help in the app for links). If you get stuck post on that thread for help, with specific questions and showing what you already tried.
[Android Apps and Games] sirscrubsalot:
Clean AdAway uninstallation before switching to Magisk from systemless SuperSU?

Been using AdAway (system and SuperSU systemless) since its inception and thanks to [MENTION=3355398]mrRobinson[/MENTION] for the continued support to this vital app! AdAway is literally the next thing after root that gets installed :)

I'm planning to switch from SuperSU 2.85SR5 Beta on Stock Nougat with twrp to Magisk 14.X - currently on the latest Dev Build: AdAway-release_Build-Feb.08.2017.apk with systemless preferences enabled (it's been working great!)

Before I switch to Magisk for the 1st time (will run the UnSu script, flashing stock boot.img > reboot > flash magisk 14.x that comes bundled with Magisk Manager > install AdAway again + grant Magisk permission), I wanted to do a clean uninstall of AdAway - will the uninstalling AdAway directly through the main android OS once booted (i.e. just click uninstall), remove all the related systemless paths such as in "/su/su.d" and elsewhere?

Basically wanted to make sure of any other paths or files leftover after uninstalling that I would need to manually delete and/or cause conflict when removing SuperSU to Magisk and then re-installing the same Adaway apk build as above.
[Android Apps and Games] heynando:
That's a very good idea. I've added Adaway to the unmonitored apps. Let's see how it will resolve.:good::good:
[Android Apps and Games] ChazzMatt:
I've removed several apps from "battery optimization" in my Nougat ROM, due to them acting wonky.
[Android Apps and Games] osm0sis:
No, but unSU will remove those paths, so you're fine.
[Android Apps and Games] Jayesh Nirve:
This threads development dead? Last stable was in 2016
[Android Apps and Games] ChazzMatt:
Funny you are asking about "development" and totally ignoring the February 2017 dev build clearly listed in the op. That's what you want. It's the current development version.

https://androidfilehost.com/?fid=817550096634744719
[Android Apps and Games] tinko975:
No need to improve..
[Android Apps and Games] Ch3vr0n:
Yes there is, official Android Oreo support without having to manually tinker with files or having to make symlinks etc...

Sent from my Nexus 6P with Tapatalk
[Android Apps and Games] tinko975:
Then dev will make update. If not, app is deat.. to bad.. using it for years..
[Android Apps and Games] osm0sis:
Perhaps [MENTION=2822685]PerfectSlayer[/MENTION] might be convinced to make an unofficial test build with his fixes until [MENTION=3355398]mrRobinson[/MENTION] has more time again to review the Pull Requests and make more official builds.