yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] realista87:
i have a blackview BV6000 (stock rom) rooted with latest superSU and i get:

"Copy failed"

Copying of hosts file failed.

i tried every target host fine within adaway but nothing changed.

i checked personally with a file manager where is situated the hosts file... and it is in system/etc/hosts ....so the DEFAULT adaway should work!!!

there is no reason it does not work.... i modded other phones before this but adaway always worked 100%. my root is 100% working on other apps and adaway is grandet persiossion on supersu app.

PS. usingsolid explored i tried to go to host file, DELETE it, but it can not be done!!....i don't know why, seems like the original host file CANNOT be replaced with another host file , neither cancelled.
[Android Apps and Games] githyanki:
Please provide a log so someone can help you.
[Android Apps and Games] realista87:
can you teach me how to log properly? i neved did this. i go to preferences, i flag debug logging, i forceclose the app, i reopen it..........but now? what to do?

i continue to have the same error i go to "log dns requests" i active the tcpdump.... i see "tcpdump is running", i test another time the apply of host, same error, i enter to log dns..... i clock on OPEN LOG FILE but LOG FILE IS EMPTY.
[Android Apps and Games] androcraze:
The tcpdump is useful for determining what ad servers are in use.

AdAway isn't working on your device. Look at CatLog or MatLog; both provide Android information logs, not ad server logs.
[Android Apps and Games] jcmm11:
What version of Android is the stock ROM?

Is SuperSU-SR5 (latest SuperSU) installed in sbin mode? (Default for Oreo, manual configuration for Marshmallow (I think it's available) and Nougat (for sure it's available).

If not in sbin mode did you enable systemless mode in Adaway's preferences? If no try that and reboot. If yes provide log.
[Android Apps and Games] realista87:
1)i SOLVED the problem activating systemless mode and rebooting, BUT..... i never acvitated systemless mode because i've always thought that supersu operates at SYSTEM LEVEL root...... and instead magisk systemless!! am i stupid or what? now supersu works systemlessy?.....:confused:

2) my android is 6.0 and i used latest STABLE supersu ( not R5......that is beta) , and sorry but IDK what is sbin mode ( is it maybe not available on stable 2.82 but ONLY availabe in beta releases ending in "SRx" ???) but i googled and found this https://plus.google.com/+Chainfire/posts/YCoHDpNaY38 and sorry i still continue to not undestrand because it is a very technical question..... and i am not too much into programming or linux.

3) in every phone rooted with supersu i NEVER activated systemless mode into adaway...... because i was sure it was a SYSTEM ROOT ....but hey at the end seems that i am wrong :( and i always known the bad info ... but please tell me that there is something true in what i say
[Android Apps and Games] jcmm11:
It was a system root until Android 6.0. It then became systemless due to changes that Google made to Android.

Yes, sbin mode is only available in the latest SR releases. If you're running 6.0 you don't need to worry about it at all. (Just a note that SR5 is very stable. If you ever upgrade to Oreo you'll need it. I suspect that if Chainfire hasn't retired from SuperSU it would have been released as a stable version by now. But I'm guessing).
[Android Apps and Games] realista87:
so... my root should be at system level...... but adaway only works if i flag systemless, and also if i MANUALLY find the host file and try to delete or replace with another patched one..... I CAN NOT DO THIS...... like if the host file is unmodifiable, even if in the attributes i read that the owner is R and W permission
[Android Apps and Games] ktmom:
To understand what's happening with Adaway, it will help to understand what's happening with root. It kinda sounds like you've missed the last two years of progress because you have been on an older OS release.

First, determine whether you're rooted system, or systemless (plus if you are sbin).

Using a terminal app, enter "which su" (without the quotes). If the result returns:

"/system/xbin/" that would be a system install. Which means the root binary is on the system partition.

-or-

"/su/bin/su" or something similar, that is a systemless install. Which means the boot image (kernel) had been modified, and a symbolic link is mounted during the boot process for the host file pointing to a non-system partition location. This is done to maintain the integrity of the system partition on "modern" android releases.

-or-

"/sbin/su", you guessed it! That would be sbin mode.

Another way to determine system/systemless if you are using SuperSu - in the app settings, look for an option to install SuperSU as system app. If it's greyed out and the text reads that this option is not available, you are using systemless root.

When installed in systemless, the only way to completely remove root includes a proper uninstall based on the app's instructions AND reflashing the original unmodified boot.img (kernel). Most installs of root back-up the original, untouched boot.img before modifying it and a proper un-root will restore that back-up.

If you don't care about systemless root, you're fine with the system partition being modified, then look for the thread for supersu system version. It will always install the latest release in system mode.

Adaway must be told if you are using systemless install of SuperSu. Thus the checkbox for systemless. You should be using the developer release (Feb 2017?) of Adaway. If you have been making multiple attempts to get Adaway to work, for example, with out systemless checked, setting different paths for the host file, ect. Then it would be simpler to start over.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] Lownita:
What's the best way to get ad blocking working on oreo roms, since adaway needs to be updated first? Is it still possible to manually change the host file with a file explorer maybe?
[Android Apps and Games] ilatimer1:
Adaway works fine on Oreo. I am running it on my Pixel 2 XL just fine.
[Android Apps and Games] xdamatter:
. If ya really wanna help people by sharing sumone else app then why don'tya upload good n working app ...
[Android Apps and Games] Nergal di Cuthah:
Works fine on my, and many others', device. Maybe take a short breath and try to explain your situation; i'm sure somebody can help you getting it up and running right, if you produce the needed information.
[Android Apps and Games] franciscofunes2:
It worked for me

Enviado desde mi GT-S7562L mediante Tapatalk
[Android Apps and Games] nokkenas:
AdAway doesn't work on my Oneplus 3T Oxygen OS 5.0 (Oreo). System is rooted using Superuser.
[Android Apps and Games] jcmm11:
Use superuser-sr5. Needed changes to Adaway have been entered into git but haven't been released yet.

In the meantime https://xdaforums.com/showpost.php?p=73379577&postcount=10868
[Android Apps and Games] nokkenas:
I'm using Superuser SR5 but ads still show up in some apps where it used to be not showing.

Good to know that, I will be trying it. Thank you very much.
[Android Apps and Games] AndroidHtc101:
The amount of help people give on this thread is amazing. Just shows how xda is such a thriving community with people who know their stuff :)
[Android Apps and Games] guest4711:
So either try more/other host sources (e.g. https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext ) or use the dns logging feature of AdAway to find the adservers your apps will use. Add these to your personal blacklist.

Don't forget to reboot after applying ;)
[Android Apps and Games] patrickdrd:
question: is mydomain.com different from www.mydomain.com in adaway?

I mean do I need to block them both?
[Android Apps and Games] ktmom:
No, you shouldn't use the "www." prefix. However, subdomain.mydomain.com does need to be blocked separately.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] patrickdrd:
I don't think that wildcards apply to hosts files, sorry
[Android Apps and Games] ktmom:
Yes, you're right. Brain fart ?. But don't use www prefix

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] patrickdrd:
are you sure? can you test for me because I'm at work and I connect to the internet through a proxy and so I can't check myself,

e.g. if you block google.com and you type www.google.com will you connect or not?
[Android Apps and Games] guest4711:
Yes, to be on the safe side you should block mydomain.com and all required subdomains like www.mydomain.com, ads.mydomain.com, subdomain.mydomain.com (even if they point to the same ip addresses) (unfortunately wildchars or regular expressions are not supported in host files)
[Android Apps and Games] jcmm11:
Point of reference - Wildchars are supported in Adaway for whitelists, but not for blacklists.

Easiest way to add required domains to blacklist is via the DNS logging function, then you don't have to guess at the subdomain names.
[Android Apps and Games] K2silver:
Okay anyone else noticing increase frequency of ads on instagram app android?? I'm rooted superman rom 2.8 running adaway updated BUT still lots of ads showing up on my feed. I hate it.... Is there a patched app like OG YouTube????
[Android Apps and Games] mitchdickson:
No, I didn't. Probably because I don't use that garbage app.
[Android Apps and Games] mtk_xda:
Thanks
[Android Apps and Games] xflowy:
systemless hosts on or off?
[Android Apps and Games] Markeee:
Which would be the best latest and greatest version of Adaway for me to install on my rooted pixel c running latest stock Oreo and the latest SuperSu ---SR5-SuperSU-v2.82-SR5-20171001224502 ?

Do I have any different or better options if I switch over to Magisk instead of Super?
[Android Apps and Games] patrickdrd:
/AdZHosts was removed from dug30.fr :confused: :eek:
[Android Apps and Games] Doenerbude:
The app doesn't work systemlessly with Magisk.

The systemless option is greyed out and can't be activated.

With SuperSU systemless works like a charm.

Any chance to get this fixed?
[Android Apps and Games] kishd:
Why not just enable systemless hosts in Magisk itself under settings?
[Android Apps and Games] Doenerbude:
As far as I understood the discription it works only a hosts file from someone called Steven Black. With AdAway I can use several hosts.

Isn't it?
[Android Apps and Games] Pkt_Lnt:
Yes, in process.

(Seems I answer this about once a week. Guh.)

https://xdaforums.com/showpost.php?p=74119415&postcount=9977
[Android Apps and Games] guest4711:
If you enable systemless hosts in MagiskManager the ${magisk}/.core/hosts is mounted as /etc/system/hosts. (I think you were speaking about the magisk module "unified hosts adblock" which claims to be an alternative solution to AdAway)

After switching from SuperSu to Magisk I had to deinstall AdAway, enable systemless hosts in MagiskManager and reinstall AdAway. After fetching my hostsources everything was fine.
[Android Apps and Games] kryzeK:
Please, how block "Facebook Audience Network" ads?
[Android Apps and Games] Accerty:
Thanks ,
[Android Apps and Games] AndroidHtc101:
You can do this for any individual app.

Disable adaway ad blocking, then run Log Dns Requests in settings. Force close Facebook. And close any other apps running in the background.

Run the Facebook app then check the Dns requests log and find the url. It's a lot of trial and error sometimes to find the right ones. add blacklist the urls selecting add.(hold on the url to add to your blacklist)

You may even find alot of ad networks that need blocking.

Then enable and update your adaway hosts.

Always reboot device after applying new hosts.

For Me logging Dns requests is one of the best feature of adaway:)
[Android Apps and Games] Markeee:
Whats the best way to install this on the latest android 8.1 with the latest magisk 14.5 to get the best bang for the buck strongest ad blocking
[Android Apps and Games] rjm831:
Why does Adaway not have an option in Log DNS to add an entry as a Redirect - it only allows white or black listing.

If I wish to move entries from black to redirect, is there an easier way than manually item-by-item?

Thanks all.
[Android Apps and Games] guest4711:
Cause nobody has implemented it, yet. But it is open source and commits to the source are welcome afaik. You may create your own fork, too. See https://github.com/AdAway/AdAway
[Android Apps and Games] snakx:
Other link for adzhosts https://netix.dl.sourceforge.net/project/adzhosts/FORADAWAY.txt
[Android Apps and Games] kryzeK:
Yes, I try this, added fb ad networks for blacklist but don't works. Still showing ads on app (ADM - Advanced Download Manager)
[Android Apps and Games] ktmom:
You have to do the dns logging when using the ADM app. If the app is not using host name, but rather the server ip address, there is nothing Adaway can do about it.

I don't have this problem, but I paid for ADM pro ?

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] tinko975:
This blocks good.. thanks..
[Android Apps and Games] godzulu:
Using v3.2 on a couple of devices, Nexus 6p and Pixel 2 XL. Been noticing the attached "placeholder" where ads would have been. Has it always been this way? I swear I've only noticed this recently, but I could be wrong

Pixel 2 XL
[Android Apps and Games] guest4711:
You should enable the internal webserver of AdAway to avoid the error-message (AdAway -- settings -- preferences -- enable webserver).
[Android Apps and Games] Markeee:
Is there a specific technique to make 3.2 work with the Flipboard app ?
[Android Apps and Games] Nergal di Cuthah:
Works fine for me in articles, still see the interspersed full page ads but tapping them opens a blocked page
[Android Apps and Games] ktmom:
Try adding ad.flipboard.com and graph.facebook.com to you block lists. It seems to help for me. I found those by using the dns logging feature of Adaway then opening flipbook.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] antonigaming:
Can't login to Messenger when Adaway is on. Is this a known issue?
[Android Apps and Games] mitchdickson:
The effect of AdAway is solely based upon the source host lists you have chosen to merge.

With that said, I have no trouble because I won't use anything produced by Facebook.
[Android Apps and Games] antonigaming:
I'm using the default hosts + MoaAB. It used to work till 2 weeks ago. I can't not use Messenger tho. Kinda one of the main communications platform here
[Android Apps and Games] mitchdickson:
Well why don't you try it after deactivating MoaAB?
[Android Apps and Games] androcraze:
If only this had been asked before....

https://xdaforums.com/showpost.php?p=74477891&postcount=10116
[Android Apps and Games] godzulu:
Thank you

Pixel 2 XL
[Android Apps and Games] antonigaming:
Sometimes, circumstances are changing and there's no one definite answer lol. If only there is always one answer hmm
[Android Apps and Games] shaqman89:
In this case, the given link is always the answer, since it's just a procedure to get to the definite answer.
[Android Apps and Games] xmascious:
I think this app need an update..

let us search/find for a whitelist/blacklist entry..

i have plenty of blacklist, finding the one i need to edit by scrolling manually is quite.. sucks.
[Android Apps and Games] ktmom:
I'm sure there's a refund policy. Oh, wait...

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] guest4711:
If your lists are to big to search manually use the export/import tool (three point menu on blacklist). Export all lists, use your favorite editor to search/replace/change some entries and import afterwards.
[Android Apps and Games] IronTechmonkey:
In my experience with Adaway, through 4 years, 5 Android versions and hundreds of ROM flashes, it has been one of the least problematic, most reliable, and easy to use apps among the core group that I install on every ROM.

That being said, everyone has different likings, so if you feel strong enough that it should be redesigned perhaps you could redesign the UI and let others test it.

[EDIT] The good suggestion in the previous post deserved more time at the end of the thread but I had not seen it when posting: https://xdaforums.com/showthread.php?t=2190753&p=74860766
[Android Apps and Games] xmascious:
Is there any "bad phrasing" from my part?

English is not my 1st language.

I also don't have any single problems with this app..

It wasn't a complain.. just suggestion.
[Android Apps and Games] androcraze:
No. It's not what you said. Every 10th post seems to have the poster asking "is this app dead" or imply that the application doesn't work correctly. Feathers get ruffled, as the majority of users are quite happy with the app.

The app works, and it works well; it's a simple hosts-file modification tool. It facilitates the importing of hosts files from multiple sources, it sorts those entries, and writes the entries to a consolidated new hosts file. As a bonus, the developers "threw-in" a tool to help identify ad servers that aren't included in added host entries.

Experienced users get agitated when suggestions are made about turning it into something it's not: a database, a conversion tool, or any of the other odd requests that crop up from users that don't understand the concepts behind hosts files and sorting.

A search tool when trying to find multiple entries might be helpful. In reality, it could be the same code potentially used in multiple places in the app. I'd go to the AdAway GitHub page and add it as a suggestion under "Issues". I could see a benefit for some users, as long as the implementation makes sense.
[Android Apps and Games] xmascious:
Sry. Ignore my moaning..

Go continue what's more important.
[Android Apps and Games] ChazzMatt:
Example I replied to, as if you needed examples. ;)
[Android Apps and Games] androcraze:
Again, what you posted was a good idea. I'm not saying otherwise.

Put in a request. GitHub is where the development happens, not here.
[Android Apps and Games] IronTechmonkey:
OT. In the interest, of communication:

I must confess that the phrasing was part of my perception particularly regarding "sucks", which turned me away from the suggestion you made. Suggestions might be better received with phrasing such as "it would to easier to perform X task if Y change was made". Also, no criticism from me about English as a second language. I only speak good English and bad English and that's less languages than you are handling.
[Android Apps and Games] kellybrf:
after going a year stock with my pixel XL and using adguard I decided to root my 2 XL to come back to adaway. I'm now stock rooted with magisk beta and just installed the Feb Dev version of adaway. for the most part it seems to be working, but on the verge I still get placeholders for ads (I've enabled the webserver.) I've only tried a handful of sites and thus far the verge is the only outlier, any ideas?

secondly, the systemless mode is greyed out in preferences. I've enabled systemless hosts in magisk, and i still pass safteynet so it doesn't seem to be effecting anything. is the adaway setting something I should worry about? thanks!
[Android Apps and Games] guest4711:
Welcome back!

1. Perhaps the place for the advertising is reserved in the webpage by declaring a fixed height or width. AdAway does not change any data the browser displays. To remove the unused space you need a browser addin like ublock-origin...

2. If you install Magisk before AdAway AdAway will detect the systemless mode and use it. No need to change any settings (and yes, it's greyed out. Don't worry...
[Android Apps and Games] kellybrf:
thanks. good to know about systemless. I just found it odd because I'd never had that problem before with the placeholders, I'll have to look into it more and see if it pops up on any more sites
[Android Apps and Games] AndroidHtc101:
Hi all

After running log DNS requests, I came across

Pgl.yoyo.org should I block this? Anything to be concerned about..?

Thank all
[Android Apps and Games] Bakica:
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext is a host source, check in your host source list
[Android Apps and Games] AndroidHtc101:
Thank you for clearing that up, your right!
[Android Apps and Games] Dyeck:
why systemless mode can not be clicked
[Android Apps and Games] RedSkull23:
Search before posting and you'll have the answer.
[Android Apps and Games] mondohow:
Search the thread. This has been answered in detail many times.

Short version: if rooted with Magisk, select systemless via the Magisk interface until this is fixed.
[Android Apps and Games] Pkt_Lnt:
https://xdaforums.com/showpost.php?p=74867343&postcount=10208
[Android Apps and Games] Dyeck:
Thanks you sir
[Android Apps and Games] nixie2121:
quick questions

is this the best ad blocking app for android?

I see some people Enable the web server option, is this something I should do? check both of them? I had an older version that updated 4 of 4 sources, I just installed the February release and it is 3 of 3 sources, is that normal?

thanks for any answers and suggestions.
[Android Apps and Games] osm0sis:
AdAway if you have root, Adguard if you don't/can't have root and have some money instead. :p

Webserver and redirects are good, that way you don't get errors from the blocks. I still have the old 4 sources on all of my installs, I think it's just the non-https one that got left out? It wasn't because of any issues that I know of.
[Android Apps and Games] KOAO:
Alright, so I've tried searching for this issue and I can't seem to find it or I might have searched wrong. Basically, I am on Android O and have installed Magisk and TWRP on my U11. I tried to toggle the systemless hosts toggle in Magisk to try and get adaway to work, but it just says copy failed. And when I flash the Systemless Host Zip file I had laying around, it still fails. WTF am I doing wrong? I've already reflashed TWRP and Magisk and have done a factory reset and it still does the same thing. I even allowed for system modifications within twrp and it's still doing it. Unless Adaway doesn't support Android 8 yet (Which I doubt) I am at wits end here right now.

Can anyone help me out with this?

EDIT: Never mind, it looks like I have to do this if I am on Android O

https://xdaforums.com/showpost.php?p=73379577&postcount=10868
[Android Apps and Games] ktmom:
On O, make sure you are using the latest Magisk beta (14.5?). Twrp is not involved so take that out of your equation. If you are already on the latest beta, and toggling systemless hosts *in Magisk* is not working, get logs covering the time that you do the toggle and report it over in the Magisk area.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] KOAO:
Alright, so that seemed to work. Thanks for that!
[Android Apps and Games] KomitaMKD:
Yesterday was working i formatted my phone and now it's not working. Help?
[Android Apps and Games] ktmom:
That is so not enough information. What root, ROM (6, 7 or 8), device? You "formatted" your phone, do you mean a factory reset? You would have to completely reinstall everything from scratch, root first, then Adaway.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] k4rn8g3:
I think Blockada is the best for non Root ad blocking..
[Android Apps and Games] guest4711:
I'm using AdAway (with webserver) on rootet devices, DNS66 else. Both in the flavour of f-droid:

- AdAway (Block advertisements) - https://f-droid.org/app/org.adaway

- DNS66 (Block ads/hosts via DNS) - https://f-droid.org/app/org.jak_linux.dns66

I use 1 host source on both solutions: https://secure.fanboy.co.nz/r/fanboy-complete.txt

and don't see any advertising (but mileage may vary).