yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] mbutandola:
You were talking about YouTube and Facebook. Those site rely on ads, many sites on the internet rely on ads. It's either that or pay for the service. How many do you think are ready to pay to get access to videos on YouTube or to use Facebook? I wasn't talking about those badly written apps and when available, I prefer buying the pay version of apps I use.

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Android Apps and Games] Mike B.:
I know it might sound like heresy to some people, but there

IS

life without YouTube and Facebook (two terribly written and unnecessarily intrusive apps and sites, BTW) . It could be that few people would probably pay to access YouTube videos or read Facebook pages mostly because the contents thereof are hardly worth anything. Note that neither YouTube nor Facebook offer "paid" versions, suggesting that they are satisfied with their current income level... ;)

Before we get too far OT, a reminder that AdAway's main goal is simply to allow the user to only access the hosts he/she wishes to visit. While often used to bypass unwanted ads, it's not an "ad blocker" but a local DNS helper, merely a tool to allow better control over the data that your device receives. The best control tools are still the user's fingers (FREE devices!) which select which app/site to use or not use... ;)
[Android Apps and Games] mbutandola:
I'm not an active user of those but a lot are. And let's not forget that the majority of sites, some of which provide free access to news, maps, directions, food recipes or whatever, need ads to keep going. But this is OT indeed. Just wanted to point out that ads are not always the devil. Intrusive ads are and we'll agree on that. ☺

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Android Apps and Games] maxdebesciak:
Signatures are visible only via web browser, tapatalk doesn't show them, so don't half blame others.

Tapatalked
[Android Apps and Games] IronTechmonkey:
In fact I did read the signature, and saw that it contradicted details in the posts and so dismissed it as bad data, as described in my reply;)..... but none of this has anything do with Adway at this point :)
[Android Apps and Games] rpr69:
And some of us have them disabled in the web browser, because we don't need or want to see it.
[Android Apps and Games] jackdubl:
It's called MX Player Pro. Sounds like you should buy it.

---------- Post added at 09:47 AM ---------- Previous post was at 09:45 AM ----------

I love how you dictate how developers should go about making their money, especially that they should only do it in a way YOU like. How 'bout you just create your own free apps for yourself?
[Android Apps and Games] Ultramanoid:
This is way off topic, sorry.

Developing is my daily job, point one. I contribute with code, time and money to several open source projects. This is a developers' forum, by the way. Other users are just kindly allowed to come and freely benefit from it.

Point two, I pay for software, but never if it comes with advertising code or statistics packages, either on its free version or in the pro one. As far as I know the only application that completely removes advertising code after paying ( meaning it is a different application in fact ) is Vignette. And they'd be better off not including it at all to start with. Most if not all others keep the code and request unneeded permissions even after paying.

They don't take out the trash if you pay the rent, if you will, they just hide it in your closet.

There are right and wrong ways to do things; including advertising or data mining packages, as I said, it's a sloppy and unsafe way to code and publish software. Lazy and dirty from a developer's point of view, and unsafe, intrusive, unjustifiable, and simply annoying for users.
[Android Apps and Games] jackdubl:
Hmm. I see.
[Android Apps and Games] jshamlet:
First, claiming Adaway's primary purpose isn't to block ads is kind of disingenuous. If it weren't intended to block ads, it would have been called hostsmanager or something.

That said, there are perfectly legitimate reasons for using it. A lot of manufacturers are trying to get the value-add by putting ads in the stock software. HTC, for example, has started putting ads in default Sense apps, and Marshmallow brought a whole new "push" service that can't be blocked by Adaway. (Thankfully you can freeze it without root) On some carrier devices, the carrier adds crap you can't disable AND that delivers ads (or otherwise invades your privacy). Further, a lot of ad networks go way beyond just delivering ads. Look at the permissions on some of these ad-supported apps and ask why they need some of them. I'm just not comfortable with ad networks being able to upload my contact list or phone information willy nilly, so they get cut off at the firewall.

I use Adaway and AFWall+ because I want to control what goes in and out of my phone, and yes, ad blocking is a part of that. However, it's not the primary reason I install it.
[Android Apps and Games] austin67:
Hi i have a question. i play chess master on my phone does this app block the ads too?
[Android Apps and Games] Mike B.:
The purpose of AdAway is simply to make it easy for users to edit the hosts file. Granted, the grandfathered name is confusing (way too late to change it), but it's not an "ad blocker" per se like AdBlock or similar products, nor it it a firewall. It doesn't "block ads" nor does it know or care what contents you tell it to redirect where and that's why we get misguided questions on here as to why this ad or that ad isn't magically blocked. Whether ads are good or bad is irrelevant in this thread as AdAway merely deals with what a particular user deems to be "unwelcome hosts" for whatever reason.

As noted previously, the best way to avoid ads is to avoid apps and sites that contain ads. Here on XDA, we generally don't feel compelled to use solely "stock software" for our devices and what manufacturers and carriers would like us to use is not necessarily what we use. AdAway is but one of many FREE tools at our disposal to make our devices behave as we wish... ;)
[Android Apps and Games] bonk1990:
First post: add blocking app...
[Android Apps and Games] evronetwork:
Ok so if you don't know something u gotta ask right? ..I forgot to mention this detail but didn't see anyone bother in asking so :p

Anyway we're off topic, problem solved don't need to rush who's to blame, peace out
[Android Apps and Games] Mike B.:
No reply necessary or expected (please!) but after re-reading your various posts in this thread, it's clear that there never as an AdAway problem at all but rather some unspecified DNS-related issue in the ROM you were using. Providing logs or at least sufficient information for others to help you (as requested in response to your very first post) are undisputedly useful skills in any thread, but in this case simply reporting early that your hosts file was correctly edited, exonerating AdAway, would have saved all of us lots of time and effort, and you might have been able to concentrate on the culprit (your ROM?) after only a post or two. With any luck, this painful saga will help others seek proper help in the proper venue.... if they bother to search before posting . ;)
[Android Apps and Games] watz_up:
It seems while I was trying to solve another problem with clean master for Android L/M.. I got my AdAway to work on my HTC one m8, I switched something called SeLinux to permissive, instead of enforcing.. via an app

Ads are blocked now how they were on my old HTC one S

I don't know too much about selinux but I'm researching to see if it's safe to keep on permissive.. I hope this was insightful in some kind of way
[Android Apps and Games] Criton30:
what is the install method? 1.flashing systemless zip and 2. install the app?
[Android Apps and Games] shaqman89:
Depends on your ROM and su method. If it's a standard one, you just install the app like any normal app.
[Android Apps and Games] Criton30:
Device is Nexus 5X with the latest Cataclysm and systemless supersu 2.66
[Android Apps and Games] Mike B.:
Since this is unrelated to AdAway I won't go into the details about SElinux ("Security Enhanced Linux") but the short answer is that unless you are overly paranoid there's no good reason to keep an enforcing SElinux. In fact, most good kernels are permissive by default. You should also consider whether you really need Clean Master. Many such "security" and "optimization" tweaks and apps are effectively pointless and tend to cause more headaches than necessary. Make sure to run regular full Nandroid backups and you'll be fine! ;)

---------- Post added at 09:45 AM ---------- Previous post was at 09:40 AM ----------

The N5 doesn't have the silly limitations of the N6 and you should be able to simply flash the systemless script ZIP from the OP then install AdAway as you would any other app, just as if you had a full traditional root. Search this thread to see discussions of the impact of the "systemless" root method on AdAway and other root-enabled apps.
[Android Apps and Games] Criton30:
xda search engine not working :( I have 5X and not 5 :) with systemless supersu v2.66, so first I should flash the host file and after install the app?
[Android Apps and Games] Mike B.:
AARRGGHH! When the enhanced search engine is down XDA become much less useful, but it usually comes back to life quickly. ;)

AFAIK, only the Nexus 6 series running 6.01 currently pretends that the /system partition is always full, and there's even a fix for that. The ZIP is not AdAway-specific; it's simply a convenient way for systemless users to be able access the hosts file. For your "systemless" 5x, flash the ZIP from the OP (before or after installing AdAway), reboot, and you should be able to enable AdAway without having to do anything else. Using the default source files is usually more than sufficient for most users. Remember to enable the AdAway webserver for best results, and check the online help if you have any questions.
[Android Apps and Games] mrRobinson:
I've committed this feature to AdAway source. I don't consider it to be that useful but can't hurt and I could use it in the future if I decide to tackle implementing caching srcs locally that are later offline.
[Android Apps and Games] mrRobinson:
I have to disagree on the SELinux and kernel statement but agree with the Clean Master and other tool statements.

RE SELinux, android 6.0 brought a few security checks into android, selinux, the safetynet checks, etc. Instead of having root kill them chainfire has made supersu not require permissive kernels and instead modify the sepolicy for what is needed for root. In the beta supersu thread you can read from early october on, there is some great conversation figuring out the minimal needed to add to the policies and security contexts. Here is one of his statements regarding permissive. The idea is we don't want to destroy the security google is trying to bring to the android platform just by rooting. Since editing these policies meant patching the kernel's ramdisk he then took it a step further to have root be possible without modifying system partition at all. This doesn't mean the user can't going ahead and do themselves (they have root), but it does mean that a systemless root will not break the safety check as well, and outside of needing to revert your stock kernel, you could then apply an OTA update. With custom roms this becomes less imp so the latest supersu 2.66 will try to detect if it can even do a systemless root and if not do the normal system root. All of the kernel devs i've seen come into that thread, IE the one for elementalx , etc. all have enforcing kernels. I haven't checked the kernel scene much but i'd guess all can run enforcing now with minimal issues.

Also with the security google is bringing to android, which I am in favor of, having root access doesn't guarantee write access to system. root just mean you can escalate your privileges, nothing more. On the N6 google made the system partition the exact size needed in 6.0.x so there is no permission going to help you there. On my 6p i can't mount /system rw booted into android, only in root recovery shell, etc.

AdAway of course needs to modify a hosts file in /system/etc/hosts and there are ways to do that without ever touching system so we are good regardless.

I just wanted to clarify some of this here but really the beta supersu thread is where all this good conversation is and let's keep in mind these new SuperSu's aren't yet out of WIP thread yet. So we still have to watch and wait where this ends up.
[Android Apps and Games] Mike B.:
We'll have to agree to disagree on SElinux and Googgle's delusions of "security". This reminds me of ancient discussions in the early Ritchie/Thompson Unix days: if someone can code it, someone else can (and will) break it. I guess I live dangerously since my kernels are always permissive and I insist on keeping control over my devices.

Fortunately none of that has any real impact on AdAway as long as it has proper access to whatever hosts file the system's DNS uses.... ;)
[Android Apps and Games] mrRobinson:
I'm not sure there are any delusions going on. Any good security implementation is composed of layers. SELinux is one of the layers google has added. SafetyNet checks another. Even a locked bootloader is another layer. Of course anything can be broken but these layers do enhance the security of the device and make it harder for various malware's, exploit's, etc to be successful. All these root methods are doing is saying lets be a bit responsible and instead of disabling it all to have root, we can work with these layers (ie modify sepolicy, not break safetynet) so you are getting the best of both worlds. Of course on any device where you can modify the kernel you can do what you want, that is generally where the security of a linux system lives and dies. I'm just willing to bet a year from now full permissive kernels will be the vast minority as there will be no point in running outside the layers of security meant to help the platform as a whole.
[Android Apps and Games] Mike B.:
"Security" is simply another term for "restriction" and in that sense I do NOT want my devices to be "secure". More damage has been done to user data by poorly-written apps and careless user errors than by all the "malware" and "exploits" (two nebulously defined popular terms) ever written. Root without full access to /system is not a full root, much like being able to see food isn't the same as being able to eat. A fully locked device with hardwired logic might be a dream come true for some users, but a potential nightmare for others! We are definitely not in agreement about those issues, but it matters little since AdAway hasn't been labeled a "security risk".... yet! ;)

