yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Nergal di Cuthah:
Ok in magisk settings (gear at top right) roll down to the magisk section and click systemless hosts

View attachment 6112173

I believe you need to reboot after but I've already done it and can't remember

Then open adaway and refresh sources i should apply them for you reboot after and done.
[Android Apps and Games] hxxmor:
should it look like this?
[Android Apps and Games] Nergal di Cuthah:
Yes
[Android Apps and Games] hxxmor:
I got a low score on adblocker test
[Android Apps and Games] m0han:
Running AdAway in root mode I get 100.
[Android Apps and Games] hxxmor:
How do I put it in root mode?

Sent from Pixel 7 using ReLabs
[Android Apps and Games] m0han:
Your phone has to be rooted. Check in your device forum for appropriate method. IIRC, when you install and run AdAway, the first screen asks you to choose the mode.
[Android Apps and Games] hxxmor:
I already did that

Sent from Pixel 7 using ReLabs
[Android Apps and Games] bombadier:
I only use the one source which is the Steve Black host file and I only get 68 out of 100 on the adbock test, noticed you are running 3 sources and m0han has 11 which explains why he is 100 as he is using more hosts to block, even with the one I dont really have issues with ads, is there a specific goal you are trying to achieve ? or are you still getting ads with the 3 hosts loaded ?
[Android Apps and Games] hxxmor:
I'm just trying to achieve the 100 out of 100 on the adblocker test, because I experienced some ads inside my browser
[Android Apps and Games] bombadier:
ask m0han what hosts he is using and add them then
[Android Apps and Games] hxxmor:
What hosts are you using?
[Android Apps and Games] Wolfcity:
That's my configuration of hostfiles (5):

https://adaway.org/hosts.txt

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext

https://someonewhocares.org/hosts/hosts

https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Xiaomi-Extension.txt
[Android Apps and Games] hxxmor:
Do I need to restart after applying them? I just tested without restarting and I'm still getting 68 out of 100. Does me being on a Pixel 7 matter?
[Android Apps and Games] m0han:
Try the ones from @Wolfcity first; they're fewer in number and they do what you want.
[Android Apps and Games] m0han:
What's keeping you from rebooting and checking if you get more than 68 score and fewer (or no) ads? If you search the thread you might find that some people have achieved better results after rebooting.
[Android Apps and Games] hxxmor:
I just applied them but idk if I need to restart or not
[Android Apps and Games] hxxmor:
idk lol let me reboot

just rebooted and it still says 68 out of 100
[Android Apps and Games] m0han:
On another device with AdAway in VPN-mode (device is not rooted) and only 1 host, I still get 100.
[Android Apps and Games] hxxmor:
Don't do the adblocker test on Vivaldi, do that on chrome. Maybe you installed an adblocker
[Android Apps and Games] m0han:
My default browser is not Chrome. I don't get annoying ads, which is what makes me happy with my setup.
[Android Apps and Games] hxxmor:
Alr i get that, I was just asking if your AdAway setup worked with chrome too, because that's my default browser

Sent from Pixel 7 using ReLabs
[Android Apps and Games] Wolfcity:
For any browser it's recommended to turn off the adblocker for this testings (if you wanna know what AdAway blocks and not what is blocked at all in a browser). If I remember it correctly Chrome is a bit different but that's a thing you have to search for in this thread.

Also there are different tests, for example this one:

Test Ad Block - Toolz

Looking for an easy way to check the efficiency of your ad blocker?Toolz offers a simple and beautiful design test that allows you to quickly and easily test the performance of current ad/content blocker solution. Intuitive interface makes it easy to navigate and use, and the beautiful design...

d3ward.github.io

Not every test is exact.
[Android Apps and Games] hxxmor:
Yeah I know that, but why is he getting the maximum score while I'm not with the same config, that's what is giving me problems
[Android Apps and Games] Nergal di Cuthah:
@Wolfcity that site is awsome, with the 3 default sources (adaway.org stephenblack and petelowe) i get a 99. Only pagead.js got through
[Android Apps and Games] Nergal di Cuthah:
Private dns? Preload pages in chrome? Dns over http?
[Android Apps and Games] m0han:
Yeah. Only 1 host source. Inbuilt ad-blocking feature turned off.
[Android Apps and Games] hxxmor:
if it's private DNS that matters why people get AdAway on their rooted phone?
[Android Apps and Games] hxxmor:
I think I'm not doing something right to get AdAway working properly
[Android Apps and Games] hxxmor:
I'm getting 61% on this
[Android Apps and Games] Nergal di Cuthah:
Private overrides hosts, all three of those do, that's why I asked
[Android Apps and Games] Wolfcity:
I don't know if you use Chrome and I'm also not sure if this post is still actual:

