yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] nickdc986:
Any chance to remove the grey rectangle on the bottom?
[Android Apps and Games] mondohow:
Removing the grey space is not a function of AdAway. Check out MinMinGuard or something like it.
[Android Apps and Games] guycan:
I need a little help can anyone please advise me how to get any video on this site to play.I can only play the video if I disabled this im on 2.9.2 thanks in advance

http://m.clickorlando.com/

SGNote2
[Android Apps and Games] Mike B.:
Apparently, one of the source files you are loading blocks those videos. As explained before, the best way is for you to enable the "Log DNS Requests" option from the AdAway menu, play a video, then see which URLs the site accessed. One or more of those URLs will need to be whitelisted and you might need to try a few times until you get it right. However, I just now tried accessing the site with a default AdAway configuration (using only the recommended source files) and had no trouble watching the videos, suggesting that they may be blocked by something you added. Happy sleuthing! ;)
[Android Apps and Games] devilrulz4ever:
Working as it should, on mine
[Android Apps and Games] FPSUsername:
Every time when I want to start the webserver, it says it is running, when reopening the app I see that it is stopped. This however doesn't happen on my brother's note 2. (I have a S4)

Any idea how to fix it? With that webserver running it also blocks google suggested ads websites on google search (marked with an yellow ads icon)
[Android Apps and Games] Mike B.:
Those symptoms are usually related to improper or incomplete root (under CM12?) or conflict with a "builtin" ad blocker. Note that the same URLs are blocked whether the webserver is running or not. The webserver merely gets rid of any placeholder (empty space or error text/icon) where an ad would otherwiseappear. If blocked ads reappear shortly after start, this suggests something odd with your hosts file or local DNS resolution in general, such as multiple /system/etc/hosts.* files (there should only be one "hosts")
[Android Apps and Games] FPSUsername:
I use supersu v2.49 using optimized cm12.1 by JDCTeam, there is only one hosts file in /system/etc.

It could conflict with Youtube AdAway.
[Android Apps and Games] Mike B.:
Even though they have similar name, it's extremely unlikely that Youtube AdAway (an Xposed module that patches the YouTube app) would conflict with AdAway (a tool to manage the hosts file and provide a local webserver).

I suggest you ask wherever your ROM is supported if somehow that Movies app is supposed to be included, but are you sure you didn't flash the Xperia Album port I see mentioned in your ROM's thread? If you suspect "malware" (a concept not really applicable to the Android world), one simple approach would be to reinstall your ROM (after proper wiping, of course) or maybe try a slightly more stable ROM? Once you're done that and start with a clean configuration, it's very possible that Movies will be gone and AdAway will function as it should.
[Android Apps and Games] FPSUsername:
I have nothing else that can conflict besides hosts editor, I use it to disable a website that is blocked some times, nothing more (I re enable it after the visit).

I have not installed a sony thing, maybe it came with maxxaudio, but I deleted the mod as it is close to useless. I removed all sony files on my phone and removed the app, after a reboot, my phone doesn't have the movies app anymore.
[Android Apps and Games] mrRobinson:
Can you get a logcat of this?
[Android Apps and Games] FPSUsername:
Sure. Will try. Just wait a minute, will upload attachment in this post.

Edit: Done, I used the save log widget from stweaks app, I hope it is enough. I tapped the webserver a few times, also with debugging on.
[Android Apps and Games] Mike B.:
Any chance you could include a full logcat taken during the time AdAway appears to fail, in addition to the dmesg/kmsg data you provided?

Catlog

,

aLogcat

, or a similar app might help you do that.
[Android Apps and Games] FPSUsername:
I used the record widget from catlog: http://pastebin.com/sAxvXegH

Couldn't attach as attachment, I'm on phone with xda app.
[Android Apps and Games] mrRobinson:
Are you using the 3.0 build from here? And you don't have greenify hibernating it do you?
[Android Apps and Games] marknoll:
Is 3.0 strictly for nexus?
[Android Apps and Games] Mike B.:
No AdAway version is device specific. The current 3.0 can be used with most any rooted arm device running Android 4.1 or newer.
[Android Apps and Games] greogory:
Well, it's kinda device specific, in that you specifically need a device on which it can be usefully installed. For example, my 2-ton hydraulic jack is a device but AdAway just doesn’t seem to work on it very well...

