yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Ultramanoid:
Works for me; AdAway > Hosts sources > +

Pick the one you need from here :

https://github.com/StevenBlack/hosts
[Android Apps and Games] aankkurr:
You might be adding non github links, this has both options github and non-github. I can run fine with non-github links but with github link not working.

Problem comes when you don't have non-github option available. There are few hosts which has no other optional link.
[Android Apps and Games] Ultramanoid:
No, I am using specifically what you mentioned :

https://raw.githubusercontent.com/etc links, from Steven Black, for Japanese hosts, and a couple others.
[Android Apps and Games] aankkurr:
This is how it looks on mine.
[Android Apps and Games] Toutatis_:
I've always been using the non-GitHub link without issue (for StevenBlack). I've just tried the raw GitHub link out of curiosity and it doesn't work either, same error than on your screenshot.
[Android Apps and Games] Ultramanoid:
Have you checked the actual hosts file generated ? Even if AdAway says not available it may be creating the file correctly and that could be just a visual glitch.

For instance, remove the GitHub links, create a hosts file, check the size. Then add the GitHub links, create it again, compare size.

Also worth considering, GitHub's uptime track record when serving files ( or the Amazon server it uses ) is less than stellar, sometimes it's just a matter of updating at a later time if it keeps failing.
[Android Apps and Games] aankkurr:
What are some other non-github sources are you using?
[Android Apps and Games] Toutatis_:
I've just checked, hosts file size hasn't changed. Still says:

# This hosts file has been generated by AdAway on:
# 2017-10-08 02:24:39

Anyway, non-GitHub link works just fine for StevenBlack...
[Android Apps and Games] aankkurr:
I guess you have rightly guessed right !

I disabled all sources, i opened host file to check and made sure that it is empty.

Then I just enabled one github source and applied and gave me same visual, not available. But this time when i opened host file, it had created hosts.

TLDR: you were right, it is just displays not available but in reality it does works.
[Android Apps and Games] Toutatis_:
None, I'm only using StevenBlack (http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts) since it merges many sources and works fine for me, no ads whatsoever on my device.
[Android Apps and Games] Ultramanoid:
Well, we've found a bug then. Even though AdAway reports it as not available, it IS using the source.
[Android Apps and Games] Toutatis_:
Weird, I've just tried to start from scratch just like you did (remove all sources, check if hosts file was actually empty, add GitHub link, reapply ad blocking) then I checked the hosts file and it was still empty, only my custom black list links were showing up.

Note that I didn't bother rebooting between changes but I doubt it'd have made a difference since you didn't reboot and got it working.

I added the non-GitHub link back, all good.
[Android Apps and Games] aankkurr:
The only thing i did extra was, on each step i press refresh. I don't know will it make any difference or not but i did it. And second thought would be, did you put https for github?
[Android Apps and Games] patrickdrd:
ublock & anti-adblock filters don't work in adaway guys, different philosophy
[Android Apps and Games] k3yn4:
How to use adaway for magisk ?

Systemless can't checked in the setting because root not using supersu
[Android Apps and Games] Ch3vr0n:
That's a magisk issue, not an AdAway one. Perfectly normal. Go into your magisk manager and enable systemless hosts.

Sent from my Nexus 6P with Tapatalk
[Android Apps and Games] Pkt_Lnt:
It works fine, that is merely a cosmetic issue that has been resolved and a pull request to GitHub has been posted.

https://xdaforums.com/showpost.php?p=72426355&postcount=9185
[Android Apps and Games] guest4711:
I have no problems using AdAway with Magisk. Installed Magisk, boot, install AdAway, start AdAway, grant root permissions... If AdAway was installed before using Magisk, you should uninstall it.
[Android Apps and Games] GuardianUSMC:
As already stated, that is a question for the root maker, not Adaway people. But given that many people are using both just fine, you might want to look into some steps/instructions/etc to see how and why it is not working for you, assuming it isn't.
[Android Apps and Games] jerryn70:
Seeing ads in mx player and polaris office .

Anyone else getting ads on this apps ?
[Android Apps and Games] GuardianUSMC:
I only have mx player and I don't see any ads. Never have.
[Android Apps and Games] jerryn70:
Which host files you are using ?
[Android Apps and Games] eNubiX:
This host file should block literally everything.

[url]https://www.fanboy.co.nz/r/fanboy-ultimate.txt[/url]
[Android Apps and Games] flocke000:
That is not really a hosts file ... seems like a AdBlock Plus source.

Most entries from that should not work in AdAway.
[Android Apps and Games] GuardianUSMC:
I keep my host files very limited to only 4 and instead use tcpdump to monitor each app and specifically block things that will kill it. The host files can only do so much, the developers constantly roll things to try and escape it, you need to inspect and kill them yourself to keep up. I have ZERO ads showing up in my apps and even those that are notorious for being "unblockable", no such thing, you just need to be anal retentive about it.

Anyway, I digress - my lists are the 3 defaults and 1 long lived malware domains, that's it.

https://adaway.org/hosts.txt
https://hosts-file.net/ad_servers.txt
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext
https://www.malwaredomainlist.com/hostslist/hosts.txt
[Android Apps and Games] eNubiX:
No need to get technical... But I can confirm it works.
[Android Apps and Games] neelsoni108:
Is this apps runs without Xposed framework?
[Android Apps and Games] rjm831:
Yes, but you need root.
[Android Apps and Games] neelsoni108:
Ya i have root but i don't know how to install adaway and use it?
[Android Apps and Games] jcmm11:
What are you using for root? What version of Android? Basically it's just install and run although there can be some minor gotchas based on the 2 questions I asked.
[Android Apps and Games] neelsoni108:
I am using custom rom AOSP EXTENDED and using 7.0 nought
[Android Apps and Games] flocke000:
I just find it strange that it works since AdAway and AdBlock Plus use completely different methods for blocking Ads.
[Android Apps and Games] neelsoni108:
Adaway can't be able to block YouTube ads?

Can anybody tell me is it possible through Adaway or any other software?
[Android Apps and Games] :
Nobody knows. You are the first one attempting to block YouTube ads. Even if you use search, Google or xda, nothing will pop up.

If you find a way, please share it with the world.
[Android Apps and Games] Ch3vr0n:
He was being sarcastic, as in NOT the first person trying to block YouTube ads

Sent from my Nexus 7 with Tapatalk
[Android Apps and Games] Ch3vr0n:
Don't be sorry, nobody's perfect :)

Sent from my Nexus 7 with Tapatalk
[Android Apps and Games] flocke000:
I just tried it and no, it doesn't. This is my hosts file with that source you posted:

# This hosts file has been generated by AdAway on:
# 2017-10-14 16:41:51
# Please do not modify it directly, it will be overwritten when AdAway is applied again.
# This file is generated from the following sources:
# https://www.fanboy.co.nz/r/fanboy-ultimate.txt

127.0.0.1 localhost
::1 localhost

So there are zero entries added by AdAway from your source. Whatever it is that is working for you, it must be from some other source you have enabled (like the 3 default ones).
[Android Apps and Games] Ghoul159:
Sometimes, it blocks some ads and sometimes not. It is never a reliable app for blocking Youtube ads.

Honestly saying, you're better off installing this magisk module in case if you haven't - iYTBP Magisk module. May be you would like it.
[Android Apps and Games] eNubiX:
Interesting... It's never popped up on me. I'll look into it.
[Android Apps and Games] RusherDude:
I am having trouble activating AdAway 3.2 on Nougat 7.1.2 on a N5X. I checked the "systemless" option in settings, it asked me to change the source to /data/data/hosts, so I did, then it asked me if I wanted to create a symlink, I said yes, and it said it couldn't create it :S. It is supposed to work this way right? What am I doing wrong? Using SuperSU 2.82 SR5.
[Android Apps and Games] githyanki:
Are you getting the prompt to give adaway su rights? Check in the su settings to make sure it is granted. Unless you installed supersu systemless, which is not default there are several extra steps, you can try without systemless option in AdAway.
[Android Apps and Games] RusherDude:
I'm using SuperSU 2.82 SR5 (systemless), and yes, I have given root permissions (and supersu log says so). Without systemless option it doesn't work either :S

Edit: after some reboots, after asking to create the symlink it seems to work (at least shows the green ok sign and says that files have been applied). However every time I try to update the file with new hots, it says that there is not a symlink and that it needs to create one. Again and again, is this normal?
[Android Apps and Games] mooon3:
Hi there, I'm just installing Adaway on a new Galaxy S8 (Exynos) and when trying to patch hosts with Adaway it says something like "impossible to copy hosts file". I don't know where the error come from, I tried to set permissions on hosts file to rw-rw-rw and no change... Any idea why I can't use Adaway ? Never had any problem with it on any other phone before... Thanks !
[Android Apps and Games] jcmm11:
Not normal. Symlink should not be needed, host location should not be changing.

