yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mike B.:
We'd need at least a few more details to be able to help you, such as which specific error message(s) you receive when attempting to do what. AdAway should at least install properly (even if it can't run for some reason) on most any Android device.

Is this on an LG G3? That's the only device for which I see a few references to a "Novastock 5.5 ROM" and since that ROM is not on XDA, it's difficult to find much information about it, such as which Android version it's based on, whether it's rooted or not, whether it allows full access to /system, whether it has a builtin "ad blocker", etc...
[Android Apps and Games] leap_ahead:
guys host file must update?
[Android Apps and Games] DaveX2012:
How can i whitelist tapatalk?
[Android Apps and Games] Ninos3:
fix for the problem

I dont know why but when did the following:

1. Leave ad away settings default.

2. Open cm file Explorer go to settings give it root access.

3. Go to the hosts file: /system/etc/hosts (only go there do not chance anything).

4. Try now Ad Away it will work.

For me this fix the probleem on my Samsung s4 CM 10.2

I hoop it will help you guys too.

PS. My english is bad.
[Android Apps and Games] chesterx1:
Camera locks up and still have problem with lockups while xfering to SD. No problem with ap2 SD on other ROM.

---------- Post added at 09:28 PM ---------- Previous post was at 09:26 PM ----------

I have gone to apps and deleted data. Adaway then will work.
[Android Apps and Games] giant22000:
I tried both of these suggestions with my Samsung Galaxy S4 (T-Mobile sgh-m919) with no success.
[Android Apps and Games] mattisfaction:
Use adfree android, that works no problem
[Android Apps and Games] giant22000:
Appreciate that! AdFree for Android worked without a hitch!
[Android Apps and Games] 0kti:
+1 on SGS4

Wysłane z mojego GT-I9505 za pomocą Tapatalk 4
[Android Apps and Games] mrRobinson:
Some updates checked in. Should help on 4.3 I'll post up a new build in the next day or so.
[Android Apps and Games] CODENEX:
Thanks a zillion! I'd like to see this working on my rooted GS3 (I9300).

If it works as said, This will be the most life saving app ever made :victory:
[Android Apps and Games] chreddy:
Why don't you think it would work on the i9300?

I've got a i9300 myself, and it works perfectly! :)
[Android Apps and Games] mrRobinson:
OP updated with new build. This is built from source tag v2.5.
[Android Apps and Games] Poke01:
google blocked developers website?

When I try to go to the developers website, google tells me it is forbidden!

Edit: might have been a glitch as it is showing now? Weird.
[Android Apps and Games] PhrostB:
This app indirectly got me back into supporting open source software. A few years back I would recommend Linux and LibreOffice to friends and family that had problems with their computers. I would always also recommend Android based mobiles as opposed to Apple products.. well discovering this app also helped me discover f-droid and I think it's simply awesome that there's a whole open source store available to us! I think I'm going to actively try to replace my closed source google play store apps with f-droid alternatives from now on. Thanks guys!
[Android Apps and Games] mrRobinson:
I edited the OP to reflect his new links. The older ones that went to Google were dead. You're not crazy.
[Android Apps and Games] dynospectrum:
+1

Sent from my SGH-M919
[Android Apps and Games] warhead1978:
i9000 cm10.2 no problems
[Android Apps and Games] kirbymaster101:
Can't seem to get white listing work? Anyone?
[Android Apps and Games] mangojai:
I couldn't get 2.5 to work too - Got an applying host file error (i got SuperSU v1.51 - TWRP) ..... gotta revert back to 2.3. :cyclops:
[Android Apps and Games] mrRobinson:
I got that too but just killed the app and applied again and it worked. That was on my n7 with 4.3 and supersu. On the gs4 with superuser I haven't had an issue yet.
[Android Apps and Games] she3py:
Works on i9100 10.2. Had to mess with it for a bit by applying disabling deleting white list re-adding white list, rebooting a couple of times and bam! all of a sudden it works
[Android Apps and Games] PirateNL:
Upgraded with no problems on CM10.1. Cheers
[Android Apps and Games] Philip:
It's explained here: https://github.com/Free-Software-for-Android/AdAway/wiki/ProblematicApps
[Android Apps and Games] Mike B.:
Please explain. When you select "download files and apply ad blocking", AdAway updates the hosts file based on the latest source files that you selected. The source files can be automatically updated daily but it's entirely optional and you don't have to update those until you feel they are getting too old and letting too many ads pass through.
[Android Apps and Games] leap_ahead:
thanks for explain !
[Android Apps and Games] xsbxhome:
on nova rom u have it build in setting. :p
[Android Apps and Games] Madmick:
Has anyone gotten the video in the NFL Mobile app to work without disabling these two host files: (1) adaway.org and (2) hosts-file.net? If possible, I would like to be able to get video working by just whitelisting the servers the app tries to access when I launch it or try to launch video inside of it. I would prefer to not lose all the additional adblocking their lists provide if possible.

