• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][ROOT/NONROOT][OFFICIAL] AdAway v5.8.0

Search This thread

scarlion

Senior Member
Mar 15, 2015
57
3
Am trying to install on rooted device but on the second step "Syncing" it has an error "Failed to sync: Not enough space" and then something else I can't read. It's a new device with 128 GB storage so there is plenty of space, any ideas what the real issue is? Thanks
 

zgfg

Senior Member
Oct 10, 2016
5,893
3,366
Am trying to install on rooted device but on the second step "Syncing" it has an error "Failed to sync: Not enough space" and then something else I can't read. It's a new device with 128 GB storage so there is plenty of space, any ideas what the real issue is? Thanks
Root or non root?

Root: New device, certainly new Android.
Did you enable
Systemless hosts in Magisk?
 

zgfg

Senior Member
Oct 10, 2016
5,893
3,366
Yeah root, android 11... there isn't a "systemless hosts" in Magisk... just "systemless TZdata"
In Magisk app Settings!

And you must reboot then. Then go back to AdAway and let it sync.
Then reboot again
 

Attachments

  • IMG_20210911_065901.jpg
    IMG_20210911_065901.jpg
    282.3 KB · Views: 84
  • Like
Reactions: scarlion

Wolfcity

Recognized Contributor
Apr 26, 2013
4,361
2,764
Germany
Moto G 2014
Moto G5 Plus
In Magisk app Settings!