Are you running SuperSU in sbin mode?
[Android Apps and Games] mooon3:
Hi, thanks for your reply. I don't know what is the sbin mode (I've been away from Android for a long while... maybe something new ?). FYI, I rooted using what appears to be very new Chainfire CFAR method (downloading from desktop.firmware.mobi)... maybe it comes from there ! I also discovered Magisk which seems very interesting, but didn't tried for now...
[Android Apps and Games] jcmm11:
Yes it's new. Default mode for Oreo. Optional for Nougat.

What are the contents of:

/su/su.d and /su/etc

There should be an adaway script in su.d and a hosts file in etc. The script should consist of a bind mount command mounting the hosts file in /su/etc over the one in /system/etc

(If those directories don't exist then just answer which of the following exist:

/su

/data/su.img

/data/adb)
[Android Apps and Games] mooon3:
Here it is :

/su does exist

In /su/su.d there is a 000000deepsleep file

Nothing in /su/etc

/data/su.img exists (96Mb)

/data/adb folder also exists and is empty
[Android Apps and Games] jcmm11:
Ok, try this.

Settings|apps|Adaway

Delete data

Start Adaway

Select systemless in preferences

Do NOT update hosts.

Reboot

Check contents of /su directories again.
[Android Apps and Games] mooon3:
All right, I started as you meant, but didn't find the "systemless" opt in prefs... But however, I deleted datas and rebooted and tadaa, it works just fine...

But /su/ subfolders are still in the same status they all were before...
[Android Apps and Games] RusherDude:
I honestly have no idea what sbin mode is, so unless its default, I guess not..
[Android Apps and Games] jcmm11:
Just follow the responses I posted to moon. sbin is optional for Nougat, default for Oreo.