;)

And yes, I apologize for the bad joke now for the sake of efficiency.
[Android Apps and Games] TheDarkDefender:
Hey MrRobinson,

Thanks for this building this app and supporting it.

I was running this app and it used to work fine. But then it stopped working. I'm seeing ads on every other app now.

Rom : Euphoria os (5.1.1)

Device: Nexus 4

I'm not sure what it could be. Will a logcat be helpful?
[Android Apps and Games] -m3tac0rt3x-:
If you're seeing ads in Chrome > Disable Google's data saver options as it uses their servers to display webpages and over-ride the way ads are displayed.

It could also mean that those Apps are now connecting to the ads server directly via IP and not making DNS requests for ads - If this is the case, there is no way for AdAway to block it as it relies on the DNS hosts to block.

Try to access a web-page that would be filled with ads - if you don't have that Chrome option active and if those ads aren't shown, then AdAway is doing it's job and App Devs are learning how to bypass ad-blocking.

Edit: Also check if your ROM doesn't have a builtin ad-bocker option turned on as it will create conflicts between AdAway | ROM hosts files. (Check your /system folder to see how many hosts file you have - if only one, that's ok).
[Android Apps and Games] marknoll:
What would be a good example of an add-filled page?
[Android Apps and Games] Mike B.:
We all refer to "ads" when dealing with AdAway and similar tools, but in reality it applies to any server we don't want to see. Most people want to block those annoying ads that are all over the net but the same process could be used to redirect any host name for any reason. The entries in the default AdAway source files try to catch the most common locations that do nothing but show ads, popups, or other annoying content.

To see if your AdAway configuration is working correctly, look at your /system/etc/hosts and pick a server name from there, such as "ad.flurry.com" (a Yahoo product). From your browser, try to go to that "ad.flurry.com". If your AdAway webserver is working, you'll just see a blank page meaning that nothing from that server came through. If you see anything else that means you're looking at the actual server and AdAway didn't redirect it. The same would apply to any ad, picture, script, or anything else coming from "ad.flurry.com" or any other server redirected to "127.0.0.1" in your hosts file.
[Android Apps and Games] -m3tac0rt3x-:
http :// adf . ly

That site for example as some ads.

Accessing http://xdaforums.com/ via browser (ask for Desktop site version) will also show ads between posts.
[Android Apps and Games] peped94:
I dont know whether it is related to adaway but my mobile data sometime lost connection. I have to disable and enable again to make it works. Sometime it have to be done multiple time. Anyone here has solution ?
[Android Apps and Games] casouzaj:
I experienced such a behavior whist using carrier Claro here in Brazil. Since I switched to Vivo, not once! Connection is stable as a rock now! I couldn't tell you if the culprit was either the carrier or the SIM card itself. I replaced the SIM card because I had to switch to a new operator. Had not tried it before. Experiment a bit. Replace your SIM card first. If the problem persists, consider switching to a new carrier!
[Android Apps and Games] Mike B.:
It's extremely unlikely that AdAway would have anything to do with your connection problems. Unless you're in the process of updating your source files, AdAway is actually NOT running. The only component that stays alive is the optional webserver but that doesn't have the ability to hamper connectivity with the outside. Your network settings, modem, and mostly location and carrier/APN are usually the main culprits when it comes to data woes.
[Android Apps and Games] TheDarkDefender:
Hello,

I don't have data saver turned on, I also checked that before I posted. My rom also does not have the ad blocking option(one hosts file only).

Also, I see ads on every other app now, not just one. Even on the old apps too which never got updated.