But as said above,Chrome may be a different kind of animal when it comes to AdBlocking (Chrome lite, VPN, preloaded sites) but that's a thing you have to find out.
[Android Apps and Games] hxxmor:
Oh, If Chrome it's the issue I think I'll switch browser
[Android Apps and Games] Nergal di Cuthah:
I get a 97 in chrome which is lower than my 99 infirefox with ublock addon blocking more is guess. But if i retest immediately i get much lower (64 first retest 97 second 59 third)
[Android Apps and Games] Wolfcity:
Maybe not the worst idea :cool:

And don't forget that AdAway is a systemwide blocker so if you're free of ads in a different browser and free of ads in apps everything is fine.

Edit: If you want a browser based on chromium but without spying you Vivaldi is a good choice.
[Android Apps and Games] hxxmor:
I get 100 in Firefox but with ublockrigin turned on
[Android Apps and Games] m0han:
I added these 2 (the other 3 are AdAway default hosts, I believe).

(i) https://someonewhocares.org/hosts/hosts and (ii) https://raw.githubusercontent.com/j...ter/Extension/GoodbyeAds-Xiaomi-Extension.txt

The scrores don't change for me. What's the browser you used for the tests?
[Android Apps and Games] Nergal di Cuthah:
I'm probably whitlisting something used in the pagead.js maybe it calls t.co which i have whitlisted (and chtbl.com for my podcast app)
[Android Apps and Games] hxxmor:
Chrome

Sent from Pixel 7 using ReLabs
[Android Apps and Games] hxxmor:
Should it look like this?
[Android Apps and Games] Wolfcity:
The browser is Vivaldi. After a lot of testing

- Firefox: My favorite for years but to slow on android

- Brave: Faster but not customizable

and several others I stayed with Vivaldi.

As I use a Xiaomi device one from the non-default hosts is "Goodbye Xiaomi Ads" (not needed for other devices I believe) the other one is "Someone who cares". I think the most entries are in StevenBlacks too (I didn't compare it) but for some apps that one seems to block more .
[Android Apps and Games] hxxmor:
what do you recommend me using as host files?

Sent from Pixel 7 using ReLabs
[Android Apps and Games] Wolfcity:
The ones you posted above (see screenshot )should be a good start.
[Android Apps and Games] joefuf:
Due to Google blocking RCS on rooted devices, I've flashed the June update on my Pixel 7 Pro and left my device unrooted. I reinstalled AdAway, moving from root to VPN configuration. I have noticed that the VPN tends to drop from time to time. Is there a way to fix that or is it just an issue with the app?

Edit: Just noticed I didn't have the Monitor Connection option enabled. I'll update if this stops being an issue but would still like to know if it's a known issue or just something I'm facing.

Follow-up: Yeah, it's still happening. Usually after my phone has been idle for a few minutes.
[Android Apps and Games] PerfectSlayer:
Hi all,

Long time since the last release. It has been tough to find personal time to keep the project up-to-date.

For the next big changes, I really would like to have the Material Design 3 contributions merged (#3513 and #4083), in addition to the usual VPN stability improvements. And let's not forget the continuous platform and libraries updates that requires constant changes if you don't want your app to rust.

Changelog:

Fix VPN restart on network interface change

Fix crash when update is instantly download

Update mongoose web server

Update third party libraries

Update Android gradle plugin

Update translations

Thanks:

Special thanks to @Fs00 and @gallegonovato for theirs helpful bug reports.

Download:

AdAway 6.1.2
[Android Apps and Games] gallegonovato:
Good afternoon @PerfectSlayer

Thank you very much for the new version and for all your work ;)

Also thanks for mentioning me :) But my intention is to try to help as much as I can and know how. To improve free software and THE GREAT ADAWAY APPLICATION.

I don't know if for a next version, it would be possible to make the text in the settings move, or extend the lines. Since there are some options that you can't read the whole sentence. And there may be people who have problems, or do not understand what each operation does.

Thanks for your help and time.
[Android Apps and Games] mbangi:
After a new update, the server is not running.
[Android Apps and Games] PerfectSlayer:
Dumb question but have you tried turning it off and on again?