I actually thought I was responding to you (didn't notice the author had changed), so the advice and questions remain the same.
[Android Apps and Games] RusherDude:
Yeah, his "thanks for your reply" was a little WTF to me too lol, maybe he was in the exact same situation?

In my case, adaway is working now, and I do have the /su/su.d/ script and the /su/etc/ hosts file. But even in this scenario, everytime I try to update the hosts file, it asks me to create the bind again, and after pressing ok the host file is updated.. but the symlink isn't created somehow. Kinda strange.

EDIT: That was before. After a reboot, adaway shows no host file exist (even if on the /su/ partition it does exist), and there is an error creating the symlink now. This seems like a head/tails coin everytime I reboot o.O. The script and hosts files are still in place, but apparently adaway doesnt detect them. This is being a headache, why it worked flawlessly on systemless SuperSU on M and not on N :S

EDIT2: After deleting data again, activating systemless, rebooting, and trying to apply hosts (this entire seq. for the second time..) now it seems to work flawlessly with any message about symlinks or anything o.O. I think the issue may have been some M stuff still conflicting, but I wonder how that survived the first data wipe.
[Android Apps and Games] jcmm11:
Do what I said in the other posts. Go to settings, wipe data, restart Adaway, select systemless, reboot, then try to update hosts and see what happens. (Make sure hosts is pointing to /system/etc and not data/data)
[Android Apps and Games] RusherDude:
Yeye, did it, I think I added the EDIT2 after you started replying. After doing that for the second time it worked lol (the mistery is why it survived the first round). Thanks!
[Android Apps and Games] rjm831:
Sorry for a blatantly noob question (& yes I did attempt searching):

If I wish to block all calls to/from a specific site (say, amazonaws.com for example), how do I go about it? Is there a way to blacklist any calls using a wildcard symbol before the sitename (such as *.amazonaws.com)?

Sorry to ask....I really wish there was a "for dummies" basic instruction manual for us noobs. I checked Adaway's website & Git, but no basic instructions on adding site blocking.
[Android Apps and Games] Shantanu:
Yeah same. And also in Advanced Download Manager and WPS Office
[Android Apps and Games] guest4711:
AdAway creates/updates a standard host file, which will be used by the standard function of the network libraries. The hostfile contains pairs of one ipaddress and one or more hostnames, e.g. [code[127.0.0.1 localhost myhost.localdomain phone47[/code]

Wildchars (jokers) are not supported. So you must code each hostname individually...
[Android Apps and Games] Pkt_Lnt:
The Adaway Wiki is linked in post 1 near the bottom, Here is the section you want to read and use.

https://github.com/AdAway/AdAway/wiki/LogDNS
[Android Apps and Games] tinko975:
This apk is 1 year old. Maybe wont work well cause it is outdated.
[Android Apps and Games] Nergal di Cuthah:
Adway works fine for many. Maybe you should describe your problem with it
[Android Apps and Games] guest4711:
It is still working well, as long as adds are loaded using urls containing dnsnames, not ipaddresses. AdAware does it job maintaining the host file. Another benefit is its internal webserver which will help you to avoid timeouts cause of blocked requests...

The only thing which could be a little bit outdated is the scanning engine for malware...

P.s. I'm more than 60 years old and still working well...
[Android Apps and Games] jerryn70:
Blacklist graph.facebook.com and whitelist www.facebook.com to fix the issue
[Android Apps and Games] patrickdrd:
^ nope, blacklisting graph.facebook.com creates problems in apps, e.g. tapatalk, and in facebook communications
[Android Apps and Games] #00B3B3:
I'm Seeing Ads In All Places.

( I Know This App Is(/Was, At Least) Perfect When I Used It For Nearly 2 Years On My Lenovo Phone.

Never Seen An Ad When It Was Running.)

But Now On My One M7, There Seems To Be Some Issue And Idk What It Is. Probably With My Stock ROM And The S-ON.

In The FAQ, It Was Written That It'd Work After Creation Of A Sysmlink. I've Done That, And The Hosts File Gets Updated And Shows Running File With The Green ✅ Sign.

Rooted HTC One M7 - Stock ROM ( Sysmlink Created )
[Android Apps and Games] Bimm3r:
Worked fine untill now. Ads started appearing everywhere, in apps, in chrome, data saver is off. I have los 15 (oreo) rooted with magisk (systemless hosts activated). Every now and then adaway deactivates itself, does no longer work blocking ads. What can i do? :confused:
[Android Apps and Games] Pkt_Lnt:
APN proxy?
[Android Apps and Games] Bimm3r:
I don't know exactly what is that, apn proxy, these are my Vodafone isp settings.

I also reaplyed the hosts, restarted the phone, not fixed. I am not sure if this occours only on lte or on wify. I don't have wifi now to test, later when I get home.
[Android Apps and Games] DE52:
The field where it says proxy should be blank. That's what he was referring to. If there is a proxy, ad blocking doesn't work. So simply erase the proxy, save and then ad blocking should work (a reboot may be required)
[Android Apps and Games] Bimm3r:
Worked! Thanks allot mate, I didn't even restart the phone and ads are gone.
[Android Apps and Games] DE52:
You're welcome! :D
[Android Apps and Games] #00B3B3:
Wait, I'm Not Seeing The Ads Now!!! It's Weird !!!??
[Android Apps and Games] ChazzMatt:
But somehow your keyboard is still capitalizing every word you type. ;)

You may want to replace it...
[Android Apps and Games] jerryn70:
Anyone help me to capture host files of this site pagalworld.la .

When I browsed this site I saw some ads so I tried to capture it via packet capture app. I have enabled packet capture vpn and open my browser and enter this site url but the site is not loading . If I disable packet capture vpn then the site will load. Plz tell me the way to capture ad hosts
[Android Apps and Games] ktmom:
From earlier in the thread:

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] cclem81:
ill give it a go.
[Android Apps and Games] kurtn:
Has anyone noticed: yalp store has a problem logging in with fake account, when adaway is active.
[Android Apps and Games] guest4711:
No, I'm using apkpure. No login required. :)
[Android Apps and Games] krkhaha:
Hi. I use this, it's good but I don't want block XDA forum. It's possible add this to white list or something like that?
[Android Apps and Games] Pkt_Lnt:
Post #1 has a link to the Adaway Wiki near the bottom. The wiki explains how to whitelist sites.

https://github.com/AdAway/AdAway/wiki/LogDNS
[Android Apps and Games] krkhaha:
Thanks.
[Android Apps and Games] ermacwins:
Thanks for this but why is it 4 times bigger than adfree?
[Android Apps and Games] mrRobinson:
Re: [APP] [UNOFFICIAL] AdAway v2.3

More features. Like the webserver you can enable probably. But the 4.87mb is simply the size it will take on your /data partition of storage. If you can't spare 5mb of storage for an app you have bigger issues. It takes nothing in ram by default. It adds the entries to the hosts file and exits. So not sure why this would be a concern unless you look at file sizes and assume anything larger has bloat or something. Luckily in this case you can see the source.
[Android Apps and Games] -SlenderMan-:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Hi. May I use this for a Rom I'm making?

Sent from your backyard...

Slender watches what you do...
[Android Apps and Games] mrRobinson:
No problem from me.
[Android Apps and Games] griffinj:
Thank You

I just wanted to thank you so much for compiling this and making it available. AdAway was by far my favorite ad blocker, and after searching for it several times, I finally stumbled on the news about them removing it from the play store. Wow, very very disappointed in Google, whereas I'm usually the one singing their praises. Anyways, Mr. Robinson, you are the man! Thanks again!
[Android Apps and Games] LaserChicken:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Only down side is the transparency for the status icon isn't working on my device.
[Android Apps and Games] mrRobinson:
The icon is a transparent png. What device and rom? do you load any themes?
[Android Apps and Games] Seanbest:
Re: [APP] [UNOFFICIAL] AdAway v2.3

On the developers site there is a link to Froid where you can download the latest apk without installing the Froid app.

https://f-droid.org/repository/browse/?fdid=org.adaway

Not to steal the thread but for those whining for Adfree you can get it from their site.

http://adfree.bigtincan.com/
[Android Apps and Games] hisname:
Re: [APP] [UNOFFICIAL] AdAway v2.3

damn, didn't knew that the app was taken down till I saw this thread.

Sent from my supercharged :tank:
[Android Apps and Games] rocketpaul:
Thank you
[Android Apps and Games] Jeremy:
thanks for this works great
[Android Apps and Games] pssnn:
mrRobinson thank you for providing this. I used your guide to root my SG3 when I got it in November and have no problem trusting your work with this apk. :good::good:
[Android Apps and Games] takuhii:
Angry Birds still serves me ads, I'm fully up to date with my HOSTS file, so I'm thinking some DEVs have changed the way there apps serve ads :/
[Android Apps and Games] Pons:
Or changed which IPs it's mapped to.
[Android Apps and Games] takuhii:
Agreed :) I have no idea how the ADs system works TBH, i just know that AdAway works for 99.9% of my stuff, I wouldn't change it for anything ;)
[Android Apps and Games] pssnn:
Re: [APP] [UNOFFICIAL] AdAway v2.3

