yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] martyfender:
His point is that xda rules state that one must search first, not be spoon fed.

He is also correct that with a brief search, one can find many mentions of Adaway not being able to block Youtube ads. It is not hard to find through a search.
[Android Apps and Games] Az Biker:
* * * Thread Cleaned * * *

Let's go over a few reminders about posting in the forums.

1) Forum Rules are posted in the beginning of EVERY forum, section, fora and device for a reason; so members understand what is and isn't allowed . Please refresh your memories if you have forgotten these simple precepts.

2) Rule #1 is SEARCH before posting questions in the thread, in the event your question(s) have already been addressed. Use the SEARCH bar AND read through the OP before posting your question.

3) Rule #2 is Member Conduct; don't post rude, insulting, profane, disrespectful, attacking, off-topic, or racial comments. If your comment is NOT helpful, respectful, on directly related to the title of the thread, simply DON'T post it.

4) The unwritten Xda rule is DO NOT FEED THE TROLLS. If another member is creating trouble, don't engage them, argue with them, or add fuel to their fire. Just REPORT their comment and move along. Even "read the rules"...."use the search function" type comments only serve as food for the troll buffet. Simply REPORT them and let Moderation Staff take care of it.

This is a friendly (but serious) warning to all those involved in this latest back and forth; please don't continue. Follow the rules, disconnect your keyboard, go run 3 miles and burn off that extra energy; just don't violate the rules when you post in the threads, because your account will be reviewed for restriction or removal due to continued rules violations; ain't nobody got time for that :good:

So, now that Forum Rules class is over, let's all get back to helping out development of this Mod, and leave the drama llama stuff for social media sites.

If you have any questions about the above, feel free to PM me and I'll do my best to help it all make sense :D

Thanks for everyone's cooperation!
[Android Apps and Games] Schroeder09:
Seemingly have adaway working on Android 10. Thank God because I wouldn't be able to come to XDA without it.
[Android Apps and Games] Rihy_:
Not working...

Android 10 Magisk20.0

---

Sorry. Systemless hosts not enabled....
[Android Apps and Games] valeriee:
So just to be clear, do I need to update the hosts every few days and reboot my phone manually for this to work?
[Android Apps and Games] ktmom:
IMHO, there is an element of personal preference as to how often you need to update hosts. I use only Stephen Black's list and update when I think about it, maybe once every 4-6 weeks. Others feel it's necessary to update daily.

If you start experiencing ads that were blocked, it's time to update [emoji846]
[Android Apps and Games] valeriee:
Sorry what is stephen blacks list? And thank you for your answer!
[Android Apps and Games] ktmom:
Steven Black hosts It's been discussed many times in this thread.
[Android Apps and Games] valeriee:
Sorry if this is a dumb question but how do I add hosts? I searched this thread to no avail thanks
[Android Apps and Games] mariosaraylian:
Help Please! Copying Of Hosts File Failed

Hey Everyone:

Been using 4.2.9 for months now with no issues until a few days ago. When I go to update the hosts I get the 'ol "Copying of Hosts File Failed" error.

I tried all the regular "default" type fixes (target hosts location etc.) but no success.

Attached is a CatLog of when I try to update the hosts.

Can anyone please help me out? (the Ads are driving me insane LOL)

THANKS!
[Android Apps and Games] mariosaraylian:
Are you referring to hosts other than the standard ones that install within the app when you tap "Update Hosts"........??
[Android Apps and Games] valeriee:
Just how to install the steven black hosts
[Android Apps and Games] guest4711:
Open AdAway, open Hamburger menu, open Host Sources, press plus button (add source), fill in https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

press add.
[Android Apps and Games] valeriee:
Thank you!
[Android Apps and Games] :
The app doesn't seem to block any ads for me.

It could be because of regional reasons, but I get all kinds of ads even in apps that aren't localized and stuff.