And you must reboot then. Then go back to AdAway and let it sync.
Then reboot again
@PerfectSlayer : As it is asked over and over again here in the thread I would recommend putting a sticky to the OP about the need of activating systemless hosts in Magisk and also to mention it in the wiki.
(Yeah, I know not many people seem to read OP's these days....)
 

zgfg

Senior Member
Oct 10, 2016
5,893
3,366
@PerfectSlayer : As it is asked over and over again here in the thread I would recommend putting a sticky to the OP about the need of activating systemless hosts in Magisk and also to mention it in the wiki.
(Yeah, I know not many people seem to read OP's these days....)
Better a toast in the app (IMO, the app should know and can check if /data/adb/modules/hosts/system/etc/hosts file exists) to warn the user to enable Systemless hosts - maybe only when it fails to write to the /system/etc/hosts (i.e., in case when it is really needed)
 

gallegonovato

Senior Member
Feb 25, 2021
71
14
Good afternoon @DiamondJohn:

I've been looking at the host you put in https://forum.xda-developers.com/t/app-root-nonroot-official-adaway-v5-8-0.2190753/post-85559583, do you have the raw url of the host ?. And I don't know if it's just me but the files from https://forum.xda-developers.com/t/app-root-nonroot-official-adaway-v5-8-0.2190753/post-85558781 won't let me open them. I don't know if you can comment on what host lists you have in Adaway?

@zgfg opened a topic at https://github.com/AdAway/AdAway/issues/2907 because I don't know what happens, but it doesn't allow me to make suggestions for the translation.

Also I do not know if you know any host of Huawei, qualcomm, Lg. Or some interesting and good host.

A hug and a thousand thanks for your help
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
5,624
5,399
Sydney
I've been looking at the host you put in https://forum.xda-developers.com/t/app-root-nonroot-official-adaway-v5-8-0.2190753/post-85559583, do you have the raw url of the host ?. And I don't know if it's just me but the files from https://forum.xda-developers.com/t/app-root-nonroot-official-adaway-v5-8-0.2190753/post-85558781 won't let me open them. I don't know if you can comment on what host lists you have in Adaway?[/url]
I am no longer using AdAway. one of the reasons is that it isnt so good at looooong blocking lists.

Also I do not know if you know any host of Huawei, qualcomm, Lg. Or some interesting and good host.
I have a pixel 4a.. However, just checking for Huawei in the host name, for one of my recent host file rebuilds, gives me the following hosts and the sources I got them from

NOTE: NONE OF THE FOLLOWING IS A RECOMMENDATION OR EVEN A SUGGESTION.
I dont know if any of the sources are any "good" I do have a lot of duplication. For current method, its not such a problem. But, I have not seen an ad in anything for a loooong time. Using the default adaway lists alone let ads get through, in apps I used often.

Code:
huawei.sc.omtrdc.net	https://adblock.mahakala.is
ns.huawei.com.cn	https://adblock.mahakala.is
celularmovil.huawei10.digital	https://dbl.oisd.nl
comoliberarhuawei.com	https://dbl.oisd.nl
huawei-quickapp.msxiaobing.com	https://dbl.oisd.nl
huawei.ec.adkontekst.pl	https://dbl.oisd.nl
huawei.whoson.com	https://dbl.oisd.nl
huaweichat.whoson.com	https://dbl.oisd.nl
huaweitunisie.tn	https://dbl.oisd.nl
libfre.obs.cn-east-3.myhuaweicloud.com	https://dbl.oisd.nl
nebula-collector.huawei.com	https://dbl.oisd.nl
teslaamg.obs.cn-east-3.myhuaweicloud.com	https://dbl.oisd.nl
www.comoliberarhuawei.com	https://dbl.oisd.nl
www.huaweitunisie.tn	https://dbl.oisd.nl
ns.huawei.com.cn	https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
api.cloud.huawei.com.domain.name	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
bi.huaweicloud.com	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
cbg-app.huawei.com.domain.name	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
cloud.huawei.com.domain.name	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
connectivitycheck.cbg-app.huawei.com.domain.name	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
huawei.com.domain.name	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
huawei.facebook.com	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
huawei.sg.default.4wps.net	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
huaweicom.api.useinsider.com	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
nsp-logservice-hiview-p08-dra.obs.ap-southeast-3.myhuaweicloud.com	https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
libfre.obs.cn-east-3.myhuaweicloud.com	https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/newhosts-final.hosts
teslaamg.obs.cn-east-3.myhuaweicloud.com	https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/newhosts-final.hosts
huawei.sc.omtrdc.net	https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt
libfre.obs.cn-east-3.myhuaweicloud.com	https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt
teslaamg.obs.cn-east-3.myhuaweicloud.com	https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt
libfre.obs.cn-east-3.myhuaweicloud.com	https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardDNS.txt
teslaamg.obs.cn-east-3.myhuaweicloud.com	https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardDNS.txt
libfre.obs.cn-east-3.myhuaweicloud.com	https://schakal.ru/hosts/hosts.txt
ns.huawei.com.cn	https://schakal.ru/hosts/hosts.txt
teslaamg.obs.cn-east-3.myhuaweicloud.com	https://schakal.ru/hosts/hosts.txt
huawei.com	https://smokingwheels.github.io/Pi-hole/allhosts
huaweikeji.com	https://smokingwheels.github.io/Pi-hole/allhosts
huaweipolska.pl	https://smokingwheels.github.io/Pi-hole/allhosts
huaweisearch.myxangatoolbar.com	https://smokingwheels.github.io/Pi-hole/allhosts
huaweisearch.myxangatoolbar.com	https://smokingwheels.github.io/Pi-hole/allhosts
kmhuawei.cn	https://smokingwheels.github.io/Pi-hole/allhosts
ns.huawei.com.cn	https://smokingwheels.github.io/Pi-hole/allhosts
huawei-api.taboola.com	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huawei-integration.taboola.com	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huawei.dsp.yandexadexchange.net	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huawei.kampyle.com	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huawei.sc.omtrdc.net	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huawei.theappgrader.com	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huawei01.loggly.com	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huawei123.loggly.com	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huaweiuk-mid-stage1.campaign.adobe.com	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huaweiuk.campaign.adobe.com	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
www.huawei.sc.omtrdc.net	https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
huawei.iot.msic.360.cn	https://www.github.developerdan.com/hosts/lists/tracking-aggressive-extended.txt
huawei.net-casa.duckdns.org	https://www.github.developerdan.com/hosts/lists/tracking-aggressive-extended.txt

And a more complete list of host sources are

Code:
https://adaway.org/hosts.txt
https://adblock.mahakala.is
https://blokada.org/mirror/v5/exodusprivacy/standard/hosts.txt
https://dbl.oisd.nl
https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt
https://iwalton.com/theme/u-adlist.txt
https://mirror1.malwaredomains.com/files/immortal_domains.txt
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&mimetype=plaintext
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/Badd-Boyz-Hosts/hosts
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/KADhosts/hosts
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/UncheckyAds/hosts
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.Risk/hosts
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://raw.githubusercontent.com/badmojr/1Hosts/master/Pro/hosts.txt
https://raw.githubusercontent.com/biroloter/Mobile-Ad-Hosts/master/hosts
https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/newhosts-final.hosts
https://raw.githubusercontent.com/d3ward/toolz/master/src/d3host.txt
https://raw.githubusercontent.com/gorhill/httpswitchboard/master/assets/thirdparties/mirror1.malwaredomains.com/files/justdomains
https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardApps.txt
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardDNS.txt
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardMobileAds.txt
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardMobileSpyware.txt
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/EasyPrivacy3rdParty.txt
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/EasyPrivacySpecific.txt
https://raw.githubusercontent.com/vokins/yhosts/master/data/active.txt
https://raw.githubusercontent.com/vokins/yhosts/master/data/tvbox.txt
https://raw.githubusercontent.com/vokins/yhosts/master/data/union/en.txt
https://raw.githubusercontent.com/vokins/yhosts/master/hosts.txt
https://raw.githubusercontent.com/vokins/yhosts/master/vip/img.txt
https://raw.githubusercontent.com/vokins/yhosts/master/vip/wzl.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_malware.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://schakal.ru/hosts/hosts.txt
https://smokingwheels.github.io/Pi-hole/allhosts
https://sysctl.org/cameleon/hosts
https://urlhaus.abuse.ch/downloads/hostfile/
https://v.firebog.net/hosts/static/w3kbl.txt
https://winhelp2002.mvps.org/hosts.txt
https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
https://www.github.developerdan.com/hosts/lists/amp-hosts-extended.txt
https://www.github.developerdan.com/hosts/lists/facebook-extended.txt
https://www.github.developerdan.com/hosts/lists/tracking-aggressive-extended.txt
https://www.joewein.net/dl/bl/dom-bl.txt
https://zerodot1.gitlab.io/CoinBlockerLists/list_optional.txt

file:///data/media/0/User/hosts/BadHosts.msw/add.2o7Net
file:///data/media/0/User/hosts/BadHosts.msw/add.Casino
file:///data/media/0/User/hosts/BadHosts.msw/add.Dead
file:///data/media/0/User/hosts/BadHosts.msw/add.Header
file:///data/media/0/User/hosts/BadHosts.msw/add.Porn
file:///data/media/0/User/hosts/BadHosts.msw/add.Risk
file:///data/media/0/User/hosts/BadHosts.msw/add.Spam
file:///data/media/0/User/hosts/BadHosts.msw/hosts
file:///data/media/0/User/hosts/BadHosts.msw/main
file:///data/media/0/User/hosts/BadHosts.unx/add.2o7Net
file:///data/media/0/User/hosts/BadHosts.unx/add.Casino
file:///data/media/0/User/hosts/BadHosts.unx/add.Dead
file:///data/media/0/User/hosts/BadHosts.unx/add.Header
file:///data/media/0/User/hosts/BadHosts.unx/add.Porn
file:///data/media/0/User/hosts/BadHosts.unx/add.Risk
file:///data/media/0/User/hosts/BadHosts.unx/add.Spam
file:///data/media/0/User/hosts/BadHosts.unx/hosts.lnx
file:///data/media/0/User/hosts/BadHosts.unx/main
file:///data/media/0/User/hosts/Deny/deny_amazon.txt
file:///data/media/0/User/hosts/Deny/deny_coinblocker.txt
file:///data/media/0/User/hosts/Deny/deny_crashanalytics.txt
file:///data/media/0/User/hosts/Deny/deny_facebook.txt
file:///data/media/0/User/hosts/Deny/deny_firebase.txt
file:///data/media/0/User/hosts/Deny/deny_fromdnslogs.txt
file:///data/media/0/User/hosts/Deny/deny_gpstestads.txt
file:///data/media/0/User/hosts/Deny/deny_imdb.txt
file:///data/media/0/User/hosts/Deny/deny_stopyoutubeads.txt
file:///data/media/0/User/hosts/Deny/deny_w3kbl.txt
file:///data/media/0/User/hosts/Deny/deny_waze.txt
file:///data/media/0/User/hosts/Various/bad_hosts.txt
file:///data/media/0/User/hosts/Various/mylistofdiff.txt
file:///data/media/0/User/hosts/Various/stop_youtube_ads.txt
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
5,624
5,399
Sydney
FYI: and slightly OT for the AdAway dev thread.

I have been testing host building, and have kept on seeing the same host source downloading a fresh version every single time! So I looked into why and what was possibly failing.

Turns out it was working correctly. This one host source gets updated every 5 minutes!!!

They also have a lot of stats. I think they mostly aim to block malware. In testing, with over 2.5M hosts being blocked, from over 47 URL sources, they still manage to get 11 hosts not in any of the other 46 sources.
 

gallegonovato

Senior Member
Feb 25, 2021
71
14
Good afternoon @DiamondJohn

Thank you very much for your help and for the tremendous list of hosts you have given me. I now have a few to look at so I can look at the ones I have in Adaway. And change for the better.

By the way the deny coinblocker link that you put in your previous post, do you have it?

This https://urlhaus.abuse.ch/downloads/hostfile/ , which you have provided me. Does Adaway get it right?

I don't know how to thank you for your help. Thanks a lot mate.

By the way, I think I have some bad news. I was reading that the creator of Magisk now works for Google. So I think he is going to leave Magisk. I read it https://topjohnwu.medium.com/state-of-magisk-2021-fe29fdaee458

I hope some developer is still with him. Because if not he can give us a hard time for Adaway.

Best regards
 
Last edited:

DiamondJohn

Recognized Contributor
Aug 31, 2013
5,624
5,399
Sydney
Good afternoon @DiamondJohn

Thank you very much for your help and for the tremendous list of hosts you have given me. I now have a few to look at so I can look at the ones I have in Adaway. And change for the better.

By the way the deny coinblocker link that you put in your previous post, do you have it?

I don't know how to thank you for your help. Thanks a lot mate.

By the way, I think I have some bad news. I was reading that the creator of Magisk now works for Google. So I think he is going to leave Magisk. I read it https://topjohnwu.medium.com/state-of-magisk-2021-fe29fdaee458

I hope some developer is still with him. Because if not he can give us a hard time for Adaway.

Best regards
Sorry to all, I know lists are basically OT, as this thread is about AdAway.And source lists are contentions at best. So this will be the last OT post on host sources. At least for now. ;)

But here are ALL my local file lists. To be clear, a lot would be more targeted for desktops than android devices, and are also quite old. The attached Zip of a report shows the unique hosts in each source, and as such, you can see that most of the hosts in my static files must be covered by another web source. But not all the files add nothing, and I do have a LOT of web sourced hosts list; ie drop a few, and the files will become more prevalent. The fact that current web sources do have the same hosts, gives me some confidence they are still active/valid, even though I saved them off a while ago. Also, not all my host sources are compatible with adaway. Some are simply only lists of host names.
 

Attachments

  • file_hosts.zip
    9.9 MB · Views: 17
  • 20210913011726_TeMeFI_Currently_Running_Hosts_DiamondJohn_Host_Manager_Reports_Unique_Hosts_Pe...zip
    4.4 KB · Views: 13

DiamondJohn

Recognized Contributor
Aug 31, 2013
5,624
5,399
Sydney
Thius is kinda embarrassing, and also a little off-topic.

The following is not on my daily, but an older test phone, running Oreo. AdAway IS building my host file, and it is appearing in /system/etc/hosts (using systemless hosts), and I have rebooted (more than once), but when I take a line from the host file and ping it, it resolves to the correct IP, not to 127.0.0.1 (see image below)

Any ideas what I could try?

Host blocking was working a few days ago, The phone has an old prepaid SIM, that also expired for the opportunity to recharge it (a few days ago as well). The credit actually expired many months ago, and I only use it on WiFI. I was using systemless hosts and have tried switching the module off (and changing the host file) but that made no difference (after a reboot). I also tried reducing the host file to that single server (And local hosts), and that didnt help either. A few years back, I had an issue which eas fixed by changing the DNS's of various inet interfaces, but that did not help now. Im at a loss.
 

Attachments

  • pingfail.PNG
    pingfail.PNG
    57.9 KB · Views: 81

GTMonster

Member
Nov 20, 2013
13
0
On occasion I need to pause the app as some banking apps rely on info peddlers cookies!
Often I try to pause AdAway, only to find it's 'starting' which disables the pause function. This seems to last ages, so I have to turn of Adaway in VPN settings in the phone.
I've tried stopping all Adaway updates, only to find nothing helps.
Firstly why is it starting several times a day for minutes on end when it's not been shut down, paused or updated?
Secondly why can't it be paused during these incessant periods while it's starting?

Galaxy S21 Ultra
Latest UK Stock firmware - Sim free
No root

Thanks. James
 

zgfg

Senior Member
Oct 10, 2016
5,893
3,366
On occasion I need to pause the app as some banking apps rely on info peddlers cookies!
Often I try to pause AdAway, only to find it's 'starting' which disables the pause function. This seems to last ages, so I have to turn of Adaway in VPN settings in the phone.
I've tried stopping all Adaway updates, only to find nothing helps.
Firstly why is it starting several times a day for minutes on end when it's not been shut down, paused or updated?
Secondly why can't it be paused during these incessant periods while it's starting?

Galaxy S21 Ultra
Latest UK Stock firmware - Sim free
No root

Thanks. James
There are some problems with the non-root VPN mode when loosing and chaning the bearer (WLAN, mobile Internet). They were reported here and on Github.
I also remember having the similar issues like two years ago (but for me it was only showing Starting although it already restarted and worked and there was no problem to pause it) but I'm no more using that second, not rooted phone
 

joefuf

Senior Member
Jun 22, 2010
289
16
Just updated to the most recent version for the first time in a number of years. I added a whitelist of sites that I want to be able to access. For instance, when I browse SlickDeals, the websites they pass you through seem to be blocked even though they are part of my whitelist. I see that some are part of the Blocked sites, but I assumed that Whitelist overrode Block.

Is there a way to permit these sites even though they are allowed on the Whitelist?
 

gallegonovato

Senior Member
Feb 25, 2021
71
14
Good evening @PerfectSlayer @zgfg @DiamondJohn

First of all I apologize for the inconvenience caused and thank you for your time and help.

I happened to find an interesting host list. That is https://github.com/Zelo72/hosts . More specifically https://raw.githubusercontent.com/Zelo72/hosts/main/big.txt . Which contains several sources reaching more than a million entries.

But my question is, does Adaway recognize it and loads well. That is to say if you have other sources, this source of Zelo72 puts you updated for x time. And everything ok?

I say this because I don't know why I think that Adaway can't handle such big lists, that's why I'm asking if you are ok with it.

Thanks a lot for your help and your time.
 

zgfg

Senior Member
Oct 10, 2016
5,893
3,366
Good evening @PerfectSlayer @zgfg @DiamondJohn

First of all I apologize for the inconvenience caused and thank you for your time and help.

I happened to find an interesting host list. That is https://github.com/Zelo72/hosts . More specifically https://raw.githubusercontent.com/Zelo72/hosts/main/big.txt . Which contains several sources reaching more than a million entries.

But my question is, does Adaway recognize it and loads well. That is to say if you have other sources, this source of Zelo72 puts you updated for x time. And everything ok?

I say this because I don't know why I think that Adaway can't handle such big lists, that's why I'm asking if you are ok with it.

Thanks a lot for your help and your time.
You can't put a Web page with the list of hosts sources to AdAway but the hosts sources one by one

Big.txt will likely work, you should try - but frankly I don't like and don't need that big hosts files (and won't try the 1M of blocked domains).
Currently I run less than 18K of blocked domains (from 12 but lean and mean hosts sources) and I never ever observe any problem with ads on the Web pages I read and in the apps I use
 
Last edited:

DiamondJohn

Recognized Contributor
Aug 31, 2013
5,624
5,399
Sydney
Good evening @PerfectSlayer @zgfg @DiamondJohn

First of all I apologize for the inconvenience caused and thank you for your time and help.

I happened to find an interesting host list. That is https://github.com/Zelo72/hosts . More specifically https://raw.githubusercontent.com/Zelo72/hosts/main/big.txt . Which contains several sources reaching more than a million entries.

But my question is, does Adaway recognize it and loads well. That is to say if you have other sources, this source of Zelo72 puts you updated for x time. And everything ok?

I say this because I don't know why I think that Adaway can't handle such big lists, that's why I'm asking if you are ok with it.

Thanks a lot for your help and your time.
I am a user of huge lists. And AdAway does have issues when the list gets too long.

Some things you need to watch out for / understand with using big lists, is that many of the hosts are actually desktop specific, and would (*possibly*) never be used on an android device. Another thing to also note when using a big list, you will most likely need to manually maintain your own whitelist.

I had a look at your sources, and in particular, this sources whitelist. There were a few very suspicious (ie advertising hosts) in their white list. for example:
Code:
...snip...
# Referrer (Clicks)
a.nonstoppartner.net
ad.doubleclick.net
adservice.google.com
adservice.google.de
clickserve.dartsearch.net
googleadservices.com
m.exactag.com
mydealz.digidip.net
pagead46.l.doubleclick.net
pixel.everesttech.net
promo.mobile.de
t.myvisualiq.net
tp-emea.exactag.com
trk.klclick.com
www.googleadservices.com
...snip...
 

Top Liked Posts

  • 2
    Getting this "Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed


    This app is wonderful. Thank you!
    Hi!

    Thanks for the info.
    There are some issues here. First database should answer. Then, error should not leak the database password (that I just changed).

    I will investigate what happened for those two problem and revert the whole hosting to ensure nothing was altered... (better safe than sorry).
    Could you trim the error message from your post? It won't prevent Google from indexing it or remove it from the Internet history but better removing it. Thanks.
    2
    Thanks for the quick edit!


    On my side, my hosting provider just changed my database domain name 15 mins ago, breaking most of my services...
    And I also found an error in the debug settings on the AdAway backend that I obviously did not test, leading to display error context in production.

    Everything should be back in order now.
    1
    Could you trim the error message from your post?
    I did it.
    @DrunkUncas Please advise if I was too "pro-active", and I reinstate your complete post.

    Regards
    Oswald Boelcke
  • 7
    Hi all,

    Frankly, I don't know if you could block ads in Chrome while using AdAway in VPN mode

    A year+ ago I had two phones, rooted and not-rooted one, both with AdAway (one hosts, the other VPN mode), both running Chrome with Lite mode off.
    On the rooted phone, AdAway blocked ads in Chrome and 'everwhere' (of course, not in e.g. YT).
    On the not rooted phone ads were blocked 'everywhere' but I never managed to let AdAway block them in Chrome

    Nowadays I have only the rooted phone and AdAway still perfectly blocks me ads in Chrome and 'elswhere'

    Btw, Chrome for me is essential, primarily because of the built-in translator - sometimes, if I want I even read in Japanese, Chinese, Arabian, whatever

    ---

    If you have Android 9 or higher, disable AdAway and enable Private DNS in your native Settings, and for DNS provider put e g: dns.adguard.com

    I don't recall anymore but I think Chrome will also bypass that VPN and you will still see the ads in Chrome (that Private DNS uses VPN to the configured DNS server which blocks the sites pushing ads by not resolving their DNS names)

    IMHO, only some pretty old versions of Chrome can be enforced to go through your VPN (AdAway or Private DNS), and that's why you cannot block ads in Chrome, with AdAway in the non-root mode
    I can successfully block ads on Chrome if lite mode is not enabled.
    I just set up an emulator on Android 11 with Play API, install AdAway, block a custom site, apply and check if it is blocked on Chrome. It is.

    Not I did not set a Google account so lite mode was not enabled.

    I am no longer using AdAway. one of the reasons is that it isnt so good at looooong blocking lists.
    Did you move to another app? if so, which one?
    I could have a look to check how it handles the hosts merge better but it is challenging subject. I already released several implementation of the subject and they is currently two strategies running in the app...

    The solution I have is to do the merging client side. So you can set as many as host files you want without impacting your device resources but (there is always a but) I should charge for this feature.
    I don't know how much but moving the processing power from all your devices to one place won't be free from the cloud provider that will run it ^^'
    4
    Heyall, can someone please guide me on how to whitelist youtube vanced in adaway?

    thanks
    add this to the list: 👇
    s.youtube.com
    3
    anyway YTvanced does not contain ads but installing Adaway can block the YouTube history that's why we add it to the whitelist
    precisely why i asked to whitelist youtube. my history on different devices don't get synced, and i get suggested vidoes i already watched etc.

    cheers y'all!
    3
    What exactly is that needed for?

    I checked, it was blocked (now I whitelisted) but I never observed any issue with YT/Vanced
    anyway YTvanced does not contain ads but installing Adaway can block the YouTube history that's why we add it to the whitelist
    3
    add this to the list: 👇
    s.youtube.com
    thanks a bunch! works perfect.
  • 3309
    icon.png
    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 block or interfere with another app displaying ads." rule and can't be distributed on distributed on the Play Store.
    As Free and Open Source Software, AdAway is available from F-Droid Store or this XDA thread :good:


    Requirements:

    This application requires Android 8 or above and does no more require root.

    For older Android versions, a rooted device is required.


    Changelog:

    If you don't want to read each announce post of this thread, you can:


    Downloads:

    Stable versions are available on F-Droid Store and below:


    Beta versions are available on XDA development thread only:

    AdAway 5.0.10


    Problem? Read this:

    * If you use Chrome and still see ads on web pages, remember to disable the "data saver" or "reduced data usage" browser option
    * Check your APN settings for any proxy, the proxy itself could be allowing ads. Disable the proxy.
    * After you install or make any change to AdAway, you must reboot for those changes to take effect
    * If you are still having issues please read and understand all the info in the wiki before asking for help here

    Otherwise, this is the right thread to discuss about it or file a bug report here.


    Contributors:

    PerfectSlayer, Vankog, jawz101
    Source Code: https://github.com/AdAway/AdAway
    170
    Hi all,

    A new year is coming and I wish you all to have nice holidays :victory:

    Just few words about this ending year. There was about 12 releases in 2019 which brings you a new UI, a lot of bug fixes, Android 10 support, Gist and GitLab hosting support and better Magisk support.
    All of this is possible thanks to the community to help users to discover the app, learn how to use it and report any new bug and also your moral, nice words and thanks you can send to me, and financial support.
    Thanks a lot for all donators, GitHub sponsor and the Pixel 2 you sent me to test Android 10 support.

    For the next year, I hope to release the next version (V5), at least in beta to start. It's been 9 months since its first lines of code and things are working quite nicely.
    It aims to make the app simpler to use for the main use cases, support rooted and non rooted devices and remove old hacks/workaround which are no more needed on recent setups.

    But before this big next update, I still have time to fix current issue with a new release :p

    Changelog:
    • Fix GitLab hosting support (commit date parsing failed)
    • Translation update

    Thanks:

    Special thanks to @gallegonovato for its helpful bug report and @Vankog for translation update.

    Download:

    AdAway 4.3.2 on AndroidFileHost (md5: 78fde09a0e92044c45e901bb1cec8e2e)
    159
    Hi all,

    Long time no see! It's been more than two months since the last update.
    I can't say I was not active on the project as I start working on a new version (5.x.y) as a side project.
    I won't share the source code yet as it is not ready at all and I don't want to give an ETA but this new version targets the following goals:
    • 1. Revamp the UI
    • 2. Clean up old support
    • 3. Address one of the main drawback of the app

    1. The card based UI does not feel right. Welcome card takes too much space, update button / status has a lot of critic. I guess I can do better.
    I started a new simpler and lighter design which provide the most useful information on home screen and all main actions to trigger in one tap (no more burger menu).
    It is still under heavy development but I hopefully get a friend onboard, specialized in graphics and design, to help me :highfive:

    2. In order to simplify the development, I clean up the app and remove support for old features.
    I bump target SDK version so I finally get Java 8 language feature (it was released 5y ago…) and move to topjohnwu root library (instead of home made one). It means systemless support is now handled by Magisk and other root solutions will still work.

    3. Think of what prevent most of users to use AdAway? Now it's gone!
    It's not gone forever. It's still here but there will be a fallback to workaround it.
    I won't tell more until the first public beta but I guess you get the point :fingers-crossed:

    In the meanwhile, here is a new version!

    Feedback:

    Is anyone using a hosts list hosted on Gitlab? It keeps showing "Unknown update status".
    GitLab, like GitHub do not set LastModified HTTP header so update status is not supported... yet!

    Changelog:
    • Add Gist and GitLab hosting support for hosts file
    • Add option to set default IPv6 redirection
    • Improve reboot command
    • Improve UI for overlays
    • Update translations

    Thanks:

    Special thanks to @MSF Jarvis and ralayax for theirs contributions and @andy356 for its helpful bug report.

    Download:

    AdAway 4.2.5 on AndroidFileHost (md5: ab81225745afaaa7646024109de299c0)
    148
    Hi all,

    Feedback:

    Hmm, not working for me for this URL, v4.1.0 shows something like not updated in -360 days (some large negative value). Can you please see if you can reproduce?
    https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts
    It works well here. I failed to reproduce as I change the HTTP client library and how I use it.
    But update date for the source you link definitely works now.

    All the F-Droid apps I know of have manual push updates to the store.

    Isn't automatic build basically for nightlies?
    Not really. You could choose a lot of different mode.
    For example, F-Droid server watches AdAway GitHub repository to find tags which match a specific versioning pattern.

    I exist still... do you know what i have to do to transfer ownership? if i edit project it doesn't let me change the primary author so i assume i have to PM some higher up to make this happen?
    Thank you so much! :highfive:

    This is now done, @PerfectSlayer is the OP of this thread.
    Thank you too!


    Changelog:
    • Add hosts source download cache
    • Add snackbar notification to update host from DNS request listing
    • Update UI from Material Design to Material Theming
    • Update gradle, plugins and dependencies
    • Fix crash parsing not defined host source last modified date
    • Fix native modules build script (required for F-Droid build server)
    • Fix Transifex issues

    Thanks:

    Special thanks to all recent donators! Your help is really appreciated :good:

    Download:

    AdAway 4.2.0 on AndroidFileHost (md5: 023169e7c345ef7297095793024f8478)
    143
    Hi all,

    I talked enough about it the past weeks and here it is: the first beta for the next version of AdAway.
    As you know, the main feature is the removal of root requirement but it also comes with a lot of improvements like an easier to use UI, a builtin updater, new cache and databases to improve reliability or even a quick pause/resume adblocking button that 3rd party apps can control.

    It took me literally a year and 330+ commits to build it (the first commit of this branch was April the 7th) and I hope it will be worth it.
    It should allow the app to be viable in the future with root being more and more difficult to achieve at each new Android release and Google hardening SafetyNet checks.

    I will try to answer to the most expected questions here so you still can post a link to this FAQ later to lost users.

    FAQ:

    Does this version replace the v4.x versions?
    No. This is still a preview version and does not replace the stable one.
    It is available to test it and report issues and feedback before being promoted to stable.

    Can I upgrade and revert safely?
    Yes. Both v4 and v5 use the same settings export format.

    Why does this version targets Android 8+ Oreo only?
    Like the v4, v5 is expected to offer support for latest devices.
    Android 8 and above represent more than 60% of device distribution and will grew through time.
    If you use an older device, root solutions work very well and v4 is here for you (like v2 and v3 stayed for legacy devices).

    How the hell does it work without root?
    This version provides two adblocking methods: the usual root one using hosts file and a new one using local VPN.
    The VPN solution allows to filter and alter connections of your devices without root access.

    Is using a VPN safe?
    In the case of AdAway, yes. It uses VPN API but does not connect to a VPN server.
    In the case of VPN client app, it depends.
    To give you more details, a VPN client app uses the VPN API to create a virtual network interface on your device and redirect all your traffic into it.
    If you imaginge the VPN like a pipe (the right word is tunnel), client VPN app outputs all your traffic on a VPN server which is able to check what you are doing on the Internet.
    With AdAway, your network is not redirected to a VPN server but your device internet connection (same as no VPN). VPN API is only used to get traffic into it to break the connections to ad servers.

    Is VPN use battery?
    Yes, like everything you do on device.
    Witouth root, a VPN service will be running permanently to filter your traffic.
    Good news is it will only filter DNS traffic. Not all traffic is redirected into it so it won't be as expensive as you can fear.

    Did you come up with this idea alone?
    Absolutely not! I spent a lot of hours trying to find altenatives to hosts based adblocking (like routes or private DNS). But nothing was better than VPN based adblocking.
    So we (MrRobinson and I) approched Julian Klode, developer of DNS66 more than three years ago to see if we can merge our apps. It wasn't that easy as we don't develop our apps the same way so I ended up by integrating the DNS66 adblocking method into AdAway. It is fine for Julian, his app is Open Source and he himself built it from the core code of AdBuster app (an VPN based adblocking app).

    Should we stop using DNS66 for AdAway?
    Not at all. DNS66 is a great app and provides some features that AdAway doesn't have (yet?), like DNS settings.
    DNS66 is a great app, keep using it if you like it!
    If both apps used the same adblocking method a year ago when I start this version, I keep adding feature to the VPN adblocking method and most of them won't be in DNS66.
    If Julian ports them back to DNS66, it's great if it can help his app and users!

    Is it me or the app put on weight?
    Yes, the app significantly grew due to new libraries like VPN related ones and Android Jetpack.
    It also stores more data on device: a http cache, a host database, a hosts copy, etc...
    I think 15~20mo of storage is still fine.

    Changelog:

    Without further ado, check the summarized changelog (it was hard to summarize a one year development)

    • Add new home screen
      • Provides all main controls from one screen
      • Displays currently blocked, allowed and redirected domains
      • Displays current hosts sources status and control to force apply
    • Add non root ad-blocking feature
      • Uses a builtin local VPN to filter DNS request to blocked domains
      • Based on the work of dns66 by julian-klode
      • Allows to excluded system applications and per user applications
    • Add builtin updater with changelog display
    • Add feature to quickly pause and resume ad-blocking
    • Add wizard screen for first run setup
    • Add feature to display and filter all blocked, allowed, redirect domains
    • Improve preferences screen
    • Add broadcast receiver to control ad-blocking from third party applications
    • Update Android target to Android 10
    • Improve root and shell support
    • Split translation files to easier understand their context
    • Add GitHub action test and build tasks

    Download:

    AdAway 5.0.0 beta (sha2: 200fd7789b174735d3af5925b4e568b09475bb3f39a79d24d6617af4b19cd19d)

    If you like my work, feel free to support me. Check my sign for donation links. Thanks all! :highfive: