yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mike B.:
... and a reminder that if you switch between the F-droid version and the semi-official version from here, you must first uninstall AdAway since the signatures are different. The wisest approach might be to stick to this version since this is where new builds are released and supported. Optionally save your lists and preferences with Titanium Backup, uninstall the old AdAway, install the new one, then restore the data. After that you'll be able to quickly and painlessly update to any future release from the link in the OP.
[Android Apps and Games] justdoitbk:
good information
[Android Apps and Games] Cookie Ninja:
Upgraded from F-droid today. Thanks for the heads up.

Dead Cookies leave no trails...
[Android Apps and Games] vapor_s04:
Hi Guys. I am running the new 3.0.1 Version and I have an app Sofascore that is showing annoying advertising. All others are working i think.

Any idea how to fix it? System is the latest stockrom + Root of course.
[Android Apps and Games] Mike B.:
The answer is always the same: see if the AdAway DNS Request Log can tell you which URLs your application uses for its ads. If nothing useful shows in the log, that suggests that the app is getting its ads without going through local DNS resolution and there's nothing AdAway or any hosts-based method can do about it. Search this thread for details.

If I found the correct "Sofascore" on the Play Score, the user comments on there mention various ads-related issues with that app, but that's unrelated to AdAway.
[Android Apps and Games] qpinto:
this is a random question, however whats the difference between this and minminguard? i know minminguard uses xposed. does adaway block youtube ads as well? trying to switch from xposed to just rooted
[Android Apps and Games] Mike B.:
MinMinGuard is (was?) an experimental Xposed module that attempts to "patch" apps in order to hide the images (ads?) that the developer selects (referred to as "ad networks"?). It pretty much acts like an app-specific proxy. AdAway merely uses the internal Android DNS mechanism to globally redirect the servers that the user selects, for all apps, without creating an additional layer, and without any need for Xposed or other system modifications besides a plain root. Unfortunately the MinMinGuard official description seems to show a misunderstanding of what apps such as AdAway do, and its features list is rather misleading. On the positive side, it DOES have the ability to deal only with specific apps, but what it does for/with/at those apps is questionable.

Some application, such as the official YouTube app, do NOT rely on DNS resolution to display ads and therefore can't be tamed by AdAway or anything that uses the hosts file. Similarly, it cannot hide ads embedded in videos, but then nothing can. If you want an Xposed module specifically to hide YouTube ads, I suggest you investigate [MENTION=3562083]wanam[/MENTION]'s YouTube AdAway module which does a good job and only uses few system resources. Best way to get rid of YouTube apps: don't use the official YouTube app to access the YouTube site!... ;)
[Android Apps and Games] qpinto:
thank you very much Mike B! I really appreciate the well thought out and explained answer !

I do currently have xposed and use the youtube adaway module. I'm trying to see if there is a way to lose the need for xposed however nothing is keeping me away from modules for the time being.
[Android Apps and Games] GabbyWC:
Has anyone here tried casting from the Hulu app on an Android phone with AdAway (and *.hulu.* whitelisted) over to a Google Nexus Player with AdAway (and no whitelist)? I posted about this combination over at http://xdaforums.com/nexus-player/general/ad-free-hulu-t3180927 and wonder if anyone else has encountered the same ad-free results. I barely use Hulu but streaming TV shows without video ads makes that service more tolerable.
[Android Apps and Games] Lord Childe:
"Webserver not running" - issue with every version of Adaway on KK. Every time I open Adaway it's not running (or I can tell by text in ad placeholders). Works fine on JB.
[Android Apps and Games] Gassity:
I think that my Inbox app and Gmail are blocked by the app. Does anyone know their ip's?
[Android Apps and Games] Mike B.:
Which device and ROM are you using with which browser? Are the ads themselves being blocked? Such issues often stem from an incomplete root but it's difficult to guess from the limited information you provided so far.

---------- Post added at 01:29 PM ---------- Previous post was at 01:23 PM ----------

AdAway only blocks the server names you select to block in the hosts file and does not do anything with IPs. Google has countless servers but the default AdAway source files do not block the servers required for Inbox and Gmail to function. What leads you to believe that AdAway is related to your Inbox/Gmail woes and what specific problem(s) do you experience?
[Android Apps and Games] Lord Childe:
Yes. The ads are being blocked, no problem with that. But instead or in place of the ads I usually get "web page not available" when Adaway's webserver isn't running. When webserver WAS running I got a clean, white space. It's not a big problem (I have Minminguard running as well), so basically all ads in browsers and apps are blocked.

