yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jheide44:
*Facepalm*

Regardless of what you Andorid 6 current version SuperSU folks all "believe"... Just continue to read up on systemless root and IF YOU CHOOSE to insall that zip, let us know if that fixes you up

To answer "What does it do", download it. unzip it, then take a peek at the updater-script in the zip file. (Path should be /AdAway_systemless_hosts_v2.zip/META-INF/com/google/android )

That will call your attention to two other script files that are called "mount_su_image.sh" & "0000adaway.script" after looking them over you will know exactly what the zip file does.

[MENTION=5986419]ElwOOd_CbGp[/MENTION]

thanks for tyring to help... hopefully it helps people. As far as your comments on systemles root, you are not helping educate anyone.

check this out for a list of why chainfire developed systemless root for andorid 6/M

http://www.supersuroot.com/
[Android Apps and Games] wolfballz:
Some may be having the hosts file not sticking but that isn't my issue. My issue is that I see the modified hosts file /system/etc and if I open it I see all the added entries. It's just like something is overlooking the hosts file completely. Even after reboot the modified hosts file is still there just not being utilized for some reason.
[Android Apps and Games] ElwOOd_CbGp:
I wouldn't be surprised if it had something to do with your carrier. Have you tried placing the file in a different location? clearing any proxy settings, enabling the built in webserver, and IPv6 in preferences?
[Android Apps and Games] wolfballz:
I have not but will look into this. When you say place file in a different location you mean like putting it in /data/data and then creating a symlink in adaway?
[Android Apps and Games] adpsimpson:
Same here. File "sticks" fine. I've checked the permissions (they were 660, fixed to 644, no change in behaviour). Same carrier as my last couple of phones, which worked fine. This phone bought directly from the manufacturer, unlocked, then flashed to CM 13.

What other locations should I try for the file? I would be amazed if this is the problem with CM 13 or it would be more widely known and Adaway would be updated to work with it.

What proxy settings should I clear?

Why would enabling the webserver and IP v6 make any difference (not contradicting, I'm unsure why it would help).

Edit: Have tried IP v6 and webserver, no difference.
[Android Apps and Games] androcraze:
This doesn't work for you?

http://xdaforums.com/showpost.php?p=65324998&postcount=268

And also, as I mentioned earlier, I do create the symlink when AdAway asks. asks.
[Android Apps and Games] wolfballz:
I'm not systemless on my phone so I don't see how this will work. I followed that link for my tablet and flashing that and setting the symlink worked on my tablet which I believe is systemless root.
[Android Apps and Games] androcraze:
Sorry, I missed that. You can still "BIND" a file, "systemless" or not. It shouldn't make a difference with your supersu version, but hey, "Location! Location! Location!".

Is this happening for ALL versions of AdAway? I've been using the version from F-Droid, not the version in post #1. It probably doesn't make a difference, but you could completely uninstall and try different revisions of AdAway.
[Android Apps and Games] Pkt_Lnt:
I don't get the anti-development rants on XDA which IS a cutting edge development site. :confused:

Working out the issues is the best reason to be here. :highfive:
[Android Apps and Games] adpsimpson:
Assuming we are facing the same problem... No systemless root. CM 13 with built in root. Using adaway from F-Droid too, however as I said before I think this is a problem with the hosts file, not adaway. I've created a single line test hosts file by hand, set it up correctly, rebooted and it is still ignored.

Is there any way to check if and why the hosts file is being ignored, or where the system expects it to be?
[Android Apps and Games] wolfballz:
I am currently using the one from f-droid. What's really strange is that yesterday I had to restore a backup from about a week and a half ago and adaway was installed in my backup and then I just opened adaway and it showed not installed. So I let it download and install and let it reboot and it seems to be fine now... will see if it continues to work. Thanks for your ideas and help.
[Android Apps and Games] githyanki:
The version from f-droid used to not work on mm. May have been updated, not sure,but if your asking for help here, you should install the version provided here.

Also, for those of you having issues, please be sure data saver is turned off in Chrome.
[Android Apps and Games] adpsimpson:
Its working!

I think the key was the permissions (were 660). Makes sense that this would stop it being seen but, after I changed it, I had set Adaway to only use the default Adaway hosts file which, from reading the comments, is only aimed at ads embedded in apps, not internet based ones. So it appeared still not to be working in Chrome.

I've now deleted it and replaced it with the MOAAB list from someonewhocares and rebooted, and it's grand.

So some version of Adaway from 6 months ago must have done something wrong with the permissions. Can't say how relieved I am.
[Android Apps and Games] IronTechmonkey:
This is a a technological impossibility. Adaway cannot "do anything wrong with permissions" since all Adaway does is write to the host file, for which Adaway requires SU permissions but does not do anything else to the system. Almost all issues thereafter have to do with one of the following:

- Issues writing to the host file which are caused by the ROM and require a workaround outside of Adaway such as: symlink, changing file attributes or mounting volumes as RW (not sure about selnux).

- The presence of Adaway versions that were baked into the ROM or installed from Fdroid.

Also, almost all of these questions have been answered somewhere previously in this thread or in the various SuperSU threads.
[Android Apps and Games] adpsimpson:
Strange, in that case I don't know where the rogue permissions came from.

Also, you do realise there are 596 pages of this thread (never mind the "various" other tangentially related ones)? Read my posts, and then tell me what, in my situation, you would have searched for. Sometomes, when the heystack is big enough, it's unhelpful simply to say the needle is in there somewhere.
[Android Apps and Games] IronTechmonkey:
I realize it, have read a great many of those posts, and always do some rather intensive searching before asking a question. It is just not that difficult, and yes it is a little work but there is an expectation that we do that, lest we expect [MENTION=4343728]Mike B.[/MENTION] or [MENTION=3355398]mrRobinson[/MENTION] to answer every single question ;). Also, to be clear, I was less focused on the repeat questions than the statement that Adaway must be doing something wrong with permissions. Even basic searching and review of the thread would indicate that cannot be so, therefore implying that the basic review and research was not done. btw If you want to make the research easier do it from a desktop computer browser in the web version of XDA if you are not doing so already.

Please don't take my response too personally. It is just frustrating to see what is happening in this thread with all the peripheral SuperSU discussion and unresearched questions in just 2 days without [MENTION=1927554]Mike B[/MENTION]'s multi times daily input and this goes well beyond your question.

---------- Post added at 06:17 PM ---------- Previous post was at 06:02 PM ----------

Getting down to the technological nitty gritty; this implies that Adaway could not wite to the file, possibly caused by Adway not have SU permissions, or by something wrong with the previous file's permissions - which might have been incidentally rectified when you overwrote it with another file outside of Adaway.
[Android Apps and Games] ElwOOd_CbGp:
I just had a hard time making a few things happen after I updated my ROM and didn't really give it a chance before I changed kernels so I could do it like I usually do. yea, Im quick to be skeptical about stuff sometimes and motives behind change. lolz naw maybe it seemed like I was tryin to dis. but no way. I love XDA and the all the devs and users who keep it rollin...I was just lettin y'all know what worked for me after I was having issues with it. no need to get all offended.
[Android Apps and Games] adl:
Anybody else has problems opening links in Tapatalk all of a sudden? Just won't work anymore, where before it was working fine. Attached a screenshot of my white list, is there something I can add to get Tapatalk links working again?
[Android Apps and Games] Ja_som:
Try to add "api.viglink.com"
[Android Apps and Games] adl:
Thanks for your response, unfortunately it didn't work (I did reboot after adding it).
[Android Apps and Games] Ja_som:
Hm, I also had this issue, I was thinking that this is what should be added... All links from Tapatalk works for me...

Where you open links? If you try to open link form TT to your browser, e.g. Chrome, it should show you page which is blocked in address bar... Or you can get it from AdAway via "Log DNS Requests".
[Android Apps and Games] wolfballz:
I'm familiar with this and tried it but unfortunately didn't correct my problem and I spoke to soon on my other post that it started working after a backup I restored.
[Android Apps and Games] Bdozier:
Thanks for this. Installed tonight after getting back into rooting after an absence. So far, it is working great.
[Android Apps and Games] adl:
Hm, it seems to work on xda but not in another (German) forum I use in Tapatalk. Weird, but at least it's working on xda now. [emoji2]
[Android Apps and Games] broomer68:
This morning all of a sudden a lot of apps are crashing. I did a reflash on a cleared system, and the problem was solved until I re-enable adaway. So I assume in one of the current lists is a server that android needs to function.

