yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mike B.:
I'm not convinced that making it easier to get OTAs is worth all the "systemless" headaches. Some (most) users never touch their ROM and for them root is not a concern. For others (myself included), an unrooted/locked system is simply not an option; they usually have a proper custom recovery and have no trouble temporarily reverting to stock if they ever want an OTA update. In any case, the hosts file is only one of many files that get routinely modified (build.prop? gps.conf? anything in init.d? aps-conf.xml? mixer-paths.xml? terminfo? etc.) and once again,

this has nothing to do with AdAway

!

Repeated references to "systemless support" for AdAway in this thread seem to miss the point that regardless of what AdAway does (or even whether AdAway is installed at all), what counts is what ends up in the /system/etc/hosts file which

Android

itself uses for local DNS resolution. There is nothing for AdAway to "support" at this time.

Discussing the value of "systemless root" seems more appropriate in a "systemless root" thread...
[Android Apps and Games] joeyfong:
Change the busybox location and now is working, thanks a lot.
[Android Apps and Games] evronetwork:
Tested adaway in clean CM13 ..well it works as expected so CM12.1 from sultan has some issues from what I see, I'd go CM12.1 and restore all apps and settings and check again ...I'll inform you soon

EDIT: Clean CM12.1 again with no issues, restoration should be done soon and I'll give it one more try (lets see if it's rom issue or some app of mine is doing this)
[Android Apps and Games] LinkinParkmetre:
hi, love AdAway, working really well. Maybe a bit too well?

I'm having issues with one app, Freeletics. Can someone download it and confirm that opening it while AdAway is enabled throws a "no internet connection" error? When I disable AdAway it seems to fix the issue. Is there a way for me to find out what are the blocked calls that freeletics is doing so I can whitelist them?

Thanks for the support!
[Android Apps and Games] jshamlet:
This really seems like a bug, as /su/bin is in the path.
[Android Apps and Games] Ajitajay:
Nice share
[Android Apps and Games] Mike B.:
We can't readily check that app's requirements for you since such matters often depend on your ROM, location, ISP, configuration, etc. However you can try a few things yourself. First, make sure that the AdAway webserver is enabled so that even blocked sites send a basic "I'm here" reply to the app. Disable any additional source files you may have besides the defaults and if you still have trouble, temporarily disable ad blocking then

use AdAway's "Log DNS Requests" feature to start tcpdump, run your app, then view the log file. It will show you every site that was accessed and give you a chance to whitelist the one(s) you think might be causing the app to choke.

FYI, I downloaded and installed that app (v3.2) here on a phone with AdAway and the 4 default source files (webserver enabled) and it launched without any trouble but I could only get to the login screen since apparently it requires an account to go further.
[Android Apps and Games] evronetwork:
Yeap the problem is with the rom, cm12.1 sultans doesn't seem to be playing very nice with adaway, regular CM12.1 with adaway? ..well everything is good ..this tested before and after the restore of my apps+settings :)

adfree at last ;)
[Android Apps and Games] Solarxix:
Thank you, I can finally use this again.
[Android Apps and Games] Mike B.:
Again? Out of curiosity, what prevented you from using AdAway before?

---------- Post added at 01:00 PM ---------- Previous post was at 12:45 PM ----------

Thanks for this final(?) report. I couldn’t locate the source for your particular ROM, but apparently, and as suggested several times in the past couple of weeks since your initial post, you had a ROM issue, not an AdAway issue. Maybe your ROM was not "playing very nice" with some local DNS resolution calls, but it was fine with AdAway since you had the correct hosts file. In the future, you could probably save all of us a lot of time by simply looking at (or at least posting) your system logs. In most every instance, that's where the answers are and it's a lot faster/easier than restoring, reflashing, reinstalling, etc.. ;)
[Android Apps and Games] evronetwork:
http://xdaforums.com/oneplus-one/orig-development/rom-kernel-unofficial-cyanogenmod-12-1-t3120259 - The rom I was having the problem ..ads(check my sig, didn't change it yet - also tried more recent builds and the issue remains, I made sure to post a comment on there so they will know about this)

cm-13.0-20151223-NIGHTLY-bacon.zip - The cm13 tested (source cyanogenmod download section)

