yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] x5c0d3:
Nah, that would be too easy ;) It's an app that controls on how long my kid is allowed to use the tablet until he only sees a "Your time for today is up!" message without beeing able to use any app I blocked. And I don't have the blocker app. What I have is the control app. The one where you can see which apps my kid used and how long and all that.

I revert the hosts file to original. As soon as I do that (and force kill the running app to be sure that it starts from beginning) the apps work correct. I can ask the support of Screentimelabs if they can enlighten me.
[Android Apps and Games] Mike B.:
What you are suggesting is not an unrooted version of AdAway but rather a way to allow write access to /system/etc without root, a separate matter. You don't really need a ZIP if you have a custom recovery that either includes a file manager or is able to run the Aroma FileManager. Place your modified hosts file where the recovery can access it and copy it to /system/etc when necessary. Note that if you have another device that is rooted, you could use AdAway on that device to prepare the latest hosts file from the source files you select, then copy that new hosts file to the unrooted device.

---------- Post added at 02:34 PM ---------- Previous post was at 02:05 PM ----------

OIC. The problem I see with the "control" is that nowadays kids tend to know a lot more about their devices than the parents do. As long as the app give you peace of mind, though, that's great... ;)

If the original hosts file works but the modified one doesn't, that's clearly something for the app's support people to address. Either the app tries to access hosts that you specifically block, or it makes assumptions about the size of the hosts file, or it uses one of the many other possible tricks available, but this pretty much exonerate AdAway.
[Android Apps and Games] x5c0d3:
His parent works (and codes) with computers since 32 years and is a web developer. The wall he has to climb to break free is really high. ;) I still think that AdAway has a blocked host that these apps need. I just don't understand why I don't see something inside the logfile. Do I have to have the original hosts file active on logging? Maybe I should do a tcpdump on my own and look into the log with Wireshark. I don't believe that the standard support person can answer such a technical question.:D
[Android Apps and Games] Mike B.:
Only 32 years? So, you're a newbie compared to some of us, eh? (yes, I'm THAT old!) ;)

Remember, it's not AdAway blocking anything, it's whatever you have in your hosts file, whether AdAway is installed or not. Yes, anything you can do to monitor traffic would help you determine what the app is looking for. Depending on your configuration and assuming you can duplicate the issue under WiFi, you router may also be able to show you a usable access log. From what I've been able to see from a cursory look, the Android app seems to reach fairly deep into the system's bowels and establishes some sort of direct connection to Google (including Analytics). That said their support people should know what URLs their app needs to access and be able to share that information with a legitimate user. Happy hunting! ;)
[Android Apps and Games] x5c0d3:
Great to see other dinosaurs from "the golden days" :D The first computer I had my hands on was a Sinclair ZX-81. :)
[Android Apps and Games] fmc000:
Mine was a Commodore 64, more of less 32 years ago. Dinosaurs FTW!
[Android Apps and Games] aswinrulez:
Im on latest cm12.1 nightly in my oneplus one with the latest adaway version. Lately ads have began to show up in apps such as mxplayer, textra and tubemate even after i update the host files and reboot my phone. Any idea what might be the case or how i can fix this?Any one else facing the issue?
[Android Apps and Games] jaibar:
vic-20 here ?
[Android Apps and Games] fmc000:
Enable the tcpdump and find which URL are called when you see the ads. Then blacklist those URLs
[Android Apps and Games] aswinrulez:
I tried that but it was showing the following names. I thought it was from facebook.

m-static.ak.fbcdn.net

m.ak.fbcdn.net

facebook.com

If i blacklist is can i revert it later from 'Your List' option? Everything was working fine till few days. Then ads started showing up
[Android Apps and Games] fmc000:
I'd do something like this: deactivate tcpdump, clear the log, update adaway, reboot the phone, enable tcpdump, run the app you wish to block the ads for and when the ad show up go back to adaway and look at the log. It has always worked for me.
[Android Apps and Games] aswinrulez:
Thanks. I will try this :)
[Android Apps and Games] shamsul007:
Couldn't identify the problem. I was using Hotspot Shield, Orbot and Orweb. I also had build.prop net tweaks, 3g tweaks and streaming tweaks. I assume the issue lay somewhere there.

I ended up reflashing my rom.

Working perfectly now :D
[Android Apps and Games] x5c0d3:
Hahaha.. guys.. I could cry out of happiness. Mostly in the internet you meet people who are alot younger. :) VIC-20 was the one I learned BASIC on at school and the legendary C-64 was my very first own computer. I loved it for many years. :o
[Android Apps and Games] Mike B.:
I'll shuffle out of retirement for another brief OT comment: If you kids started out with a ZX-81, a C-64, or a Vic-20 (not even an IMSAI or Altair, let alone real computers such as a S/360 or at least a CDC 6600?) I'm apparently still stuck dealing with much younger people on here! XDA should have a special user title for "Recognized Relics"! ;)

OK, enough wasted time, get back to work! No, Adaway cannot block the rantings of old men, sorry ...;)
[Android Apps and Games] adrman:
I still have a working Tandy 102, does that count. [emoji13]
[Android Apps and Games] Mike B.:
Nope, not even a Trash-80 would do, but the 100/102 was a pretty exciting machine at the time, way back when Radio Shack was still making things instead of just selling them.

Something is wrong with AdAway, it keeps showing me a bunch of OT messages in this thread! ;)
[Android Apps and Games] aswinrulez:
This is not working. I shows only facebook host. No other ad one. Even the fb one i tried to blacklist but to no use. Ad shows up in almost every app. I tried textra to see if the ad host u mentioned shows up in the log. It didnt :(
[Android Apps and Games] Mike B.:
I didn't follow your reports very closely but it seems as if either your apps are accessing the ads directly by numeric IP or they go through a proxy of sorts. In both cases, there's nothing AdAway or local DNS can do about it. This assumes that your hosts file contains the URLs you wish to redirect and that nothing else interferes with DNS, such as a forgotten APN proxy or a builtin and misguided "ad blocker".
[Android Apps and Games] aswinrulez:
For the app to change the way it retrieves app, it should have been updated right? I have no updated. I had no ads one day and then slowly i notice ads in most of the apps. Is there anything i can try and see if it will fix from your experience?
[Android Apps and Games] Mike B.:
The only thing that is certain is that SOMETHING changed. One easy step you can take it to review your logs and see if it shows any errors that might explain your problem.

One warning flag is that you mention being on a CM 12.1 nightly, and nightlies are known for introducing unexpected issues. I believe some recent nightlies had (have?) problems with root/su, often solved by upgrading to a proper SuperSU instead of the internal CM superuser. I've also see reports of that same 12.1 having conflict with other hosts and DNS-related products. Did your trouble start with a specific nightly? Have you tried reverting temporarily to a stable 12.1 for your device if one exists?

Remember that AdAway is not an active player when it comes to ad blocking. As long as your hosts file has the URLs you wish to redirect, you can even completely uninstall AdAway without any bearing over "ad blocking". If a server is redirected to 127.0.0.1 in your hosts file and yet you see that server's ads, that means that either your app or browser used the server's IP instead of its name, or that something prevented local DNS resolution to access the hosts file first as it should.
[Android Apps and Games] ChasingShadows:
Lol, if I remember right the first computers I was playing with was a Univac 9400 and a DEC VAX 11/780 ... and the first pc was an Apple IIe. I think I started programming on punched cards ... Pascal, Assembler and Fortan IV . Man that was more than 35 years ago ....
[Android Apps and Games] swat4samp:
Is there any explanation as to why only some of the ads are blocked in apps where it used to block them previously? I am using latest adaway on my n5 running chroma. Experienced this behaviour since last week. Esp in mx player and appygeek apps. Previously it used to block ads from those apps. I tried to apply and reboot. Still didn't work. Even tried to log dns requests, still ads are shown. Is there something wrong?
[Android Apps and Games] Mike B.:
You have to determine what you changed last week. New ROM? New versions or apps? As long as your hosts file still contains all the URLs you want to redirect, it's out of AdAway's control and you can even uninstall it temporarily if you want. Make sure that the apps that show you ads don't go through a proxy or address those ads by numeric IP. If you only have a problem with some specific apps, chances are that it's simply because those apps started accessing the ads directly and no amount of tweaking the hosts file can help.
[Android Apps and Games] sewb:
is it possible to not block ads in a specific game you want ads in?
[Android Apps and Games] Mike B.:
NO!

;)

If you need details, try to

read this thread

where it's been explained many times that AdAway neither knows nor cares about specific applications or even about ads. When you understand what AdAway is and does, I'm sure you'll agree...
[Android Apps and Games] aswinrulez:
Same problem as i mentioned few threads up :(
[Android Apps and Games] swat4samp:
Thanks for your reply. All the hosts are applied perfectly. Its just an update of same ROM, so it won't be ROMs problem afaik. And as far apps are concerned, I didn't get update of those apps, so I'm not sure whether they changed that behaviour. Can you please try appy geek or MX player? Those are the apps which shows ads.

---------- Post added at 10:02 AM ---------- Previous post was at 09:59 AM ----------

Didn't notice it :/ can you tell me in which apps are you seeing ads which aren't shown before? I will check them in my ROM.
[Android Apps and Games] finneginsfast:
Anyone know how to get rid of Google ads that show up in search, local and maps. Seems like Adaway works wonders on everything except these...
[Android Apps and Games] mickyw1980:
Google settings -> ads
[Android Apps and Games] Daekin:
hi there are new commits from June 20...can you recompile the app? :angel:
[Android Apps and Games] finneginsfast:
Forgive me if I'm wrong and maybe someone else can confirm but this option is only for personalization of ads not for the elimination of them.
[Android Apps and Games] mrRobinson:
OP Updated
[Android Apps and Games] jawz101:
Correct
[Android Apps and Games] lrdangel:
Seems to be working pretty well, thanks for the support with this app!!
[Android Apps and Games] anthonypiccolo:
I currentl have Adaway installed on my phone but I was just curious as to how it compares with say AdBlock Plus on Android. I currently use AdBlock Plus as an extension for Chrome on the desktop but I believe Adaway is the better solution for mobile because it works at system level which means a proxy running in the background isn't needed unlike ABP.

I'm assuming the only time someone would consider ABP over Adaway on their Android phone is if it doesn't have root.

Is this correct?
[Android Apps and Games] vanzan:
places meemram

noob here. Is it a good idea to enable the webserver and redirection options? I'm guessing these remove the "page not found" error messages where the ad should have been? Thank you!
[Android Apps and Games] cognitivedissonance:
This has always been my impression, however your technical analysis is more than what I've taken into account. In general, if two apps exist (both well tested and well reviewed), the one that requires root access will probably perform the task better, and with less battery and process consumption.

I think of it like trying to get to a destination which is directly across a lake. There's no road going around the lake, but there's a nicely paved bridge going over it. To gain access to the bridge, you need root permissions. Can you go around the lake to get there too? Sure, but it's going to be off-road and it'll take more energy to get there.
[Android Apps and Games] baristaman:
I used to be an AdBlock Plus user, even though I was rooted. I switched primarily because Adaway is open source, but the fact that ABP will evidently sell the right to have an organization's ad whitelisted by default is a strike against it, IMHO. See the link below:
[Android Apps and Games] Namoi:
In fact they don't marchandise the possibilty to be on the whitelist.

They just ask for the potentials to respect strict guidelines which is monitored also by the users (go to their forum to see).

In a way it is good as a lot of sites relieve only on adds for providing their contents free for us.

Plus, you have an option to refuse to use that whitelist, so best of both world (on PC at least...)
[Android Apps and Games] brGabriel:
For some reason, just recently, I've noticed that after running/updating AdAway everything is successful. I can even check my hosts file and see its been updated. However, whenever I reboot my tablet and open AdAway again, it shows it as "Disabled" and my hosts file is empty.

Any thoughts?
[Android Apps and Games] ~kyle:
Did you look at the "Allow redirections and whitelist entries" setting under the preferences and make sure it's checked?
[Android Apps and Games] jawz101:
Um https://hg.adblockplus.org/

I could see it as a 'donation' but they aren't 'paying'.

It's a freakin on by default preference. Just uncheck the box.

Or fork the source code -which others have done- and remove the function.

On my phone I use both abp and faraway as they use different blocking techniques.
[Android Apps and Games] brGabriel:
I did not, so I checked it to be safe. Thanks!

I think the culprit was a performance tweaking mod I flashed. I don't know why it would need to mess with my hosts file but I did a full wipe, reflashed ROM and kernel, now all seems to be well.

It happened on two seperate ROMs which is what got me scratching my head, but both times I had flashed some experimental performance mod, so as of now, I would say my problem is resolved. Thanks guys! :good:
[Android Apps and Games] guycan:
This works great Thanks... Does anyone know why when reading the news or some other site thats has video u cannot play the video ... video play and caption is grayed out if I Disable this app it plays the video. Any help advice would be appreciated. .. Thanks in advance.

SGNote2
[Android Apps and Games] bogdan1980:
Give us an link to test, for me video is working on all my websites on opera, firefox, boat

Galaxy S2 powered by Dorimanx!
[Android Apps and Games] guycan:
Thanks for the response but I just updated the host file an reboot twice and it's working now... Thank u much it appreciated

SGNote2

---------- Post added at 10:22 AM ---------- Previous post was at 10:16 AM ----------

If update without reboot it works then I reboot now its not working

http://m.clickorlando.com/news/vigi...s/-/16721250/21080192/-/146xnljz/-/index.html

SGNote2
[Android Apps and Games] fgarvin:
I know I have problems with abc, abc news, espn.
[Android Apps and Games] aswinrulez:
MXPlayer, tubemate and textra are the apps i notice. Will check others and update you if u see any.
[Android Apps and Games] Mike B.:
If your ROM was updated, that's a

change

! If nothing changed it wouldn't be an update. ;)

I can't really test MX Player for you without knowing which streams give you trouble but I installed the free version 1.4.70 and it didn't show any ads when playing local content. I also installed Appy Geek 5.1.1, and playing a few of its random clips didn't show ads either. It's still unclear whether those are the only two apps that fail you or if it's a more widespread issue on your device. In both cases, I was using a default AdAway configuration with webserver enabled, on a rooted TouchWiz 4.4.2 ROM, no proxy, no VPN and no other "ad blocker".

Realistically,

you

are the best person to find out what is happening on your system, especially if it only started happening recently. If it coincides with your recent ROM update, then it's quite obvious that something happened in or because of that update and whoever supports your ROM would be a good source of information.

---------- Post added at 12:15 AM ---------- Previous post was at 12:09 AM ----------

If you can help determine exactly what your configurations have in common, you might be able to solve the mystery. By temporarily uninstalling AdAway but keeping the extended hosts file, you can verify that the issue is one of local DNS resolution, unrelated to AdAway.
[Android Apps and Games] swat4samp:
Thank you so much for testing. Guess it must have something to do with ROM change. I'm sure dev didn't touch hosts file. And he didn't add ad blocker too. I will try other ROM and check whether its working in it. Thanks once again :good:

---------- Post added at 11:11 AM ---------- Previous post was at 11:07 AM ----------

I too saw ads in mxplayer app. Logging DNS requests shows only facebook.com and graph.facebook.com entries :/ Will try another ROM.
[Android Apps and Games] aswinrulez:
I too got only fb host names

---------- Post added at 11:18 AM ---------- Previous post was at 11:18 AM ----------

I'll try asking in the ROM thread and see if anyone else noticed this. Thanks :)
[Android Apps and Games] Mike B.:
Out of curiosity, are you both running that %$#@ "official" Facebook app? I personally don't use Facebook, but the recently introduced "fbcdn.net' CDN seems to get mentioned frequently in connection with delivery of unexpected content. I'm not sure how that relates to the apps you mention, but it might be worth investigating (or maybe blacklisting?)...
[Android Apps and Games] aswinrulez:
:D is there any better alternative? i would love to try another one :)
[Android Apps and Games] Mike B.:
Alternatives to Facebook? Yes, it's called real life! ;)