Running cm13 on a Zenfone 2 Z00A ML

Verstuurd vanaf mijn ASUS_Z00A met Tapatalk
[Android Apps and Games] jr67:
Updated to the latest CM13 build and updated my host files a couple hours ago on my Nexus 6P and have not had any issues. I haven't made any changes to my host sources.

What apps were crashing?
[Android Apps and Games] broomer68:
Pebble, Tapatalk, and quite a few others.

It is either yoyo, or file-hosts that causes the trouble for me, as disabling both creates a working phone. And when one of those is enabled, crashing pebble is the first thing happening after adaway completes its action.

Verstuurd vanaf mijn ASUS_Z00A met Tapatalk
[Android Apps and Games] jr67:
Tapatalk seems to work for me. Can't test pebble.
[Android Apps and Games] hawki:
For the life of me I can not figure or how to add either an app or a website to my white list. I've searched XDA, the net, can't fine anything simple and easy to follow. Any help with a step-by-step guide for both? Please and thank you
[Android Apps and Games] IronTechmonkey:
Adaway does not block apps or web sites. It merely add domains the hosts file. Fairly well explained in the OPs and posts in this thread.

---------- Post added at 01:04 PM ---------- Previous post was at 12:36 PM ----------

I dont know how this could be so since an Android device can function happily for quite some time off-line or with a firewall blocking everything, which has been the case in all Moto stock, and CM11, CM12.1 and CM13 ROMS I've used on 2 different devices. You should log the issue.

---------- Post added at 01:06 PM ---------- Previous post was at 01:04 PM ----------

I wonder how many lines there are in the hosts file you are using. Maybe just to big? Hence my suggestion to log the issue.
[Android Apps and Games] broomer68:
The trouble seems to be something in the memory of adaway. I cleaned the app-settings, and all seems functional again.

Verstuurd vanaf mijn ASUS_Z00A met Tapatalk
[Android Apps and Games] Morloc2:
Hi

I cant update it when I m trying to do it with xda labs app
[Android Apps and Games] githyanki:
You may have to uninstall/reinstall the first time using XDA app.
[Android Apps and Games] Morloc2:
thank you so much
[Android Apps and Games] vj127:
Applied host sources 3/4

It's not blocking ads
[Android Apps and Games] MihaiSG:
Have you rebooted your device?
[Android Apps and Games] aavvaallooss:
-Reboot after update Adaway

-Disable data saver in Chrome

-Disable any proxy in APN settings

Ads where? In an app, in browser...???
[Android Apps and Games] githyanki:
Wonder if there's a FAQ to address this....

To add to your list:

Make sure you're using AdAday from OP

Still not working? Open terminal and type 'cat /etc/hosts' and tell us if there's any web sites listed in there. Should look like: 127.0.0.1 damnaddsite.com
[Android Apps and Games] Pkt_Lnt:
You mean like the link to the Adaway Wiki in post #1? :)
[Android Apps and Games] vj127:
Thanks the problem was proxy in APN
[Android Apps and Games] leandronb:
I am having a problem with my youtube watch history. i added s.youtube.com and *.s.youtube.com, applied and rebooted. the search history on youtube is back but the watch history is not.
[Android Apps and Games] DE52:
Personally, only s.youtube.com was needed for watch history in the youtube app to work. Never had to add anything else to whitelists
[Android Apps and Games] osm0sis:
For a long time watch history wasn't working for me on mobile at all, but lately it started again, I think after an app update. Worked fine on my phone yesterday and AdAway is all up to date on it with just the default lists.
[Android Apps and Games] DE52:
Only reason I added s.youtube.com is because it appears when you log DNS requests (with no custom host files active of course). I decided to try and see if this was the culprit amongst the other hosts that came up and as soon I added it,rebooted, etc and played another video, watch history worked flawlessly. Maybe youtube recently made some changes that make adding that to whitelists unecessary. I wouldn't know. Simply added it because that's what I found to work in the past.
[Android Apps and Games] silvertrain78:
I had the same issue, and I added youtube.2cnt.net in addition to the s.youtube.com domain.

Now watch history works perfectly
[Android Apps and Games] leandronb:
I added this and still do not work.

But i don't know what is happening because i think is a problem with youtube itself or my account. because on pc is not working too, but when i woke up today, all the videos i watched yesterday appeared in history, seems like there is a big delay now for the videos appear. can anyone check this?
[Android Apps and Games] mrRobinson:
Just an FYI, I updated nexus6p and nexus9 to latest May security update, supersu 2.71, and adaway still working fine.

Where's [MENTION=4343728]Mike B.[/MENTION] on vacation?
[Android Apps and Games] Mike B.:
Nope. When recent posts started making silly gratuitous misguided personal attacks, I could either forego relative anonymity and demonstrate that I DO know what Android/Linux/*nix root means, or simply quit posting in this thread. I'm way too old to play online games, so I picked the latter... ;)
[Android Apps and Games] mrRobinson:
Not sure I saw any personal attacks, this is a well behaved and mature thread. (more so with you in it). I only saw you did make a statement along the lines of systemless root doesn't allow access to system, which I believe osmosis was clarifying. Systemless root simply was an evolution in rooting, since many devices with marshmallow required ramdisk modifications to get root, chainfire figured no reason to further modify system "just because". So now we simply have an option of root not touching system or root touching system. Both yield full root.

I repeat this again, not for you, but just to be sure everyone reading this thread understands as well that systemless Adaway, just means it too didn't touch the system partition yet is in no way crippled from a non-systemless adaway.

Mike B., I don't think anything was personal, simply clarifications being made in the deeper understanding of what is going on. I hope you don't or can stop taking any offense to them as I and others value your contributions to this thread. You and I disagree'd on google securing the devices more with me happy about selinux enforcing and you preferring a device more open for you to do whatever with no restrictions. You didn't step away then and neither did I, I see this as the same. Anyway I've said my piece, decision is ultimately and obviously yours alone.

(ps. i'll be your virtual online enemy if you no longer post here. no one needs another ethereal enemy on these series of tubes... right?)
[Android Apps and Games] IronTechmonkey:
I'm sure I was not the only Adaway user who missed your posting. I tried to answer some of the questions you normally fielded but 1) Lacked the knowledge and 2 could not possibly have done so as tirelessly and even evenhandedly.

---------- Post added at 12:21 PM ---------- Previous post was at 12:17 PM ----------

There was an overboard comment or 2 in "another thread", near to the point of mod-removable personal attack. I don't want to open up that can of worms by getting into more detail, now that it may to be closing.
[Android Apps and Games] Mike B.:
Yes, this thread is amazingly well behaved compared to many others on XDA, but some posts were still very personal and unbearably patronizing. I wish I could reassure the posters that I'm reasonably well "educated" when it comes to Linux and Android and that I don't really need their unrequested advice. That said, the main SuperSU issue is, interestingly enough, one shared by AdAway: a misnomer. Some people think that the name "AdAway" means that it block ads while it's actually a hosts file editor that doesn't block anything on its own. Similarly, "systemless root" suggests that it's a proper full root when it is only an incomplete root, specifically designed to arbitrarily exempt the /system partition from modifications. I don't care what Google recommends or enables by default. If I did, I'd stick to a stock kernel/ROM/launcher. A properly rooted device should allow access to all privileged operations, with or without sudo/superuser/SuperSU/busybox/toybox, for Android as for any other *nix derivative. If the RAMdisk needs patching, then patch it to get root but that's completely unrelated to whether /system must now become off limits. I understand Chainfire's reasoning for preserving the /system partition's integrity, but I don't agree with it at all. Yes, even his latest SuperSU releases can be installed in /system but that's apparently beyond the ability of most casual users and the reality is that for many people, "systemless" appears to be the only available approach, making that root effectively useless for common(?) tasks such as editing the hosts file, optimizing the GPS configuration, adjusting the sound properties, tweaking csc, etc. If AdAway became HostsEdit and SuperSU offered a "partial" or "OTA-friendly" option, life would be easier and fewer users would get confused.

As far as posting here are concerned, my contributions were all basically variations on the "RTFM" theme (Google that term if you're not familiar with it). Unfortunately, it's been increasing difficult lately to help users without using any apparently offensive "s*st*ml*ss root" references! ;)

Sorry about yet another lengthy and probably unnecessary OT post.
[Android Apps and Games] mrRobinson:
You've said a couple things that I think were the point of clarification... "only an incomplete root, specifically designed to arbitrarily exempt the /system partition from modifications."

This is simply not true at all. And this isn't a personal attack, it is a disagreement. It is a full root, there is nothing a user can't do with it. Not sure why you think it is incomplete. It rooted the device without modifying system but it doesn't exempt system from any modifications thereafter if the user so chooses. Chainfire only preserved /system integrity to obtain root, he doesn't then prevent anyone from touching system thereafter. (IE it IS a full root). So as I said before, all systemless does is allow the user to choose to continue to preserve the /system integrity or they choose not to. Up to them.
[Android Apps and Games] IronTechmonkey:
Personally, I'd rather have steak and eggs or vegetables and rice rather than worms for dinner. :)
[Android Apps and Games] fards:
I suspect it might be some confusion because when chainfire released it originally he suggested that it couldn't mount /system and it was designed to leave that partition untouched.

- /system should never be remounted r/w, I hope I didn't miss anything here

I see that he does add

- Root with modifying /system is also still operational. I can't predict what the exploiters will need.
[Android Apps and Games] adl:
Anybody who had problems opening links (especially Google Drive links) with Tapatalk and Adaway, try the latest Tapatalk version from apk mirror, it fixes that issue for me.
[Android Apps and Games] osm0sis:
Yes, however that was still only referring to the rooting process itself, not what you could do once rooted.

Specifically, it was directly in response to my bug reports about the SuperSU Beta zip's mount routines causing TWRP to alter /system (clearly not the desired effect for a systemless root procedure) which is why he says he hopes he didn't miss anything, because I was helping him track it down for a couple of betas. ;)

This was of course all before he unified the two methods into one zip again in a later beta. :good:
[Android Apps and Games] IronTechmonkey:
I think this hits a certain nail on the head. Seems to me that after that point most problems come from unique usage cases or user's bad process (to repeat something I said in a SuperSU thread). Also, I'm wondering if at this point there should be a separate "Kicking Around ideas About SuperSU and it's impact on Apps" thread.
[Android Apps and Games] osm0sis:
It still never once meant that /system couldn't be altered by the user though, the changelog was just referring to the rooting procedure the beta zip was trying to conduct at the time (systemless)..

I still like the "FAQ and FUD: Systemless SuperSU" thread name I proposed before. :laugh:
[Android Apps and Games] piccit:
I think the important takeaway here is that regardless of the root method, flashing the system-less AdAway zip won't help anyone who's having issues writing the host file (unless the bind mount means that /system doesn't have to get mounted r/w, which honestly I don't know how that works).
[Android Apps and Games] IronTechmonkey:
AFAIK that is the very reason the adaway zip exists.

From this thread's OP:

"Flash for systemless hosts file

This flashable zip preps your device so that AdAway can remain pointed to /system/etc/hosts yet never actually touch your /system partition.

A prerequisite for using this is having one of the SuperSu systemless root installed.

Download: AdAway_systemless_hosts_v2.zip :: shasum = 1bbd9ce73adb0a433995e14c4642e75ae03a9bef"

.. but then I dont use systemless and am just a test driver "hey what's that noisy thing under the hood of this car"? ;)
[Android Apps and Games] M9guy:
If this was asked sorry I searched but my Nexus 9 wifi tablet on Android n preview 2 running SuperSU 2.71 keeps having the host file downloads fail each time on my adaway 3.1.1 and I tried the zip for systemless root unless I am missing something I didn't see any info on what to do with it tried to install it but just opened to folders, am I supposed to flash it in recovery ? Adaway 3.1.1 worked fine for me on preview 1. Sorry but ads drive me up the wall I can't live without my adaway omg I never loved an app more yes we are spoiled but can someone please steer me in the correct direction as I am pulling my hair out I can't deal with these ads on all my apps lol.