yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] IronTechmonkey:
I think that suggestion may be to uninstall SuperSU systemless installation or something along those lines, which is bad advice in response to your question. If the poster meant to something else it is unclear. [MENTION=4452264]mitchdickson[/MENTION], If I am mistaken about this please clarify.

I think what you want to do is as simple as reverting to default hosts file, uninstalling Adaway, and deleting the a script.

A search of this thread for the word [script] would find you this: http://xdaforums.com/showpost.php?p=67019991&postcount=6151 (and it is probably mentioned other places in this thread). Also, a google search of the words [Adaway uninstall flash for systemless hosts file] would find you this: https://m.reddit.com/r/nexus5x/comments/4hwnmi/has_anyone_tried_the_latest_systemless_adaway/.

NOTE: I must disclaim that I do not use Adaway's systemless script and never have. I merely researched this issue when I saw that you were seemingly being advised how to uninstall Systemless SuperSU rather than how to uninstall Adaway's systemless script. It is always best to search (in fact it is an XDA rule ;)).

[EDIT] Purging my mistaken impression that you wanted to also uninstall Adaway. To remove only the systemless hosts file fix just delete script mentioned in bold here: http://xdaforums.com/showpost.php?p=67370678&postcount=6293.
[Android Apps and Games] Pkt_Lnt:
Look at the zip file. It installs NOTHING. It executes a script that does a bind mount. Just look at what it does, use the terminal and undo the bind mount.

mount -o bind /su/etc/hosts /system/etc/hosts;
[Android Apps and Games] IronTechmonkey:
OK, if that works great but then why did [MENTION=4544860]osm0sis[/MENTION] suggest this: http://xdaforums.com/showpost.php?p=67019991&postcount=6151?. Does the adaway systemless fix zip not also install a script.

[EDIT] To you point I checked out the contents of the zip file and do not see that script in there but am left wondering why it was mentioned.
[Android Apps and Games] Pkt_Lnt:
Look at what is in the zip file

000adaway.script
busybox
hosts
mount_su_image.sh

The updater script:

ui_print("***********************************************");
ui_print("**** AdAway Systemless Hosts Prep ****");
ui_print("***********************************************");
ui_print("By: @mrRobinson");
ui_print("Installing files...");
show_progress(1, 15);
package_extract_dir("support", "/tmp");
ui_print(" ");
set_perm(0, 0, 0755, "/tmp/busybox");
ui_print(" ");
ui_print("Mounting /su image for editing...");
ui_print(" ");
set_perm(0, 0, 0755, "/tmp/mount_su_image.sh");
ui_print("Prepping AdAway for systemless hosts...");
run_program("/tmp/mount_su_image.sh");
ui_print(" ");
delete("/tmp/mount_su_image.sh");
ui_print(" ");
ui_print("*************************");
ui_print(" PLEASE NOTE ");
ui_print("*************************");
ui_print(" Flashing this zip means ");
ui_print("that you leave the target");
ui_print(" host file directed to ");
ui_print(" /system/etc/hosts ");
ui_print("This zip ensures that it ");
ui_print("actually will go to your ");
ui_print("data partition. ");
ui_print("*************************");
ui_print(" ");
ui_print("Installation complete!");

And the mount_su_image.sh

#!/sbin/sh

# Programs needed
ECHO="busybox echo"
CHOWN="busybox chown"
CHMOD="busybox chmod"
MOUNT="busybox mount"
UMOUNT="busybox umount"
LS="busybox ls"
RM="busybox rm"
CP="busybox cp"
MKDIR="busybox mkdir"

$MKDIR /tmp/su
suimg=$(busybox ls /cache/su.img /data/su.img 2>/dev/null)
$MOUNT -t ext4 -o rw,noatime $suimg /tmp/su
$CP /tmp/hosts /tmp/su/etc/hosts
$CP /tmp/0000adaway.script /tmp/su/su.d/0000adaway.script
$CHMOD 0775 /tmp/su/su.d/0000adaway.script
$RM /tmp/hosts /tmp/0000adaway.script
$UMOUNT /tmp/su

