yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Unblocked:
Works perfectly for a pleasurable time, but then the system closes it and the following message is displayed:

"Android system: Disconnected from always on VPN. Change network or VPN settings."

I am using the non-rooted VPN based blocking. Battery optimization is also disabled. It is set to be 'always on' in the system settings.

What should I do so that it does not disconnect?
[Android Apps and Games] Wolfcity:
I reinstalled Adawy 6.0.3 (non root/VPN version) and installed my latest backup adaway-backup.json.

The backup contained beyond other things the three standard host sources

https://adaway.org/hosts.txt
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://pgl.yoyo.org/adservers/serverlist.php

After restoring

https://adaway.org/hosts.txt

was missing and I'm not able to add it by hand.

No problem with other sources like

https://schakal.ru/hosts/hosts.txt

or

https://malwaredomainlist.com/hostslist/hosts.txt

Device Xiaomi Mi 9T running Xiaomi.eu 12.5.2 (Android 11) unlocked bootloader.

Any ideas?
[Android Apps and Games] zgfg:
Try the attached Json, it contains only https://adaway.org/hosts.txt
[Android Apps and Games] Wolfcity:
Thanks for that but after restoring your json it says backup restored successful (as it always does) but no adaway host source in the list.

Strange.
[Android Apps and Games] rodken:
I am assuming that you've already attempted to restore a backup after a newly-fresh install of Adaway

-- At least force stop > clear the cache > clear data [in that order].
[Android Apps and Games] dr4go:
clear data also clears the cache. So there's no need to also clear the cache. Force stop > clear data.
[Android Apps and Games] Wolfcity:
I thought in the same direction because the app doesn't go through the starting process (decision if root or VPN based). I forced stopped and cleared data but not cache (also thinking that data includes cache) but you never know. My solution was to go back to Adawy 6.0.1, there I was asked how to install the app and after synchronisation I was able to restore my backup incl. Adaway host source which was present this time anyway and update to 6.0.3 again.

Thanks for your reply.
[Android Apps and Games] EvilSpants:
Hello! I just downloaded the the app off of F-Droid, (using the latest version 6.0.3) and I am stuck at the setup screen where I can choose either Root based blocking or VPN. My device is not rooted, so the VPN option is the only one that works. However when tapping the VPN button, it does not move onto the next step for the setup process. Tapping the root button however results in a "Rooted Android required" error message.

Device is a Galaxy Fold 4.

And yes I have tried it using only the cover screen, thinking that it might be an incompatibility with where the button expects you to tap it when the device is unfolded. I have tried downgrading to past versions as well, and it is still the same result, tapping the VPN button does not move the process forward at all.
[Android Apps and Games] ycats:
I too have recently installed this on my ZFold4, not sure if it's working or not. It shows 137733 blocked, it's been showing that same number since installing, so not sure how to get it working if it isn't, and I'm doing the VPN which shows in the More Connection Settings, VPN.
[Android Apps and Games] EvilSpants:
See I can't even get the app to actually setup the VPN. I am stuck at the intro screen. I have another VPN service running at the moment, so I am not sure if that is interfering with it somehow, but it shouldn't stop Adaway from actually creating the VPN profile, should it?
[Android Apps and Games] ycats:
Maybe, not sure if it can run two VPNs simultaneously. I do have my VPN set to Adaway.
[Android Apps and Games] EvilSpants:
Well after fiddling, and turning off the VPN profile I was using completely, Adaway actually let me move forward with the setup process of the VPN profile. I'll report back and see if it is blocking ads and what not.
[Android Apps and Games] rodken:
You can only have one VPN at a time on Android. You can switch between the two, though, when you need to use the other.
[Android Apps and Games] rodken:
You might want to consider installing v. 4.3.6 to see if there is a compatibility issue.
[Android Apps and Games] Wolfcity:
As far as I know android can only handle one VPN at the same time. So I would disable the other VPN service and start the install process again.

Edit: Ninja'd by @rodken.
[Android Apps and Games] ycats:
.......and tell me all of the settings you have.
[Android Apps and Games] EvilSpants:
Yeah that became quite clear after messing with VPN settings. Dumb me thinking I could setup a second VPN profile with the first one active.
[Android Apps and Games] EvilSpants:
Well it does appear to be working. And I am assuming that by settings you mean what ones do I have enabled in Adaway? I have left everything as default when the profile was setup. Test with both Vivaldi browser and Firefox.
[Android Apps and Games] Ruvahkiin:
Hello. I was root user long time ago, but with my Samsung note 10 plus I tried blokada and it was similar to adaway root.

