yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Nergal di Cuthah:
I think this happened to me when I tried to migrate data from the f-droid version to the thread version (but may have been do to move from 3.1.1 to 3.1.2) have you already attempted deleting data and cache for adaway and starting it fresh.
[Android Apps and Games] NLBeev:
My version is updated, no 3.1.1 available.

The hosts-sources are the same in both versions, That's why I am curious what info you will find.
[Android Apps and Games] NLBeev:
Because it uses the hosts file. Also without Adaway and only the hosts file in system/etc AdBlock works.

You statement is very very wrong.
[Android Apps and Games] jiznon:
The resulting hosts-file may be the same, but at least one source URL is different. From the changelog:

So, sure. Each version may create the same hosts file, but that's not the issue at hand, is it? The issue is the app itself not loading, correct? I dug up my issue and quoted it below:

I'm not expert enough to understand why the issue happened, and why exactly the steps above resolved it, but I wanted to document it anyway. Just trying to help.
[Android Apps and Games] stab244:
Will the systemless zip be updated to work with the magisk systemless method?
[Android Apps and Games] mobileman88:
It already works. Using it now
[Android Apps and Games] ren0.1:
AdAway with v2 systemless hosts doesn't work with latest SuperSU on a Nexus 6 or any other device with a full /system after Marshmallow's been installed. Is it possible to make the free space check smarter in the unofficial build?

Thanks!
[Android Apps and Games] stab244:
But does it properly support it so that android pay will work?
[Android Apps and Games] ktmom:
Sorry, this is an off topic response.

IMHO - this ardent chase of Android Pay on rooted/ROM-ed/otherwise modified devices is a waste of developer's time and resources. The second that AP is hacked on a modified device, people will be looking to place blame. AP developers are trying to head off trouble
[Android Apps and Games] mobileman88:
Just used it. It works but it may well not last for long. Don't complain when it stops working.

---------- Post added at 09:07 PM ---------- Previous post was at 09:06 PM ----------

I would think so too. Anyway systemless is good for OTAs too. Not just for AP while it works. Who knows how long it will stay working before Google disables it again
[Android Apps and Games] rfgamaral:
How to properly uninstall systemless AdAway? Can I simply uninstall the app after restoring the default hosts? Or do I need to do something else to completely remove since I installed this by flashing a zip file.
[Android Apps and Games] pkelly517:
Clean flash. The bind mount is on /data.

Edit: Maybe just Unroot through SuperSU will work. Let us know.
[Android Apps and Games] piccit:
Remove the su.d script and reboot
[Android Apps and Games] KarimKh:
Hey guys, thanks for the efforts.

Since I installed Adaway ( the zip file via twrp + the apk ) seems like it doesn't work properly, I still get adds on some apps, even on youtube.

My question is quiet simple : How can I uninstall it ? or any other flashed zip file for any app ?

Thanks :)
[Android Apps and Games] ktmom:
Some reading -

The post right above yours, and

From the link in the OP Some apps have bundled the advertisements, use direct IP, or go through their own proxy. Thus you will never get rid of these ads by using AdAway.
[Android Apps and Games] KarimKh:
Thanks for your answer.

I've read the second link, that's why I've decided to delete the app.

So, where can I find the default hosts so I flash them back ? and where can I find the su.d script too ?
[Android Apps and Games] mucthetruck:
it was costing goggle money
[Android Apps and Games] waylo:
/su/su.d/0000adaway.script
[Android Apps and Games] KarimKh:
Thanks a lot :)

What about the original host files ?
[Android Apps and Games] corkiejp:
You should have used the adaway app to revert to default host file before you deleted the app.

Edit your host file to just have the following first line and nothing else.

127.0.0.1 localhost
[Android Apps and Games] b4nd0ler0:
Installing the systemless fix

What are the steps to install Adaway with the systemless fix? It's not really clear in the OP and taking into account that the standard Adaway installation it's supposed to modify the hosts in /system I presume one should first install the fix and then the Adaway apk, right? or it doesn't matter?

Thanx a load
[Android Apps and Games] Ja_som:
It does not matter what you install first, but after you flash the zip file, open (if is installed, if not then install it) AdAway and apply ad block...
[Android Apps and Games] KarimKh:
Thanks a lot for your help guys :)
[Android Apps and Games] Taker18:
Hi Guys, one question.

I tried to get AdAway working on Android N, but i cannot install file host..

is there a way to get it working on Android N ?

Thanks and best Regards,

Taker
[Android Apps and Games] mickyw1980:
Flash the following zip

https://www.androidfilehost.com/?fid=24438995911977059
[Android Apps and Games] NLBeev:
You could explain why... as info for other users.

Normally Adaway writes system/etc/hosts to the system partition. Android N has not enough memory space available in that partition. Flashing this 'systemless' zip writes a link in the system partition to the complete hosts file.

Correct me if I am wrong.
[Android Apps and Games] mickyw1980:
I could've explained why but I am duplicating what's been wrote previously in the development previews thread

http://xdaforums.com/showthread.php?t=3332494
[Android Apps and Games] NLBeev:
Great. Thx.
[Android Apps and Games] Nexedy:
Hello, firstly thank you so much for this app running well on Nexus 5X under CM13! :)

Just a question, do you know how to add a website or an application to a whitelist?
[Android Apps and Games] androcraze:
How to add, or how to figure out which one to add?

Adding an AD SERVER is easy:

... (three dots) -> Your Lists -> White (tab) -> + (plus sign)

Then type in your server you want to whitelist. Examples:

*facebook.com

fbcdn-creative-a.akamaihd.net

etc., etc.

I'm suspecting you want more than that though. ;)
[Android Apps and Games] Nexedy:
Ah thank you! I just needed to add some websites I like and where the advertisements are not too intrusive.

Wait is it possible to do more?

And is there any way to only block a few YouTubers using the Youtube app?
[Android Apps and Games] NLBeev:
AdAway - 3-dots menu - your lists
[Android Apps and Games] androcraze:
You generally can't block ads from the YouTube app (or many others). AdAway simply modifies the hostsfile. Some apps bypass the hostsfile and pull-in the ads directly.

It's not a failure (or even a shortcoming) of AdAway in any way.

---------- Post added at 16:30 ---------- Previous post was at 16:28 ----------

You can add as many whitelistings as you desire.
[Android Apps and Games] Nexedy:
Ah I am very lucky then, I haven't seen any ad on YouTube since I have installed AdAway. :D
[Android Apps and Games] CableBox69:
hello. how do i find hostnames to whitelist to get a certain app working properly? or maybe someone can do it?

i would really like to get the following up working right while still using AdAway...

The PCH App

PCH Play & Win

PCH Lotto

PCH FrontPage

any help welcomed :)
[Android Apps and Games] androcraze:
You can:

- revert the hosts file to stock

- enable "Log DNS Requests" in AdAway

- run the App(s)

Review the log file to see what hosts appeared.
[Android Apps and Games] Jhonzx:
My app (Last build) doesn't search host files and updates daily. :(
[Android Apps and Games] Pkt_Lnt:
It probably does, but note it says "check in background" so if not updates, no notification. Sometime I go 2-3 weeks because the hosts files don't change.
[Android Apps and Games] -Duir-:
[MENTION=3355398]mrRobinson[/MENTION] Can this be updated to support the systemless hosts method provided by Magisk?