thank you.
[Android Apps and Games] -m3tac0rt3x-:
Go to your [/system/etc] folder using a root enabled file explorer and open the hosts file (there should be only one hosts file there - if you have several then you should delete the ones that don't have that line below and re-apply AdAway).

Once you open it, if it was indeed applied via AdAway, the first line should be:

# This hosts file is generated by AdAway.

And it should have some hundreds of lines starting with 127.0.0.1 xxxxxx (where xx is the ad server being blocked).

Edit:

Only read now that you only have one hosts file - so it should have that line ^ if not, re-apply AdAway and reboot.

Edit 2:

Also check your internet APN so that they don't have any unnecessary VPN or Proxy setup that would over-ride the hosts file.
[Android Apps and Games] TheDarkDefender:
Hey,

I tried all the stuff you mentioned before, except the APN thing. Before I read your last post, I checked the hosts file and deleted it via root explorer. Then I wiped /system and flashed my rom again, rebooted and then re applied Adaway and rebooted again. And it works fine now. If it helps anyone , this is how I fixed.

Anyway, thanks a lot for your prompt response. Much appreciated.
[Android Apps and Games] Mike B.:
[MENTION=4179760]-m3ta-[/MENTION] gave you good advice. All indications are that something in your configuration (unrelated to AdAway) got corrupted. I hope you first tried a simple full reboot since that solves may problems, but restoring from a recent good backup might have worked too. Now that you apparently have a good configuration, run a full nandroid backup so that you can easily recover should further problems creep up.
[Android Apps and Games] FPSUsername:
Always newest.

Greenify doesn't hiberinate adaway, and it is whitelisted on powernap
[Android Apps and Games] Mike B.:
Have you tried temporarily disabling the Power Nap module altogether (reboot afterwards) and check if AdAway still vanishes unexpectedly, just in case the whitelisting feature is misbehaving?
[Android Apps and Games] FPSUsername:
It happened even before greenify and powernap. Will try it

Edit: got the same problem. I disabled greenify, powernap and amplify, reboot (not soft) and tried it. Somehow the whole framework got "uninstalled", so yeah, xposed apps were disabled. It still doesn't get enabled. Flashed the framework again and re enabled the apps. Still got the issue with adaway :(
[Android Apps and Games] ggkameleon:
Yes thank you a lot.

I just Unchecked and that to work out.

But since my white list became long and I do not know what they need are those that I keep checked ?

I wanted cleaned my list and so removed those useless ?
[Android Apps and Games] Mike B.:
To delete a line from your whitelist, long press (press and stay pressed) on that line and you will see options to either edit or delete it.

If you have and need MANY white list entries (more than just a few), you are probably loading more source files than needed. A quick way to get a fresh start would be to uninstall AdAway, then reinstall with only the default source files. As usual, make a good backup first in case something goes wrong and remember to reboot whenever you change anything dealing with AdAway or the hosts file.

If you have more than 4 or 5 entries in your black and white lists, that's probably too many. Unless you're absolutely positive you need more, limit yourself to the default hosts files and keep in mind that you might still see a few ads here and there regardless of how hard you try, c'est la vie. No need to obsess over blocking everything from everywhere... ;)
[Android Apps and Games] adl:
Getting ads with latest mx video player which I didn't had before. Tried to see what needs to blocked with the DNS thing on adaway but there wasn't a particular site showing up. Anybody has an idea?
[Android Apps and Games] Mike B.:
To try and help you, I downloaded and installed the "free' version of MX Player 1.7.40 but it didn't show any ads for me when I played a few video streams. For example, while playing http://www.androidbegin.com/tutorial/AndroidCommercial.3gp it accessed "*.content.swrve.com" but no ads appeared. This is in my usual AdAway testing configuration, using only the default source files with the webserver enabled. If your tcpdump log doesn't show anything, there's nothing AdAway or any other hosts file editors can do. It's possible that the ads you see are embedded in the video itself and not directly accessed by MX. You may want to browse the

MX Player Forum

here on XDA but I suspect the main advice will be to simply switch to the PRO version... ;)
[Android Apps and Games] adl:
Thanks for your reply!

I getting ads while pausing a video which I have on my phone, so I am not streaming a video from the Internet. I tried with airplane mode enabled and no ads are shown, so they are defined coming from online (not imbedded in the new version of mx video player).

I am getting the paid app for sure, must admit I always felt it a bit high on price, even it's my favorite video player. Hope they will have a sale on the paid version sometime. [emoji2]
[Android Apps and Games] Mike B.:
No ads at all here when playing local vids from my SD card, sorry. It's a mystery! ;)
[Android Apps and Games] adl:
:D
[Android Apps and Games] Telyx:
Keep in mind that if the app uses an actual DNS address instead of an URL that needs to be resolved for its ad(s), it won't look to the hosts file at all, so AdAway won't block it.
[Android Apps and Games] adl:
Dang, don´t understand a word. :o

So, no way around those ads then?
[Android Apps and Games] Mike B.:
[MENTION=1996817]Telyx[/MENTION] was reminding you that AdAway can only help when something tries to access a URL by name (e.g "somewhere.com") and not when something directly uses the numeric address (e.g. "111.222.333.444") . A request by name goes through DNS and the hosts file (and therefore AdAway) can redirect it, but if it directly calls the numeric IP as some apps do, there's nothing to stop it.

Unfortunately this doesn't explain why your ads apparently started showing up recently and why I don't see any ads here using the same MX Player.

EDIT: I've tried to explain the process several times in this thread, including THERE and other posts. It's actually fairly simple. Think of DNS as a phonebook. To call John Smith, you can look up his number but if you already know he's at (123)456-7890 you can dial him directly and even if he makes sure that is numnber is unlisted, you still contact him! ;)
[Android Apps and Games] adl:
[MENTION=4343728]Mike B.[/MENTION]

I just uninstalled and reinstalled mx player and no more ads are shown. ☺
[Android Apps and Games] Mike B.:
It's magic! ;)

At times, Android works in mysterious ways. Thanks for letting us know.
[Android Apps and Games] gorilla p:
Even if it were to hibernate the app, it wouldn't change the host file. No problems there.
[Android Apps and Games] ggkameleon:
Thank you very much for your support ;)

Then your application works really well along with Adblock on ios "jailbreak" or we can create such lists (white / black)

But really Adaway on Android is the best ...

Ok ! Yes, I unwanted whitelist App for 2 children's videos (Zouzou / Gulli) that do not work if I do not take away their DNS ! After I think when I turn,, I should not select all of the DNS Application log, but I should try one by one to see if the app works ...
[Android Apps and Games] Mike B.:
I want to make it very clear that AdAway is NOT my application at all. All credit should go to Dominik Schuermann (dschuermann), the original creator/maintainer, and the various contributors especially of course [MENTION=3355398]mrRobinson[/MENTION] (0-kaladin) who has kept AdAway alive and well on here for all of us. I am merely yet another satisfied AdAway user, just like you... ;)
[Android Apps and Games] Natakranta:
Mike, you are doing great job in this thread, simple thanks is least you deserve for your efforts!

Sole reason to root my wife Galaxy Tab S 8.4 was to install AdAway. [MENTION=3355398]mrRobinson[/MENTION], thanks for continuous updates and AdAway maintenance. Much appreciated!

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[Android Apps and Games] russelgrim123:
Im confused why does my adaway installed on cm11 always says disabled after reboot or soft reboot?
[Android Apps and Games] Mike B.:
It's impossible to guess from the limited information you provided, but the cause is probably one of the several common ones discussed in this thread, such as an incomplete or incorrect root, S-ON on an HTC device, conflict with a builtin "ad blocker", multiple hosts.* files, etc. Chances are your system's logs would help you find out what is happening.
[Android Apps and Games] vikraminside:
Excellent program. Blocks ads across my entire device. Thanks @OP
[Android Apps and Games] russelgrim123:
Thanks for your reply i will try to check up on that
[Android Apps and Games] dktblade:
can't block ads in new version Mxplayer. pls update.
[Android Apps and Games] kingvortex:
AdAway doesn't need updating as it doesn't block the ads itself. It only provides an easy way of applying host files that contain ad servers. You'll have to wait until whichever host source(s) you use update to include any new ad servers that MXPlayer is using.
[Android Apps and Games] -m3tac0rt3x-:
A user reported that same issue just a couple of posts back, so please do some reading next time. ;)

Here are the related posts - solution given on the second to last post - but read'em to understand:
[Android Apps and Games] Bronando:
Couple of issues

eBay is redirecting to the main page if hosts are applied

Yahoo is showing ads

Twitch app is showing ads before a stream

Anyway to fix these? I applied lots of different sources. No luck
[Android Apps and Games] Mike B.:
I don't see ads on either eBay or Yahoo with the default sources, but I know nothing about Twitch. Make sure you start with only the default source files and if you still have issues, temporarily enable the AdAway tcpdump option, browse the sites that give you trouble, then review the resulting tcpdump log as described many times in this thread. Applying "lots of different sources" is often a recipe for disaster, and discriminate use of a black list is much wiser when necessary. Remember to always reboot after making any change to the enabled source files or your black/white lists.
[Android Apps and Games] Mawtin:
How do I prevent it from blocking ads on a certain app?
[Android Apps and Games] Mike B.:
You can't. AdAway doesn't know or care about specific apps, it only deals with URLs. If you want a certain app to show ads, follow the instructions given countless times in this thread and whitelist the appropriate host names as shown in the resulting log, keeping in mind that they will be whitelisted for all apps, not just the one you used for testing.