If you insist on using Facebook, note that you can do so from any browser without involving the dedicated app, an approach that would probably minimize the odds of receiving (or even worse, broadcasting!) undesirable content. I have no evidence that this is connected to your problem, but those references to Facebook's CDN while running a seemingly unrelated app look a bit odd.
[Android Apps and Games] casouzaj:
Or Facebook Lite, perhaps?
[Android Apps and Games] Mike B.:
It might be "Lite" but it still requires an impressive list of permissions, and while it's reportedly slower and less data-hungry than it's "Heavy"(?) sibling there's no indication that it's better behaved. In any case, the suspicious component is the Facebook CDN which apparently hosts not only Facebook pages but also some unspecified content, and certainly looks, feels, and smells like yet another ad server. The FB people are somewhat clever and I suspect that if you blacklist the CDN it effectively blocks all FB pages, but it would be easy enough to try.
[Android Apps and Games] gamesky:
suddenly there's an ad showing up on textra, anyone else too?
[Android Apps and Games] Mike B.:
If it's only ONE ad (or just a very few ads, it might be because your app started using an ad server not included in your current hosts file or blacklist. If it happens again, use the standard approach: enable tcmdump, find out what the app accesses, blacklist the new server. Realistically, an occasional ad here and there is pretty harmless and might not be worth your time chasing it down. It's your call...