Ouch! We're both badly OT... sorry. It's hard to resist commenting on those touchy matters, but I'll try harder next time.
[Android Apps and Games] Criton30:
If I enable the webserver and start the app again, then it show me that webserver is not running..
[Android Apps and Games] Mike B.:
Some people have reported a similar problem when their busybox is in /su/bin/ instead of the standard /system/bin/. Search this thread for details.
[Android Apps and Games] Criton30:
Thanks, now working. Other, if I want to export a list , then the app say it is saved on the sd card, but I can not find them.
[Android Apps and Games] Mike B.:
That too has been discussed before in this thread. Search for it, but if AdAway has storage privileges, look for the file ("AdAway-export"?) in the root of your internal storage. Alternatively, you could use Titanium Backup to backup/restore your AdAway data, including the lists information.
[Android Apps and Games] Aseel23252:
hi does this app works with cm 12.1 rom?
[Android Apps and Games] Mike B.:
Welcome to XDA!

Yes it does (as long as you have a rooted device)! Download AdAway from the link in the OP. Install. Enable. Reboot. Enjoy! ;)

If you have any questions, refer to the AdAway help screens or search this thread.
[Android Apps and Games] ensignT:
Thanks for the app!

It has worked nicely on my Galaxy Note 2 (N7100). Used it a couple of years, not updating the version of the app. Yesterday installed new version. I hope it will work just as fine!
[Android Apps and Games] Criton30:
How can I disable in-app advertisment? For example in Swam(foursquare)?
[Android Apps and Games] shoey63:
Over to you [MENTION=1927554]Mike B[/MENTION] :p
[Android Apps and Games] shaqman89:
You can't if the app uses methods other than local DNS lookup.
[Android Apps and Games] Mike B.:
AdAway can only help you with apps and sites that go through local DNS resolution (hosts file). If the AdAway DNS Request Log doesn't show any obvious ad providers to blacklist, then your app doesn't go through DNS and there's nothing AdAway or the hosts file can do about it. To save time, see if that app appears in AdAway's "scan for adware" list. Depending on the app, your choices include living with ads, finding a different app for the same purpose, buying a "PRO" version if one exist, etc.

You really need to spend some time reading/searching this thread. [MENTION=4675598]shoey63[/MENTION]'s comment right after your post might tell you that this is a VERY common question. For details, save an old man's fingers and search the many posts already made on this matter.... please! ;)
[Android Apps and Games] jshamlet:
Use a firewall, such as (but not limited to) AFWall+. I always use both in tandem and I virtually never see an ad.
[Android Apps and Games] Ketawa:
I read through every post in this thread that mentions "systemless", but haven't been able to find my situation. It's not a problem, but something that seems counter to what is written in the OP.

I have a Nexus 6P on MMB29P with SuperSU 2.66 beta, rooted using the systemless method. I have always had AdAway installed via F-Droid. I never flashed AdAway_systemless_hosts.zip from the OP, nor have I established a symlink/bind to allow AdAway to write /system/etc/hosts without modifying /system (I don't even know how). AdAway works fine, successfully blocking ads, and updating the hosts file as needed.

My device still passes SafetyNet checks and I have successfully used Android Pay in the real world. How is this possible if I never bothered with the systemless modifications for AdAway?
[Android Apps and Games] KonoeKyon:
Simple answer is not all system modifications cause it to fail the safetynet checks. It will fail OTA updates though.
[Android Apps and Games] Ketawa:
Ok thanks. I thought that any modification to /system would make it fail SafetyNet checks, but that must not be the case. I'll flash the zip just for fun anyway.
[Android Apps and Games] Mike B.:
It's not really much of a "modification", but merely a script that executes a 'bind' command at boot time for configurations that would otherwise prevent apps from fully accessing to /system/etc/hosts. If your configuration doesn't need it, that's great and you don't need to deal with that script at all.

You may want to discuss the matter in a SuperSU thread, but if you are using SuperSU 2.66 (as opposed to earlier "systemless-only" betas), it's very possible that you have a proper full root and not the limited "systemless" version. Either way, as far as this AdAway thread is concerned, you're all set and there's no need for further action, except maybe switching to the current version from the OP instead of whatever you got from F-Droid as it will make your life much easier for the next update.
[Android Apps and Games] Ketawa:
I can confirm I am definitely using systemless root. The option is SuperSU's settings to "Install SuperSU into /system" is grayed out with the note "Not (currently) available in system-less root mode".

The version of AdAway on F-Droid is the same as in the OP, 3.1.

Regardless, I went ahead and restored the default hosts file, uninstalled AdAway, flashed the AdAway_systemless_hosts.zip in TWRP, installed AdAway again from F-Droid, and now I'll be able to test taking an OTA update next month.
[Android Apps and Games] Mike B.:
Regardless of what the SU options say, you can easily check if you're "systemless" or not by attempting to edit/create any file in /system, but those are SuperSU issues unrelated to AdAway. If you didn't need the ZIP, you may want to get rid of that unnecessary script which could complicate matters down the line.

Whatever is currently on F-Droid is

NOT

the same as what's available from the OP and various other posts here. It might bear the same version number but even if based on the current source, it has a different signature, meaning that when [MENTION=3355398]mrRobinson[/MENTION] releases a new version (such as the recent experimental build for N6), you won't be able to update without first uninstalling your version and re-entering your settings and data. THIS is the "unofficial official" home of AdAway nowadays! ;)
[Android Apps and Games] evronetwork:
Thank you for repeateing yourself twice so far, much appreciated

Have a nice day :)
[Android Apps and Games] IronTechmonkey:
Dang, I repeated myself several times to you but got no mention. I am heartbroken.
[Android Apps and Games] KonoeKyon:
Not entirely true, systemless root does allow access to edit and write to /system. Sorry for the OT. :)
[Android Apps and Games] evronetwork:
Still with this comment you manage to get ur thank meter up ..you're welcome :p
[Android Apps and Games] IronTechmonkey:
Merely a reflection of what is likely to be a shared lack of appreciation for your rudeness to a tireless XDA contributor who tried to help you, as well as a conversational buffer for people who might have been left steaming about your tone were nothing said. The thanks it got are more significant to you as an indicator of how the people around you feel about what you are doing than they are to me.
[Android Apps and Games] CaktusJack:
I'm on a Nexus 6 on DU 5.1.1 ROM, I don't have their native ad blocker installed & I tried installing the latest Adaway but it's not sticking after reboot. I tried uninstalling then reinstalling it, flash the zip but nothing seems to make it stick. Can anyone possibly know of a solution to make it stick after reboot? Thanks.
[Android Apps and Games] Telyx:
I had that happen with my Nexus 5 and Nexus 7 (2013). Had to use SELinux Mode Changer to change to Permissive, and (I think) enable ad-blocking in DU (but not use its hosts file updater).
[Android Apps and Games] Mike B.:
DU = a Dirty Unicorn ROM? Exactly what is "not sticking"? Is your /system/etc/hosts not getting updated? Is your system ignoring the hosts file? Is everything OK except for the webserver. If [MENTION=1996817]Telyx[/MENTION]'s suggestion doesn't work for you, give us some details (or search this thread) so that we may best help you.
[Android Apps and Games] mrRobinson:
Not sticking after reboot is not something adaway can fix. You be better served posting in your rom thread as something in the rom is more than likely reverting the hosts file.
[Android Apps and Games] CaktusJack:
Thanks, the host files aren't sticking, it keeps saying Disabled after I reboot. Did all his suggestions and its just not sticking.
[Android Apps and Games] Telyx:
When you run AdAway's updater, you get the "Successfully applied" message, right? Then if you check /system/etc/hosts you see it's about 1MB, so all is well. After a reboot, though, /system/etc/hosts is back to its default size and AdAway tells you it's "disabled." I think it's SELinux being "enforcing" that reverts the hosts file after a reboot.

Try just using Dirty Unicorns' ad-blocking function (update via its setting in "Dirty Tweaks") and see if that hosts file persists. If it does, then run AdAway and see what happens.
[Android Apps and Games] Mike B.:
If your /system/etc/hosts doesn't retain whatever entries AdAway put in there, then it's definitely a ROM issue over which AdAway has no control. You’d face the very same issue if you manually edited the file. Make sure there is absolutely NO other "ad blocking" mechanism in place and that there is only ONE "system/etc/hosts.*" file and if you still have trouble, then ask in your ROM thread how to allow apps to edit files in /system/etc.