I have tested it on my Pixel 2 and worked fine.
[Android Apps and Games] rooooooooooooooooooooooot:
I having the same issue too. Any ideas how can I get logs? My root method is KernelSU

View attachment 6118532
[Android Apps and Games] Wolfcity:
Logs? If you're thinking of the same thing as I do:

Maybe download a logging app from playstore (logcat , logcat extreme) start it,start AdAway and filter the log for AdAway.

Have you tried the hint from the dev to turn the server off and on again?
[Android Apps and Games] hzj19960112:
Same issue here,web server not running.

Device:SONY XPERIA 1 V

ROM:LineageOS-21.0-20240630

Android version:14

Security patch:June 5,2024
[Android Apps and Games] zgfg:
Do you really need Web server - I always turn it off in the AdAway settings
[Android Apps and Games] rom-g:
Same bug (webserver not running).

Turning it off and on does not fix it.

Disabled all magisk modules excep "Systemless Hosts" => no change.

My conf : Moto G54 // Android 14 stock rom // Magisk latest stable (27)
[Android Apps and Games] rooooooooooooooooooooooot:
It seems that I'm not the only one who's having this issue. I'm pretty sure it's a mongoose thing again.
[Android Apps and Games] Wolfcity:
Yes,seems so. I deactivated the server for the time being.
[Android Apps and Games] gallegonovato:
Good afternoon @PerfectSlayer

With your permission, I'll pass along a question that I get asked by many people who use Adaway. But I don't know how to answer since I am not the developer.

I apologize if I'm being mean. But it is not my intention. I can't answer that question.

The question is: if you changed the obsolete version of tcpdump and it has problems as indicated, for example in https://github.com/AdAway/AdAway/issues?q=is:issue+is:open+tcpdump ?

Thank you very much for your help and time.
[Android Apps and Games] eng3:
I tried the new version and still not working for me.

Strange that the ad loads but not if I try to load it in a new tab.
[Android Apps and Games] DiamondJohn:
Im guessing not too strange. Web servers (ie ad servers) can identify what/who is requesting the ad & pass info of who is asking for the ad and in what context. It could be to serve more effective ads to the recipient, but I am guessing it would also server to step DoS attacks (on their ad server) from random servers.
[Android Apps and Games] eng3:
True, they may be checking for the referrer. Pinging the host also fails (maybe for the same reason)

In that case, I'm not sure what else to do.
[Android Apps and Games] DiamondJohn:
is it a browser ad? If so, try/twat another browser. I use duckduckgo
[Android Apps and Games] eng3:
I see ads in other browsers too.

It's not just a single ad showing up, most if not all of them are showing up.

I mostly see google ads (probably because they are used the most on the sites I visit)

In the past, I used a VPN option (blokada), that was able to block ads, but now that I'm rooted, I'd rather use something that doesnt require VPN.
[Android Apps and Games] Wolfcity:
@PerfectSlayer

Webserver of latest AdAway 6.1.2 is not running on my Magisk rooted Xiaomi Mi 9T (A11) but working on my also rooted old Moto G5+ running lineage also A11.

I can ping localhost with both devices successfully but only the Moto device reaches the localhost test site with Vivaldi browser, the same browser blocks that site on the Xiaomi device (internal adblocker disabled).

Text of screenshot:

This website is not available
The connection has been reset.
Try the following:

Check connection

Can send logs if needed.
[Android Apps and Games] eng3:
I have noticed that the web server isnt working for me either.

I tried toggling it on and off but status shows as "not running"
[Android Apps and Games] PerfectSlayer:
I was able to reproduce and issued a fix for the web server: https://github.com/AdAway/AdAway/commit/629591127e68fcc19474526c9f5671c22ff95aea

I hope to make a release this weekend. Stay tuned!
[Android Apps and Games] PerfectSlayer:
Hi all,

A quick update to fix the web server regression and update to the latest translations.

Changelog:

Fix mongoose web server

Update translations

Thanks:

Special thanks to @mbangi for its bug report.

Download:

AdAway 6.1.3
[Android Apps and Games] PerfectSlayer:
For most questions related to the old and vulnerable versions of libpcap/tcpdump, the main issue is to find maintainers to upgrade them. It's not a technical issue, it's a practical one.

