yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Madmick:
Thanks, but after what Mike B wrote above, which is sort of what I was fearing, I don't see the point in that. It's just an autonomous server-side exploit that basically neuters any adblocking I have enabled unless I let them run said exploit. No thanks. It appears I face a simple case of not being able to have my cake and eat it, too. So it goes. That's life. In a way, low-level hackers like me are in a constant push-and-pull war with these corporations: I'm trying to purify my experience of advertisements while they're trying to saturate it. Speak of the devil, any of you guys see South Park this week? Holy cheeseballs, genius. I think this season may be the most brilliant season of TV political satire in history. I can't get over how good it is.

NFL Mobile may have the most seamless functionality and GUI of any sports app I've ever used, but make no mistake: I am not confused as to who is on my side, here. If my hand is forced, then the NFL can f*** off. No brainer. No app is that good. I'll just use one of the crappier general sports apps. Small sacrifice towards achieving my greatest overall experience.
[Android Apps and Games] J-Hop2o6:
Tried the wildcard(*) also, and it still didn't work. Like you said, the app has some strong scripting inside which makes it nearly impossible to block ads and have videos work. I guess I just have to stick with my "trick" to have AdAway still enabled, but the NFL app videos will work (with ads *shrugs shoulders*). I could use the website, but it just feels weird. But anyways, thanks again for taking a deep look at it and informing us :good::good:

Yup, pretty much. The Yahoo Sports app is my "alternative". No ads on the videos, and you can still use AdAway normally.

And no! I'm a few episodes behind on South Park. I have them on my DVR, but I will watch them soon (been busy). Thanks for pushing me to get on it stat!
[Android Apps and Games] fmc000:
Try using xposed + minminguard, otherwise just use the ESPN app.
[Android Apps and Games] Taomyn:
My recommendation with any hosts based blocker is to replace the default redirect ip 127.0.0.1 with 0.0.0.0

This is better because it resembles a true not found rather than returning something that can be contacted by the app, e.g. with a ping.
[Android Apps and Games] oreo27:
And how does one do that?
[Android Apps and Games] iamnotkurtcobain:
Unofficial cm13 build for S5 and Adaway can't write the host file.

Guess it's cm's fault. SuperSU doesn't work.
[Android Apps and Games] perusmuro:
How I can make this application work with marshmallow? Now when I make start procedure it says that can't make hosts file or if I change location then it's says that can't make symlink.
[Android Apps and Games] Madmick:
Already on top of it, my friend. Xposed +MinMinGuard is indispensable. I don't have NFL ticket or anything. If I did, I would just write a script to automatically shutdown AdAway and reboot every Sunday, then reboot and re-enable Monday night. Watch the games on the go for the day, then get right back to it. Since I don't have NFL Ticket apps like Yahoo! or ESPN are more than sufficient.

This is a very interesting. Maybe I'll combine the two tricks tomorrow to see if I can get a positive result.
[Android Apps and Games] Mike B.:
You can use any IP you wish, but redirecting to 127.0.0.1, especially when there is a webserver running at that address, is by far the preferred and strongly recommended method.

---------- Post added at 08:03 AM ---------- Previous post was at 07:41 AM ----------

AdAway needs to be able to edit the hosts file. Without root and full rw access to the /system partition, you need to try various tricks, such as creating a symlink (either let AdAway try it or do it manually, maybe from adb), using the 'bind' command in a boot script, etc.

Since the matter has been discussed at length here recently, I suggest you simply

search this thread for "Marshmallow" references

and look for what applies to your specific situation. Once you manage to give AdAway access to the system hosts file, it will work fine, as always.;)
[Android Apps and Games] perusmuro:
I found few posts http://xdaforums.com/showpost.php?p=63404016&postcount=4460 and http://xdaforums.com/showpost.php?p=63404611&postcount=4462 but didn't get how those can help me. I tried those but didn't get working.
[Android Apps and Games] Mike B.:
It's difficult to advise you since you provided no details. Which device are you using with which ROM? Are you fully rooted? Have you tried to create a symlink from a terminal emulator prompt or adb and point AdAway to that symlink? What exact error messages do you see?

