yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mike B.:
Yet another useful commit (your 28th, in pull #647) from the famous 0-kaladin! ;) Maybe you should see if dschuermann would turn the AdAway project over to you officially... assuming you'd want that...
[Android Apps and Games] mrRobinson:
He gave me write access so I can push versions now. If you look I was able to merge my own pull requests. So that's all that is needed we can keep this going as long as the community finds it valuable.

Remember though, i'm no java dev so i'm limited in what i can do, will still need a real dev to come in to give us any new features. But i'm happy with the functionality and happy with keeping it updated just for new android version compatibility.
[Android Apps and Games] mrRobinson:
and I built this in the OP after that commit. So i'm perplexed how [MENTION=2682197]WhammyDroid[/MENTION] had the https. I tested clean install and upgrade.... unless he was compiling himself.
[Android Apps and Games] Mike B.:
Sounds good! I wonder if the F-droid bot will grab your new version ...

No real need for any drastic "enhancements". The beauty of AdAway is that it gets the job done cleanly and without unnecessary pointless bulk. Except for maybe updating the builtin help, I wouldn't change much of anything.

Now if only we could find a simple way to explain to users how local DNS resolution works so that they start asking the right questions and quit expecting miracles...<sigh> ;)

---------- Post added at 09:50 PM ---------- Previous post was at 09:47 PM ----------

If he simply updated the apk but kept his old data, wouldn't he still use the https version?

USERS:

If you still show "https://hosts-file.net/ad_servers.txt" in your host sources, long press on that entry and change it to "http://hosts-file.net/ad_servers.txt".
[Android Apps and Games] mrRobinson:
Yes, with write access i can create release tags. f-droid builds from those. That's why I was able to call this 3.0.1

No but what is more weird is it was and is still http, not https. the change was for the end part to go from ad_servers.asp to ad_servers.txt, i messed up and on upgrade erroneously put in https. But no version posted here had that. I introduced the bug and 3 hrs later fixed it having posted no builds just testing and compiling locally myself. So either I didn't fix it, he built during that 3 hour window, or he fat fingered his post. Guess just need him to respond and clarify or get more reports of people complaining that source is https when it should not be.
[Android Apps and Games] Soupape50:
Hi everybody,

I'm a newbie with this app, so I probably did an obvious thing wrong but it doesnt block the ads in my games (Google ads) and I don't understand why :( (not only my games but the most boring Ads are in games right ?)

My Adaway is up to date but it doenst run in the background, is it supposed to ? I mean I dont see the logo on the top of my screen.

I have a Galaxy S3 running Miui V6 (KK).

Can anybody help me ?

Thanks :)
[Android Apps and Games] Primokorn:
Hi

In AdAway, select 'Log DNS Requests' > 'TCPDUMP is not running!'

Return to your homescreen then open your game until an ad is displayed.

Return to AdAway > Selection 'Log DNS Requests' > 'TCPDUMP is running!' to stop logging

Click on 'Open log file'. See if some of the listed domains could generate the ads. If so, press and hold down the domains to add them to your blacklist.

Update AdAway from the main screen then try again.

AdAway is not running in the backgrounds. It "only" allows you to manage your hosts file (with ease).
[Android Apps and Games] Mike B.:
Newbie to android too, I assume? Chances are your AdAway installation is just fine, but your understanding of what it does and how to use it might not be... ;)

You should spend a little time reading the countless explanations in this thread about what AdAway is and does. AdAway is mostly an easy way to edit the /system/hosts file which is used by applications that need to find the internet address of a server. Once it has done that, AdAway is no longer needed until the next update. The "logo" to which you refer is probably the notification some apps optionally display, but that's irrelevant in this case. In fact, don't assume that a notification implies that an app is running, or that no notification means an app isn't running in the background!

If something (browser, game, etc.) wants to go to "mysite.com", the hosts file can redirect that to a "do nothing" location so that any content (such as ads) on "mysite.com" isn't displayed. Great idea but it's only effective if the something calls "mysite.com" instead of directly using that site's numeric address. It won't help either if an app (such as your games) embeds the ads or grabs those ads from a server that it must reach to function properly.

At the very least review this thread's OP, check for common oversights (such as a proxy in the APN), don't be afraid to

SEARCH THIS THREAD