You could try to block the ads by adding the URLs to the blacklist in ad away if you can find out what they are. I did that for openfeint.com and related.
[Android Apps and Games] awesomedevelop:
Usefull app,thx
[Android Apps and Games] Namoi:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Did you reboot after updating the hosts file ?
[Android Apps and Games] kd6911:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Mr Robinson thank you for posting this wonderful app... Works flawlessly for me... Greatest ad blocker for android...

Sent from my GT-I9000 running jellybean 4.2.1 by elitmovil
[Android Apps and Games] :
Well done. Mr Robinson. A must-have. Too bad Google came up with their silly policy to ban ad-killing apps. Possibly because they were the ones providing the ads.

---------- Post added at 08:01 PM ---------- Previous post was at 07:54 PM ----------

If I uninstall this app or AdFree, does the hosts file get wiped out?
[Android Apps and Games] guardian_uk:
Thanks a lot mate! Finally sorted! :D:good:
[Android Apps and Games] techware7:
Been using adaway 2.7 from f-droid on my N5 with kitkat and I've had no issues. I did however experienced the same problem you were having with version 2.8. Maybe is because of " New version of RootCommands library" on the 2.8 version.

Sent from my Nexus 5
[Android Apps and Games] messerchmidt:
just took the official 4.3 update on my note 2 (Rogers/CDN v317m version of the At&T 317), re-rooted, disabled Knox, and adaway 2.8 does not seem to want to patch the host files post update. Its working on my rooted nexus 7 with 4.4.

Edit: After 2 reboots and an update of SuperSu to 1.80, it is working.
[Android Apps and Games] MatVekk:
Ok in Huawei P1 CM11 4.4 kitcat
[Android Apps and Games] iamelton:
im having the problem of adaway getting stuck in "applying hosts file" for a long time (until i killed adaway or a popup appears saying copy failed)..

this happens since v2.8 (not sure about v2.7 though) and 2 out of 3 times i got this behaviour..

(im always using the latest version of supersu..)

is downgrading to v2.3 the only "fix" at the moment?
[Android Apps and Games] Shinyhead:
So far it looks like the issue is 2.8. I believe someone said 2.7 is okay but the 2.3 version was my copy from play store.
[Android Apps and Games] occtec:
You could upgrade to 2.5 running fine here without any issues :D

Here is a link for anyone wanting adaway 2.3 or 2.5

https://copy.com/SLpxt

Enjoy :)
[Android Apps and Games] NookMonkey:
AdAway 2.5 is working on my Nexus 7 razorg with Kit Kat KRT16S and SuperSu 1.80. :good:
[Android Apps and Games] iamelton:
thx for all the info..

i tried v2.7 and it behaved similar to v2.8 with looping problems..

downgraded to v2.5 and up to now it worked fine..

(tried on n5 and n7 with multiple host updates & reboots..)

this is another link to get the file if needed..

https://app.box.com/s/nxapmorrpvx78qzvx6af