I'm on 4.4.2 ColorOS., and my device has full root. Apparently there are now no issues with webserver on L - but I've found there are still apps, which I need, that are not supported on L, so I came back to KK.
[Android Apps and Games] Gassity:
I'm not sure. I can't login to any of the app and receive/send messages no more.
[Android Apps and Games] horst0815:
is there a way I can get it to work under Preview 3 of M?

I got root, that works, but the filesystem is r/o, not r/w

any ideas?
[Android Apps and Games] Mike B.:
Whether a redirected ad appears as some blank space or is completely hidden depends on how the app invoked that ad. Some apps reserve a specific screen area for the ad and if the ad contents are blocked you still see an empty space. Other apps simply invoke the ad without making assumptions about size and a blocked ad becomes effectively "invisible". In practice, the AdAway optional webserver merely fakes a "I found it" response that prevents the app from generating an error message, but it doesn't return any content or size information.

Since MinMinGuard tries to wedge itself between an app and the Android system, you may want temporarily uninstall/disable it, reboot, then see if this allows the AdAway optional webserver to function as intended.

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

Until you sort out your Inbox/Gmail issues, why not temporarily uninstall AdAway? Realistically, AdAway is extremely unlikely to have anything to do with your inability to log into Google. At the very least, start by verifying that you have enabled the correct Google account(s) in your device's settings.

---------- Post added at 02:33 PM ---------- Previous post was at 02:30 PM ----------

The first required step would be for you to acquire proper write access to /system. AFAIK, the basic hosts mechanism hasn't changed in Marshmallow previews, and in theory AdAway should work there as it does in current Android versions.
[Android Apps and Games] horst0815:
yes, that's what I'm thinking as well. But I followed the steps described in this post and I thought that's sufficient. Maybe I was wrong there :/ Forgot how annoying Android is with ads displayed :D
[Android Apps and Games] Pkt_Lnt:
Look at the workaround in the s-on section of the help file in the app itself to create a symlink that is writable.
[Android Apps and Games] horst0815:
Will try that, thanks for the hint
[Android Apps and Games] MatVekk:
OK in Android 6.0 marshmallow!

Inviato dal mio Nexus 5 Cataclysm 5.1.1
[Android Apps and Games] Mike B.:
Were you able to use /system/hosts directly or did you have to use a symlink pointing to a /data location?
[Android Apps and Games] MatVekk:
Work by default settings

Inviato dal mio Nexus 7 (2013) ChromaROM 5.1.1
[Android Apps and Games] Mike B.:
Good! Thanks for the feedback. This suggests that AdAway will keep on working under Marshmallow as under previous android versions, a happy situation for both developers and users alike.. ;)
[Android Apps and Games] Ruka82:
The last app on my nexus 5 and nexus 7 2012 works fine if i use the stock host (4 sites), when i try adding another one (http://adblock.mahakala.is) after few minutes the app crash or start another time from the download.

With the old app i haven't problem using the same 5 sites.

Someone found the same problem and eventually solve it?

Thanks
[Android Apps and Games] dhatch93:
mahakala has been mentioned many times - the solution is to not use it
[Android Apps and Games] Ruka82:
Thanks, i found that site around internet relative to Spotify to remove the ads from that application, i remember that with the 4 standard host the spotify ads message appear sometimes, with the link of mahakala all ads instead disappear.
[Android Apps and Games] mrRobinson:
Just out of curiosity which app version worked with all 5 sites?
[Android Apps and Games] Ruka82:
The previous, 3 from 14 april if i remember correctly.
[Android Apps and Games] Mike B.:
If your only reason to load that huge file is that it happens to block occasional Spotify ads, it would be much wiser to simply blacklist the server(s) that generates those ads (use the AdAway DNS Request Log to identify it/them). No need to fire a cannon when a fly swatter will suffice! ;)
[Android Apps and Games] Lord Childe:
Clearly something wrong. As you can see from the screen recording, simply opening from menu and returning switches off webserver.
[Android Apps and Games] ramping:
Adaway not blocking ads

I have ads everywhere....in apps, on websites, etc. Definitely is not working anymore.

This start to happend when I change my provider. Before that, was working great.

Things I checked:

*Device is properly rooted and Adaway permissions are granted.

*Host file is in the same route as Adaway is configured to.

*Tried restarting several times

*Tried another rom with clean install

*Deleted proxys from all the APN´s

*Host file permissions are RW- R-- R--

*Host file does contains the proper files/sites.

Any help? I have a very limitated data plan, really need Adaway working.

Sorry for my english.
[Android Apps and Games] gozzaa:
Is your browser using any kind of data compression? If yes disable it
[Android Apps and Games] Valkyrie743:
How do I fix this. On preview 3 of Android M
[Android Apps and Games] Mike B.:
It seems you already reviewed all the common culprits. This sounds very much like a forgotten proxy in your APN. I know you said you removed it but please check again. If you double checked all the steps you mention, I can't think of any other reason why your ads wouldn't be redirected. Even if your browser has its own proxy, that would have no bearing over other apps. Does your new provider require you to install any system-level apps that would somehow interfere with DNS resolution?

Note that if you temporarily uninstall AdAway but keep the extended hosts file, you could see if the problem is indeed AdAway or something else on your system.

---------- Post added at 05:40 PM ---------- Previous post was at 05:37 PM ----------

Did you do what the message suggests you try: use /data/data/hosts instead of /system/hosts?
[Android Apps and Games] lucasbra:
Same problem here. I'm using euphoria latest version.

I think the problem is caused by weigh of mahakala's host.
[Android Apps and Games] :
Adaway stopped when i select scan for adware>start scanning

http://imgur.com/a/eHDDB
[Android Apps and Games] Mike B.:
Which version of AdAway under which ROM running on which device? Your screenshots do not seem to show the "webserver is running" option, suggesting you might be running one of the early Marshmallow previews under which AdAway hasn't been formally tested quite yet. Try enabling the "Debug Logging" option, restart AdAway and see if anything useful appears ion the log.

Realistically, however, the "Scan for Adware" aging option is of limited use since at best it can only report (but not defeat) a few of the myriad of methods used nowadays to directly pus ads in the status bar or within apps. I'm not even sure that Airpush and similar schemes are functional under Marshmallow.
[Android Apps and Games] :
I use Adaway 3.0.1 on stock lp 5.0.2
[Android Apps and Games] Mike B.:
On which device? A rooted stock, I assume? Did you see anything in the log? Except for this odd problem, is AdAway behaving correctly for you by properly updating the hosts file and providing a webserver?
[Android Apps and Games] :
A moto g xt1032 rooted, I don't know how to make a logcat, sorry, but the rest works correctly.
[Android Apps and Games] aaanadie:
Hello,

New "Anti Piracy" service blocks AdAway too, so it is not just about piracy, so I do not support that, I do not want unrequested ads on my phone.

I did not find a working solution without xposed and jumped to cyanogen with my AdAway working perfect.
[Android Apps and Games] jwhyte:
There is something wrong on your end then because there is nothing in the anti piracy software to block adblockers.
[Android Apps and Games] lucasbra:
Piracy control is not the problem... Adway get force close

Inviato dal mio A0001 utilizzando Tapatalk
[Android Apps and Games] Mike B.:
Huh? AdAway has absolutely nothing to do with "piracy". In fact, all it basically does is provide an android UI for the traditional local DNS resolution system of most all known operating systems of the past many decades. Even without AdAway, all modern operating systems still rely on a "hosts" file to potentially redirect URLs. Whatever the "service" you refer to is, stay away from it. Run, don't walk!
[Android Apps and Games] kingvortex:
He's probably referring to the anti piracy service that some devs are including in custom roms now (it seems to be properly called ContentGuard if you want to research it).

It blocks apps that enable piracy, such as Lucky Patcher and some shady market apps that provide paid software. I can't find much information on it other than that, but it's purpose seems to be "to support devs and themers", so it's not out of the bounds of possibility that they would block use of ad blocking solutions, although I have no idea of the full list of blocked apps or whether ad blockers are a target.
[Android Apps and Games] aaanadie:
Yes, I was talking about that.

I know what is AdAway about:D, using it in always...