, then if you still have trouble, come back with specific details on what you see as a problem (app name, exact URL, etc.).
[Android Apps and Games] Soupape50:
Thanks to both of you, I really appreciate it :)
[Android Apps and Games] rajuabju:
Hasnt grabbed it yet, but hopefully will.

I couldnt agree more about the need for some major modification to what AdAway does. it simply works.
[Android Apps and Games] dimex:
Agreed. Wish more devs would share a similar thought process.
[Android Apps and Games] mondohow:
Just checked and mine was https as well. I didn't even realize that until I was reading through the thread so thanks to you and Mike B.

Last time I updated was for: AdAway-release_Build-v3.0.Apr.09.2015
[Android Apps and Games] mrRobinson:
So are you on 3.0.1 and it is https?
[Android Apps and Games] jaibar:
I am on 3.0.1 and it is https. As others mentioned, I didn't notice it until reading this thread...
[Android Apps and Games] djb77:
that is correct.
[Android Apps and Games] mrRobinson:
Ok i'm not sure how this is possible or how everyone isn't complaining. Let's be clear.

You were on 3.0, you upgraded to 3.0.1 and the source that is hosts-file.net/ad_servers.txt starts with HTTPS and NOT HTTP? Is this correct? Which mean is also would not be syncing for you since they don't offer HTTPS.
[Android Apps and Games] casouzaj:
Indeed, the 3.0.1 compilation showed HTTPS in that server for all 3 devices in our house, bearing Android 4.4.2, 5.0.2, and 5.1.1.

Enviado de meu D5833 usando Tapatalk
[Android Apps and Games] jaibar:
I actually wasn't aware until reading last page in thread. Then noticed it in 3.0 build that I was using- thought it was changed in 3.0.1 so installed it and it's https in there too. Only for the fourth source in the listing: https://adaway.org/hosts.txt
[Android Apps and Games] s.pwyll:
As others, I just checked mine and the fourth entry is https. I simply edited the entry and changed it to http.

For what it's worth, I just downloaded the file from the OP link yesterday.
[Android Apps and Games] kingvortex:
I think mrRobinson is only referring to that specific host source (hosts-files).

The AdAway source is also https on my device, but that doesn't matter as it connects and downloads the sources correctly, so they obviously use it.

Everyone please confirm you're talking about the correct source before you make mrRobinson run off and start digging through the source code for a problem that doesn't exist!:D
[Android Apps and Games] jr67:
Yes. I think those of us who have not removed it have https://adaway.org/hosts.txt listed as a host source. What mrRobinson is asking is after updating from 3.0 to 3.0.1 whether we have http://hosts-file.net/ad_servers.txt (correct) or https://hosts-file.net/ad_servers.txt (incorrect) listed as a host source.

I updated from 3.0 and my hosts-file.net address is correct.
[Android Apps and Games] jaibar:
Okay, everything fine here on 3.0.1
[Android Apps and Games] s.pwyll:
Ah, yes. My hosts-file.net entry is indeed http://.

Should I change the adaway.org/hosts.txt entry back to a secure connection? I reapplied after changing about seems to have "updated" exactly as it did with the https designation.
[Android Apps and Games] fusk:
Running 3.0 but i've noticed that even tho the "search for updates" is enabled, it never reminds one there is a new update available. Every time i have to come here to check if there's any updates.

Also, the app hasn't been updated on f-droid. I usually go into help, click the adaway link, scroll down and click "get on f-droid", download apk.
[Android Apps and Games] ChasingShadows:
Why would anyone like to update from f-droid, when you are at the home of adaway here?
[Android Apps and Games] Nikki1993:
I am sure there are far less educated people who don't know about the existence of then XDA :) fdroid just makes it easier for those people to update.

I had this situation where I set up the tablet for a friend, rooted it and installed some root apps including ad away. He has no idea about XDA or this thread :)
[Android Apps and Games] fusk:
Because that's where adaway directs you. If it directed me here i would update from here, if it directed me to the darksideofthemoon then that would be where i updated from.

Updating from here is not faster. First you need to google adaway, enter the thread, scroll down and click the link, click download, wait 8 sec on "androidfilehost" before you can click download again and then the download starts.
[Android Apps and Games] Mike B.:
The correct URL for that source file is "http://hosts-file.net/ad_servers.txt". If, for some reason, you have "https:", it will simply quietly note that the file is unavailable, but AdAway will still do its job, except that it won't block the servers listed in that particular source file.

---------- Post added at 08:14 AM ---------- Previous post was at 07:59 AM ----------