But since blokada 5 and 6, the app does not work well.

Right now I'm trying adaway non root mode and It seems that works better than blokada.

I think so. I know this is an official post but... Has anyone compared the two versions?

With rooted phones... It is The best obviously.
[Android Apps and Games] ycats:
Do you see the numbers in the "blocked" area change?
[Android Apps and Games] EvilSpants:
No, that number has not changed. I believe that number is the number of hosts that is blocked from lists that appear in the supplied in the app.
[Android Apps and Games] ycats:
Gotcha
[Android Apps and Games] ycats:
I feel like I still see ads in places.
[Android Apps and Games] EvilSpants:
This could be a result of that specific ad source not being caught by the host lists in Adaway. Unfortunately I am not exactly an expert in reporting ad sources. However, Adaway appears to support a DNS log request for, so you using that feature and then send that log to the appropriate place so the lists can be updated.
[Android Apps and Games] m0han:
The number changes when the host sources are updated. Check screenshot attached.
[Android Apps and Games] EvilSpants:
Right I assumed as much. I just refreshed my lists and the number did go up.
[Android Apps and Games] RASTAVIPER:
I have version 6.0.3 installed at my rooted OP9 PRO but I still see many image banners at specific websites.

Is there anyway to block these images from loading?

I tried to add the domain at the blacklist list but nothing has changed.
[Android Apps and Games] zgfg:
Systemless hosts in Magisk enabled?

Did you reboot upon adding to the Blacklist

I use Chrome and it works correctly for me.

I don't use other browsers, don't know about them
[Android Apps and Games] RASTAVIPER:
Yes all correct.

Also I use chrome.

Random ad banners are blocked.

But not these image banners.

Also the " DNS requests"' doesn't work for these banners. Like they cannot be found from Adaway.

And the blocked domain doesn't do anything.
[Android Apps and Games] basily:
I don't know if it's the cause or just chance, but on my pixel 6 pro, after the September update, I'm suddenly getting lots of ads in chrome. Did something change somewhere between this update, magisk and adaway?
[Android Apps and Games] Nergal di Cuthah:
Root or vpn? If root did you make sure to enable systemless hosts? Are you set to do dns over https? Did chrome reinstate datasaver? Did you check adaway's permissions

Am also p6p on september and ads block fine (root)
[Android Apps and Games] basily:
Root. Systemless hosts are enabled, and I've rebooted several times. I definitely have root and adaway says it's working. I haven't set DoH and i don't think there's datasaver anymore.

Maybe i just lucked into some particularly sneaky websites.

It's possible there was a hosts update that shut it down because right now, I'm not seeing ads.
[Android Apps and Games] DiamondJohn:
Since it happened after an update, I would be cautious that something has broke your system-less hosts, and so, your host file is not actually being used. I would do a quick check that the file in the module IS the file mounted into system. A long shot, but an easy check.
[Android Apps and Games] gallegonovato:
Good afternoon:

First of all thank you for your time and help.

I would like, if you allow me, to ask you one thing.

At the end I registered on the site to make suggestions on the language. But I don't know much. I was looking at what I have to change so that in Spanish, it comes out:

1 fuente desactualizada

1 fuente para actualizar ( 1 actualizando)

Since it comes out in English when there is 1 source left to update.

I don't know if you guys get it or if you could tell me what change to make.

Best regards
[Android Apps and Games] shizanuti_arm:
Why it's "unavailable" on my device? While other - smaller lists can work
[Android Apps and Games] ipdev:
Since it shows no online not available, did a quick check.

https://ransomwaretracker.abuse.ch/downloads/RW_dombl.txt

and

https://ransomwaretracker.abuse.ch

- Give a 503 resolution error.

Quick Google search and seems the site was discontinued.

"Ransomware Tracker has been discontinued on Dec 8th, 2019"

Apparently there were a few projects on github that used that source.

Some comments on Redit noted that it was still available until late 2020?

I assume that was when the domain registration ran out.?

---

No issues opening Steven Black with Brave Browser.

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

---

From the screenshot, I see ransomware is above StevenBlack.