As osm0sis states, deleting the 0000adaway.script will stop it being applied at boot. There is no app to uninstall, it runs the script to install 0000adaway.script and that is all and it runs the

mount -o bind /su/etc/hosts /system/etc/hosts;

at boot so that /system/etc/hosts is not altered and /su/etc/hosts is written and used. That is what makes it systemless because the altered hosts file is not in /system. ;)

Simple *nix format, not magic. ;)
[Android Apps and Games] IronTechmonkey:
Yeah... I saw all that stuff already (as mentioned).

That seems different from "It installs NOTHING" but maybe I'm still not understanding you.

Simple yes/no question; once Adaway systemless hosts zip is flashed is there a script to be removed to stop the redirection done via "mount -o bind /su/etc/hosts /system/etc/hosts" at each boot?

I did miss a beat here (if not also elsewhere) and mistakenly thought poster wanted to uninstall Adaway as well as the systemless workaround.
[Android Apps and Games] Pkt_Lnt:
Yes. ;)
[Android Apps and Games] IronTechmonkey:
In the interest of absolute clarity the statement in the post I linked to was "If you are using the systemless root workaround then also delete the su.d script from /su/su.d/", not "Deleting the 0000adaway.script will stop it being applied at boot" which was your addition of a missing detail. Take the credit. :)

BTW, I'm not a coder or programmer but I do write help documentation for a living (well part thereof) and these, even seemingly small, semantic details matter. Thanks for filling in the gaps. I modified my initial reply and referred [MENTION=5032616]Richard_10[/MENTION] to your previous post.
[Android Apps and Games] GabbyWC:
[MENTION=3355398]mrRobinson[/MENTION], is there a chance of seeing an updated systemless hosts zip file that supports x86 devices such as the Google Nexus Player?
[Android Apps and Games] osm0sis:
Hmm, yeah, the zip should probably be rewritten with a shell script update-binary to make it architecture independent, but you can just put the script from the zip and the empty hosts file in the proper places (see the posts above) in /su in the meantime. :good:

I'm actually hopeful that, with the stuff [MENTION=3355398]mrRobinson[/MENTION] has planned for AdAway he'll add systemless root detection so AdAway can offer to place the su.d script and empty hosts file itself, then run the script if it's only just been placed and verify the bind mount when it's updating the hosts file if systemless if the chosen method. :)
[Android Apps and Games] mrRobinson:
I'm hopeful I'll find the time to do this as well. I'm thinking sometime after N drops so I can do a bunch of updates at once.
[Android Apps and Games] ssamurai:
nice app but unfortuntley it can't block youtube ADS
[Android Apps and Games] ΦDroid:
It's not supposed to. The IPs are hard coded.
[Android Apps and Games] linkazoid:
I'm still getting Google Ads displaying using Chrome. Ads on sites are not displayed just these ones. I'm on Android 6.01 and Chrome 51.

Also, pretty sure that this used to block Spotify Ads previously, but they seem to be showing again too!

Thanks,
[Android Apps and Games] androcraze:
Is it blocking SOME ads, or none at all?

Either AdAway is working, or it isn't. If it's blocking some ads, then it's working; the host files need updating or a server needs to be added to the blacklist.

Are the ads blocked on a browser other than Chrome (like Lightning Browser, for instance)? If AdAway is working with browsers other than Chrome for Google ads, then my paranoia kicks-in; Googlle ads + Google browser = bypass hostfile. That would be just crazy though, no?

EDIT: I'll also add that there's a caching function with Chrome that needs to be disabled for AdAway to work. Check this thread for how to do that. Lightning Browser f'evah!

EDIT2: The key phrase is "Data Saver". Try disabling that in Chrome.
[Android Apps and Games] tag68:
Sounds very nice! If that is possible without getting dependent on BusyBox that would be jackpot ;)
[Android Apps and Games] Saiful98:
Spotify now start to showing ads!!!