cm-12.1-20151117-SNAPSHOT-YOG7DAO1K6-bacon.zip - The CM12.1 (source cyanogenmod download section), I've test with clean flash but also test it after doing a restore of settings and apps(currently in use)

P.S. "by simply looking at (or at least posting) your system logs" While an expert on Windows and pc hardware ..I'm quite of rookie when it comes to android, ok I can do stuff but it's just a part of the android universe :P ..I'm wait better at fixing phones/tablets ..replacing microusb jacks etc(and trust me it can be done by anyone:P)
[Android Apps and Games] IronTechmonkey:
Please dont take this as an attack but rather as coaching from an old tech dog. The problem finding an answer was more procedural than technological or having to do with anyone's area of expertise. You ran yourself and this thread in circles around the solution by:

- Providing inaccurate descriptions of this issue as occurring in a CM ROM rather than in a CM derived ROM. There can be a big difference there, and people will go by what is stated in posts rather than signatures which are often outdated.

- An unwillingness to accept the preponderance of evidence that clean CM is not likely to have issues with Adaway and that and CM derived ROMs are more likely to have issues for a variety of reasons. One clean flash of CM would have taken care of it earlier.

- Bad information from the Sultan ROM thread in which some dubious claims are made such as Adaway causing battery drain, and other things I wont get into except to say; the too common claim that a ROM is a simpler alternative to CM but then adds tweaks and swaps components seems to be a non sequitur (regardless of the virtues of the ROM).

I can relate to transferring from PC/Linux/MAC desktop support world to Android, but logging is just not that difficult, and would have saved all that flashing, and is an expectation for reporting android issues, as is heeding the sagacious information provided by hosts like Mike B.
[Android Apps and Games] sotoLOTO-:
Hi! Im on v3.1 and wanna ask why Background Services in app Settings are greyed out? I cannot select any of the 3 options there - and i need automatic updates to be on. Any help?
[Android Apps and Games] Mike B.:
How about some details such as which device, ROM, and root method? The "background services" are actually simply referring to an optional timer that can wake up AdAway daily to look for updated source files. Do you have anything that might prevent that simple operation such as an "optimizer" app (Greenify, Amplify, etc.)?
[Android Apps and Games] sotoLOTO-:
Sorry about that. Thought it was a general limitation of the app. Is it NOT greyed out on your device, cos as i said it's greyed out on mine and can't select anything.

I have stock ROM of the LG Spirit 4g lte. Root method .. the only one available as far as I know ... the kingroot app.

But ok .. as I see it's only available to have it those auto updates on a daily basis. Then i'd rather not have them enabled. Instead i'd just update the app definitions manually whenever i remember. Not too big a problem so it's ok.

Thanks for your support though :)
[Android Apps and Games] Mike B.:
Chances are that something on your device is preventing the Android timer service to run in the background. I'm not familiar with your ROM, but I see that you have posted in a "battery & performance tweaks" thread, suggesting that you might have inadvertently "overtweaked" something. In any case, daily updates are totally optional (I personally don't use that feature), and you can simply update the source files manually every so often, such as weekly or monthly, without any ill effect since those source files are much more static than some users believe. Note that AdAway itself has absolutely NO impact on system performance as it's only running while actively updating.
[Android Apps and Games] sotoLOTO-:
10x .. as I said i'm not gonna use the feature, but i'm 100% sure i have not overtweaked anything about AdAway. I have not disabled or touched anything for AdAway in MyAndroidTool and SD maid and similar, so .. no idea why it's greyed out. Leave it for now. don't bother.
[Android Apps and Games] IronTechmonkey:
You are 100% sure about the things you think you know ;) but it is the things that occur as a byproduct of 3rd party or custom ROM bits that get lost in the flow...especially when we are certain that we've accounted for everything. Look at it this way: It must be something and it is 99.99 to the infinitive likely that it is not an Adaway issue.