It should not happen but, might be possible that AdAway is getting hung up on the dead site?

Try removing ransomware and check again to see if it will find StevenBlack this time.

Good luck.

Cheers. :cowboy:
[Android Apps and Games] shizanuti_arm:
Hmm, thank you very much for research! I'm using Brave browser too.

I tried to turn off "ransomware", but it didn't do anything ;(

The problem is I used I once used dns AdGuard, now it does not work in my country, an alternative in the form AdAway I knew very well, and once I used it, now I have some little problems
[Android Apps and Games] gallegonovato:
Good evening:

Could you please indicate me which part I have to modify in the Adaway translation site. So that it comes out in Spanish:

20220918-000041 hosted at ImgBB

Image 20220918-000041 hosted in ImgBB

ibb.co

20220918-233638 hosted at ImgBB

Image 20220918-233638 hosted in ImgBB

ibb.co

A hug and thanks for your help and time.
[Android Apps and Games] kubalav:
Use Transifex search function:

https://www.transifex.com/free-software-for-android/search/

URL for that case is:

https://www.transifex.com/free-soft...es-values-strings-home-xml--master/288224696/
[Android Apps and Games] gallegonovato:
Good afternoon @kubalav

Thank you very much for your help.

I made a suggestion to change it.

I hope I have done it well. I apologize if I did it wrong.

Best regards
[Android Apps and Games] selemine:
I have a non-rooted poco x4 pro and tried the VPN version.

I imported my list of 26th subscriptions from another phone that has root permissions.

Questions:

It feels like the new poco phone seems to be unable to keep the vpn active and it seems to have issues updating the complete set of subscriptions which leads to missing hosts

Sometimes it actively freezes which did not happen on the old phone with lower specs.

Is there anything i can do about these and why may that happen?

Does an adblocking VPN still use the network upstream resolver and proxy (if set) ?
[Android Apps and Games] gallegonovato:
Good afternoon @selemine

Try to upload the backup of the rooted phone, that you mention. In case there is any source that is giving failures or something.

By the way @ipdev @PerfectSlayer I forgot. I made some suggestions for the Spanish translation. I don't know what you think. I was also looking to change the one that says Analyzing source (When it is updating or downloading things from the sources). For example Analyze StevenBlack font. And change it to: Analizando la fuente: . I don't know if you know where this is.

Best regards
[Android Apps and Games] selemine:
So here is the backup.

Does Adaway handle all 3 types of possible blocklists (hostnames only, 127.0.0.1 & 0.0.0.0) ?

I have the feeling that it doesn't and for ignored list formats no number for included lines is shown.

I also think that the number of total blocked entries should be only updated when the last list update is downloaded and processed so you don't get nervous when you see the number drop by quite a margin inbetween

1m->200>999.900 again and only see in this example the before and after diff :)
[Android Apps and Games] zgfg:
Hostnames only are NOT the format for hosts file - for AdAway, input must be the standard hosts file format, like:

127.0.0.1 blocked.domain.com

or

0.0.0.0 blocked.domain.net

Btw, from AdAway main window, there is a Help and Tips link

Btw, most places with hosts sources provide them in different formats