Antipiracy (Content Guard) should be just about Antipiracy but blocks other things like AdAway.
[Android Apps and Games] kingvortex:
I agree. It's a good idea in principle to block piracy enabling apps. However, it shouldn't be expanded to include things like ad blocking that aren't piracy.

Having said that, are you sure it's ContentGuard causing your problem? I looked into the source that's available on GitHub and it isn't in the list of apps that's blocked, although that might not be the full list.
[Android Apps and Games] jwhyte:
Correct the Content Guard will uninstall the offending app as soon as it is installed. If adaway is fc'ing or not functioning properly that is something in the device or rom side creating that. Otherwise you would get a toast saying app was uninstalled.
[Android Apps and Games] Primokorn:
AdAway is working on Screw'd ROM (which uses ContentGuard). The official list of blocked apps should be those ones: https://github.com/ContentGuard/AntiPiracySupport/blob/master/src/utils/AntiPiracyConstants.java
[Android Apps and Games] Mike B.:
The big problem is that "piracy" is a subjective concept. We all know of some apps that are commonly used to bypass legitimate features, but there's is no clear operational definition of where "tweaking" ends and "piracy" begins. Simply rooting a device allows users to bypass many features, and apps such as Xposed even have the ability to completely alter an app's behavior. I don't think anyone seriously sees Xposed as a piracy tool, but it can potentially be just as damaging as any "piracy enabling" tool. Any tool such as ContentGuard can only make vague guesses at best, much like many "antivirus" schemes popular on some operating systems, and the cure is often worse than the perceived threat. I wonder if AdAway can be used to redirect the server from which ContentGuard gathers its list of perceived naughty apps? ;)

---------- Post added at 10:20 AM ---------- Previous post was at 10:18 AM ----------

So simply changing a evil app's package name bypasses ContentGuard? Somehow that doesn't seem like very solid protection! ;)
[Android Apps and Games] kingvortex:
Yes, I looked at that myself, which is why I thought AdAway wouldn't be blocked. I suppose there's nothing to stop someone forking the project and adding whatever packages they want to that list though.

The service doesn't decide which apps to block by itself. Apps are manually added after people submit them for enabling piracy. Any app that allows patching of license checks or downloading of paid apps for free are obvious examples and I have no problem with them being blocked. There's nothing to stop the developer of these apps simply changing the package name to bypass this service though, so this is simply going to spark a game of cat and mouse of changing package names and new versions of ContentGuard that includes them.
[Android Apps and Games] Mike B.:
Yup, the usual trivial pursuit game... My experience is that the most common way in which users find "illegal" material is the Google search engine, and that's seldom blocked.

We've been facing those problems ever since someone decided to actually charge for the use of a software package, way before Android or PCs. From the independent developer's standpoint, the sanest approach is to write good clean apps that users will want, not loose sleep or obsess over "pirates", and especially NOT expect to get rich. ;)

Fortunately, AdAway is a harmless tool unrelated to any of those issues...
[Android Apps and Games] ChazzMatt:
Re: piracy

Any developer with paid apps whose only difference from the "free" version is lack of ads should not complain about AdAway being a piracy tool because it blocks ads.

Put in some real premium features people will pay for.

I'm blocking ads with no guilt. I pay lots of money for apps that are good. I donate money to devs.

Don't know if that's what's happening here, but I'm never giving up AdAway.
[Android Apps and Games] shoey63:
No guilt here either. I never click on the the ads anyway, so why not just block them? And if the dev gets paid for merely putting the ads in his app, he will still get his money, regardless of whether the end user chooses to install adaway or not ;)
[Android Apps and Games] Primokorn:
Exactly. Akhil Narang (AlmightyMegadeth00 on Github) confirmed me that only those apps are blocked.
[Android Apps and Games] carlese:
Adaway crashes on my Nexus 5 too, I am using latest mooab but never had a problem before..
[Android Apps and Games] Primokorn:
Custom theme? Which ROM are you running? Any log?
[Android Apps and Games] carlese:
No custom themes, using latest euphoria OS by bokbokan.. I'll post a log as soon as I get home!

The thing is, the app closes but the icon stays in the status bar but doesn't do anything..
[Android Apps and Games] devilrulz4ever:
http://hosts-file.net/ad_servers.txt

