yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] osm0sis:
Nothing to do about that, in a website most are div/spans and out of the scope of a hosts editor to be modifying html before it reaches your browser, in an app they could do it multiple ways, and it would still be very much out of scope for AdAway to be modifying running apps on-the-fly in memory to try and remove things like that. Xposed is pretty much the only way to do that.
[Android Apps and Games] tag68:
Does this mean you just fully agree with my statement regarding that app?
[Android Apps and Games] osm0sis:
Haha, yeah if Xposed isn't an option then your answer is the only one. ;)
[Android Apps and Games] tag68:
Besides the fact that the person who asked told that for his nougat XPosed is not available by now, I'm not sure if it would help. Did you test it?

I never saw some space reserved with the text advertisement. My guess is that this app is differently implemented regarding ads than other apps. You are sure that minminguard on XPosed still would help?

Please feel free to test it like I did, but I currently do not use XPosed, I'd be interested if it would help - and the person who asked the question sure also.

This is the app

https://play.google.com/store/apps/details?id=it.pinenuts.androidnoticias

Guess this is off topic here, if you post the answer in another thread, please put a link here.
[Android Apps and Games] osm0sis:
No idea.. and unfortunately no time for random app installs today.
[Android Apps and Games] jcmm11:
Bind needs a target to mount on top of. If there's no existing /system/bin/su then trying to

mount -o bind /su/bin/su /system/bin/su

Will fail
[Android Apps and Games] tag68:
[MENTION=6576659]pupido[/MENTION]: there is a setting in your news app regarding the position of the ads. First and default is "unten" (German for below). Second, middle one, is "nach die Lesung" which is probably broken German for "after article". If I take this second option, the text is gone. Just using AdAway.
[Android Apps and Games] tinko975:
On cyanoged 14.1 in newest tapatalk apk adaway blocks all ads!
[Android Apps and Games] pupido:
You are great! I finally solved.

For this we need a forum. Not to those who invites you to uninstall an app ...
[Android Apps and Games] tag68:
You're welcome. But one remark:

Please have a look at your first post. You wrote how to get rid of the text advertisement, nothing else. Imagine if someone reads your question how he can reproduce or imagine your problem: before you wrote which app is concerned, no one was able to help! We could have achieved this much faster. Next time please give more informations (under which circumstances does it occur, where does it occur, a screenshot, log files) when asking. This not only speeds up the process of helping, but also increases the chances that someone is willing to help a lot.

Btw that app (Android-related news feeds) is really nice.
[Android Apps and Games] pupido:
You're right. Thanks for the suggestions.

Also, I'm glad I made you discover a nice app.
[Android Apps and Games] Rom:
Big thanks for your app ! :good::good:

There is 2 years that i use it, its as always run perfectly.
[Android Apps and Games] androcraze:
The feeds themselves are in Italian, right (no translation is needed)?

Why not just use Flym (https://play.google.com/store/apps/details?id=net.fred.feedex&hl=en)? It's open source and ad-free.
[Android Apps and Games] pupido:
Yes. No translation is needed.
[Android Apps and Games] jerryn70:
Ads amazon india app and iobit app lock
[Android Apps and Games] patrickdrd:
does somebody care to answer my questions???
[Android Apps and Games] gozzaa:
Is there a replacement for https://hosts-file.net/ad_servers.txt?

Seems to be down some time now
[Android Apps and Games] NLBeev:
1) in dns logging I see some entries that don't make sense, e.g. kdtwgsdfgyer, ersdgsdfgyegsa, etc,

It happens that the log file has this kind of rubbish; ignore it;

2) is the hosts file backed up too when we take adaway backup in titanium?

The hosts file is a system file. It's only managed by AdAway .

3) why are hosts-file & stevenblack sources disabled?

Don't know.

4) Greek text

AdAway has different language modules; see

http://adaway.en.uptodown.com/android

Hope this will help a bit.[emoji1]
[Android Apps and Games] patrickdrd:
thanks a lot, I wouldn't want a greek version, I'm fine with the english one,

I prefer my apps in english,

the last question remains: why no luck with uc browser?

why when I try to open an adaway-blocked url it does open,