It would be nice if it could be offered as a path choice without it having to be manually specified, but ideally just not having it ask to create a symlink every time (which is not needed) and say that it's disabled when I click no. It still works ok, as it updates the hosts file at that path when I open it, it's just having to click no every time that's annoying and could be confusing to anyone else trying to pair Magisk with systemless AdAway. I've already seen some, as I've seen people using both mention they are still flashing the zip file in the OP which is confusing since those people won't (or at least shouldn't) have an su.img file for it to modify, but that's getting away from the point of this post.

Thanks.
[Android Apps and Games] Spot.Zwei:
Hello,

the App of the day doesn't start with activated Adaway.

I think, I have to place it in the whitelist, but I don't know the "hostname" .

Can some body help me?

Thanks a lot.
[Android Apps and Games] Pkt_Lnt:
http://xdaforums.com/showpost.php?p=68149231&postcount=6677
[Android Apps and Games] foxdog66:
So I flashed the systemless patch before ruining AdAway and all has been well, except today i noticed my bootloader reporting my software status is now modified. Looked through my system partition and noticed the hosts file has a new timestamp. So it seems that at some point, AdAway went ahead and modified /system/etc/hosts
[Android Apps and Games] Spot.Zwei:
That's not successful.

There was some items in the log, I put all in my whitelist, bu it doesn't work.

I restarted adaway too.
[Android Apps and Games] Pkt_Lnt:
Did you Disable Ad Blocking in Adaway, reboot, then run the log?
[Android Apps and Games] piccit:
AdAway will always try to mod it (unless you change host file location setting in AdAway). If the bind mount in the su.d script doesn't run, then it will modify system
[Android Apps and Games] Spot.Zwei:
Hello,

thanks a lot.

Yes I do, but it doesn't works.

A simple question: I have to put the hosts in the whitelist, not in the black one, isn't it?
[Android Apps and Games] irvan165:
AdAway block ads browser not working for application.
[Android Apps and Games] :
Working for me (blocks ads) in applications too!
[Android Apps and Games] irvan165:
i like not aplication AdAway but wear *.zip block hosts

here please translate google because Indonesian
[Android Apps and Games] Pkt_Lnt:
Whitelist is for what you DO want to see.

Blacklist is for what you DO NOT want to see.
[Android Apps and Games] joppy:
I just bricked my phone :(

I rooted the 16GB Lg G3 D855 with C30 firmware and android 6.0. Rooting went fine after a little fiddeling. After a few reboots, where i didn't install the needed zip files from AutoRecMMD855 file checker finally confirmed phone was rooted.

So then I went on to install AdAway_systemless_hosts_v2.zip, which I also figured should be installed from recovery using the AutoRec like I did with 3__HacerPermisivo.zip and 4__UPDATE-SuperSU-v2.76-SYSTEMMODE.zip.

So I booted down phone and installed AdAway_systemless_hosts_v2.zip from AutoRec, but forgot to wipe cache and rebooted.

No I can't get pass the LG logo on boot, and trying to enter recovery mode by pressing power button and volume down at the same time only shows me the stupid LG recovery options.

How do I solve this without wiping it all clean?

Edited:

After some googling and trying out various things that did not work I just decided to get this phone working again and thought a lg recovery was the easiest way. So I get into the "wipe clean" and answer yes to everything and to my surprise I was taken to

the AutoRec once again and from here I did a new install of 3__HacerPermisivo.zip and 4__UPDATE-SuperSU-v2.76-SYSTEMMODE.zip and wiped cache and then rebooted.

Happy to say phone booted up and is still rooted. But now I don't know if I have guts to try another install of the AdAway_systemless_hosts_v2.zip. And removing the ever growing ads was the reason I even rooted to phone.

Is there an alternative way to install AdAway_systemless_hosts_v2.zip that I can do from a windows pc?

Oh and now I made sure to take a backup :)
[Android Apps and Games] androcraze:
The systemless hosts fix uses the BIND command; I don't think a wipe has anything to do with the issue you're having.

You've somehow lost your recovery. Hook the phone up to a PC and install recovery via ADB. It shouldn't remove any data.
[Android Apps and Games] joppy:
Sorry I edited the first post while goofing around on the cell, so took me a while to edit the post and by then I saw your post.

Any ideas for best way to install AdAway_systemless_hosts_v2.zip so that I don't end up with a boot loop again?
[Android Apps and Games] androcraze:
I don't think the zip did what you're indicating it did. It sounds like when you installed the systemless boot image, you installed it as a recovery image instead (I have done this before).

Look at the following link:

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

All the zip file does is remap /system/etc/hosts to /su/etc/hosts. You can also BIND from /system/etc/hosts to /data/data/hosts (I include a link to a zip and procedure to do that). You don't have to do it from a zip; you can manually do it from a terminal as well with BIND. The flashable zip just avoids installing a terminal and busybox.

Oh, and if it asks to create a symbolic link, I do. It won't work on my N5 if I decline.
[Android Apps and Games] NLBeev:
I've seen more posts about systemless Adaway.

When there is no space enough in the system partition for the hosts file (2-3Mb), an alternative is deleting files that are not used (debloating).

Than use the standard Adaway.
[Android Apps and Games] joppy:
Thx androcravez I will read that link, didn't read it before I once again tried to install. So I ended up with the same result as yesterday.

Tried once again to install Adaway. Guess what same thing happened. This time I also checked the md5 to assure zip file was not corrupted in any way.

Install went fine, from AutoRec I could see install was a success. So now I wiped the cache, then I rebooted.

Result: soft bricked again.

Used the same method as before and from autoRec I reinstalled the same two zip files as before, the 1__HacerPermisivo.zip, and 2__UPDATE-SuperSU-v2.76-SYSTEMMODE.zip, wiped cache and rebooted. Success.

So at least I got my backups, I know not to panic if I soft brick and after a soft brick is fixed I can reboot as many times I like and still have root privileges. The one thing I can't seem to get right is the removal of ads :(

Any ideas to what I am doing wrong?

If I am leaving out essential information in order for people to help just ask and I will provide. If I am doing something fundamentally wrong pls speak up and let me know. If you have dealt with same issues your self or read about others that run into same problems let me know.
[Android Apps and Games] androcraze:
You keep on stating that you're "wiping the cache" after installing AdAway. Do you mean from TWRP? Why?

Neither AdAway or BIND should brick a device. Something else is going on.
[Android Apps and Games] waylo:
Quick question re: systemless installs and binding.

I think I did this properly, changing the target hosts file to a custom one.

If done properly, does not the system/etc/hosts file still take on the properties of the target file? In other words, because that file is bound, it would still appear to have been altered/modified, even if system/etc/hosts itself was not directly modified.
[Android Apps and Games] androcraze:
That is correct, I believe. System-wise, system/etc/hosts will appear different than it really is. It should be completely unaltered, but the BIND command pulls the info from the new location and displays that.
[Android Apps and Games] joppy:
AdAway failed due to user error [Resolved]

Yes from TWRP. Btw I see I forgot to mention what version of AdAway I am trying to get installed. It is AdAway_systemless_hosts_v2.zip, and I try to install it from inside of my newly upgraded TWRP 3.0.2 LG G3 D855. I tried to update TWRP to the latest to see if that changed things but no. Then I discovered I was not even trying to install the latest version of AdAway. *deep red face of embarrassment* - so I took a time out and just browsed the xda site to see what kind of goodies has come this way in the years I've been gone. A fair bit actually. :laugh:

Solution that worked for me, Lg G3 d855:

I came across the xda app, can't believe I didn't know about this beauty. I installed it from http://www.xda-developers.com/xda-labs/ and suddenly installing was just as easy as point and tap. Wonderful. From inside the xda app I found the latest AdAway and it installed perfect. I am amazed and still overwhelmed with the amount of brainpower, energy and time the good people of xda community has put into this community over the years. And to think I have not been present for several years. Now I feel I have been missing out.

All ads gone, and I am one happy xda user. I think I will start looking at the various LG G3 d855 custom ROMS too. :cool:
[Android Apps and Games] Ellobo24:
it's it me or adaway is not blocking any ads?? I've reinstall, whipe data and chache from the app and nothing.. I'm root and running Resurrection remix rom
[Android Apps and Games] joppy:
I came across the xda app, can't believe I didn't know about this beauty. I installed it from http://www.xda-developers.com/xda-labs/ and suddenly installing was just as easy as point and tap. Wonderful. From inside the xda app I found the latest AdAway and it installed perfect. I am amazed and still overwhelmed with the amount of brainpower, energy and time the good people of xda community has put into this community over the years. And to think I have not been present for several years. Now I feel I have been missing out.

Once you downloaded the xda app, just click on it and it installs. From within the xda app you search for AdAway and then you install from inside the xda app. As simple as that. But before you install Adaway you must have rooted your phone.
[Android Apps and Games] Ellobo24:
i already have the xda app and i already have the latest Adaway app.. and its not working for me..Hopefully somebody can help me out over here.. thanks..
[Android Apps and Games] androcraze:
What device?

Is your root systemless or standard?
[Android Apps and Games] Ellobo24:
Samsung Galaxy Tab Pro.. and is standard
[Android Apps and Games] DE52:
I have the D852 G3. We use normal root and not systemless because our phones have a bootloader bypass (which is why autorec was needed). So basically, from the get go, you were supposed to install the adaway apk (from XDA labs or the OP, doesn't matter), open it, give it superSU rights and apply ad blocking. Anyway, at least you figured it out lol. The zip you were installing was only for when you install systemless root. Then you would have installed adaway the normal way either way. That zip doesn't install the app.
[Android Apps and Games] InternetMayhem:
Stoked this works super well! Thanks [MENTION=3355398]mrRobinson[/MENTION] and everyone involved in this project. Works so well on my test device I ended up putting it on all my smartphones and have been talking about how good it works for the past few hours.

I installed by rebooting to TWRP then flashed the file I downloaded from xda labs. On my LG G3 I used Titanium Backup Pro to reboot my phone into TWRP recovery. On a Nexus I just rebooted into recovery via my power off pull down, installed superSU via recovery. With my Mega I had to open King Root and allow AdAway to have root permissions, nothing popped up I had to manually do it. If you run into problems installing this saying your device isn't rooted for example make sure you have superSU installed etc.
[Android Apps and Games] androcraze:
Where are you still seeing ads? Chrome? Apps? Everywhere? Does AdAway do anything?

Did root request permission for AdAway?

What happens when you run AdAway? When you update the hosts, does everything verify OK?

In post #1 of this thread, there's a "Problems? Read this:" section. Did you try all those things?

APN/Proxy is very important. APNs can change from a given provider.
[Android Apps and Games] NBAPwns:
I installed Adaway + flashed the .zip and i have minminguard on xposed. Im guessing Youtube is the only one with ads? im still seeing ads when i play some videos. Do i need a specific youtube version? im running on latest

Also how do i remove spotify ads?
[Android Apps and Games] androcraze:
Please perform a search in this thread for "youtube". Much detailed information.
[Android Apps and Games] NLBeev:
Ads from url's listed in the hosts file are blocked.

Maybe ads in YouTube are streamed through the same url as the movies. That YouTube url is allowed. If that's the case ads can't be blocked.
[Android Apps and Games] Nergal di Cuthah:
This Adaway will not remove either of those.

Youtube ads you need the xposed module "YouTube AdAway", and the correct version of youtube (as listed in that module's thread).

Spotify, I doubt you can since it's likely that they just look like another song to the device.
[Android Apps and Games] rappa619:
I'm getting ads on www.realgm.com
[Android Apps and Games] Ja_som:
OK
[Android Apps and Games] s--c:
Add it to block list
[Android Apps and Games] Nergal di Cuthah:
That would of course block their going to the site at all. They need to figure out what the url for the ads is and block that, no the whole domain for the site they visit
[Android Apps and Games] NLBeev:
Clicked the link - no ads here on my N6. So ads are already in Adaway's hosts file
[Android Apps and Games] Nergal di Cuthah:
Why quote me. Now I'm sad :(
[Android Apps and Games] NLBeev:
There is no 'unquote' option to make you happy?
[Android Apps and Games] androcraze:
Running uBlock Origin on my desktop shows the following blocked hosts:

ads.pro-market.net

cdn2.lockerdome.com

contextual.media.net

d3ujids68p6xmq.cloudfront.net

data34.adlooxtracking.com

ib.3lift.com

pagead2.googlesyndication.com

partner.googleadservices.com

rtb-pixel-va5.everesttech.net

www.bamboocast.com

www.google-analytics.com

www.googletagservices.com

www.zergnet.com

Maybe some of these are mobile ad hosts, too.
[Android Apps and Games] s--c:
Log dns request and go to site, block host to block ads
[Android Apps and Games] :
Someone should add all this ads URLs (66 urls) from this site: https://virustotal.com/en/domain/uryzz.exclusiverewards.7113516.com/information/

to: adaway.org/hosts.txt

Yes, i blacklisted this, but i try helping others.
[Android Apps and Games] rappa619:
I tried putting the desktop ublock sites, but that didn't work either.

The ads come at the very end when the site fully finishes loading. There will be a banner at the top and sometimes another one somewhere down in the page.

http://cloud.tapatalk.com/s/57b8130a0ee1a/Screenshot_20160820-134922.png?
[Android Apps and Games] manpildo:
Add the adserver to blacklist, reboot and try again.
[Android Apps and Games] Cookie Ninja:
I don't see any ads...that too with standard host file servers of adaway. .Maybe your need to check if your hostfile list has the addresses as given in earlier posts. Adding screenshot to show no ads..

Dead Cookies leave no Trails......
[Android Apps and Games] rappa619:
Ok so I tried adding that stuff and nothing worked. Then I tried making a dns log in adaway and tried one by one. Putting the one called sp.realgm.com into the blacklist stopped the ad. Thank you everyone for taking the time to help.
[Android Apps and Games] WTF?:
cool! - I am adding this site to my blacklist as well
[Android Apps and Games] c_86:
Anyone been able to gel this running nougat yet?
[Android Apps and Games] WTF?:
:eek:
[Android Apps and Games] c_86:
Worked fine for me running MM and on stock, cm or chroma
[Android Apps and Games] WTF?:
Sorry, I was typing in two threads at once, and I typed a response referring to a different app that is not working in MM - please disregard! - lol :p
[Android Apps and Games] Broken303:
works like a charm on my 5x. don't forget to flash the systemless zip from OP
[Android Apps and Games] bogeldi:
Getting an error when applying.

"Copying of hosts file failed"

I'm on Android 7.0 with root.
[Android Apps and Games] Phrodini:
Flash the systemless zip from the first page and try again