Instead of repeating the same information over and over again, I'll merely suggest that you scan this thread or at least SEARCH it, possibly using keywords such as "log", "whitelist", "tcpdump", etc. Alternatively you could go to the OP, locate the link to the Developer's site, and read the FAQ there. If all of that is still too much work, at the very least look at AdAway's builtin help (click on the "

?

" at the top right of its screen). The other option is to uninstall AdAway... ;)
[Android Apps and Games] :
Can AdAway be used to block websites? I tried to block Facebook, but I can still connect to that domain. I'm on the 'your lists' page, 'black' tab. I tried all facebook.com, www.facebook.com, m.www.facebook.com.

I've restarted my phone.
[Android Apps and Games] manpildo:
Have you checked if those lines actually get added into the hosts file? And did you take note of the text below, "after adding new items to this list you have to apply adaway again"?
[Android Apps and Games] :
I've applied AdAway again after adding those domains.

I have some issues with locating the hosts file, what is the actual location? I'm using ADB to pull the file out. How-to Geek uses the command /system/etc/hosts F:\hosts, but it doesn't work..

I can't find hosts file via search.
[Android Apps and Games] kingvortex:
Try adding *.facebook.com to the blacklist and reapply. Sometimes you need to reboot your device for the dns cache to be flushed as well.
[Android Apps and Games] :
Adding "*.facebook" to the blacklist gives an error: "this is not a valid hosts file". I've already tried "facebook.com".
[Android Apps and Games] kingvortex:
Make sure you don't put a space after entering it. That will prompt that error.

Edit: it appears that you can't use wildcards in the blacklist. Apologies for the misinformation.
[Android Apps and Games] :
I surely don't put space after that line. Are you sure that "asterisk" can be used?
[Android Apps and Games] kingvortex:
No, I made a mistake. I don't think wildcards are allowed in the blacklist. I edited my post above. Apologies.
[Android Apps and Games] Mike B.:
The hosts file which AdAway helps manage deals with URLs in general, not specifically pictures, sound files, scripts, web pages, etc.. When we say that it blocks something we actually mean that instead of fetching whatever lives at that URL, it simply redirects that request to a "do nothing" location and doesn't display that picture, play that sound, execute that script, or show that page.

To blacklist a host, you need to enter its name (e.g. "facebook.com"), re-apply the hosts files, then reboot. If after that your browser still manages to find and display facebook.com, that suggests that either it goes through a proxy (Chrome's data saver?) or it has somehow retained a cached copy of that page. Disabling the proxy or clearing the cache (see your browser documentation for help) would resolve the matter.

That said, the question that comes to mind is why you'd want to block a site in that manner. After all, if you don't want to see the Facebook site, just don't go to Facebook. If you're trying to block Facebook-related ads displayed in a browser or an application, then you need to find out the actual location of those ads, which is probably not "facebook.com" but some other ad server.

---------- Post added at 07:57 AM ---------- Previous post was at 07:51 AM ----------

Sorry, I didn't see your later message until after I replied to the earlier one. You don't need adb. Use any root-enabled file manager or the terminal emulator on your phone to locate your hosts file if you need to. AdAway itself will let you know if it can't find or edit the default /system/etc/hosts and even give you a chance to try other locations.
[Android Apps and Games] :
I found the host file. AdAway hasn't added Facebook entries.
[Android Apps and Games] Mike B.:
The whole point of using AdAway is that you don't have to edit the hosts file manually and you only need to optionally tweak it with a few blacklist/whitelist entries. Text editors are easy to find on the Play Store if your ROM doesn't include one, but you don't need that to control ads on your device.
[Android Apps and Games] :
I understand that, but I checked the hosts file manually using Turbo Editor. I also use 'Fanboy's Annoyance List' filter list, but there were no Facebook entries.

I think that custom lists aren't applied properly.