independently of whether I have cloud-boosting (this should be similar to chrome's compression I guess) or not?
[Android Apps and Games] androcraze:
First group:

- No idea what those odd entries are; they're not domains, so it's not an issue for the hosts file or AdAway.

- I don't use Titanium BU. If it backs up /data and /system, it should back up the hosts file.

- If you have entries that aren't available, it means that it wasn't able to find or apply the link; the link is off-line, the file is corrupted, or the file is in a format that AdAway can't resolve. hosts-file.net works and applies fine on my end.

I answered the second batch here, or I thought I did: https://xdaforums.com/showpost.php?p=70391625&postcount=8015

- Answered part of the second batch above in the first batch.

- Again, per my linked answer above, the three default hosts sources are plenty and offer more than enough protection; I'd disable the rest. It's your phone, and the provided are suggested links only; you don't have to use any of them. The hosts-file.net entry is the default list that other hosts entries recognize (if it's on hosts-file.net, the other sites exclude those listings from their file).

- hosts-file.net is current and pruned regularly; if you're adding additional lists of dead-entries, you're just slowing down your phone.

To check:

https://www.reddit.com/r/ublock/comments/3zri4j/does_anyone_know_any_ad_filled_websites_to_test/

http://digiday.com/publishers/is-this-the-worst-page-on-the-internet/

http://ads-blocker.com/testing/

https://www.quora.com/Which-website-has-the-most-ads

https://answers.yahoo.com/question/index?qid=20110406213934AAuP7Dr

Opening the sites in the hosts file doesn't mean anything. You're not blocking those sites; you're blocking ads PUSHED from those sites.
[Android Apps and Games] patrickdrd:
thanks a lot,

of course I understood the answer to the previous question and I have 3 host sources since then,

I unchecked everything else,

however, regarding testing, I opened the links you posted but I don't understand how to test,

e.g. on milliondollarhomepage I see many many ad pixels,

what do you see?

p.s. for your information, I changed the redirection from 127.0.0.1 to 0.0.0.0
[Android Apps and Games] androcraze:
Pick an ad-ridden site. Try it (after rebooting) with AdAway enabled. Disable AdAway, reboot the phone, and try the same site again.

If you're not seeing the difference, then AdAway isn't working.

Why are you redirecting from 127.0.0.1 to 0.0.0.0? I leave it as-is.
[Android Apps and Games] Ultramanoid:
From Steven Black's hosts site at GitHub :

Edit : I've always used 0.0.0.0 and it works perfectly.
[Android Apps and Games] patrickdrd:
It seems that I had to disable both cloud boost AND ad blocker in uc browser,

I tested successfully in a porn site, as suggested in reddit post,

but hosts-file doesn't download, indeed, if you click on the link you'll see that the server is down
[Android Apps and Games] androcraze:
https://hosts-file.net/ad_servers.txt works fine for me
[Android Apps and Games] patrickdrd:
ok, I found what the error was:

https://hosts-file.net/ad_servers.txt doesn't work, while

http://hosts-file.net/ad_servers.txt works just fine.

tested also with the fully loaded 4,59mb and ads were shown,

while they weren't with the 3 default hosts!
[Android Apps and Games] androcraze:
Well, that's good to know if I need to run a web server from my phone ;)

I'm sure there's an Xposed module to do that....
[Android Apps and Games] patrickdrd:
I like this page too for ad block testing:

http://simple-adblock.com/faq/testing-your-adblocker/

while both boxes show "tested ok" in firefox with ublock,

both return "not working" in my browser with adaway,

I suppose because adaway works in a different way

and doesn't know how to block a gif like:

http://simple-adblock.com/adblocktest/files/adbanner.gif
[Android Apps and Games] ChazzMatt:
Unless somebody paid to have that picture posted to sell something, it's not really an "ad". ;)

Point is, unless you are trying to block all pictures/graphics or something, Adaway works by blocking known ad servers. Unless that graphic is being sent from a known ad server, then it won't be blocked.

If you REALLY want to block that test picture, you can always add the source manually to your Adaway black list... :)
[Android Apps and Games] patrickdrd:
correct,

but ublock blocks based on keywords, so that adbanner shouldn't appear under any circumstances,

as I said it's a different implementation,

I also noticed that blocking works even with browser's cloud and ad-blocking turned on,

while it wasn't before, so, should be something with previous misconfiguration of adaway or something

(downloaded and reapplied the 3 default hosts )
[Android Apps and Games] NLBeev:
I am using AdAway completely default.

The current hosts file is 'only' 1,73Mb.

It was a short time ago 2,01Mb; that proofs imo that the recourses are maintained and obsolete entries are removed.
[Android Apps and Games] patrickdrd:
I think mine is less, 1,64, it should depend on custom entries too
[Android Apps and Games] NLBeev:
OK; mine hosts file has no custom entries.
[Android Apps and Games] pixel0:
Mine host file is about 3.1mb. Even ads are not blocking everywhere.

Most annoying is Facebook audience network which can't be blocked in many apps by adaway.

If adaway also take local vpn approach then it will be better and block every ad.
[Android Apps and Games] jshamlet:
Onboard VPN doesn't come for free, though. You take a performance hit when you do that. It would be a nice option, but make sure it stays an option.

Also, people seem to forget that root users can also control ipfirewall, which can absolutely block apps that have no legitimate reason to have network access. Obviously that doesn't help with services like Facebook, Twitter, etc., but it is an option for apps that only use the network for ads/telemetry.

I personally use both the firewall and AdAway in tandem to great effect.
[Android Apps and Games] NLBeev:
Me too. One remark for users without root. There is a 'noroot firewall' in the Playstore.
[Android Apps and Games] pixel0:
Which firewall app r u using?
[Android Apps and Games] s_baig:
Thank You

Helped a lot...thank you
[Android Apps and Games] jwds1978:
Myself, I use AFWall+ (Beta) Donate to control iptables.
[Android Apps and Games] shaqman89:
Please don't quote the op if it's not necessary. It keeps the thread slim.

Also, there is a thanks button just for a simple thanks.
[Android Apps and Games] jshamlet:
AFWall+ 2.9.1
[Android Apps and Games] admiralspeedy:
Has anybody got this to work on CM14.1? It worked fine on CM13 for me but on CM14.1 the OS seems to totally ignore the host file.

I've enabled systemless mode and Adaway updates the host file just fine, but it doesn't block any ads. I noticed specifically in MX Player, the ads are blocked fine on CM13 but not at all on 14.1.

I've tried removing my APN proxy, changing the location of the host file and clearing app caches and even in Chrome I can go to any of the sites that are blocked in the hosts file.
[Android Apps and Games] osm0sis:
Working totally fine on my Nexus 5 and Nexus 7 2013, both running the final CM14.1 build. One is systemless hosts and one is system hosts (since bind mounts trip SafetyNet ;))
[Android Apps and Games] Ultramanoid:
Working perfectly on CM 14.1 and Lineage builds, in different devices.
[Android Apps and Games] LazerL0rd:
Nice to see someone else who does this :victory:
[Android Apps and Games] admiralspeedy:
Did you have to change anything. It seems like my Nexus 6 is just totally ignoring the hosts file..
[Android Apps and Games] githyanki:
See if data saver is on in chrome options.

Other reasons could be a proxy setup in your APN...
[Android Apps and Games] admiralspeedy:
Already mentioned that I didn't have data saver on (it's not working in any app anyways) and I don't have a proxy set in my APN (it also doesn't work on WiFi, so again that's sort of irrelevant).
[Android Apps and Games] Ultramanoid:
I have full proper root and extensively modified system, but nothing that would affect how the hosts file works. However I checked with default installations and AdAway as-is, and no problems either.

No need to run a server to benefit from a 0.0.0.0 configuration. ( Personally I use Android devices as computers, which they are. All in all a total of two phone calls - emergencies - on my daily smartphone last year, which rarely uses the -phone part. To each his own. )

The reliable and well known hosts file by Dan Pollock, that has been maintained and curated for years, also has a 0.0.0.0 release. Not uncommon.
[Android Apps and Games] LazerL0rd:
Well, this is the first thread I've been on about host files :p. Also, do we have a DNS cache? Stopping it on Windows improves performance so...
[Android Apps and Games] naudmick:
The application no longer works on Galaxy S7 and Android 7, a solution exists?
[Android Apps and Games] osm0sis:
Thanks for the detailed bug report. Here's an equally detailed answer: it works for everyone else. :good:
[Android Apps and Games] NLBeev:
AdAway creates a hosts file from 3 resources.

After that AdAway can even be uninstalled and ad-blocking will continue.