Note that just because one person sees an ad doesn't mean others running the same app will also see it since many such ads depend on location, ISP, login ID, etc. YOU are your own best resource when it comes to tracking down unwanted ads on your system, one of the many reasons why large "universal" hosts files are often pointless.

Remember, AdAway doesn't block, redirect, or allow any ad, the hosts file YOU selected does! ;)
[Android Apps and Games] marknoll:
Do u guys realize his many services are in fb? Tons!!
[Android Apps and Games] steakhutzeee:
Ok, i use AdAway from here https://f-droid.org/repository/browse/?fdid=org.adaway. Is same thing with one you posted right? Only you compiled before?
[Android Apps and Games] Mike B.:
AdAway is open source so anybody can compile it. The version you mention is presumably compiled from the same basic source (including [MENTION=3355398]mrRobinson[/MENTION]'s many commits) as the version 3.0 in the OP, but with an incompatible signature. F-droid doesn't maintain, develop, or contribute to AdAway, they merely recompile it once in a while. I suggest you grab the version here so that future updates, if any, won't require you to uninstall an old F-droid copy.

For further details, you may want to

SEARCH this thread

. Click on the link I just underlined and you'll find some 108 references to F-Droid... ;)
[Android Apps and Games] swat4samp:
Finally solved my problem. I added graph.facebook.com to adaway's blacklist, reapplied hosts and the ads are gone for good. Tested in MX player and appy geek apps. :good:
[Android Apps and Games] geokilla:
wrong forum
[Android Apps and Games] steakhutzeee:
I use direct .apk, i don't use F-Droid. You suggest to download from here?
[Android Apps and Games] DeX1009:
Hi! Is it possible to put a website/app in white list? I'm feeling a bit "cheater" using XDA without giving it my impressions :)
[Android Apps and Games] Primokorn:
Add the website's domain in the white list. You can do nothing for an app though.
[Android Apps and Games] fmc000:
And re-apply the ad block.
[Android Apps and Games] Mike B.:
I though that's what I already said, but yes, yes, and yes. Whatever is on F-droid, regardless of how you download it, is not maintained or supported there and is not compatible with previous or future versions of what you have right here in the OP. XDA is a pretty good and dependable place from which to download. Six and a half million members can't be wrong! ;)

---------- Post added at 07:35 AM ---------- Previous post was at 07:30 AM ----------

After you familiarize yourself a bit with AdAwa by reading this thread, you will see that AdAway can be used to block or redirect any server name (whether it's a web site or not), but it has no control over apps on your device.

To relieve any guilt coming from taking advantage of XDA, the most effective cures are either to donate or to help other members... or do both! ;)
[Android Apps and Games] king.larry:
I have exactly the same problem. But i don't think that it's a Rom or adblocker problem. I have a Note 3 and i updated my Android 5.0 Rom and also the actual Bootloader and Modem from Samsung. After this, no Adblocker is working! I tried to install an other 5.0 Rom with full wipe ... adblocker ist not working ... i tried other adblocker apps ... the same: not working!

Can i be a problem of the bootloader??? (I have now the BOEA Bootloader)
[Android Apps and Games] fmc000:
Unlikely. Seems more like a root problem.