Eg, EnergizedProtection provide seven packages (bigger or smaller, blocking porn or not, etc - they are merged from various other sources and they list those sources, hence you don't need to include their original sources into your Hosts sources list):

GitHub - EnergizedProtection/block: Let's make an annoyance free, better open internet, altogether!

Let's make an annoyance free, better open internet, altogether! - EnergizedProtection/block

github.com

For each of them, you can pick in ten or so different formats. Pick the right format:

Hosts Raw
[Android Apps and Games] gallegonovato:
Good afternoon @selemine

I was looking at your backup. And I saw that you have without 0.0.0.0.0 or 127.0.0.1 the following lists (which Adaway will not recognize as hosts):

Name: Chad Mayfield/top1m porn

Url https://raw.githubusercontent.com/c...sts/master/lists/pi_blocklist_porn_top1m.list

Name Chadmayfield Full List

Url https://raw.githubusercontent.com/c...lists/master/lists/pi_blocklist_porn_all.list

Name Prigent Adult Porn

Url https://v.firebog.net/hosts/Prigent-Adult.txt

Name ddgtrackerradar

Url https://blokada.org/blocklists/ddgtrackerradar/standard/hosts.txt

It does not exist:

Name MobileAdTrackersMobileAdTrackers

Url https://raw.githubusercontent.com/jawz101/MobileAdTrackers/master/hosts

This one has two entrances:

Name nobodysu/privacy-instead-of-security.txt

Url https://gitlab.com/nobodysu/spyware-hosts/raw/master/lists/privacy-instead-of-security.txt

Then it has several that should not be updated for some time. Because it comes out 40, 38, etc... months.

Then put the energized ones. The new links are here https://energized.pro/

And mixes several that are already included with each other.

Then he has blocking houses of samsung and xiaomi. If you now use a Xioami the Samsung one would be left over. But here to taste.

It uses Google and Mozilla but they are small and outdated.

You have a lot of lists of hosts for windows.... It would be better to block other things on an Android phone.

Then you have 7 allowed, which I would block: https://ibb.co/7jBMjcV

And the Oisd hosts are not bad, but Adaway works better with the ones from the creator at github https://github.com/sjhgvr/oisd

Personally, I would make many changes. And I would put other more complete or current ones. And I would make a reorganization, since some hosts include others. But I think I can't put the links, because of the rules.

I apologize if I have done something I shouldn't have done. I was trying to help the user, without wanting to do anything against the rules. So please excuse me.

Receive a warm embrace
[Android Apps and Games] selemine:
Maybe seemingly redundant but different people i know have different personal preferences and i like to keep the same file to import for everyone.

Import from a pi-hole in a window network

2 blogs, something that seems to break MS Teams for work, 2 podcast hosts and a game. Maybe github is useless , not sure how it ended up there.

This all does still not seem to explain why the VPN mode is so brittle.

As expected not every format of in the net is parsed by AdAway. I suggest this should change in the future for more compatibility.

Regarding redundancy, well in the end it is unified i guess and bandwith at home is available in abundance so i don't think it is an issue.
[Android Apps and Games] gallegonovato:
Good afternoon:

Even if you use the mobile with pure Android. And the Xiaomi stuff that brings your terminal. And you block them with Adaway. It can cause instability.

My advice would be to put a custom room. Lineageos style. Or else remove by adb the extra things that brings the mobile.

It's like using Google and block it by hosts. Better lineageos without anything from google to google gaps and without microg. And there you already put the things blocked for web connections.

On windows because already in itself telemetry and unnecessary things. There are in github script to remove many things from windows itself.

But as a recommendation. It would be to have hosts files that are updated. And the same if you look at Energized or Osid. These for their hosts use files from other creators. And adaway removes duplicate entries. So if a lock is in another hosts. It will stay with one. Hence we often say if such a source has 1000 entries and the other 5000 because it does not add up in Adaway. Because maybe some block is repeated.

But it would be good to make a reorganization of the entries you have. But it is a suggestion, don't take it badly. Because it avoids a consumption of data or resources for example.

Best regards
[Android Apps and Games] HofaTheRipper:
Hi!

I use Adaway for years but it suddenly stopped working with Chrome for me (root). With all other Apps its working fine and its also working fine with Chrome beta version (also with dev version). Only Chrome stable has troubles. Tried to clear cache/data, uninstalled and reinstalled Chrome.... but nothing.

Maybe anyone can help me?

Android 12

Adaway 6.0.3 root mode (yes - systemless hosts module installed and working - hosts file has over 5 MB)
[Android Apps and Games] Nergal di Cuthah:
Make sure use secure dns is off

View attachment 5720397
[Android Apps and Games] HofaTheRipper:
it is off... still showing ads

same settings on chrome beta work
[Android Apps and Games] gallegonovato:
Good afternoon @PerfectSlayer

I would like to propose a suggestion for the next version of Adaway.

I don't know if it could be put, as Adaway already had in previous versions. An option in the settings to display a banner, or to restart the mobile after updating, and create the hosts. After updating the sources.

I think it could be useful. I do not know what you think and if it could be carried out.

A hug and thanks for your time.
[Android Apps and Games] m0han:
+1 to that
[Android Apps and Games] selemine:
Is it possible that Android doesn't put the local hosts file first when connecting over a vpn or proxy?

Wonder why every now and then my local pi-hole blocks requests from the android devices in the house
[Android Apps and Games] dinotle:
Hi experts, I am new to AdAway and suspect it is the right app for me. I am using VPN method as my phone is not rooted. All I want to do is blocking ads in a couple of specific apps because their ads are so intrusive. I, however, found that I cannot do this unless I also block ads in browsers, too.

If I set it like the screenshot (exclude all system applications) and also exclude all user applications expect the couple of apps I want to block,

If I set "All except browsers" in "Exclude system applications" and also exclude all user applications expect the couple of apps I want to block, it can correctly block ads in those specific apps, but I also lost ads in browsers, which I don't want.

Is this expected behavior? Is there any way to do what I wanted (only block some non-browser apps' ads)?

Thanks in advance

.View attachment 5725513
[Android Apps and Games] blksith0:
What do we have to do nowadays to install AdAway on a magisk-rooted device?

1. Enable systemless-hosts in Magisk

2. Install adaway

3. Done?

-----------------

Hosts file vs DNS adblocking -- give me the pros and cons
[Android Apps and Games] Nergal di Cuthah:
2 should be done before 1

Hosts file is dns ad blocking
[Android Apps and Games] DiamondJohn:
And to state the obvious... (in addition to the obvious above)_

3. install AdAway, selecting root method, and I think you have to at least check that it is targeted for systemless host file

4. Run / download your hosts

5. reboot.

6. now your done ;)
[Android Apps and Games] phoneturf:
Adaway not asking for root access when installed so only get VPN option.

Phone is rooted with Magisk - Root Checker validates, and TiBu and Root Explorer work. Adaway does not show up in the Superuser list to allow me to manually approve it. Is there an adaway module for magisk so it could nbe installed from there? Or some way to install the apk where superuser recognizes a root app?
[Android Apps and Games] blksith0:
We can use a large hosts file, or we can set a custom DNS server (like AdGuard).

So... what are the differences there, as far as the user is concerned?
[Android Apps and Games] rodken:
You would need to search the thread for issues related to your problem.
[Android Apps and Games] phoneturf:
I had deleted and reinstalled Adaway a few times to see if I could get it to ask for root but it did not until I installed it then deleted app data. When I restarted, it asked for root so now it's working fine. Thanks!
[Android Apps and Games] ipdev:
When a domain name is called, the corresponding ip address is needed.

The local hosts file is the first step in name resolution.

If the domain is not in the local list, it will check the additional name server(s) you have set.

If found, it will then go to the ip address.

If not found, it will give error.

By adding a domain to your local hosts file, you set the ip address that it goes to.

Take 'buzzonclick.com' for example.

The current ip address come back as 35.186.243.67

If we want to block it, we add it to the hosts file and point it back to local host (127.0.0.1) instead of the correct ip address.

- We set it to 127.0.0.1 buzzonclick.com

Now when 'buzzonclick.com' is called it points to 127.0.0.1 instead of 35.186.243.67

---

I never looked to much into AdGuard but, (from what others have posted about it) I gather it works along the lines of a local VPN.

Since data traffic runs though the VPN, you can filter data as it goes though.

You can use a VPN to block domain(s) in much the same way.

---

The main difference is where you add the domain(s) you want to block or alter.

Add them to your local hosts file.

or

Add them to your VPN.​

In a previous post, I noted why I use AdAway's VPN mode on my main phone.

- Post # 16,628.

Hope it helps more than confuse. 🙃

Cheers. :cowboy:
[Android Apps and Games] DiamondJohn:
Ahhhhh... that explains something i saw happen on my old device, and worked around it / fixed it, but didnt really understand why; ie now I know it was the carrier :mad:. I added/edited DNS 's to my build prop. It was back in the day or R/W system and I did carpet bombing ie all I clould find, not targeted.

Attached is the log of one of the runs as a boot script. (which give's an idea of what the script does) I haven't recoded it for RO system. I also attached a version of the script as FYI. Its OLD, but at the time it fixed my host file not working on mobile data ; which really annoyed me.

EDIT: I think it reverted when I switched between WiFI and Mobile data. It was a while ago, but it worked for me
[Android Apps and Games] gallegonovato:
Good afternoon:

A question, if I may.

It turns out that if you restart the mobile. In sd maid comes out that Adaway is running. Even having everything in Adaway settings so that it does not connect and update only disabled.

Having lineageos, latest version of adaway. And Magisk with systemlees.

Then I have Adaway's background data removed. And I use Afwall to allow or disallow connections.

Best regards and thanks for your help and time.