yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] PerfectSlayer:
AdAway

AdAway is an open source ad blocker for Android using the hosts file.​

Google Play Store notice

According the Google Play Developer Policy, especially the "Device and Network Abuse" section, ad blocker like AdAway violates the "Apps that block or interfere with another app displaying ads." rule and can't be distributed on distributed on the Play Store.

As Free and Open Source Software, AdAway is available from F-Droid Store or this XDA thread :good:

Requirements

This application requires Android 8 or above and does no more require root.

For older Android versions, a rooted device is required.

Changelog

If you don't want to read each announce post of this thread, you can:

Get a summary of all changes in the project CHANGELOG.md,

Check any further details though the source code commits.

Downloads

Stable versions are available on GitHub releases and F-Droid Store:

AdAway 6.1.3 - Latest stable version - check v6 announcement

AdAway 4.3.6 - for Android versions older than Android 8

AdAway 3.3 - for Android versions older than Android 4.1 Jelly Bean

Beta versions are available on GitHub releases only: AdAway 6.0.2b

The app provides an in-app updater for both GitHub and F-Droid builds.

Keep in mind beta channel is limited to GitHub builds, and F-Droid releases usually have a several days latency.

Problem? Read this

* If you use Chrome and still see ads on web pages, remember to disable the "data saver" or "reduced data usage" browser option.

* Check your APN settings for any proxy, the proxy itself could be allowing ads. Disable the proxy.

* After you install or make any change to AdAway, you must reboot for those changes to take effect.

* If you are still having issues please read and understand all the info in the wiki before asking for help here.

Otherwise, this is the right thread to discuss about it or file a bug report here.

Contributors

PerfectSlayer, Vankog, jawz101

Source Code: https://github.com/AdAway/AdAway
[Android Apps and Games] WastedJoker:
I wondered where this app had gone!
[Android Apps and Games] inc188:
thanks
[Android Apps and Games] mrRobinson:
No problem, I'll keep this updated as changes are made to source. Also in case anyone is wondering it is signed and zipaligned.
[Android Apps and Games] stab244:
Re: [APP] [UNOFFICIAL] AdAway v2.3

For those who already have play store one installed, this one won't install over. Application signature doesn't match. Not that hard to solve. Just uninstall the old one and install this one.

EDIT: Now it installed over when I updated from version 2.1... Weird. Also it didn't detect root when I clean installed. I think my phone is just being weird.
[Android Apps and Games] phaze1:
Use to use Addfree but now not availible so tried this out. It seems to be working great on Note 2 Android ver. 4.2.2 , thank you.
[Android Apps and Games] mrRobinson:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Yes, correct. It should not install over. Uninstall your play store version and then install this.
[Android Apps and Games] Omar5000:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Oh wow :eek:! I wasn't sure why AdAway had been removed from Google Play. Thank you for this and now I know.

sent from my Unicorn Covered Unicorns
[Android Apps and Games] anurag.dj2u:
Re: [APP] [UNOFFICIAL] AdAway v2.3

I think adfree works bertter then this .. If ya really wanna help people by sharing sumone else app then why don'tya upload good n working app ...

Btw 100x thx :thumbup:
[Android Apps and Games] mrRobinson:
Re: [APP] [UNOFFICIAL] AdAway v2.3

That's what I did. I uploaded a good and working app. Ad free isn't open source so I can't build it's latest version. Clearly you don't understand that. If you want adfree go download it somewhere else as this thread is just for adaway.
[Android Apps and Games] ~kyle:
Thanks a lot! I had no idea this had been removed from the play store.