If it makes it easier for you, you can ignore AdAway for now and simply try to edit /system/etc/hosts or its symlink with whatever tool you have (root explore, terminal emulator, etc.). Once you know the location of an editable hosts file (whether in /system or in /data), you can then point AdAway to it.
[Android Apps and Games] oreo27:
Oh. Cool. Thanks :D
[Android Apps and Games] TrafalgarD:
I apply and reboot, but sometime I check this app have a disable -_-
[Android Apps and Games] perusmuro:
Sorry my bad information.

Currect device is 5X which I have rooted. Problem is that system is only read only mode and that make this symlink creation difficult. I have tested create this manually in terminal and also root exploer but still same problem. Example if I make this symlink via terminal program it's says that file is already there and read only mode.

Root explorer error: Link failure. The link operation failed with the following message ln: cannot create symbolic link, file exists.

I have only heard normal and systemless boot/root but not any fully rooted.
[Android Apps and Games] Mike B.:
By "5X", I assume you are referring to a Nexus 5X, but it's unclear how "rooted" it is using which method. In any case, yes, those are unfortunate limitations of your device/ROM and AdAway is one of the many victims! ;)

As mentioned earlier, there are some discussions in this thread about possible solutions/workarounds (create from adb, su.su scripts, etc.), but if you didn't find enough information from searching the thread for relevant keywords, you might be better off asking wherever your device/ROM is discussed since the inability to fully access system is a widespread concern not related to AdAway.
[Android Apps and Games] perusmuro:
Thanks for helping. Yes Nexus device but maybe I need read more this thread because I have tested all of those methods which I have found. Maybe there is better workaround someday.
[Android Apps and Games] Mike B.:
While the system access issue has been brought up in this thread (as in many other threads), here is probably not the best place to discuss the limitations of current Marshmallow implementations. Since you apparently found a way to

root

your device, a more appropriate venue would be wherever that rooting method is supported. As soon as you find a way to fully access the hosts file that your system's DNS uses, AdAway will function as intended, and AdAway should be the least of your concerns. ;)
[Android Apps and Games] perusmuro:
I know. I have used adaway before this phone and now tried to get this also work in this new phone.
[Android Apps and Games] shaqman89:
This might indicate that something else is modifying your host file. Are you using any other adblocker?
[Android Apps and Games] xflowy:
hey guys! would someone be so kind and upload the latest adaway generated hosts file!? thanks much!!
[Android Apps and Games] Mike B.:
AdAway can create a hosts file based on the instructions

YOU

give it (source files, black list, white list, redirection settings, etc.) but there is no such thing as a generic "latest adaway generated hosts file", sorry. Any particular reason why you asked?
[Android Apps and Games] Gitah.:
Any way to make it block the first ad on a youtube video?
[Android Apps and Games] jcsww:
Don't use the app!
[Android Apps and Games] xflowy:
you do realize you can simply modify the current host file via adaway by just clicking one button. its pretty obvious is was talking about that default one ;) anyway. thanks for your time, i will go with adguard for a while, since mm is giving some trouble when modifying the file. and yes i know the way how to exchange the file via recovery, thats exactly why i asked for that file :) the mother of all ad-blocking file is way to restriktive for me.
[Android Apps and Games] t3khe4d:
you could try xposed module "YouTube AdAway"

works for me.

Sent from my HTC One_M8
[Android Apps and Games] Mike B.:
I understand how AdAway works but it's not clear if you do! ;)

From a clean install of AdAway, if you click on the "enable" button, you merely copy the current contents of the suggested source files into your local hosts file. Those suggested default source files are widely available freely from any browser on any device and are unrelated to AdAway. In fact, there are countless such source files online, and none that requires AdAway... ;)