As to frequency of updates. I only update host when I reflash which could be days or weeks and ads are effectively blocked throughout.
[Android Apps and Games] sotoLOTO-:
Guys .. no problem. Forget about it. Yes, I agree that it's prolly not an AdAway issue. Just some strange mix of settings, tweaking and whatever. No worries. It's not important any more, cos I've decided to only update manually.
[Android Apps and Games] IronTechmonkey:
No worries here and apologies for getting on you a bit. I would want to know the underlying reason why it happens but that is because I'm a fusspot :).
[Android Apps and Games] sotoLOTO-:
No worries mate ... prolly sth to do with MyAndroidTools or SD Maid .. though I never touched anything related to AdAway in either of those apps... Oh .... now I remember. Did use Purify and Greenify for a short period of time. Prolly they messed up something. Another user with my phone and a very, very similar set-up on the phone, hasn't got my issue, which indicates that it must be some of the 4 apps i mentioned above that messed things up, but np :)

PS - thanks for an AWESOME APP! I HATE ADS! I ALSO HATE BIG BROTHER, SPYING ON US 24/7.
[Android Apps and Games] ventison1:
First app I'm installing on my phone. Just can't live without it! Thanks!!
[Android Apps and Games] MrPib:
Hi. I have a question about my AdAway install.

I have a N6 running 6.0.1 and systemless root using SuperSU 2.66. I have the latest TWRP installed. /system is RO.

I flashed the file AdAway_systemless_hosts.zip, and it seemed to install with no problems. I installed AdAway 3.1, and tried to enable ad blocking. It went through downloading, but failed when trying to write to hosts, saying that there was no space.

So I fired up a Terminal session to test the bind, by running "su", and then appending a line to /su/etc/hosts. Then I catted /system/etc/hosts, and saw the line that I'd added. So, in AdAway, I changed the Target Host File to be /su/etc/hosts, and said OK to it creating a symlink (which I didn't want, but it wouldn't continue without me letting it do so). I rebooted, and everything looks good -- I see the blocked hosts in /system/etc/hosts.

My question is, why did I have to change the target file? I read that the flash file lets you use AdaAway with the default hosts location.

Thanks!
[Android Apps and Games] Mike B.:
Other "systemless" users have reported that using the ZIP in the OP was enough and they were able to use AdAway with all defaults, with busybox in /system/bin/, and without having to change the target hosts file location. That ZIP is only one possible method for taming "systemless root" ('mount -o bind /su/etc/hosts /system/etc/hosts;') but as long as a symlink works for you, it might be easier to leave things alone... until the next systemless/SU update breaks something... ;)

Remember that those are "systemless" issues, not AdAway issues!
[Android Apps and Games] KonoeKyon:
It's because the system partition is close to being full, the bind makes adaway think it's writing to system, and adaway sees that the partition is nearly full and fails because of that. It's actually not an issue with adaway nor an issue with systemless su. Marshmallow just uses up almost all the system space and everything is working how it's supposed to. You can free up system space if you want by removing system apps or just let it do the symlink if you want.
[Android Apps and Games] Mike B.:
Small correction: it's a Marshmallow issue ... on specific devices! I don't think Marshmallow itself makes any restriction on how much additional free space should be provided in the /system partition. ;)

Out of curiosity, how much free /system space is available on a factory-fresh N6 running 6.01? A hosts file built from the default AdAway sources is less than 2MB. Motorola must be cutting it VERY short if even that doesn't fit!
[Android Apps and Games] KonoeKyon:
I don't remember exactly I had removed the non English google keyboards and one other app I forgot which though, to free up space, which left me with 33MB.
[Android Apps and Games] MrPib:
Google saw fit to leave 0 bytes free in /system on 6.x.

BTW thanks again for AdAway. That's actually the only reason I rooted. It's definitely worth jumping through Google's hoops to have it.
[Android Apps and Games] Mike B.:
Somebody at Google is definitely not root-friendly. Fortunately, less restrictive custom ROMs are sure to appear shortly with proper root and full access to /system, as there should be.

My favorite device is still the aging Note 3 (using 2 of them). Full root, 128GB external SD, 3GB RAM, 2.8GHz quad core, removable battery, wireless charging, IR Blaster, and total freedom to do anything I want to it... Just for fun(?) I tried flashing several CM13-derived 6.0/6.01 ROMs and in all cases there were absolutely NO AdAway issues, as expected, including in ROMs that (unwisely) include AdAway as a system app.
[Android Apps and Games] Ultramanoid:
This would be a good thing to read about that, definitely big G's doing, not anything from any hardware vendor :

http://xdaforums.com/showpost.php?p=64208563&postcount=3393
[Android Apps and Games] evronetwork:
No offense taken :D but let me try to reply on these

1) True but no one bother to read my signature which states my rom(so half the blame for me, half for the people reply to me - ;) )

2) Again true but comparing a clean flash CM rom vs Sultans CM + tons of apps I'm using would be unfair, didn't know it's the rom, the apps or the settings affecting this - Also previous roms from sultan were working so. I had to clean flash CM and put all apps and settings and do a test again to be sure we're on the same enviroment and none of my apps or settings affect this - you don't do it just like that, it takes time and before rushing into things I've asked to avoid it - If I've done this I wouldn't even asking and probably not even posting about this issue so this is dumb(no offense, don't try to offend you in any way)

3) "dubious claims are made such as Adaway causing battery drain" never said that as far as I remember, but the latest cm12.1 from sultan does have issues with adaway while cm12.1 doesn't so what we gain from all that? experience ..you're welcome :p

P.S. "logging is just not that difficult, and would have saved all that flashing" true, overclocking isn't hard either ..O/C my first system when I was 8yr result? well motherboard locked it's pci/ram ratio and that expensive mobo was useless, I had to adjust the ratio before saving settings(in bios) but didn't do my research right ...internet was difficult at that time and no google around.

All I'm saying with the above if you don't know you simply can't do it, can you? easy? sure the how-to is what's missing(I'm sure someone spend his afternoon posting some pages on how to but still if you have no clue you try with what u do know) - Have a nice day and happy new year to you and to all xda members :D
[Android Apps and Games] IronTechmonkey:
Creating zero free space or the impression of zero free space is an old trick I wouldn't put past Google. I've seen similar things in proprietary linux based systems used to hide inner workings. As to Adaway, for what it is worth; On Moto E XT1511, In CM13 Jan 4, 2015 nightly under native CM SU; Adaway restored via TiBU (initially installed and backed up in CM12.1) working as expected.
[Android Apps and Games] 2x4:
I'm on PureNexus rom on Nexus 5X w/ systemless root and Banks GApps, can confirm that flashing AdAway_systemless_hosts.zip then installing adaway without changing target hosts file setting works to block ads and doesn't break SafetyNet API as per the SafetyNet Playground app
[Android Apps and Games] adrman:
Systemless Hosts zip is working perfectly on N6P angler with MMB29P and SuperSU 2.66.
[Android Apps and Games] mrRobinson:
Yes as others have stated this is because on the Nexus 6 google has no free space left on system. So even though you have your bind mount correct, Adaway looked at system for free space and saw none.

I did post a workaround build for that a few pages back. I *think* this was the link to it https://www.androidfilehost.com/?fid=24269982087015610

All I did in this test build is have adaway also look for "reserved" free space not just user free space. Seeing reserved free space is enough for it to pass the check and allow the host file to go there.
[Android Apps and Games] siddious black:
Installed 3.1...Working great....thanks! ....note 2 - 6.0.1
[Android Apps and Games] MrPib:
I uninstalled 3.1 and installed this one on my N6, and it works using the default hosts location. Thank you!!!
[Android Apps and Games] noobSU:
Somehow i think adaway is not working for me with cm12.1 blisspop. Mx player still show ads ?
[Android Apps and Games] IronTechmonkey:
There is a known reason for that. It is not a problem with Adaway. Search this thread for MX Player ;)
[Android Apps and Games] Millz120:
I'm also running PureNexus + GApps + ElementalX with a systemless root on a Nexus 6P. I flashed the systemless_host_files.zip before installing AdAway. Opened up AdAway and updated the files. Everything seems fine. Android Pay works.
[Android Apps and Games] BreckZeBoulay:
Hi all !

Is there a solution to grant root with this root method ?

http://xdaforums.com/showpost.php?p=63453837&postcount=2
[Android Apps and Games] noobSU:
Im using tapatalk for xda. Search is not working. No query has been found for mx player. Can you head me to the post or just tell me what's the issue?
[Android Apps and Games] shaqman89:
Strange, I found plenty querying mx player from Tapatalk.

Anyway, here is one that seems to explain it: http://xdaforums.com/showthread.php?p=64469864

In short, its ads doesn't use dns queries but rather other ads delivery methods. Adaway marks this as an adware when you scan it using adaway.
[Android Apps and Games] Mike B.:
Whether you use SuperSU, "systemless", superuser, or any other root approach doesn't matter to AdAway as long as it can access and edit the hosts file. There is nothing special about AdAway's requirements. How to obtain root depends on your ROM and device, and is best discussed wherever your ROM/device combination is supported. Once you achieve that proper root, AdAway will work fine.

---------- Post added at 07:38 AM ---------- Previous post was at 07:31 AM ----------

To overcome the Tapatalk limitations, simply switch to your browser when you need additional "power". The free MX Player version apparently generates its own ads ("adware") without going through local DNS, a matter unrelated to AdAway.
[Android Apps and Games] jshamlet:
This is why you run Adaway AND setup your phone's iptables. There are several front-ends available, but I happen to prefer AFWall+. Blocking ad servers through a hosts file is good, but actually disabling network access to problematic apps is even better. That said, discussion of firewalls is out of scope for the thread.

I will say that between the two, I almost never see an ad on my phone.
[Android Apps and Games] Ultramanoid:
Users really should stop supporting applications that include advertising and many intrusive statistics packages as well. It's actually the only way to stop abuse of resources and invasion of privacy from becoming the default in Android's software. Wonder if anybody uses AdAway's scan feature and pauses to think "hmm, let's look for a different player since MX ( for instance, since this one comes up all the time ) is doing this..."
[Android Apps and Games] Mike B.:
Absolutely! I'm always amazed when I have to work on someone else's phone by how many "junk" apps they keep. The best way to avoid ads is to quit using apps that contain ads (including "official" apps, such as YouTube, Facebook, etc.), especially since the same functionality is usually available from a browser or ad-free apps. This reminds me of the old joke: "Patient: Dr., Dr., it hurts when I do this! Doctor: Then don't do that!"... ;)
[Android Apps and Games] shaqman89:
I wish this was so easy to do for others.

In my region, even understanding why the free apps have ads is sometimes a magical thing. In the end, most people I know here take it that ads are a part of Android's ecosystem. :(
[Android Apps and Games] mbutandola:
So if I get you right, you wanna use their services without paying for it but still, won't let themselves find a way to get paid? How are those servers, developers and all will get paid? The only reason I use adaway is because of those nagging adds that would want me to download junk apps and would block my browser, trigger vibrations pretending that my device is infected. Finding that kind of stuff while browsing sites that you thought were serious like phandroid or whatever is most annoying. But ads are necessary is we want a free internet

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Android Apps and Games] Mike B.:
No, I do NOT want to use their "services" if they involve ads. A dev who wants to get paid (not all do) can make his/her app unavailable to freeleoaders, or simply add a "donate" button. I've been a developer on various platforms for some 50 years (yes, I'm THAT old) and I have no problem paying for apps that I want/need, and even some I don't need but that can use encouragement, but I only respect devs who write worthwhile apps, not the lazy ones who think adding "adware" is their path to wealth. Note that ads have absolutely nothing to do with the Internet, and that there is no such thing as free Internet unless you’re thinking about those sponsored hotspots provided by some businesses as a medium for their ads. Even those businesses pays an ISP to connect them to the net! ;)
[Android Apps and Games] Ultramanoid:
No, they're not. People should never use sloppy unsafe greedy code, even if it is free. Particularly if it is free. Let's get a load of this crap, it's free ! Wait, what ?

Advertising consumes resources, creates vulnerabilities and uses data. It is generally a lazy way to earn money at the cost of safety and privacy for the user. Data mining is wrong, making a device unsafe for the user is wrong, the whole thing is just wrong.

GOOD developers do not rely on advertising. They can offer free versions with reduced or time-limited functionality. There are often open source alternatives. As Mike B said, most users also forget there is a way to do things ( and sometimes it's even better ) using the browser in a mobile device instead of an application.

AdAway has a scan option. Put it to use !

And the cost of Android applications is usually ridiculous anyway, pay developers for their work as well. Make donations to open source projects. Advertising is not the way to go.