You need to check with a rootexplorer if there is a hosts file present in system/etc. Size about 2Mb. If not it's possible that there's not enough space in the system partition. Search in this thread for "systemless" to find a solution.
[Android Apps and Games] admiralspeedy:
Actually, it's not working for me either. My phone completely ignores the hosts file.
[Android Apps and Games] ChazzMatt:
And you provided fantastic detail about phone model, Android version, even ROM, your root method -- so you'll have 500 volunteers coming to your house tomorrow to personally fix your issue. ;)
[Android Apps and Games] admiralspeedy:
Wow, a bit hostile, hey?

I did provide all of the information two days ago when I asked the question. I'm using a Nexus 6 with the latest systemless SuperSU on the last official build of CM14.1 from December 25th. I've enabled systemless mode in the app and I've confirmed that it updates the hosts file just fine, but my phone totally ignores it. I can browse and ping every host in the file on both WiFi and data(with no APN proxy) and I don't use Chrome's data saver option.
[Android Apps and Games] ChazzMatt:
Nope. Just responding to your post. The point made to the previous poster was lack of information -- and then in direct reply to that valid criticism you seemingly provided even less information, saying it also doesn't work for you.

If you really wanted help you could even reference your previous post? Quote it, give the URL, or just say "I provided lots of details but it still doesn't work for me".

If you did provide more detail in some previous post days ago, why risk being categorized as a slacker like him? You should reference the post, even if just to bring it to people's attention again.
[Android Apps and Games] osm0sis:
Last official CM14.1 build and all is working fine here on my Nexus 5 and Nexus 7 2013. Nexus 5 is a system install. Nexus 7 is systemless.
[Android Apps and Games] Ultramanoid:
If the hosts file was correctly created by AdAway ( I believe you have checked and it was ), then AdAway has done all it does, really.

Now, why your system bypasses or ignores the hosts file is certainly an issue, but not with AdAway.

Give it a try with Firefox, which is Chrome and WebView independent, just to see what happens ?
[Android Apps and Games] admiralspeedy:
The thing is, testing Firefox is sort of pointless because the hosts file doesn't work anywhere. I can ping anything on the list in the terminal and ads that were blocked in MX Player on CM13 just fine also show up now. This was a clean install of CM14.1 and I didn't dirty flash over 13 but I may just try a fresh install again.
[Android Apps and Games] IronTechmonkey:
I'm not sure about the larger situation but MX Player uses a type of advertising that circumvents the hosts file. If you run the Scan For Adware feature MX Player should be detected.

LOL, as I tested to confirm the above I see that WPS Office started circumventing the hosts file so thanks for mentioning MX or I'd have missed that. Fortunately firewall takes care of them here.
[Android Apps and Games] admiralspeedy:
Did MX just switch then? On CM13 the host file blocks all of the ads in MX just fine.
[Android Apps and Games] Mesmurized:
I also use AFWall and blocked all network access for MX. Guess that why I never noticed ads.
[Android Apps and Games] IronTechmonkey:
MX Player has been detected by that scan for as long as I can remember (a year or 2) but since I firewall MX anyhow I'm unaware of and change there may have been between Adaway and MX Player.
[Android Apps and Games] admiralspeedy:
Well, I know for a fact that ads were blocked in when I was still using CM13 last month. There are two specific locations that is shows ads, one at the bottom of the file list and one in center of the screen when you pause a video, neither of which ever showed when I used Adaway on CM13. In fact, those ads showing up for me is what tipped me off as to my hosts file not working, but I only use MX to play podcasts on the bus to my University and I upgraded to CM14.1 on our winter break, so when I started using MX again I noticed instantly that the ads were there.
[Android Apps and Games] Ultramanoid:
Stop using and supporting adware. There's a permanent solution, and the right one.

Not like there's a lack of powerful, clean, open-source and free players for Android, such as VLC or Kodi. Donate to those projects while you're at it.
[Android Apps and Games] NLBeev:
When systemless mode is not working it's possible that the folder system/etc is not bind to another location or to a wrong location.

Check the AdAway script in su/su.d.

The default script is : mount -o bind /su/etc/hosts /system/etc/hosts;

A rootexplorer must show identical hosts files in the locations mentioned in that script.
[Android Apps and Games] admiralspeedy:
I checked and the script is there and both locations show the exact same hosts file.
[Android Apps and Games] ChasingShadows:
You know that your own mobile phone answers your ping request when the hosts file has the expected contents? But your own mobile phone will not be able to send the ads. So pinging is worth nothing and if you still see ads then you are wrong about such details like proxy or data save mode ...
[Android Apps and Games] admiralspeedy:
I'm not sure how I could be wrong about either setting, unless "Data Saver Off" means that Data Saver is on and my proxy is empty because the one that it defaults to from my carrier slows down network, so I always remove it.