Even after update hosts file..
[Android Apps and Games] Pkt_Lnt:
They are embedded IP address in the stream, Adaway can not block those. Just like YouTube ads can not be blocked because they are IP addresses embedded in the stream.
[Android Apps and Games] alwynjoshy:
Can you include detailed logging details such as time of the acess like that, simetime to many logs entry so diffucult to find the ad link which we want to dissable
[Android Apps and Games] Pkt_Lnt:
Enable tcpdump in the menu to get that. Fully explained in the OP wiki link.

https://github.com/Free-Software-for-Android/AdAway/wiki/LogDNS
[Android Apps and Games] ssamurai:
the ads are blocked when I use my country IP adresse when I switch to a VPN I see ads even when I'm using OGyoutube I installed youtube adblock from Xposed it seems that the ads are blocked so far...
[Android Apps and Games] sansnil:
I had a similar issue. Deleting /etc/system/hosts in TWRP seemed to allow AdAway to create the symlink after rebooting. Possibly it can't write over the hosts file if it's in use but that's a guess.
[Android Apps and Games] hashworks:
Hm... I've now manually created a symlink from /data/hosts to /etc/system/hosts using Solid Explorer. Seems to work.

EDIT: Nope, with symlink the system isn't using the hosts file. When I remove /system/etc/hosts AdAway thinks that the file system is read only, however Solid Explorer can write to it just fine...
[Android Apps and Games] Primokorn:
Is there a way to bulk import blacklisted domains with AdAway? (hundreds of domains to add)
[Android Apps and Games] casouzaj:
At the'Your lists' page, if you go to Menu > Import all lists doesn't do the job?
[Android Apps and Games] Primokorn:
I had a FC with a file manager but it works fine with another one.
[Android Apps and Games] kylepsp:
I get super bad slow downs after installing the systemless version, it pretty much freezes until a restart on many apps. Anyone having the same on N dp4? On a Nexus 6P
[Android Apps and Games] androcraze:
Have you enabled "Storage" permission for the AdAway under Settings -> Apps?
[Android Apps and Games] pkelly517:
Dev Options - > Background process limit - > limit to 4
[Android Apps and Games] kylepsp:
Surely this is a bit of a dirty workaround? Why is Adaway using so much memory that we have to limit our number of processes to 4?
[Android Apps and Games] shaqman89:
What list are you using?

The bigger the list, the more RAM is needed to process the host file.

So, if you're not using the standard list, try to disable some of the lists you add and see whether it improves performance.

Note: that adaway in itself doesn't require any memory at all.
[Android Apps and Games] Primokorn:
Yes, it's fixed now. Not required with FX File Manager but required with MiXplorer.
[Android Apps and Games] kylepsp:
Just the standard list. A few people on reddit have had the same issue, it basically crashes the phone using any random app, even the camera and contacts, which (presumably) dont touch the hosts file
[Android Apps and Games] pkelly517:
It seems to be more of an issue with DP4 than individual apps.
[Android Apps and Games] kylepsp:
Also happened on DP3. It never once occurred before installing Adaway, and the problem went away as soon as I disabled Adaway. And I've repeated this process about 4 times, on clean installs.

DP4 runs pretty much perfectly when Adaway isn't installed
[Android Apps and Games] ratson:
there is a dedicated thread for this issue. I am not 100% sure if it is related to AdAway although I was using it when it first happened. Since then I tried to reproduce with reverting the host file changes and the problem still remained. BTW can the systemless hostfile tweak surviv if i flash system.img and root after?
[Android Apps and Games] mrRobinson:
Yes cause systemless doesn't touch system. So reflashing system won't break it.
[Android Apps and Games] 2x4:
love that adaway works with systemless hosts.
[Android Apps and Games] blueren:
how exactly do I use the systemless method? Do I need to flash the file and forget? Or do I need to flash the file and then install the app, then let it install the files?
[Android Apps and Games] 2x4:
flash file in recovery, then install adaway and use it as normal.
[Android Apps and Games] SacredDeviL666:
i have a hammerhead and perfume....

hammerhead is systemless root flashed the file in recovery installed the apk and perfume is on system mode....

but these apps still gets away with showing adds... cpuX , backgrounds app changer, mxplayer....both has selinux as permissive...

any idea what i am doing wrong...
[Android Apps and Games] Pkt_Lnt:
What you are doing wrong is using apps that have the ads integrated by IP number and they can not be blocked. Ads that are provided from a website via DNS can be blocked. Usually you can buy an ad free version of an app to stop ads that have them integrated via IP address.
[Android Apps and Games] SacredDeviL666:
pro apps yes they wouldnt show ads which is why they have pro but then we do have adaway for those apps which isn't required a pro just to stop the ads

okay this is what i could find strangely... out of these two apps ads were blocked with adaway enabled when i changed selinux to enforcing and then rebooted....

so does it mean its because of selinux permissive apps are able to find its way around? it never used to be the case as these apps i have been using it from the time of hammerhead specially backgrounds hd app.....

but currently putting selinux back to enforcing is letting adaway block the ads from those three apps and few more....
[Android Apps and Games] Pkt_Lnt:
It is the way the ads are served in the apps. You are barking up the wrong tree, but have fun chasing ghosts. ;)
[Android Apps and Games] SacredDeviL666:
:good:
[Android Apps and Games] VincentJoshuaET:
http://hosts-file.net/ad_servers.txt always shows as not available, but it works on the browser. I could get all the other hosts files.
[Android Apps and Games] ΦDroid:
I believe that is a temporary downage

Never mind, somehow I missed the part that it works in a browser.
[Android Apps and Games] Pkt_Lnt:
Contact the owner of that list.
[Android Apps and Games] zovirax2:
play.google.com/store/apps/details?id=com.grabo

play.google.com/store/apps/details?id=bg.opoznai

These apps can not work with AdAway v.3.1.1 on Lg G3(6.0). Can you help me to add the needed hosts to the white list? Thanks
[Android Apps and Games] rpr69:
Hah! Finally figured it out. They have moved to https, and your browser automatically redirects, but AdAway doesn't. Disable the original and add a new source with https://hosts-file.net/ad_servers.txt and it works in AdAway. [MENTION=3355398]mrRobinson[/MENTION] - can the source be updated with the new address?
[Android Apps and Games] HydrogenCyanide:
Install today on a S6 with mm. All good but I want to know if I need to add more urls hosts to block more ads thanks.
[Android Apps and Games] mrRobinson:
On it
[Android Apps and Games] WTF?:
how can we check our installed version of the AdAway app to find out what version we have installed? - and what is the most current version number?

what is the current best set of host sources? - for example, I notice that there seems to have been no activity on host source https://adaway.org/hosts.txt since last August 2015
[Android Apps and Games] Pkt_Lnt:
In your phone, Settings > Apps > Adaway always shows version number.

See post 1 for the current version.

Best set of hosts files depends on what you need to block. The current four handle almost everything for me. I've added 4 others to my blacklist in 2 years.
[Android Apps and Games] WTF?:
thanks, I upgraded from 3.1 to 3.11

what do you think about my earlier comment "I notice that there seems to have been no activity on host source https://adaway.org/hosts.txt since last August 2015"
[Android Apps and Games] Pkt_Lnt:
That list maintainer has not change it since August 2015.

Contact them if you want to know why.
[Android Apps and Games] skyhirules:
Personally, due to that fact, I've deleted that source from the list to reduce the host file size, and i still don't see any ads. So, I'd suggest doing the same. The other 3 default sources are pretty enough.
[Android Apps and Games] krule031:
Update

[MENTION=3355398]mrRobinson[/MENTION]

Hey mate.

I was wondering, will you update the app soon?