The "Check for updates" preference refers to looking for updated source files. By default, AdAway looks for updated files every morning but you can also force it to do so when the app starts (presumably once after a reboot). It doesn't check for updated versions of the application.

F-droid is where AdAway used to live. Users looking at the old AdAway.org pages are still directed to F-droid. Even now, F-droid will occasionally compile a version from the available sources, using their own signature, and make it available on their site. They neither maintain nor support AdAway and the versions on that site are incompatible with the ones from here, requiring a full uninstall (and loss of data?) of the previous version.

In this thread, we are dealing with the actively maintained and supported version from [MENTION=3355398]mrRobinson[/MENTION] which is effectively the only "unofficially official" AdAway incarnation. AdAway is seldom updated and updates are seldom crucial but if you want to keep abreast of the latest developments you can simply subscribe to this thread.
[Android Apps and Games] mrRobinson:
YES. I am only questioning the hosts-file.net source!

For clarity, correct again! I thought there were reports of hosts-file.net being https and that is not good, it should be http. The adaway.org one was changed to https a few versions back and should be that way.

YES, change it back, that one should be https.
[Android Apps and Games] mondohow:
Well I feel like an ass now. Disregard as I was looking at the wrong source. I'll crawl back under my rock now.
[Android Apps and Games] fusk:
Ah, i see. So there is no "check for app update" function. I actually thought this was for the official version, but i just noticed on github it does say it's not actively being developed anymore. I guess that's why adaway.org is still present in "about".
[Android Apps and Games] an0n981:
[MENTION=3355398]mrRobinson[/MENTION] can a feature be implemented to keep the last know list from a source in case it cannot be updated instead of the list just being dropped from the host file?
[Android Apps and Games] Mike B.:
If you're confused by all this htttp:/https: talk, you can safely use "http://" for the four default AdAway source files:

http://adaway.org/hosts.txt (also accessible as https since 18-may-2014)

http://hosts-file.net/ad_servers.txt

http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext

http://winhelp2002.mvps.org/hosts.txt

Keep in mind that those are merely suggested sources. You don't have to use them all and if you feel you must you can add other files, but for most people the above set is more than sufficient, perhaps with the addition of a few blacklist entries. Also note that there are no overriding reasons to update those source files every single day since the contents don't change that often, and once at boot time might suffice.
[Android Apps and Games] adrman:
Yup, count me confused. I'm on 3.01 and I see https://hosts-file.net/ad_servers.asp. Should I change this to .txt?
[Android Apps and Games] Mike B.:
Yes, it should be http://hosts-file.net/ad_servers.txt.

Note that there's no magic involved. Those source files are simply plain text files where each line contains a server name, followed by some whitespace, followed by the numeric IP to be used for that server. Lines atarting with a "#" are ignored. The easy way to check if a file is available is to simply use its URL in your browser.
[Android Apps and Games] an0n981:
A more precise check (an almost just as easy) would be a ping
[Android Apps and Games] Mike B.:
No, you can only 'ping' a server, not a file, and it can only tell you if that server is responding to a 'ping", not what's on it, let alone whether it can be accessed via http and contains a suitable text file.
[Android Apps and Games] an0n981:
If my host file should contain google.com and I enter 'ping google.com' and it comes back with 127.0.0.1 I have verified its existence in the host file.

Edit I read your original statement completely wrong
[Android Apps and Games] Mike B.:
It's OK, at least you read it! ;)
[Android Apps and Games] mrRobinson:
that is actually one feature i'd like. I'm not sure i'm skilled enough in java to implement myself though.

See I don't see how that is possible. https for hosts-file.net never made it into a build. Let alone you are on 3.0.1 which would have updated ad_servers.asp to ad_servers.txt.

Unless you manually changed it to the above at one point then the upgrade wouldn't have adjusted it. I would uninstall and reinstall and see what you get.
[Android Apps and Games] adrman:
Apologies are in order. The build with the errant entries was dated 8/4. I didn't realize there was a newer build from 8/6. I've downloaded and installed that build and everything appears to be in order. Thanks for your work and help.
[Android Apps and Games] benyben123:
Hi. Noob. Installed on a custom rom. Seems to work on some sites but not all. Is there a way to add a list of sites? I'm using it to browse non-us sites as well and ads are still showing on these sites. Thanks!
[Android Apps and Games] Mike B.:
That highly unofficial "August-04-2015" build which still identified itself as 3.0 (52) was never intended to be used for more than a quick test. Fortunately, editing those default source lists is a simple process.