The proxy is also totally irrelevant becaue the hosts file doesn't work on WiFi either.
[Android Apps and Games] piccit:
Ping can be used to verify. You just need to verify that the response is from localhost.

$ ping db6.net-filter.com
PING db6.net-filter.com (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.148 ms
[Android Apps and Games] Nonononoki:
How to use systemless mode with Magisk and Phh's Superuser?
[Android Apps and Games] flocke000:
Enable systemless hosts in the Settings of Magisk Manager and don't change anything in AdAway.
[Android Apps and Games] NLBeev:
The AdAway management of the hosts file and the systemless mode seems OK.

I'm sorry, no idea why ad-blocking doesn't work.

There must be another reason.

Do you use xposed, magix, or stuff like that?
[Android Apps and Games] Nonononoki:
It can't be selected with any SU other than the one from Chainfire.
[Android Apps and Games] admiralspeedy:
Nope, nothing. I used to use Xposed on C13 and it didn't interfere at all, but it's not available for Nougat so I quit using it.
[Android Apps and Games] flocke000:
Not in AdAway, you have to enable it in Magisk Manager. So Magisk takes care of the mount, not AdAway.
[Android Apps and Games] tinko975:
Finally I payed tapatalk. 5 usd for a year is not to big money..
[Android Apps and Games] pixel0:
Nice job.
[Android Apps and Games] ipdev:
I ran into a similar problem with an older version.

As simple (and stupid ;) ) as it sounds, I disabled ad blocking - reverting the host. file back to original.

After a reboot I downloaded and applied ad blocking again. After another reboot, host. was rebuilt by adaway, all was fine.
[Android Apps and Games] oreo27:
Quick question, what hosts do you folks use to block "Your phone has a virus" sites? I wasn't able to catch the URL last time but I've added http://www.malwaredomainlist.com/hostslist/hosts.txt as a source in the meantime.
[Android Apps and Games] Cookie Ninja:
Use the hostfile from this site as a source....

http://winhelp2002.mvps.org/hosts.htm

Malwaredomainlist is also a good source....

Dead Cookies leave no trails...
[Android Apps and Games] akuma-88:
it not working on htc one m8s --s-on-- marshmallow 6.0.1

1-unlocked the bootloader

2-custom recovery twrp

3-rooted

any solution please

my regards
[Android Apps and Games] NLBeev:
Check with a rootexplorer system/etc and su/etc.

Do you see in both folders identical 'hosts' files with size of about 2Mb?
[Android Apps and Games] akuma-88:
Just in system/etc and I tried to edit a host file also not working... i think my device system is not apply to write because there is not (s-off)

And sorry for my broken English

Thank you
[Android Apps and Games] the.Great.Skua:
Hi, is there a fix or anything that can be done for shorturl's being broken by adaway/host files?
[Android Apps and Games] oreo27:
Thanks for the heads up. Was it part of default hosts some time ago? I recall that the host sources were 4 versus the 3 by default now.

Your username is rather threatening :D
[Android Apps and Games] NLBeev:
your hosts file has the default size. It's possible that there's not enough space in the system partition. You can delete unused files and try again. Or you can try the so called systemless mode.
[Android Apps and Games] tag68:
[MENTION=6595509]akuma-88[/MENTION]:

If you want to find out how much space you have on system, you may take a terminal and type:

su

cd /system

df .

For me it shows Size 3.8G of which Used 2.6G Free 1.3G. The resulting hosts usually is smaller than 3 M.

If that is too complicated for you, you may take DiskInfo which displays a nice overview about all partitions. The display shows the same for me.

Is your root with S-ON systemless? Can you check "systemless root" in the settings of AdAway? Which superuser are you using?

[MENTION=528201]NLBeev[/MENTION]: If you assume someone has no space left on device, please do not advice to delete files! Advice to have a look and if the assumption is right, one may consider to delete files.
[Android Apps and Games] NLBeev:
Why do you assume people don't know that?
[Android Apps and Games] githyanki:
How that saying go? Assuming makes an [MENTION=237736]SS[/MENTION] of U + me

I have seen enough posts where an assumption was made and people have screwed stuff up.

"wipe everything and install rom and gapps"

Person comes back later "all my stuff dissappeared! ?"