I'm asking because I updated and fixed many Croatian translations, so it would be nice if you could add them to next update.

Cheers! :good::fingers-crossed:

Edit: I saw you're hopefully updating after N release. My bad for not reading.. :D
[Android Apps and Games] 1droidmod:
Sorry if this is a repeated question, butt wondering if there is a way to block that stupid pop up message that says your device is infected with three viruses or 4 viruses on Chrome for Android? Yes I have pop-ups blocked and adaway is up to date. Thanks
[Android Apps and Games] broomer68:
Don't visit p*rn websites... [emoji12]

But seriously, there are some nasty scripts on the web that undermine nice ui / browser behaviour.

Verstuurd vanaf mijn ASUS_Z00A met Tapatalk
[Android Apps and Games] SacredDeviL666:
3.11? U meant 3.1.1 right. .
[Android Apps and Games] WTF?:
click the blue download button here
[Android Apps and Games] SacredDeviL666:
Thanks. Had this one 3.1.1 thought another version came out hehe
[Android Apps and Games] lenixroman:
How much is supposed to be the host file size my is only 500 kb
[Android Apps and Games] Cookie Ninja:
With the basic 4 hosts as given host file is the size you have. On adding more sources, it increases...practically seen host file size greater than 6Mb slows your phone....any size below is OK, so long as your ads get blocked....

Dead Cookies leave no trails...
[Android Apps and Games] WTF?:
my /system/etc/hosts file is 2 MB and it works great!
[Android Apps and Games] lenixroman:
Can anybody give link of easylist host file so i can add to adaway

I was trying to add the url of eqsylist but the file is way to small is supposed to be 1.9 mb

https://easylist.github.io/easylist/easylist.txt this 1
[Android Apps and Games] ΦDroid:
That's not a hosts file. It will not work properly with Adaway.
[Android Apps and Games] lenixroman:
Any way i can add easylist to adaway
[Android Apps and Games] ΦDroid:
No, but the default lists in Adaway should block nearly everything.
[Android Apps and Games] punisher-ss:
Gentlemen , this problem : I have a beta version of android marshmallow, root, the bootloader locked.

set adaway, rebooted , everything is OK . hosts file appeared on the road system / etc, it all spelled out . but on all browsers remained advertisement. File rights exposed rw-r-r--.

I think an android does not see or ignore the hosts file , but how is this possible? on the fifth android I have everything worked.

ps my English from google sorry
[Android Apps and Games] shaktishekhar:
Go to source edit

http://hosts-file.net/ad_servers.txt TO https://hosts-file.net/ad_servers.txt "ADD s"
[Android Apps and Games] skyhirules:
Lately in the default host sources list, the hosts-file.net one appears as not available locally (in the app menu).

Does this happen to anyone else? What the problem?

EDIT: It seems the problem was that it was changed to HTTPS. So, 3.1.2 solved it. :D
[Android Apps and Games] VincentJoshuaET:
Or you know, install the update.
[Android Apps and Games] shaktishekhar:
lol Jun 27, 2016 | 02:38AM
[Android Apps and Games] mrRobinson:
[MENTION=4888288]junk031[/MENTION]

should be in 3.1.2 with the hosts-file.net update. If you don't see your translations in 3.1.2 let me know.

And btw, forgot to post that I updated so uhm, new version out. just the hosts-file.net update and sync'd with latest translations.
[Android Apps and Games] krule031:
The translations are here!

Altough I found some grammar mistakes so I need to fix them, hopefully I'll do that today, so please include that in the next release :)
[Android Apps and Games] mrRobinson:
I update translations prior to every release so no worries there.
[Android Apps and Games] Debjoy01:
Hello ! I'm using moto e condor with cm 13 nightly. After downloading the app for update via XDA labs, it is showing app not installed while installing. Do I need to uninstall completely and install the latest version??

Thanks in advance! :)
[Android Apps and Games] Spannaa:
If your previous version of AdAway didn't come from either this thread or XDA labs then yes, you need to uninstall it before installing this version.

Future updates will then be OK.
[Android Apps and Games] 1droidmod:
extratorrent.cc ;) only site this happens to me
[Android Apps and Games] stab244:
Will I need to refresh the systemless hosts file if I update the app?
[Android Apps and Games] Ja_som:
No, its not needed...
[Android Apps and Games] punisher-ss:
as it has already been established , and it does not work

Internet advertising is terrible , help

http://hostingkartinok.com/show-image.php?id=00c273117416731a7c36bfe65d71f8a4
[Android Apps and Games] Pkt_Lnt:
update to the new 3.1.2 version that solves it
[Android Apps and Games] punisher-ss:
is the first thing I did today , does not help
[Android Apps and Games] Pkt_Lnt:
I see nothing wrong with your screenshot.
[Android Apps and Games] punisher-ss:
on the fifth android I've never had problems with this , this is something to do with the sixth . times in all everything works , then it is a problem of my firmware . but I still do not understand how the system can ignore the hosts..
[Android Apps and Games] DjDiabolik:
Stupid question:

i have a opo whit latest cos13.1 and i use last beta of supersu 2.74-2. I need to use the zip v2 for systemless? how i know if i need? i have the host file placed in /system/etc/ and it's here from cos12.1...... it's correct?
[Android Apps and Games] kryzeK:
Is possible block ads on XDA app from Google Play?
[Android Apps and Games] Toutatis_:
I've never seen such ads on XDA app with AdAway hosts files applied as far as I'm concerned.

I'm only getting the small banner saying "Install full version, remove these ads" but there isn't any picture or any text at all.
[Android Apps and Games] kryzeK:
Yes, I know about the full version without ads. Just wondered if there was any way to block this type of ads. It would be great to get Google Play updates without contain these ads
[Android Apps and Games] Pkt_Lnt:
Get XDA Labs, no ads, many more features!

edit - link

http://xdaforums.com/android/apps-games/labs-t3241866
[Android Apps and Games] Toutatis_:
I think you didn't get me: I've never seen any ad like the one on your screenshot with the XDA app from Play Store (not XDA Labs).

All hosts sources are checked and up to date on AdAway if it can help.

---------- Post added at 19:45 ---------- Previous post was at 19:39 ----------

Off-topic but these features are precisely the reason why I'm sticking with the regular app. I don't need all these Apps / Xposed modules / Wallpapers sections. :highfive:
[Android Apps and Games] xflowy:
lads, after installing new apk, i can update the hosts every time i check for updates, even after updating and rebooting several times.. anyone?
[Android Apps and Games] Toutatis_:
Negative.

I've just tried to reproduce: I manually checked for updates, updates were available. I downloaded them, they've been successfully applied, then I rebooted my device. I checked again, I got "Enabled / newest hosts files enabled" and the green check mark.

I'm using the latest version of AdAway too (3.1.2) along with AdAway_systemless_hosts_v2
[Android Apps and Games] XxM4tzexX:
Can't be installed on my Nexus 10. I get this error when trying to update.
[Android Apps and Games] ktmom:
What error?
[Android Apps and Games] davidvoo:
Couldn't install latest 3.1.2
[Android Apps and Games] Yaoshi_2000:
Probably due to having a previous version of AdAway installed. Uninstall the older version first ... and then install 3.1.2.
[Android Apps and Games] crownvn:
is AdAway_systemless_hosts_v2 file updated to be same the file hot of AdAway 3.1.2 ?
[Android Apps and Games] PePeMoke:
When I try to download the apk I get "parsing error"

All the time...

Tried different mirrors already. :confused:
[Android Apps and Games] Toutatis_:
I don't think so. Android File Host shows "Mar 12, 2016 | 02:08AM" as upload date

I didn't reflash it when updating the APK anyway, and it still works as it should.
[Android Apps and Games] Toutatis_:
Direct download (see attached file)