---------- Post added at 04:40 PM ---------- Previous post was at 04:34 PM ----------

You'll have to give us more information than that to get serious help. What exactly do you mean by "work on some sites but not all"? If necessary, give us a specific example of a URL that gives you trouble. Remember that AdAway can only block the servers you ask it to block. Search this thread for references to the AdAway DNS Request Log, an invaluable tool used to find out which servers you'd like to block/blacklist.
[Android Apps and Games] visceralpsyche:
Try looking for ad blocking lists for the country you're in, then adding those to your host lists. HTH!
[Android Apps and Games] vikasb32:
Guys it just me or adaway doesn't hide ads from mx player it used to work in past in mx player but now ad still show in mx player I also use log file method but I don't see any url that should I blacklist only Facebook.com
[Android Apps and Games] Mike B.:
If nothing shows up in the DNS Requests log, that usually means that the site or app in question does NOT go through the hosts file and therefore AdAway can't do anything about its ads and you might have to switch to the MX Player Pro version.

Double check that ads are blocked in other apps to verify that AdAway is correctly installed, but the mere existence of a version advertised as "Ad-Free" suggests that the ads in the "not-ad-free" version are intentional and that the dev may just have switched to a more blocking-resistant way of displaying them. ;)
[Android Apps and Games] swat4samp:
I too observed ads in mx player and some apps long time ago. DNS log shows facebook addresses. Adding them to list will block those ads. I uninstalled fb app and it never showed ads even without adding those urls in hosts. I still how no idea how one app is the cause for some apps to display ads though.
[Android Apps and Games] La_Globule:
Hi all,

Just a little post to say that AdAway v3.0.1 is working like a charm on my Samsung Galaxy S2 running JB v4.1.2 stock ROM rooted.

Thanks to the devs for this essential app :) .
[Android Apps and Games] Mike B.:
[MENTION=4075919]vikasb32[/MENTION] refers to "Facebook.com" and you also mention "facebook addresses". ". If the DNS log actually points to "facebook.com", that's probably something you do not wish to blacklist, but if it's some of the countless servers in the Facebook empire (fbstatic-*, fbcdn-*, etc.), then you might be able to block those without losing relevant content.

I know it's heresy to some, but there

is

life without that ^%$#@ Facebook app (I see no such critter on my phone). If you must use Facebook, you can do so from any browser with much less interference with other processes. Just sayin'... ;)
[Android Apps and Games] banesi:
not sure if it's because of new app version or mvps.org host file only but I can finally watch BBC app videos, good stuff [emoji106]
[Android Apps and Games] Mike B.:
The latest AdAway version hasn't changed the list of sites you are blocking/allowing. It's most likely that you changed or updated the source list that was apparently blocking your videos. Unless your BBC app itself was updated, the DNS Request Log would probably have told you which hosts to whitelist.
[Android Apps and Games] swat4samp:
I am not really sure whether i have seen facebook.com or sub fb servers in dns log. And you are absolutely right. Ever since then, i uninstalled fb and decided to use browser. No more worrying about stupid wakelocks too.
[Android Apps and Games] aaanadie:
AdAway is the best app for blocking ads and organizations making money by ads do not like it.
[Android Apps and Games] beowulf83:
Hi,

Can anyone help me out here?

I am using AdAway Version 3.0 on my Sony Xperia P running unofficial CM11. AdAway seems to running perfectly for me except for when I run the Yahoo Weather app (Version 1.3.9). Ads are not getting blocked within the Yahoo Weather app.

As advised by the AdAway faq and also on this thread, I opened 'Log DNS Requests' and started tcpdump and then opened the Yahoo Weather app and played around with it for a while. But then when I went back to AdAway and tapped on 'Open log file', I got a 'Log file is empty' message. Anyone, know what I'm doing wrong?

Further, I started Catlog and played around with the Weather app again. When I examined the logcat, I found these entries which I think are the hosts for the ads.

08-14 01:47:54.556 V/ImageCacheLoader(5657): Disk LRU cache hit. State: ok bd0b4583
08-14 01:47:54.566 D/ImageLoader(5657): syncLoadImage
08-14 01:47:54.666 V/AdView (5657): AdView.getImage().onImageReady() pUri: https://s.yimg.com/bt/api/res/1.2/1u_Vm6u0X0Zxrf7ci5rIpw--/YXBwaWQ9eW5ld3M7dz02NDA7aD0zMzQ7cT0wLjg1/https://s.yimg.com/av/moneyball/ads/1429868285925-9707.jpg | headline:How to play the wrong ball pdrawable: 639|334
08-14 01:47:54.916 D/DragListViewAdapter(5657): onDestroy time taken: 0
08-14 01:47:54.916 D/DragListViewAdapter(5657): WeatherViewFactory.getView time taken: 0

08-14 01:47:57.468 D/ImageLoader(5657): syncLoadImage
08-14 01:47:57.568 V/AdView (5657): AdView.getImage().onImageReady() pUri: https://s.yimg.com/bt/api/res/1.2/ObeunBB8.ir3lHDULDHlig--/YXBwaWQ9eW5ld3M7dz02NDA7aD0zMzQ7cT0wLjg1/https://s.yimg.com/av/moneyball/ads/1435043937621-6697.jpg | headline:Wash away stains and your monsoon worries pdrawable: 639|334
08-14 01:47:57.629 D/SnoopyWrapperUtils(5657): [Snoopy]: Ending timed Event - [module=location_header_view]
08-14 01:47:57.689 D/DragListViewAdapter(5657): onDestroy time taken: 0

Any help on how I can block them will be much appreciated.

Thanks

ps:- Didn't think that my first ever post on xda will be this long.
[Android Apps and Games] Mike B.:
Congratulation on making your first post and thank you for having first tried the "obvious" approaches! ;)

I don't have that Yahoo app and I can't verify how it behaves, but there's a very good chance that it simply does not go through local DNS resolution for those ads and therefore neither AdAway nor any other method relying on the hosts file can block them. They might be coming via an external script, redirector, or proxy, for example. The specific example you show on "s.yimg.com" does indeed seem to be one of the ad graphics but unfortunately that server is also used for many other Yahoo API references. Try blacklisting it temporarily and see if it blocks the ads without hampering the app's functionality. Some ads just can't be bypassed but fortunately there is always similar app with fewer ads... ;)

While I have your attention, note that the current AdAway is 3.01, but if your default source files are regularly updated, there's no compelling reasons to switch.
[Android Apps and Games] marknoll:
Sigh
[Android Apps and Games] Mike B.:
Is that ad coming from Tapatalk? No such animal when using the XDAPremium app.
[Android Apps and Games] beowulf83:
Thanks Mike B for your quick reply. I just blacklisted s.yimg.com and it seems be blocking the ads without adversely affecting the app. Didn't realize that there was an updated version of Adaway. Will update. :)
[Android Apps and Games] marknoll:
Yes it is coming from tapatalk. These ads occasionally show up. Sometimes when a thread is loaded,you can briefly see the ad,then it disappears.

---------- Post added at 11:30 AM ---------- Previous post was at 11:28 AM ----------

Do you have a link for this"premium app"? Doesn't exist in play store
[Android Apps and Games] chrisb906:
Nvm. Found it
[Android Apps and Games] 2WhiteWolves:
I was having the same problem until I updated Tapatalk. I don't use the xda one, but here is the themed Tapatalk from @ Whiskey103 .

http://xdaforums.com/showthread.php?t=2500914

On the OP, go to Source and Alternate download. If you don't have Mega app just use Reguest Desktop, that will get you into where you can download. There is more variety in the 5.0.3, I'm on it and it works. But the 5.1.0 is closer to being current, but not as many to choose from.

If you use it, don't forget to hit the Thanks ? @ Whiskey103.

If this is not ok to post this, tell me and I will delete it.
[Android Apps and Games] chrisb906:
I tried those. Didn't really care for them. But I might try again. Thanks
[Android Apps and Games] mrprince123:
it says: "not enough space in partition"
[Android Apps and Games] Mike B.:
You're not giving us ANY details but I'm guessing that "

it

" refers to some AdAway version on some android device using some ROM...

The message you mention might be triggered when trying to load a source file bigger than what the device can handle, but it can also be coming from a variety of reasons, from locked partitions to improper symbolic links ,so I'll wait until your next post. To save time, you could try to search this thread and see if your version/device/rom/error have already been discussed.
[Android Apps and Games] mrRobinson:
For those who read here but still pull from f-droid, they finally were able to build 3.0.1.