Does anyone know about any source of hosts better than the default file supplied with the app?
[Android Apps and Games] guest4711:
If you are using mobile data connection have a look onto the settings of the access points (usually settings - mobile & internet - mobile network - advanced - Access point names). If there are any proxies defined, AdAway is bypassed. Switch to an AP without proxy or modify it.
[Android Apps and Games] ktmom:
I actually linked to the main hosts page. If you look at the page (e.g. scroll down), the README provides information about all the different "recipes" available. The RAW link plugs into Adaway.
[Android Apps and Games] jcmm11:
If I had to guess I'd say that you somehow turned off Systemless Hosts in Magisk. Verify that /data/adb/modules/hosts/system/etc/hosts exists and that /data/adb/modules/hosts/disable does not.
[Android Apps and Games] ktmom:
In addition to other advice you've been given, a basic troubleshooting step would be to ensure that /etc/hosts has been modified. It will be larger than just a few bytes, and the header of the files will stay that's it's been modified by Adaway.
[Android Apps and Games] :
How do I know if the servers there are proxies?

It was building the hosts file for quite a while, so I guess it works.

I have no idea how to get to that folder anywayy
[Android Apps and Games] ktmom:
A proxy will be listed as part of the APN settings (see attached image). Some carriers block the ability to edit the APN, but tapping on it should let you see the configuration.

If both Wi-Fi and mobile data have ads, you really should make sure the hosts file was applied correctly.

The length of time a program runs is not confirmation of success. Use a root explorer app from the play store and look at the file.

Your device is rooted, right? Depending on android version, systemless hosts is enabled, right?
[Android Apps and Games] :
The image doesn't open. This site is really useless.

I'll check the app.

---------- Post added at 16:59 ---------- Previous post was at 16:55 ----------

The hosts file is 1.7MB, so I guess it's fine.
[Android Apps and Games] mariosaraylian:
jcmm11:

Thanks for replying. That was one of the first things I checked:

/data/adb/modules/hosts/system/etc/hosts exists and /data/adb/modules/hosts/disable definitely does not.

I even uninstalled Adaway and made sure that Systemless Hosts was enabled correctly in Magisk, then reinstalled Adaway.

Same problem. The LogCat doesn't show much either which is even more weird?

---------- Post added at 04:55 PM ---------- Previous post was at 04:50 PM ----------

This site is FAR from useless. You are being lazy and not willing to put in the time to READ anything to learn how to do it correctly. The information is right in front of you.
[Android Apps and Games] ktmom:
Edit: Make sure you don't have core only mode enabled in MM.

Have you double checked the "target hosts file" is correct in preferences for your device?

What is your device?

There is a setting for verbose logging also in Adaway preferences.

Or, giving the benefit of the doubt, tired, frustrated, unfamiliar with this level of modification.

There was a problem with the image I posted, I edited and fixed it.
[Android Apps and Games] PoochyX:
Adaway a game changer

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] mariosaraylian:
ktmom:

Core Mode Only is definitely not enabled in MM. The Target Hosts file is the same as it always has been since I've used AA for years and it worked fine.

Device is an HTC-10. Target hosts file path is /system/etc/hosts.

Not sure if this would matter but Allow Whitelisting is checked in AA. I will enable Verbose Logging and run another LogCat and post.

Thanks for your help, I really appreciate it. I feel naked without AA running on the phone LOL!
[Android Apps and Games] cultofluna:
+1. Working without systemless hosts

OP6T

OB1( Android 10)
[Android Apps and Games] :
A site that is infested with ads and scripts, takes ten seconds to load and doesn't even show attachments IS useless.

From technical standpoint, not because of content. We understand each other now?
[Android Apps and Games] guest4711:
I don't see any ads here because of AdAway with standard hostsources list.

Btw you may use Fennec F-Droid (a FLOSS browser based on firefox) - https://f-droid.org/app/org.mozilla.fennec_fdroid - with ublock-origin to visit XDA without seeing ads (as long as you are having trouble with AdAway).
[Android Apps and Games] mariosaraylian:
Is this the Walrus talking right now? No, we do not, because I have NO idea what you are referring to. What site? XDA, this site?
[Android Apps and Games] TNSMANI:
MOD ACTION:

Guys, Please be respectful towards each other. And watch your language. You all know XDA's Rules, no flaming, offensive, disrespectful posts or trolling will be tolerated. Please do not invite MOD ACTION.
[Android Apps and Games] saoudien07:
Hi, I am looking for hosts sources, to block ads for steaming sites, movies and sports...

I always diagnosed, my browser, with and without AdAway enabled, enable it is blocking simple ads, as shopping, ads on sites where I am simply reading articles are blocked as expected.

Unfortunately, when I want to stream some movie or watch sport on my Tab, it is very penible, ads are opening as hell. :crying:

AdAway v.4.2.9

PS: here are the sources, I have being using for a while, some seems, to dont be able to be updated, or dead, dont know...

So I am unable to add knew sources, because I could not find new.

Thx, for any support or if somebody kind provided some sources, to be effectives ;)
[Android Apps and Games] ktmom:
DNS ad blocking, such as Adaway does, has limitations. One of those limitations is the inability to block embedded ads, ads served from IP addresses rather than domain names, basically anything that does not make a call to DNS.

If you believe that your problem is purely a domain not existing in your sources, then use DNS logging and black list suspect domains.

You might also consider a browser that supports a uBlock Origin plugin. Searching this thread will bring up multiple discussions on uBlock.
[Android Apps and Games] xdeslitx:
Adaway 4.2.9

How come I'm still getting ads in YouTube?
[Android Apps and Games] patrickdrd:
adaway cannot block ads in youtube, actually no ad blocker can block ads in youtube app
[Android Apps and Games] ktmom:
If you search, you'll find alternatives
[Android Apps and Games] Wolfcity:
Even in this thread a few pages back.
[Android Apps and Games] martyfender:
Did you, by chance, uninstall Magisk and reinstall it? If so, did you click on the systemless hosts option in settings and reboot the device to enable it, just like any other module that you install?
[Android Apps and Games] :
This site we are on obviously.

And I give up on this program, because I'm still seeing ads in Messenger, and there's not even any statistics that would tell me whether any ads were actually blocked.
[Android Apps and Games] Portgas D. Ace:
Please keep in mind that AdAway won't block ads which are hard-coded into an app (which might be the case for you).
[Android Apps and Games] :
Oh. Well, that sucks, because ads that are the most annoying are the ones inside apps!

What should I get for that, then?
[Android Apps and Games] Ultramanoid:
Don't install or use applications that have advertising code in them, not only they are annoying, consume bandwith and resources unnecessarily, but they are proven malware vectors and engage in data mining and profiling.

You also put at risk other users, not just your own device.

It's really that simple.

There's always an alternative to an 'app', and for 99% of uses it's not even another 'app', but using a well behaved and relatively secure web browser that respects the hosts file, or can be used in conjunction with uBlock Origin et al.

Edit : Not speaking out of my arse, by the way. Besides my own very real experience, here's just one recent example of many, many, many, many, MANY instances of this disgusting crap going on these days : https://arstechnica.com/information...wnloads-drained-batteries-and-slowed-devices/
[Android Apps and Games] guhvanoh:
But if things are really that bad, do what RMS does - get them to e-mail you the page and open it up in a MUA that doesn't do pics/gifs etc...
[Android Apps and Games] :
Well, what alternative to Facebook Messenger do you have? Not Messenger Lite, because it lacks a few features that I kind of want.
[Android Apps and Games] ktmom:
Facebook is driven by ad revenue. There is no way they are going to facilitate blocking their ads in their apps.
[Android Apps and Games] mariosaraylian:
martyfender:

I did not. Systemless hosts has been enabled the entire time. That was also one of the first things I tried like I posted before.

I guess I need to take more deeper verbose CatLogs...?
[Android Apps and Games] androcraze:
https://f-droid.org/en/packages/com.pitchedapps.frost/

https://f-droid.org/en/packages/it.rignanese.leo.slimfacebook/

https://github.com/sindresorhus/caprine
[Android Apps and Games] martyfender:
Did you enable the systemless hosts module in Magisk Manager settings, by clicking on it and then rebooting?
[Android Apps and Games] mrhaley30705:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Nvm, got carried away.
[Android Apps and Games] daveid:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Am I missing something? All the info there is already here, we know it was taken down, we know where to get it, and I am pretty sure we know how to use it. If there was a specific reason you shared this, please elaborate.
[Android Apps and Games] bryanchapman9999:
Thanks very much MrRobinson
[Android Apps and Games] Isambard Prince:
Appreciated as always, sir. :)
[Android Apps and Games] raiderstudent:
Choosing components to disable?

I had been using Rom Toolbox Pro to disable certain components of apps that AdAway didn't catch, such as the in-game pop-up ads in Words with Friends. Now that it's been removed, is there another way to disable these? AdAway works great for 90% of the ads, but the other 10% are the annoying ones.
[Android Apps and Games] mrRobinson:
have you tried enabling the web server in adaway? Also check this to see if it is a new domain adaway doesn't block and you can add it yourself:

https://code.google.com/p/ad-away/wiki/AdsInAppXYZ
[Android Apps and Games] raiderstudent:
Thanks, this does work but I guess I was hoping for another app that would allow me to quickly select the ad components for all of my apps, such as the annoying AdMob component. This was something Rom Toolbox Pro excelled at.
[Android Apps and Games] sindawe:
Thanks. Going to try this out!
[Android Apps and Games] AndroidOrDie:
Thank you mrRobinson for AdAway. And guys dont forget to use AFWall+ if aplication can run offline, it will kill all ads. :good:
[Android Apps and Games] takuhii:
I've started blocking some apps at the firewall, I blocked EVERY server Angry Birds was "using" and ads still came through :/

So i've just blocked angry birds at the firewall now :/
[Android Apps and Games] francescohtc:
hi guys it seems that adaway stopped working, someone experiencing ads in apps<?
[Android Apps and Games] GerManiac:
Working fine here
[Android Apps and Games] gamepro602:
you might need to add more hosts to ad-away, just don't add to much or you'll be blocking to many things:)
[Android Apps and Games] takuhii:
It is very dependent on how DEVs serve the ads. I think ROVIO hard-code there ads, so you can't block them :/
[Android Apps and Games] mrRobinson:
yea they could have easily hard coded in a dns server to use to serve the ad. 8.8.8.8 etc. if they are doing that you'd have to use a more invasive ad blocking app to block them. Typically when i've used those I'd get other issues so in this case I either live with the ads in the app or uninstall it.
[Android Apps and Games] bobbyphoenix:
Not the best solution, but if you don't want ads in Angry Birds put your phone in airplane mode when playing. You won't get any at all. At least I don't.
[Android Apps and Games] bleed blue:
+1 to that
[Android Apps and Games] takuhii:
I block some apps with a firewall now :/ Updates come through Google Play, so I don't have to worry about missing out...
[Android Apps and Games] B3!CrAZy:
What firewall?
[Android Apps and Games] takuhii:
I use Avast Mobile Security, and just block any apps that don't work at the moment with the built in firewall...
[Android Apps and Games] sirxdroid:
Be sure to install the modified version from the first post if you are on KitKat.
[Android Apps and Games] Dratinire:
Using on ICS phone right now,But thanks for the reminder :D
[Android Apps and Games] G00DFe77a:
Anyone know how to fix the issue when adaway is enabled. Pictures that people email me in the android gmail client doesn't show and is all black. I have to disable adaway for the pictures to show up. Is there something that I should whitelist to only show the gmail picture attachments and not other ads?
[Android Apps and Games] PunishedSnake:
anyone on htc one m8 4.4.2 get this to work?
[Android Apps and Games] adavit:
I've got it working with the modded version. It only works once you are s-off though I think
[Android Apps and Games] DecypherT:
I'm on 4.3 and also need the modified version. This is not an kit kat only bug.

Send from my Nexus 4
[Android Apps and Games] Nic2215:
I'm using the first link in op using kitkat without issues.. maybe rom problem perhaps?
[Android Apps and Games] gabling23:
Is the d4rken mode made for some devices in particular? I've got a moto g with stock 4.4.2 and I directly installed that version because in some post I read that it's recommended for the latest version of android.

Is this right? Or should I install the normal version?

Inviato dal mio XT1032 utilizzando Tapatalk
[Android Apps and Games] kingvortex:
For everyone asking if they need d4rken's modified version, read this and make up your own mind -

If you're having problems then use it. If not, then don't. Simple. :D
[Android Apps and Games] gabling23:
I installed directly that version and it's working, I think that I'll keep it.

Than you!

Inviato dal mio XT1032 utilizzando Tapatalk
[Android Apps and Games] iamosam:
Diff between adaway and adblockplus

What is the difference between adaway and adblockplus?

I was still getting ads even after using adaway in application called newshunt. But with adblockplus the ads are gone. Is it something to do with the host files or is it that adaway is removed from memory in between?

Anyone checked the codes? In terms of memory/efficiency and trust worthiness?
[Android Apps and Games] mltan_bdo:
Both of that blockers are the same....u must update it fron time to time to refresh your accesses..
[Android Apps and Games] iamosam:
Adaway is updated everyday and new host files are applied successfully. Still the issue persists.

The issue with ABP is after restart, once in while, supersu takes some time to grant root access to abp and it immediately starts the proxy/manual service thinking that the device is not rooted. Then I have to manually go and disable proxy and restart abp for it to work again.
[Android Apps and Games] mltan_bdo:
If you used ABP in depends upon ur connection if wifi or mobile data...in my experience in mobile data it not succesfully blocked some ads...but if wifi connection try to change proxy and host prompt on tje notification ofbir device....
[Android Apps and Games] Nic2215:
hi guys...i know adaway block ads by means of host file....not much drain though, my phone previously with same settings, same apps etc consumes about 0.5%/hour of juice under wifi screen off, now with adaway it seems like consuming 0.8% an hour. without wifi idle mode= 3.5hour/1% which is same as before having adaway*..i use gsam battery those percentage is converted based on x/100

so my question is does this use more juices under wifi? can anyone share their experience? i have untick all options in adaway except white list as thats 7.2% extra a day....asking this for knowledge sake*

thanks in advance guys
[Android Apps and Games] DecypherT:
no extra battery usage here.

Besides that, battery monitoring apps can be off chart too.

If you have disabled the background update service, Adaway isn't running on the background at all.

I think you have an app that suddenly started using (more) resources.

Send from my Nexus 4
[Android Apps and Games] Nic2215:
possible... good to know that Bro thanks. on a side note I'm using gsam pro.. adaway is still a useful app though :thumbup::thumbup:;)
[Android Apps and Games] Pedro2NR:
Anyone know how to block the ads on the game: Dumb ways to die. It shows a video clip and then the ad link.

AdAway doesn't work for this one.
[Android Apps and Games] car8266:
Try Lucky Patcher
[Android Apps and Games] DecypherT:
Watch out using those two words on XDA ;)

[MENTION=607953]Pedro2NR[/MENTION], if you are rooted with xposed module installed, you can also try using the "UnbelovedHosts" module.

Send from my Nexus 4
[Android Apps and Games] Ch3vr0n:
No, because as he says, you enable it through magisk settings. It's built-in.
[Android Apps and Games] Paschfire:
What?

Read the instructions that you were provided within [MENTION=8126387]martyfender[/MENTION]'s previous response.

From within Magisk Manager settings, enable Systemless Host from there;

MM{Hamburger menu > Settings } > scrolling down and press/enable Systemless Host.
[Android Apps and Games] martyfender:
Seriously? Search back, there are many, many, posts about this, and how to enable it.
[Android Apps and Games] mariosaraylian:
Copy Failed of Hosts File Update

martyfender & ktmom:

Here is the verbose logcat of whats going on. I am still getting the "Copy Failed" error when I try to update hosts and at "Bulding Hosts File" stages in AA.

For the sake of diagnosing, I cleared the App Data and Cache and restarted AA. When I did that it shows "Enabled Newest host filed enabled" (with the green check mark), but when I tap "Check for Updates", I see "Update Available: newer hosts files available", then I tap "Update Hosts" after it downloads the current hosts files and it says "Applying, building hosts file", that is exactly when I get the "Copy Failed" error.

This is driving me NUTS!

Thanks for any help you guys can provide!
[Android Apps and Games] ktmom:
That enhanced log didn't help [emoji6]. I was kinda hoping for the path that was being used.

I scanned back through the thread/your posts, and I don't see what version of Magisk your running.

Somewhere around Magisk 19.3, things changed for systemless hosts. I say that based on date stamps on the files on my device.

I have always had the systemless hosts setting enabled. On my device, I have (had) a /sbin/.magisk/modules/hosts/system/etc/ path with a hosts file that is older than my last hosts update. Disabling the systemless hosts, then rebooting had no affect on my ability to update the hosts file with Adaway.

The updated file now lives in /sbin/.magisk/mirror/system/etc. So I completely removed the systemless hosts module. As expected, there was no negative effect on updating hosts, and the file in the mirror path definitely is updated. I guess I missed a change log entry for Magisk.

So, if you are on at least Magisk 19.3 or newer, I think the systemless hosts module is a red herring.

This also is consistent with recent posts confirming that Adaway is working without systemless hosts enabled on A10. I'm sure there's changes were made due to the inability to mount / on A10. The entire partition is mirrored.

What OS and Magisk version are you on?