Since you mention it, note that Adguard is not a hosts file management tool but is actually a VPN/proxy/firewall which is drastically more intrusive than AdAway and effectively bypasses local DNS resolution. It blocks/redirects activities based on what its developer believes needs blocking, and does so with a noticeable performance cost. Unlike AdAway, it must remain active and use system resources at all times. Let's not confuse those two widely different products that have not much in common besides the "Ad" prefix in both names... ;)
[Android Apps and Games] Aki07:
Anyways to install this in latest Marshmallow with toybox support. System doesnt give write permission since apps does not support toybox.
[Android Apps and Games] Gitah.:
Thanks, I did that and it works now.
[Android Apps and Games] Mike B.:
I suspect you are using a CM13 beta/pre-release. Unfortunately, those builds don't use busybox and cause countless problems for most any existing application that needs root access. The matter has been discussed briefly in this thread (#4666, #4667, #4673, etc.) but it's really a CM issue probably best discussed wherever those CM builds are supported. It's hard to believe that CM would knowingly effectively disable every single root-enabled app in existence, but stranger things have happened. Chances are a correction or workaround will appear before CM13 becomes more stable and widespread. "Official" Marshmallow releases already cause enough root headaches as it is without adding more... ;)

---------- Post added at 05:25 PM ---------- Previous post was at 05:16 PM ----------

In case you're wondering, note that the reason AdAway (or any DNS-related method) can't block those YouTube app ads is that the app doesn't use the local hosts file but instead pushes the ads directly. For quite a few YouTube versions, the Xposed module manages to block many of those ads by patching the app but [MENTION=3562083]wanam[/MENTION] is still struggling to catch them all. I think [MENTION=3116388]jcsww[/MENTION]'s solution (don't use the "official" YouTube app) makes a lot of sense! ;)
[Android Apps and Games] TrafalgarD:
no I just install this, but same here I need patch again for work
[Android Apps and Games] Mike B.:
Which ROM are you using on which device and what "patch" are you referring to? As [MENTION=5701712]shaqman89[/MENTION] pointed out, when AdAway becomes mysteriously "disabled" it's often because there is or was a conflicting "ad blocker" process running. If your ROM has or had any such process, make sure that it is uninstalled or completely disabled and that it didn't leave additional hosts.* files in /system/etc/. If this doesn't solve your problem, please give us all relevant details so that we may best assist you.
[Android Apps and Games] WTF?:
I would like to see them charge money for this app - it is a shame that so many crappy apps charge money, yet the greatest app ever, the one that makes using all of the free apps feasible, is not charging! - this is one of only about maybe 3 or 4 apps that I would gladly pay for!

how can we donate to support development?
[Android Apps and Games] 2WhiteWolves:
Read post 4619, that will give you the answer.
[Android Apps and Games] IronTechmonkey:
Testify...and thanks for some extra detail and references. M has introduced some new security hurdles which also have been handled ungracefully or slowly by CM and, dare I wonder if CM in cahoots with google is not opening as many controls to us as before (shudder). Many apps that require root seem OK but there is no way to write to system locations - which are not even visible in the native file manager... and nightlies may be soon to roll. I'll be testing Adaway in M.
[Android Apps and Games] sacredsoul:
Anyway to block youtube ads wtihout xposed?
[Android Apps and Games] Mike B.:
You can't get rid of ads that are embedded in videos, but if you access the YouTube site without going through the "official" YouTube app (use your browser or one of the many third-party apps), it helps quite a bit. Even the Xposed module can't make YouTube viewing completely ad-free.
[Android Apps and Games] WTF?:
No. that is the wrong answer, the original poster says he doesn't want donations in post 4619, well, he is not the developer, - he shouldn't accept donations........duh! - but he does mention going to the developer's site and donating in post #1, which I missed on the first read here at xda

the real developer, Dominik Schuermann, has a PayPal donation button at the official AdAway site and I am sure would appreciate donations to help further his great work! (or else he wouldn't have the PayPal button)
[Android Apps and Games] 2WhiteWolves:
My bad
[Android Apps and Games] WTF?:
has anyone figured out how to block the annoying ads in yahoo mail inbox on the top line? (the one that disappears after 5 seconds) - I am already using the two best ad-blockers I know, AdAway and LBE Security Master, which together block 99.99% of all ads in apps, but youtube and yahoo mail are still slipping through.
[Android Apps and Games] Mike B.:
The distinction between "security improvement" and "unnecessary restriction" is a tenuous one, especially since "security" is actually a meaningless construct. Fortunately, the Android community is sure to eventually find ways to re-establish proper full root access, with or without cooperation from CM. We went through something similar in the Mac world when a new OS release suddenly "protected" part of the system but it turned out that a 1-line command restored full functionality. It's all mostly a marketing gimmick that makes some people feel better, but techies know better. Wait a few weeks and Marshmallow will be fully tamed... ;)

---------- Post added at 10:26 PM ---------- Previous post was at 10:20 PM ----------

AdAway can only help you if those Yahoo ads are coming through local DNS (hosts file). It's not unusual for the "official" apps (such as YouTube's) to be full of pushed ads while browser access is much cleaner, but I haven't used Yahoo mail in eons and have no special insight on the matter (there used to be an "Ad Free Yahoo Mail" version). Time to switch to a friendlier mail service, perhaps? ;)
[Android Apps and Games] Mike B.:
To set the record straight: Dominik (dominikschuermann), has effectively stopped development of AdAway (and maintenance of his old web pages) a while back. Since AdAway is open source, anybody can compile his/her own version, but over the past several years, our own [MENTION=3355398]mrRobinson[/MENTION] (0-kaladin) has been the main contributor and has been granted by DS the ability to merge pull requests and release new versions on GitHub. The AdAway discussed here is as close to an "official" version as you'll find and this thread is the "unofficial official" home of AdAway. Don't worry about making donations but if you wish to contribute, tell other Android users about AdAway or help answer questions here.

Yes, this thread's OP could use some updating... ;)
[Android Apps and Games] WTF?:
do you have some recommendations for a web-based email, with a short domain name, that I can check from anywhere that isn't already known for being home to spammers and thereby gets caught in spam filters, short of using a private domain?

and don't say gmail, I am not interested in any companies that have computers read my email content and then place ads in my email based on that private content, that is creepy as hell!

would love a clean, simple, fast, email provider that allows large attachments and has lightning fast delivery :)
[Android Apps and Games] Mike B.:
Short domain names? How about "http://g.cn"? Oh never mind, that belongs to Google. "http://z.com"? ;)

Are you sure that Yahoo is so much more "secure" than Gmail (rhetorical question)? There is no such thing as private/secure email, or in general private/secure electronic communication, but there many degrees of paranoia. Use whatever service makes you feel good... ;)
[Android Apps and Games] Ultramanoid:
Off-topic for this thread, but. Fastmail.com, they have several domains available to choose from, have the best of reputations as their owners have contributed to mail and protocol specs themselves, and arguably are the only power user alternative to G at present. It is a paid service, with different tiers.
[Android Apps and Games] TrafalgarD:
Problem fix :D you right conflicting with tweak

just remove tweak, and adaway work perfect for me, thnks
[Android Apps and Games] xxDominatorxx2:
So chrome is still showing ads even though data saver is turned off.. Any help?
[Android Apps and Games] iamnotkurtcobain:
Try wiping cache of chrome
[Android Apps and Games] xxDominatorxx2:
Didn't work... Weird thing is that I only seem to notice it in xda threads
[Android Apps and Games] Mike B.:
When you view the same site and page from another browser, do the ads still appear? Are you sure that the specific ads you see are blocked in your hosts file?
[Android Apps and Games] mrRobinson:
Though you can donate to him as I stated in the post, it surely would not be to "further his great work". He has not been actively developing this for a long time now. If you look at the github its been me for the past year. (and I'd welcome other, its open source after all) I could surely ask for donations for that work I just don't. Bottom line, if you want to say thanks by donating you can donate to the original dev, just realize it won't do anything to further anything on AdAway. He does have other cool apps he works on so it would surely help those. Otherwise I'd say donate to the EFF or something.
[Android Apps and Games] WTF?:
OK - my bad - I am now more educated on AdAway development :)

I still think you should accept donations though, this enables the product to stay free and in turn keeps it in wider distribution and makes burn-out less likely for you. To many great apps have been stopped in development because the developers day job began to consume too much time and they could not cut back on their day job due to economic reasons, and therefore the app development eventually stopped. :(

The best TWRP type of tool I ever saw, fell victim to this, it was called 4EXT.

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

also - I have a technical question - why does latest version 3.1 on the AdAway website and on F-Droid have an MD5 of 00F89DC8D65E9B7DF9ADABAE6B543F6E

while latest version 3.1 on the first page of this thread has an MD5 of F5B8425BA6ABB6C64A1FE1D785F637EF
[Android Apps and Games] DE52:
F-Droid builds are not made by MrRobinson. They are automatically compiled by F-Droid I believe. In any case, only use the one from the thread to have the proper up to date version as well as ongoing support.
[Android Apps and Games] Mike B.:
Realistically I don't think any Android dev has ever been able to make a living from voluntary donations for his/her apps! ;)

You will find that quite a few devs take the high road and refuse to accept donations for free apps so that they have complete freedom to design and implement their apps as they see fit without having to necessarily yield to pressure from "paying customers".

Since AdAway is open source, anybody can compile it. The F-droid bot grabs the latest version from GitHub once in a while (presumably without damaging the source) and releases that copy on its site but it's not developed or supported there in any way. Furthermore, since it's signed with F-Droid's certificate, it's incompatible with the versions here and requires prior uninstalling. Do yourself a favor, forget about F-Droid, grab the current AdAway from the OP here where you can get full support, and whenever there's an update you'll be able to simply and painlessly update it.
[Android Apps and Games] EugenGT:
Maybe good, but developer have to earn on ads, making apps free for you...
[Android Apps and Games] Ultramanoid:
Ads are usually not just a nuisance, but a security vulnerability. They also can and usually do, consume resources and data for purposes unrelated to the application's function, and even syphon private data from users.

Developers can offer free versions with reduced functionality, or time limited trials, not to mention users can and should pay developers for their work.

The ad-sponsored application model is so broken and hurtful on so many levels it should be discarded right away.

Ditto if we're speaking of web ads. ( Link to article by Walt Mossberg. )
[Android Apps and Games] PunchUp:
Unfortunate but true. Some ad networks ask for ridiculous amount of permissions to be added to the app. And since they provide higher revenue, most devs opt for them. Ads could've been implemented in a decent and well thought out manner, but oh well
[Android Apps and Games] Mike B.:
No! Developers have to create good apps, whether they charge for them or not. Good developers don't need to rely on sneaking ads into an app, only greedy lazy developers do. The idea that somehow embedding ads is what makes "free" apps possible is preposterous, sorry... ;)
[Android Apps and Games] HeavyHDx:
Found a workaround for getting it to work on CM 13.

Basically you're going to simply copy the AdAway-generated host file to where it would normally put it.

To do that, go in the app, preferences, custom host file, select custom target, set it to /sdcard/hosts, run the update, reboot into twrp, mount /system, do

cp /sdcard/hosts /system/etc/hosts

and you're done.

Alternatively you could also just symlink it.
[Android Apps and Games] DPX:
What do u exactly mean by "run the update"?
[Android Apps and Games] Mike B.:
I'm guessing that [MENTION=5327710]HeavyHDx[/MENTION] simply means that you could select "DOWNLOAD FILES AND APPLY AD BLOCKING" to cause AdAway to create a hosts file in a location to which your ROM allows access (such as somewhere on the SD Card), then manually copy that file to the proper /system location used by the DNS server from a custom recovery or adb. It's not really much of a "workaround" but at least it allows you to have the hosts file contents you want without having to create it on another device or merge the various source/black/white lists yourself.

Remember that those current CM13 limitations apply to much more than AdAway and the hosts file, and may not be acceptable to many users. Crippling in the name of "security" is seldom a wise approach... ;)
[Android Apps and Games] 1plus:
Quick question:

why exactly one would need to reboot into TWRP to just copy the hosts file?

I copied it directly and rebooted the system -- annoying ads in the chromium are gone for good <3
[Android Apps and Games] HeavyHDx:
IIRC /system is mounted as read-only when you're booted up regularly. I tried copying it, but it didn't write anything.
[Android Apps and Games] Mike B.:
If you can already edit the hosts file (from root-enabled file manager?), can't AdAway do that for you also or did you use some special tool to copy the file?
[Android Apps and Games] Carbonite05:
I've blocked at least ten new hosts and I can't see to get rid of ads in the Now for Reddit app. Any ideas?