I invested time in Mongoose web server to be able to frequently update it (and yes, I still have troubles with some upgrades like the past one 😅). But libpcap and tcpdump are another native projects to maintain, in addition to the AdAway app itself. They are not design to be built using the Android NDK, and the Android NDK is not design to build native executables. So any upgrade requires good knowledge of both, and hardware to test the different architecture variants.
[Android Apps and Games] Wolfcity:
Thanks for the fix @PerfectSlayer , webserver is working again (with and without certificate).

I've got the feeling that I see some ads on websites (Vivaldi browser) that weren't there before but I will test this more precisely and if it's indeed a problem I will post a proper bug report. For the moment:👍
[Android Apps and Games] Zimty86:
Does anyone have a whitelist for me? Or suggestions?

Only have s.youtube.com so far

I also use Facebook, Instagram, WhatsApp etc. is there a whitelist for that too ?
[Android Apps and Games] Wolfcity:
The most things also regarding social media are on Steven Blacks unified host list. There are also some lists specially for social media stuff out there (you can check here https://github.com/AdAway/AdAway/wiki/HostsSources or google for host sources).

Whitelisting is very personal, I own a Xiaomi device and block some things that are only relevant for that kind of devices. Beside s.youtube the most entries are for websites that won't open with an adblocker. For these I use DNS logging.
[Android Apps and Games] DiamondJohn:
Not only is it personal, but it could be private. A whitelist is a list of website people visit, regularly. This could be the equivalent to getting someones private browsing history.

That would be more likely to share, and not a "how long is piece of string" type question.

Many of ny whitelists I searched and found on the net. I use vance to block ads on youtube (host blocking is useless for youtube). The video sources change over time. Attached is a general allow list I use; but it is not exhaustive and its old. I recently linked one I use to block social media, but you could use to allow.
[Android Apps and Games] GreenDotBlue:
AdAway leaks ads on many sites. What hosts sources you'd recommend to use with AdAway?

How many entries you have in you AdAway sources (parsed) currently?
[Android Apps and Games] Nergal di Cuthah:
I see zero leakage and have the default three (at least i think stephenblack list is default now).

Are you using chrome? Are you using private dns? Are you using adaway as a host blocker (root) or a vpn (non root)? Are you running a seperate vpn if the former?
[Android Apps and Games] GreenDotBlue:
Adaway as root, no separate vpn. Mostly I'm bothered of Yandex ads in search/image search results.
[Android Apps and Games] zgfg:
Btw, Magisk or Kitsune?
[Android Apps and Games] Nergal di Cuthah:
If they're anything like google search ads, they may show but clicking on them leads to a block?
[Android Apps and Games] donmarkoni:
I know what you talk about. Seen it. Seems like there is a problem since v6.1.2, still lingering in 6.1.3. When you update, watch for number of blocked addresses. If it is less then 150k +-10%, then the update didn't go through. Tap the update button few more times, waiting in between for it to complete, watching for number of blocked addresses. That's it, I've done it more then few times to "fix the problem".
[Android Apps and Games] Wolfcity:
Also Steven Blacks is just 4k.....it has been much bigger, hasn't it? I have about 23k entries and Steven Blacks alone should be more than 150k.
[Android Apps and Games] Wolfcity:
Later after opening the hosts file and deleting one source (fakenews seems to have a typo so that the word fakenews and the following https:\\ wasn't separated) and pressing update several times.
[Android Apps and Games] GreenDotBlue:
Hosts list maintainers have quit in recent years and there aren't many who update these lists.

A lot of hosts lists are combination lists and when someone stops there's less lists to combine. Yes Steven Black's list used to be a lot bigger.

I would remove Someone who cares list as it's old and Dan Pollocks list is questionable too.

But here's new and active: https://github.com/hagezi/dns-blocklists

There's hosts list versions too.

And there's few others too. I'll post them later.

At pi-hole community they have Easylist and Easyprivacy pi-holed I'm thinking it would be easy to convert them to hosts lists but would require maintenance.

There's hosts filed Easylist and Easyprivacy at Github but those have a lot less entries than actual Easy-lists though usable still.

Parts of Adguard lists are hosts filed too.

https://filterlists.com/

Here Easy-lists as hosts lists

GitHub - ProgramComputer/Easylist_hosts: https://github.com/easylist/easylist/blob/master/easylist/easylist_adservers.txt as a hosts file and more

https://github.com/easylist/easylist/blob/master/easylist/easylist_adservers.txt as a hosts file and more - ProgramComputer/Easylist_hosts

github.com

There's nextdns, adguard, blokada, rethinkdns etc btw rethink actually seems it could be something great - - - despite some features these apps are troublesome.

With VPN tunnel they have access to traffic and data.

Not to mention that these apps affect internet speed these also consume battery and ram and cpu when running all the time slowing down system and other apps.

That's not ideal just to get rid of some annoyances.

AdAway is lightweight doesn't need to run in the background (root) and doesn't slow down internet speed. AdAway is also free and open source. It's simple. The block level that it achieves is very good.

Hosts file blocking is still relevant and will be so for times to come.

Rethinkdns is free and open source too.

Goodbyeads still good

GitHub - jerryn70/GoodbyeAds

Contribute to jerryn70/GoodbyeAds development by creating an account on GitHub.

github.com

Updated 6 months ago
[Android Apps and Games] drnightshadow:
Yap, im using rethink like 6 months. Super easy for analyzing traffics for apps , webpages, etc and free hosts lists for adaway :geek:
[Android Apps and Games] GreenDotBlue:
Been playing with ReThinkDNS it actually can be a lot of great if they keep FOSS line that they attest.

Therefore sort of successor to AdAway.

Yes Rethink is good. They have else in mind too like cloud browser.

Downloads | Rethink

3B+ Android users deserve access to a safer and open Internet. RethinkDNS is a private, secure, and fast DNS resolver with custom rules, blocklists, and analytics that lets you block websites temporarily with time-based rules, or permanently through 190+ pre-defined blocklists...

rethinkdns.com

GitHub - celzero/rethink-app: DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android. - celzero/rethink-app

github.com
[Android Apps and Games] drnightshadow:
Host lists from rethink:

Configure Blocklists | RethinkDNS

3B+ Android users deserve access to a safer and open Internet. RethinkDNS is a private, secure, and fast DNS resolver with custom rules, blocklists, and analytics that lets you block websites temporarily with time-based rules, or permanently through 190+ pre-defined blocklists...

rethinkdns.com
[Android Apps and Games] Wolfcity:
Dan Pollock seems to be similar as someone who cares (or just another name):https://someonewhocares.org/hosts/

Also it's included in StevenBlacks.

Anyway, there seems something wrong with updating host file in the latest AdAway (6.12/6.13).

Will check your recommendations,thanks.
[Android Apps and Games] GreenDotBlue:
Adguard lists as HOSTS files:

GitHub - r-a-y/mobile-hosts: HOSTS files converted or sourced from various filter lists to prevent ads and tracking.

HOSTS files converted or sourced from various filter lists to prevent ads and tracking. - r-a-y/mobile-hosts

github.com
[Android Apps and Games] Wolfcity:
@PerfectSlayer

I'm not the kind of user to roll back to an older build but it was very difficult to update the host sources, whatever source it is. This happens with 6.1.2 (webserver not working) and 6.1.3 (webserver working but update problems). See the posts above like the one from @donmarkoni :

[APP][ROOT/NONROOT][OFFICIAL] AdAway v6.1.3

AdAway AdAway is an open source ad blocker for Android using the hosts file. Google Play Store notice According the Google Play Developer Policy, especially the "Device and Network Abuse" section, ad blocker like AdAway violates the "Apps that...

xdaforums.com

So I rolled back to 6.1.1 and everything is working well, no need to tap multiple times on the update button or anything else to make AdAway read the whole list(s). Webserver also ok.

I don't know where the problem lies but if you need any logs contact me.

Xiaomi Mi9T (Android 11)

Rooted with Magisk 27 stable.
[Android Apps and Games] PerfectSlayer:
Thanks for the heads-up @Wolfcity

My main driver is using VPN mode so huge lists don't impact that much the update process as it don't have to build the combined host file and I haven't notice it.

I quickly checked at the changes from 6.1.1 to 6.1.2 but nothing pops out at first glance. Maybe a profiler can help.

If you can confirm the build you are using (GitHub vs F-Droid) and maybe share a logcat, that would help.

And to reproduce the issue, I guess trying with both StevenBlack and Hegazi hosts files should be enough? (I have the Pixel 2 to test, it is more hardware limited than my Pixel 6)

One thing I am considering is adding diagnostic metrics for the F-Droid variant users that opt-in with crash report uploads to count the number of sources, hosts count, CPU time and memory needed to update. It is already hard enough to craft the right algorithm that build the hosts file: in memory vs in database, basic sets vs bloom filters, fast but power angry vs slow and conservative but frustrating for users; but I have to do it blindly.