edit: I made a small donation to the dev as well, thanks for the heads up!
[Android Apps and Games] xeraphael:
Just a quick question to the OP - are you planning to keep the APK up-to-date? Because I'm thinking about subscribing to this thread for updates, thanks.
[Android Apps and Games] selfishloner:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Web server wont run on the new update. Whitelist does'nt work also.
[Android Apps and Games] xxxrichievxxx:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Thank you so much for this!!!!!!!!! :D
[Android Apps and Games] bartolinio:
would do well to add to the next version of the option of automatic application update ;)
[Android Apps and Games] mrRobinson:
yes, whenever the sources update I can re-compile and post up the new one.
[Android Apps and Games] mrRobinson:
Both those work for me but posting issues here won't help the dev fix them if they are confirmed issues (maybe just for your device). I've added to the OP where the developer wants issues to be filed. Check there for anyone else having your issues.
[Android Apps and Games] AlexsamaM:
Edit: works now.
[Android Apps and Games] Listy2021:
Read the post above yours
[Android Apps and Games] rocada:
option of automatic application update

Grea job. :laugh:

Please add option of automatic application update.
[Android Apps and Games] lesp4ul:
Errr... Did you read?
[Android Apps and Games] Dr. Droidberg:
I've used both. AdAway worked better for me, hands down.
[Android Apps and Games] peped94:
yeah . i have read your comment but not understand how to solve it :confused: . i dont know how to open host files in adaway setting
[Android Apps and Games] lesp4ul:
Okay, just opera mini method.
[Android Apps and Games] aenima73:
not working

Hi,

I have a rooted device with JB and Adaway is not working. I have restarted the device and I have checked the hosts file is correctly placed in system/etc but the ads are not blocked in any browser, I use Maxthon and Puffin (I have checked some url from hosts file and they are correctly shown, not blocked). I have even copied my own hosts file to etc folder but didn't work either.

Adaway appears Enabled in green.

Any idea?
[Android Apps and Games] peped94:
hmm . dont like that browser . any other method ? before this i apply the whitelist and it works fine . i can open adfly website

EDIT: okay now i can open the host file in adaway setting and i can find cdn.adfly* . i delete it and now it says want to save it as what format ?
[Android Apps and Games] lesp4ul:
text format, but check again after save, hosts file should be has no any extension, just "hosts" if there any extension for ex."hosts.txt", remove ".txt"
[Android Apps and Games] peped94:
thanks . it really works :fingers-crossed: . btw, if i update the host files, i must do the same steps manually ? any other method to skip this step ?
[Android Apps and Games] lesp4ul:
Seems likely you must do it again because updates will over write current hosts.

So i suggest you to use opera mini instead, it's more simple.
[Android Apps and Games] mrRobinson:
Why wouldn't you just use the white list? That's what it is there for. Then it will preserve what you whitelist across updates as it applies that last.

Go to settings and check the box to enable redirection and white lists.

Then go to your lists, click on the white tab and add an entry like *adfly.com

Reapply hosts file.

Done.
[Android Apps and Games] peped94:
thanks for your suggestion mr robinson . but i had done exactly the step u mention . unfortunately, adfly not loading until finish . the "skip ad" button not shown there but actually it has because when i press at the skip ad button at the top right corner, it will go to the next page(eventhough i cant see the "skip ad" logo ) . i had whiteliste adfly . u can read my post before this .

EDIT: yeayyyyyyyyyyyy :D finally i managed to get it works like a charm . just whitelist 2 host files which is adfly and cdn.adfly (both must have . between l and f alphabet )
[Android Apps and Games] advancedbear:
Doesn't work on Xperia go

I tried AdAway in the Updated(Jelly Bean) Xperia go.

But AdAway doesnt work.

It is said "SU Binary not founded".

My Xperia go is Rooted and SU Binary was updated.

busybox was installed.

Titanium Backup is work.

Why?
[Android Apps and Games] wilkster:
Go into your superuser app and "forget" adaway then run it again. This should prompt for permission again.

Sent from my EOS JB TF101
[Android Apps and Games] Sliderxxl:
Yep. Works. Thx

Gesendet von meinem GT-N7000 mit Tapatalk 2
[Android Apps and Games] advancedbear:
I'd try this, but AdAway still doesnt work.

AdAway Message "SU binary not found" is displayed before the Superuser Prompt.

I have never seen such a thing...
[Android Apps and Games] rignfool:
Are you using supersu and have survival mode enabled?
[Android Apps and Games] advancedbear:
no,i use superuser.

not SuperSU.

I tried unRoot and reRoot,but still doesnt work.
[Android Apps and Games] californicated:
AdAway does a good job in blocking banners, but most in most games the whole screen gets black and a big ad appears. Is there any way to block this ads?
[Android Apps and Games] virus86:
I was wondering where this app went. I got it installed on my Nexus 7 (4.2.2) and Motorola Bionic (4.1.2). Thanks!
[Android Apps and Games] sdmkx:
somebody use it on xperia s 4.2.2 ?
[Android Apps and Games] s--c:
Does it block the amazon ad in imdb?
[Android Apps and Games] jmindset:
For those still getting ads on youtube, try downgrading to an older YouTube version. Or try a modded YouTube version in combination with adaway and xposed youtube adaway.

Sent from my LG Optimus F7
[Android Apps and Games] Wh1t3Rose:
The link works fine. Did you remove the space before the period?

#AndroidL
[Android Apps and Games] Firstsage:
Why does AdAway need full permissions to the device?
[Android Apps and Games] kingvortex:
Put basically, because it edits a system file. Root access is needed to do so.

Edit - If you're referring to the SU permission when installing the app that states "full permissions to all device features and storage", then all root enabled apps have this access. It's just that responsible devs declare this permission.
[Android Apps and Games] guycan:
The newest YouTube and YouTube adway there's ads ... but the new YouTube and YouTube adway 2.0.2 there's no ads that works for me

SGNote2
[Android Apps and Games] lou2s:
I have added the link in the hosts list but it doesn't get loaded... (Space in front of .com removed ofcoz)

Sent from my Boeffla I9300
[Android Apps and Games] Wh1t3Rose:
Anybody know how to block Pandora ads, and not requiring Xposed (I'm on L)
[Android Apps and Games] Café King:
Any way to allow certain apps to show ads when using Adaway?

Thank you in advance

/CK
[Android Apps and Games] lzk123:
Ya, I've check that there is no space in between. The link below is correct right?
[Android Apps and Games] Wh1t3Rose:
That's weird. I just put it in my Adaway hosts list and it pulls it.

#AndroidL
[Android Apps and Games] lou2s:
As you may see in the screenshot, the link is placed there but cannot be loaded.....:(
[Android Apps and Games] Wh1t3Rose:
Beats the hell out of me. Maybe he pulled it?

#AndroidL
[Android Apps and Games] KTownGT:
Dead for me as well
[Android Apps and Games] Pkt_Lnt:
That is precisely what the whitelist if used to do.

You forgot the http://hosts.eladkarako.com/hosts.txt like the screenshot above. It works fine for me.
[Android Apps and Games] Wh1t3Rose:
No he didn't. Check his SS again

#AndroidL
[Android Apps and Games] Pkt_Lnt:
I was replying to this post.

http://xdaforums.com/showpost.php?p=55403489&postcount=1997

and stated that the screen shot WAS CORRECT. ???????
[Android Apps and Games] Wh1t3Rose:
OK my bad I got ppl mixed up.

#AndroidL
[Android Apps and Games] DjDiabolik:
interesting 2.9.1... i ever used the D4rken mod 2.8.1, it's need the same mod on this newest version???
[Android Apps and Games] BACARDILIMON:
Wow this is funny. All 3 of us have different host.

BAD ASS G3
[Android Apps and Games] lzk123:
Doesn't work either. Tried the link in Adaway, phone browser, laptop browser. Still gives the "403 Forbidden" error. Maybe there is some kind of restriction in the site?

Edit: Somehow it works when I used Onavo Extend on my phone to access the link. Btw, I'm from Singapore. So I think most likely there is some kind of region block or something?
[Android Apps and Games] Pkt_Lnt:
Works fine for me in Adaway, phone, laptop, tablet for me. Yes, you are restricted / blocked somehow.
[Android Apps and Games] justmpm:
Hi Everyone,

I did a little thread cleaning to remove some off topic posts. Please remember that if it isn't about AdAway then it doesn't belong here, so optimizing Adaway on Android L would be welcome, but general opinions on Android L or the direction Android is moving in really should go into a different thread. :D

Thanks!
[Android Apps and Games] Mr. Raymon:
This app works perfect although I would like expend less RAM memory ;)

Thanks and Regards.
[Android Apps and Games] Café King:
Thanks for the reply.

I have no idea how to do it. The app I want ads allowed in is the official WWE app...

It only works for me when ads are not blocked via Adaway...

/CK
[Android Apps and Games] mrRobinson:
2.9.1+ update for testing. Won't even put in OP, use at own risk.

Highlevel changes:

Fix: tcpdump stopped logging upon file deletion

Separate Whitelisting and Redirections

Disable autocorrect/autocomplete on hosts input

Adware scan improvements

default hosts really set to https

I had to clear data of the app after installing otherwise had continuous force-close. So, again, install at own risk.

Otherwise wait for the next version bump as this is just commits grabbed froml 2.9.1 label through to today. (almost all from DavisNT again)

Adaway Sep 13 Build
[Android Apps and Games] bberryhill0:
Turn on tcpdump, run the app, view the log, then add sites to the whitelist.

Swyped from my Verizon LG G2 using Tapatalk Pro 4.5.2
[Android Apps and Games] DavisNT:
Can you open Android Terminal, invoke the following command and post here output?

ping -c 1 rb-net.com
[Android Apps and Games] Vitin1010:
Very good

My favorite, always use it to block spreading
[Android Apps and Games] leetmode:
Sorry for the noob question, but is AdAway able to block of YouTube ads? I just installed it and still got one within the youtube app. Is there a specific setting I need to set or host file I should edit?
[Android Apps and Games] Pkt_Lnt:
All the previous replies to this question answer to install the Xposed module You Tube Adaway/
[Android Apps and Games] leetmode:
Thanks for a heads up.
[Android Apps and Games] KTownGT:
How much RAM does AdAway normally consume?

Thought hosts files were pretty light weight...
[Android Apps and Games] Café King:
Thanks for the reply. I tried via some Shark app, but couldn't get it to work. Care to help with a little guide for noobs maybe? :confused:

/CK
[Android Apps and Games] bberryhill0:
Tcpdump is part of AdAway. Search this thread, there are better descriptions of how to do it.

Swyped from my Verizon LG G2 using Tapatalk Pro 4.5.2
[Android Apps and Games] DjDiabolik:
Nothings..... because there's not process remain in background after the host file it's been applied!

---------- Post added at 01:20 AM ---------- Previous post was at 01:16 AM ----------

wtf it's that?? it's a unofficial beta like d4rken 2.8.1??!?
[Android Apps and Games] mrRobinson:
No. Commits that will be official just not yet. D4rken never got merged in.

Like a pre 2.9.2
[Android Apps and Games] DjDiabolik:
Ok.... i continue to watch and follow the thread until there are been release ufficially :)

Otherwise i can confirm whit this 2.9.1 are not blocked video advertising on youtube APP before to watch a user video.... this happening whit "old" 2.8.1 right ?
[Android Apps and Games] ryencoke:
Info as requested:

u0_a61@jfltecan:/ $ ping -c 1 rb-net.com
PING rb-net.com (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.184 ms

--- rb-net.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.184/0.184/0.184/0.000 ms
u0_a61@jfltecan:/ $
u0_a61@jfltecan:/ $
[Android Apps and Games] ddasd:
hi!

i am using adblock plus and some apps have ads.. is adaway better? what do u suggest? i have oneplus one
[Android Apps and Games] diminou91:
If your device is rooted, adaway is clearly better. :)
[Android Apps and Games] ddasd:
tnx!

its seems very good.. i like it
[Android Apps and Games] mrRobinson:
after applying adaway you did reboot your phone correct?
[Android Apps and Games] ryencoke:
Yep

What I've done so far:

http://xdaforums.com/showthread.php?p=55433565

http://xdaforums.com/showthread.php?p=55462287
[Android Apps and Games] jmindset:
Tried adblock plus on android and it was horrible. On PC adblock plus is the best. But on android adaway and MOAAB are the best. Just my personal opinion based on experience.

Sent from my LG Optimus F7
[Android Apps and Games] DavisNT:
Basically this "rb-net.com (127.0.0.1)" in ping output means that AdAway works.

Have you:

1. Disabled proxy server in APN settings (in phone settings - Mobile networks)?

2. Disabled Chrome data compression (Reduce data usage under Bandwidth settings)?
[Android Apps and Games] ryencoke:
Interesting, my APN settings were not saving. Think I fixed it now.. that was definitely the problem

Thanks for this update and helping me figure out what was wrong!
[Android Apps and Games] wolfen1086:
I'm on s rooted Galaxy S4 and Ad away is the only app that will completely remove ALL ads, even the built in ones
[Android Apps and Games] dannyella:
Decided to pop in here today and i see a new version.. Can somebody tell me what's new in 2.9.1? changelog?
[Android Apps and Games] Pkt_Lnt:
post #2014
[Android Apps and Games] jackdubl:
You'll be real happy then, because it doesn't use any RAM!

Free storage from Copy:

https://copy.com?r=cScoov
[Android Apps and Games] @d@ms1lv3r:
Adaway working on wifi, but not working on mobile data. Can you help me?

Thank you
[Android Apps and Games] bogdan1980:
Disable proxy in mobile conection

Note 3 rooted knox 1, my last Samsuck crap. I want freedom. Stay away from Samsuck!
[Android Apps and Games] @d@ms1lv3r:
Do you mean to delete proxy and port in apn settings?
[Android Apps and Games] bogdan1980:
Yes, and test if you still have net

Note 3 rooted knox 1, my last Samsuck crap. I want freedom. Stay away from Samsuck!
[Android Apps and Games] @d@ms1lv3r:
Thank you, now adaway working on mobile data, net working too
[Android Apps and Games] s--c:
Thanks I'll play around with this when I get a chance.

---------- Post added at 10:19 PM ---------- Previous post was at 10:06 PM ----------

The amazon ad is blocked on IMDB now. This must have been in an adaway host update. So I didn't do nothing..
[Android Apps and Games] jmindset:
Same. Its gone. Annoying ad kept me away from IMDb for a while

Sent from my LG Optimus F7
[Android Apps and Games] GohanBurner:
2.3 to 2.9.1, can't get it to block YouTube ads anymore. Something change?

Carbonrom

HTC M8 - Verizon
[Android Apps and Games] nick_white:
1. Whitelisting blocked items

Let's say I have AdAway "active" (domains in hosts). I browse a website, but something "good" is blocked. I want to whitelist it. If I activate Tcpdump, I only see the domains that aren't blocked. So I have to disable AdAway, log requests, whitelist, then enable again.

Now, if the web server is running, it could detect all the blocked requests, so AdAway could log them and display them for whitelisting, it could even differentiate them from the non-blocked by using a different color. So, it would be possible to whitelist without disabling AdAway.

Is this feasable?

2. URL parsing

If I want to add a whitelist or blacklist entry, the quickest way would be to copy web address or image location, then paste in AdAway. But it fails validation, so you have to strip the protocol and the path, leaving only the domain.

Couldn't it be possible to parse the URL and automatically obtain the domain?

3. Sources cache

Does the apply sources button download the sources every time?

Domain sources are not updated very often, but disabling, enabling, whitelisting and blacklisting are done more frequently.

If so, it would make more sense to cache the sources locally, and update them when refreshing or if daily update activated.

4. HTTPS webserver

Does the webserver work for HTTPS? Yahoo for example uses secure ads, and I get a "website cannot be displayed" area instead of a white space.

Thanks.
[Android Apps and Games] ddasd:
Anyone knows how to block ads in this app? Speedtest
[Android Apps and Games] tcat007:
Not getting ads here. Adaway default servers on Nexus 5.
[Android Apps and Games] kisokod:
Basically this apk can't be installed on unrooted device right?:(
[Android Apps and Games] swat4samp:
You can install, but you can't make it to work.
[Android Apps and Games] kisokod:
Ok, thanks for the information. I am just afraid to root my samsung tablet, but ads in the apps bothering me to much. Well I have to use paid apps instead.
[Android Apps and Games] swat4samp:
There is an app NoRoot Firewall. It works without root and you can even block individual host names for each app. Check it once.
[Android Apps and Games] kisokod:
Thank you. I'll try it.
[Android Apps and Games] ssenemosewa:
Ditto on my Nexus 7 2013. No ads in the speed test app using the default definitions.
[Android Apps and Games] Jakkomo77:
Thank you for this work!
[Android Apps and Games] Wh1t3Rose:
There's a thanks button for that ;)
[Android Apps and Games] Zorachus:
I have the HTC One M8, converted to GPE, and I typically run the stock Android "Browser" for the web, and I always have the AdAway .apk installed and up to date, and with Browser i never see adds online.,

Today I decided to try out Google Chrome for the phone, and it looks really and is fast, and some some of that Material Design theme, but I just uninstalled it after just surfing a few of my regular websites, and HUGE adds pooped up. On Android Authority a full screen took over for a few seconds, and on Android Police a huge banner taking up a 1/3rd of the page was on top.

WTF :mad:

I guess AdAway doesn't work on Chrome ? Is there something to kill the adds on Chrome ? I liked Chrome over Browser, but with these god awful ads, I have to delete it.

Any suggestions ?
[Android Apps and Games] RyomaEchizen:
I can't install AdAway ("App not installed") :crying:

I have root access and checked "unknown sources" :(

Xperia ZL 4.4.4 Stock firmware
[Android Apps and Games] khanmein:
hope can block the PvZ2 & big fish casino ads on coming v2.9.2 or v3.0 cheers, thanks~
[Android Apps and Games] :
You have probably "Save Bandwidth" option enabled in settings, which is used for saving data, but the problem is that in that way you will receive ads. So go to chrome settings and try to disable that option and AdAway will work properly ;)
[Android Apps and Games] Wh1t3Rose:
Last bump
[Android Apps and Games] diminou91:
Try the Web server in adaway. Launch your app and do whatever until you see the ad. Return to adaway and stop the server, look at the list and add blacklist the ad line.
[Android Apps and Games] Wh1t3Rose:
Thank you I didnt even know about this feature. Just gotta narrow these down :)
[Android Apps and Games] buffal0b1ll:
Xposed>Minmin Guard
[Android Apps and Games] DavisNT:
[MENTION=3355398]mrRobinson[/MENTION] could you please make a new test build (from latest DavisNT/ad-away:master)?

There have been some changes worth testing:

1. Added Trove library (for memory optimization)

2. Misc Adware scan improvements
[Android Apps and Games] Aridon:
One plus works great thanks!
[Android Apps and Games] jackdubl:
Everyone here, know that there is a wiki on host sources if you go to adaway's github page, I believe. I use them all, so I have twelve host sources. This will be blocked and most everything if you apply them all.

Free storage from Copy:

https://copy.com?r=cScoov
[Android Apps and Games] mrRobinson:
yep I've been watching :)

It's done just waiting for AFH to re-enable uploading. Looks good on my tests.

edit: [MENTION=4234598]DavisNT[/MENTION] it's up