Server seems to be down. Can anyone confirm? Adaway says "host files applied 3/4"

Tapatalk'd from my Note 2 running Resurrection Remix. Kernel:Agni, Recovery: TWRP.
[Android Apps and Games] Primokorn:
Do you have AdAway v3.0.1?

The same.
[Android Apps and Games] carlese:
Yes, 3.0.1
[Android Apps and Games] wweasel:
Nexus 5, stock rooted 5.1.1 LMY48I. Adaway crashes too.

Here is the logcat:

And the error when downloading ad_servers.txt
[Android Apps and Games] mrRobinson:
That crash on scanning adware is one I've seen before. I don't know Java well enough to fix it.

Hosts_file was down yesterday for a bit but seems fine now. If you get an error on a host in your host list just check again later to see if they are back. It's not AdAway.
[Android Apps and Games] carlese:
Where are log files stored?
[Android Apps and Games] lucasbra:
So still no one solution to mahakala.is host crash while applying?

Inviato dal mio A0001 utilizzando Tapatalk
[Android Apps and Games] Primokorn:
Yep it works again without problems.
[Android Apps and Games] carlese:
Nope, same problem here..
[Android Apps and Games] JoeFCaputo113:
Is it possible for Adaway to remove the blank space left by ads, like MinMinGuard does?! http://xdaforums.com/xposed/modules/xposed-minminguard-v1-7-0-cancelled-t2597332
[Android Apps and Games] Mike B.:
As mentioned many times, the "MOAAB" is simply NOT suitable for use on mobile android devices. The only real solution is to NOT try to load such a huge file. Even modern devices with lots of internal storage can often run out of space when asked to load such a monster and unfortunately Android doesn't always handle lack of storage very gracefully. Even if you try to run as few apps as possible after a reboot in order to have as much free space as possible before attempting to load the file, it might still fails. Furthermore, even if it succeeds, it still takes up LOTS of unnecessary space and may even noticeably slow down your device for no obvious benefits.

Do yourself a favor, load only the default source files and if you still see a few ads, use the convenient AdAway DNS Request Log to blacklist a handful of servers if necessary.
[Android Apps and Games] LittleJakub:
Cannot seem to run on newest Android M Developer Preview 3 on Nexus 6. Device rooted and all, yet the hosts file fails to copy...

Can anyone help or guide how to fix the issue?

Thanks in advance! :)
[Android Apps and Games] Mike B.:
What specific error are you seeing? While there is no "official" support for unreleased Android versions, some users seem to be able to successfully use the current AdAway 3.01 with Marshmallow previews. If you have trouble updating /system/hosts, try to use an alternate location in /data as suggested in the AdAway help screen.
[Android Apps and Games] LittleJakub:
When I try to do that, it tells me that it cannot create a symlink either...

The text in the screenshot (taken on default settings) translates to: "copying failed. copying the hosts file failed! please go to help section to get more info."

Anything else I can say, like some kind of log?View attachment 3451447

Wysłane z mojego Nexus 6 przy użyciu Tapatalka
[Android Apps and Games] Mike B.:
Are you sure you have a full root? Usually, even when access to /system is limited, it's still possible to create a symlink. Have you tried the workaround listed under "S-ON/S-OFF" in the AdAway help screens (you don't even need ADB and that command might work from a simple Terminal prompt on the Nexus)?

The system logs may or may not shed light on the matter but all you really need to find out is whether you have granted AdAway write access to /system (with SuperSU?).
[Android Apps and Games] LittleJakub:
I'm trying, this is the result.

And yes, I'm fully rooted.

View attachment 3451463
[Android Apps and Games] Mike B.:
No "sudo" in Android (I suspect you're Linux/Mac user), but "su" should have asked for an admin password. Which "su" are you using ("su -v" to check)? What are the permissions on your /system/etc/hosts? Ignoring AdAway for a moment, can you access/edit/rename that file from Terminal or any root-enabled file manager/editor?
[Android Apps and Games] shaqman89:
As for now, it is not even technically possible. It really depends on how the developer of the app/site implements the ads.

Like it has always been mentioned, adaway only do a redirect on the ads address, nothing more. Since those blank space are more of the layout on the app/site, this is beyond the control of adaway (or any host-based ad-blocker for that matter)