First, I whitelisted the two sites listed at the Github link as possibly problematic for this app:

https://github.com/Free-Software-for-Android/AdAway/wiki/ProblematicApps

ehg-verizon.hitbox.com

oascentral.verizononline.com

So I went to the "Log DNS Requests", made sure the Tcpdump was running, then launched NFL Mobile and tried launching several videos within it. These showed up in the log file:

api.nfl.com

control.kochava.com

imageresizer.now.nfl.com

static.nfl.com

So I whitelisted those three as well. But I still can't get video unless I disable those AdAway host files or disable AdAway altogether. What other steps am I missing to find what else I need to whitelist? My carrier is Verizon if that helps.
[Android Apps and Games] mrRobinson:
You can add to your whitelist

*.doubleclick.net

*.auditude.com

See if it works maybe we can narrow it from there as those will let in a bunch of other ads potentially.
[Android Apps and Games] DarthKeizer:
Thanks :D

Dear OP,

I cant express my thank enough, those advertisements were ruining my smartphone experience. I just cant thank you enough for this :).

If I have some money left this month, I will surely donate. Keep up the good work :D! You need more recognition, this should be a default in all custom roms.
[Android Apps and Games] mrRobinson:
On that note, great article https://hbr.org/2015/11/ad-blockers-and-the-next-chapter-of-the-internet

...and I don't take donations, appreciation is enough ;)
[Android Apps and Games] Mike B.:
That article doesn't address one important point: many "ad blockers" rely on someone else's opinion of what should or should not be blocked. The beauty of AdAway is that it gives

YOU

, the user, complete control over which hosts you wish to block and which ones you wish to allow. This is a significant feature since what constitutes unwanted content is far from being universally defined. For example, members here have asked for ways to whitelist what some of us see as "junk". Conversely, others have wanted to block what we might usually consider relevant appropriate material. One man's useless "ad" is another man's useful information.

While the AdAway default sources are often more than sufficient for most users, I love the fact that they are totally optional and it's satisfying to hear from people who simply blacklist the hosts that

THEY

wish to block without having to "undo" what the generic lists happen to redirect at the moment. Granted, all of this can be done manually by editing the hosts file, but AdAway allows even the not-so-technical user to painlessly customizes his/her online experience, and does so at

no cost

and with nearly

no impact

on resources and performance.

Long Live AdAway! ;)
[Android Apps and Games] radziop:
Hi!

I've problem with Adaway with Nexus 6 ( MRA58R and MRA58N). Everything was working correctly on previous compilation (MRA58K). The only thing I was forced to do was to create simlink. I've used simlink_hosts_to_data.zip:

#
# Symlinks /system/etc/hosts to /data/data/hosts
#
ui_print("");
ui_print("==============================================");
ui_print("| Symlink hosts file |");
ui_print("| by Mantelinho |");
ui_print("==============================================");
ui_print("");
ui_print(">>> Mounting /system");
run_program("/sbin/mount", "/system");
ui_print(">>> Mounting /data");
run_program("/sbin/mount", "/data");
ui_print(">>> Moving /system/etc/hosts to /data/data/");
run_program("/sbin/busybox", "cp", "/system/etc/hosts", "/data/data/");
run_program("/sbin/busybox", "rm", "/system/etc/hosts");
ui_print(">>> Linking to /data/data/hosts");
run_program("/sbin/busybox", "ln", "-s", "/data/data/hosts", "/system/etc/hosts");
ui_print(">>> Unmounting /data");
unmount("/data");
ui_print(">>> Unmounting /system");
unmount("/system");
ui_print("");
ui_print("==============================================");
ui_print("| SUCCESS |");
ui_print("==============================================");
ui_print("");

But after updating to MRA58R it seems that Android is ignoring hosts file. I can access /system/etc/hosts using es explorer and I can see correct entries. But in all apps / chrome / firefox I see ads :(. Any ideas?

-----------

Update after chaning symlink to /data/hosts it starteg working again :)
[Android Apps and Games] provolinoo:
if you don't mind answering do you plan to release a systemless root compatble versions soon? :D
[Android Apps and Games] Mike B.:
This is limitation of your configuration not directly related to AdAway. You'd face a similar issue if you were trying to manually edit /system/etc/hosts. Fortunately it seems symlinks (with or without AdAway) still work for you.

---------- Post added at 04:00 PM ---------- Previous post was at 03:52 PM ----------

Perhaps I'm missing something obvious but what would a "systemless root compatble version" be and do?
[Android Apps and Games] gustav30:
If anyone is on HTC devices and have downloaded sense home updates, they have now incorporated blinkfeed with News Republic.

News Republic is riddled with ads. Before uninstalling news republic, and stop using blinkfeed, is there anyway to find how their ads are coming in to stop them as adaway has no effect on news republic?

Never mind found it, it's graph.facebook.com
[Android Apps and Games] Taomyn:
It would need to be able to create a script for systemless root in /su/su.d that mount binds the hosts file to a location under /su e.g. /su/etc/hosts This means AdAway would still point at the original location but will not be touching the real hosts file and thus not changing the system volume which is what a symlink would do.

I think that's it, at least as I have understood it and how I configured my N6.
[Android Apps and Games] Mike B.:
Sure, you can symlink or bind /system/etc/hosts depending on your specific configuration, but it's unclear why AdAway would be the wisest place to do that especially since requirements would vary greatly from system to system... and that the overwhelming majority of properly rooted devices need no such trickery. AdAway will obediently use whatever location you tell it to use for a hosts file that your system's DNS server will be able to find, regardless of how you managed to create/link/emulates that file. If you can't establish a simple permanent symlink because of your system limitations, then yes you'll need to use a shell command/script since bind typically doesn't "stick" between reboots, but that's hardly an AdAway issue... ;)
[Android Apps and Games] mrRobinson:
Yea i wouldn't do this in Adway. If anything I'd add a flashable zip to the OP that set up the boot script in /su/su.d if you had installed systemless root. For now the manual steps are quite easy and already detailed a few pages back in this thread. Being that systemless root is in the WIP thread, as a "let's see where this will go" I didn't want to start posting scripts that support it yet. Its alpha/beta stage right now, lets treat it as such and test and play with it but maybe not script things so people who don't know what they are doing might find themselves with more questions than answers.
[Android Apps and Games] Ultramanoid:
Chainfire of SuperSU fame has posted a way to achieve root without modifying /system which I suppose is what the question refers to. It's for Android 6.0, limited to very few devices and still a work in progress, at any rate.

http://www.xda-developers.com/chainfire-releases-root-for-android-6-0-without-modifying-system/

Edit : wow, I'm so slow, so many answers and replies while I was typing this one.
[Android Apps and Games] jaibar:
But, it has huge benefit that systemless roots will not break OTA.

I'm not sure if changing hosts file also breaks OTA by just barely the change in system partition size? If it does, then maybe there is benefit in something like the suggestion?
[Android Apps and Games] mrRobinson:
Again, suggestion is solved already. I'm running adaway without it modifying my system. Also ota will still need stock recovery and you will also still need to flash the stick kernel back.
[Android Apps and Games] TeHashX:
Thanks for the tip but now fb app won't work anymore :(
[Android Apps and Games] mrRobinson:
Looks like a win win situation to me!
[Android Apps and Games] TeHashX:
Yes but this will not block only fb ads, I will not receive any feed :(
[Android Apps and Games] fmc000:
That was his point I suspect :D
[Android Apps and Games] TeHashX:
There is some trick to block ads per app basis?
[Android Apps and Games] provolinoo:
Could you please release a flash zip or a modified version of the AdAway apk to be able to get that ("running adaway without it modifying my system") without manual steps?

I'm not very skilled in scripting and don't want to mess system doing wrong things :(

My main reason for it is to have Android Pay working.
[Android Apps and Games] Mike B.:
NO! All apps use the same /system/etc/hosts and that's the file AdAway helps you edit. AdAway doesn't alter the behavior of any specific app, it merely helps control the behavior of the systemwide local DNS. Browse this thread for all the details.

Best way to avoid the countless ads coming from the Facebook app? Don't use that app! If you must use FB, at least do so from your browser or a less intrusive third-party app, but then this has nothing to do with AdAway... ;)

---------- Post added at 06:23 AM ---------- Previous post was at 06:12 AM ----------

This is unrelated to AdAway. As explained a few posts above, AdAway only requires access to whatever global hosts file your system provides, and how your particular configuration makes that file available (symlink, bind, su script, etc.) is entirely up to you.

It's unfortunate that Android Pay and Google's new Wallet currently put rather stringent limitations on /system access but there's nothing AdAway can or should do about that. Someone might eventually release some sort of system patch or script to bypass the Pay/Wallet restrictions but for now if you choose to run a "protected" device/ROM you 'll have to make some sacrifices, such as inability to properly root, debloat, or customize your system. AdAway will probably be the least of your worries... ;)
[Android Apps and Games] alphahere:
Google Wallet works fine with a rooted phone. Android Pay will not work with a rooted phone. Never used Android Pay but I do use Google Wallet. Hopefully Google won't mess up Google Wallet also.
[Android Apps and Games] Mike B.:
Google's "new" wallet is certainly not as friendly/useful as the original one. All common NFC-based payment methods have limitations not necessarily based on logic, but fortunately none of that has anything to do with AdAway and we can safely ignore those issues in this thread... ;)
[Android Apps and Games] tinaag:
I can't open AdAway on my N5

I'm using MM pure Nexus Project. Pls help.
[Android Apps and Games] Mike B.:
I'm guessing that your post title of "I can't open AdAway on my N5" describes what you need help about even though you don't say much in the post itself.

Did you install AdAway from the link in OP here? When you try to run it, what exactly happens? Since that ROM is Marshmallow-based, you might need to follow the instructions in this thread on how to create a symlink in case you don't have proper access to /system.
[Android Apps and Games] tinaag:
Sorry about that..

No i didn't downloaded from here i had an old apk.

I followed the link to install some app name F-droid, but says that it won't let the app update it self. I need it to update, can't u share the link directly to the newest version of the app or that method described here is the only way to get AdAway at the moment?
[Android Apps and Games] Mike B.:
Instead of worrying about an unspecified and unsupported ancient version, uninstall whatever it was that you installed (it's most probably incompatible), and do yourself a favor by simply downloading the current AdAway 3.1 from the OP here. AdAway is actively maintained and supported in this thread and it provides full Marshmallow support.
[Android Apps and Games] manu63:
Hello,

I have a s5 rooted with android 4.4.2 on it and i have try the last version of AdAway 3.1 but the app dont work even if when i install it it says that the host file have been installed, but i have ads all the time on Youtube...

What version can i use to work withj my phone please? or what i have to do to work with last 3.1?

Thanks in advance alls.
[Android Apps and Games] Mike B.:
If you are referring to the official YouTube app, then all's well. That app does

NOT

go through local DNS to display its ads and there's nothing AdAway (or the hosts file) can do about that. See if vanam's Xposed module that tries to patch the YouTube app to block at least some if its ads works for you.

AdAway will work fine with your phone/ROM, but only for what it's designed to do, and that doesn't include taming the YouTube app, sorry... ;)
[Android Apps and Games] manu63:
Hello Mike B,

So if I understood correctly, AdAway cant Block ads on YouTube? I was sure that this app can do it... so What is for AdAway? What type of as can it block?

I dont have install xposed but I am going to try through the link you gave me.

Another question is there an unofficial YouTube app? Where can I find it and what are the differences with official ?

Thanks for help
[Android Apps and Games] Ultramanoid:
You can read through the thread or the OP ( opening post ) to understand a little better how AdAway works, it is a "hosts file" manager, see information about what that kind of file is and what it does.

Off-topic, but about YT, check this good and trusted alternative : http://xdaforums.com/showthread.php?t=2137743
[Android Apps and Games] FPSUsername:
9gag app has ads, is it possible to remove them?
[Android Apps and Games] Mike B.:
It depends on what "9gag app" is and does. The procedure to find out has been described countless times in this thread and in the AdAway documentation. As always, see if the DNS Request Log shows that your app calls any undesirable hosts that can be blacklisted. If it does not and gets its ads by numeric IP (bypassing local DNS) or by embedding them, which is extremely likely, then there's nothing AdAway or anything else using the hosts file can do about it. You tell us! ;)
[Android Apps and Games] FPSUsername:
9gag (the one with the black icon "com.ninegag.android.app")

And how can I do that?
[Android Apps and Games] Mike B.:
I see an app named "9gag" in the Play Store, but it smells like the kind that would be full of ads unless you buy the "PRO" version and it probably uses one or more of the many ad pushing services some low-end "developers" are so fond of.

Once again

YOU

have to investigate the app since a lot depends on the version, settings, login, location, ISP, etc. Just follow the procedure described countless times in this thread and in the AdAway documentation to enable tcpdump and generate a DNS Access Log. I'm afraid we can't do that for you, sorry... ;)
[Android Apps and Games] ROBERT CM:
Great work..!!

Thanks :)
[Android Apps and Games] cobra201:
good!!
[Android Apps and Games] haXBOXpro:
Great work Dev!

Just wondering I'm using MX Player and it still somehow manages to push those annoying ads through. Haven't seen ads on other apps or chrome though so I'm guessing Adaway is working. Is this another app that found a way around adblocking or am I missing something?

Using stock rooted Marshmallow on Nexus 6p btw. :)
[Android Apps and Games] Gill Android:
MX Player is a known app on which Adaway can't clean ads. You can verify it by scanning adware on Adaway. Only solution is to install a pro version or using MX Player when Internet is off
[Android Apps and Games] DreamFX:
This is not true. Been using the free version of mx player for many years and adaway default lists block all of this apps ads each and every time.

---------- Post added at 08:27 AM ---------- Previous post was at 08:26 AM ----------

Working fine here. Never see ads in this app. Where are you guys seeing them. I don't even remember where they are anymore because I never see them. Double checked and I am running free version.
[Android Apps and Games] OT-Xtreme:
don't think so, adaway working great for most but its true - mx player manage to show ads (when pausing a video you will see it).

also in ADM app sometimes
[Android Apps and Games] haXBOXpro:
I thought as much since I scanned for adware apps and all others were fine except for MX Player! Thanks for clearing that up for me
[Android Apps and Games] swat4samp:
Are you by any chance using facebook or facebook related apps? I too faced it in the past while using it. Remove that app and try again. It worked for me.
[Android Apps and Games] haXBOXpro:
Just to confirm for anyone else wondering. I removed MX Player (which was still showing ads) after applying Adaway magic then installed the app again and now NO ads!! :D

Also Target host files is set to......data/data/hosts
[Android Apps and Games] _jis_:
Yes, you should always install Adaway among the first aps after obtained root on the newly flashed ROM :)

Tapatalk Pro 4.6.2
[Android Apps and Games] KreNtal:
Adaway isn't working anymore for me today o.o I'm really worried that something is happening among us. Yesterday it was working as always. I'm on latest version, I tried redownloading hosts list, changing options, everything. I see ads everywhere! Help
[Android Apps and Games] _jis_:
It is easy to realize what happened. Did you check your hosts file? What is its size? Mine has size approx 2MB and I see no ads.
[Android Apps and Games] KreNtal:
Hosts file is OK. Turned out that it was just the wifi of my university, I think it's the proxy that is different... Thank you anyway
[Android Apps and Games] mrgnex:
I have searched but couldn't find a solution.

I have an Oneplus One with a custom CM13 build (Android 6.0). I granted Adaway root acces and made sure it could write tot the internal storage (in permissions). Bit when I want tot enable adaway I get the error: "Can't copy host files".
[Android Apps and Games] :
The reason for this isn't the wrong behaviour of Adaway, but root at cm13 level has some issues at the moment ... we have to wait 'til developers are ironing out these issues.
[Android Apps and Games] thegiolly:
The problem is that CM changed the method to mount /system as rw from busybox to toybox and current versions of apps like ES file manager, several other root explorers, AdAway and so on have to be updated to work with this new method.

To edit files in /system and let ad away update, or anything that has to do with the /system partition you have to mount /system manually, till apps are updated.

> adb root

> adb remount

Edit and update files in /system and reboot if you want /system ro again.