yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Nergal di Cuthah:
Works in root mode, it's got to be one of your lists.

These are mine

View attachment 6025403
[Android Apps and Games] zgfg:
Ok, but still strange that I can read with Desktop site On

Same for Android Police - it also complains about my ad-blocking but no problem if I set Desktop site On
[Android Apps and Games] Nergal di Cuthah:
Is one of your sources specified to mobile links? I'll try android police but i don't recall a problem with their site.

Edit AP loaded with no warning but maybe ad leak

View attachment 6025414

No intrusive ads on AP only reference links like above phone by google ad
[Android Apps and Games] osm0sis:
I noticed a few days back that they got rid of the Continue Anyway option and was honestly just like, "cool, guess I'm not going to Android Police ever again" 🤷‍♂️
[Android Apps and Games] zgfg:
AP for me without Desktop Site on the screenshot
[Android Apps and Games] Nergal di Cuthah:
Lol that's a terrible faq. Doesn't even mention the host method of blocking. I wonder why it blocks your's and not mine.

Here what got through on my blocked deviceView attachment 6025437

Here's from a clean browser

View attachment 6025438
[Android Apps and Games] Wolfcity:
Same here. Is anyone able to open this site: https://www.sport1.de/ ? No way for me on Vivaldi or Firefox. Only option is disable AdAway and reboot.

Even DNS request doesn't find any entries that help in this case.
[Android Apps and Games] Oswald Boelcke:
To me the site loads but then it detects the ad block:

View attachment 6026021
[Android Apps and Games] Nergal di Cuthah:
Same
[Android Apps and Games] Wolfcity:
The same behavior here. The adblocker is definitely AdAway. Strange thing is that I'm not able to find the relatedentries by DNS request or searching the host files.
[Android Apps and Games] Oswald Boelcke:
Same happens on our PC too i.e. without Adaway. Tested via Edge i.e. no add-ons but with Pihole in our network.

Spoiler content hidden.
[Android Apps and Games] onoakino:
Anyone here using Adaway 6.1.1 and Magisk Delta 26301 and not encountering the error below?

Adaway used to work when I was still on Magisk 23.0, and now it won't.

View attachment 6026672
[Android Apps and Games] zgfg:
Yes, Delta with Systemless hosts, no problem
[Android Apps and Games] m0han:
AdAway in VPN mode. Same here. And, Android Police loads for me in Mobile mode.
[Android Apps and Games] Wolfcity:
That's really strange. I found out when you open the site with Google news app you have a ❌ at the right top to remove the adblocker warning.....

Annoying.
[Android Apps and Games] m0han:
Tried opening https://www.sport1.de/ with Google app. Doesn't open. Moreover, translation does not work. In other browsers too. That's really strange.

p.s.: I don't have a ❌ at the right top.
[Android Apps and Games] onoakino:
Which version of Delta are you using?

You're using Magisk Delta 26301?
[Android Apps and Games] zgfg:
Yes, I already answered that
[Android Apps and Games] drnightshadow:
Lol look no nagging screen pic atached

For youtube use libretube ads free and its using proxy no real IP
[Android Apps and Games] m0han:
Do you use AdAway? Are you rooted? Which Magisk? What's your 'hosts list' setup?
[Android Apps and Games] drnightshadow:
Yes of course i'm using AdAway - latest, root method, Magisk 26.3, host list - combo from prehistoric adaway to latest:

AdAway Offical

Pete Lowe blocklist

StevenBlack Unified

Malwarebytes Browser Guard

AdGuardApps

AdguardMobileAds

AdguardMobileSpyware

EasyPrivacy3rdParty

EasyPrivacySpecific

That's it folks :D

Browsers that im using:

PrivacyBrowser - setup for privacy - no javascript, no DOM storage, etc

Mull - with ublock origin addon

None of them showed nagging screen.

Oh yeah, tested on 2 different phones, both on LOS : Redmi Note 5 pro - LOS 18.1, Samsung s21 5g g991b - LOS 20.
[Android Apps and Games] DiamondJohn:
It was actually a VERY fai8r and reasonable question. IU do not use adaway, but IO read this thread as I do have very comprehensive host blocking, and this thread is the best I have found on the topic.
[Android Apps and Games] Conan179:
Does anyone use the Outlook app for Android? I'm only asking because I'm having problems setting it up and I want to be sure I don't have to enter a DNS exception.
[Android Apps and Games] osm0sis:
My wife uses it without issues on the default lists.
[Android Apps and Games] zgfg:
I use both AdAway (root) and Outlook for ages. And of course, never had problems
[Android Apps and Games] Gordietm:
I previously had problems logging into the exchange server. I had to disable AdAway and reboot. Then setup outlook and enable AdAway. That's what worked for me.
[Android Apps and Games] DiamondJohn:
I havent tested this theory, and others have noted that when they use to change their host file directly on the system back in the das of RW systems, they would need to reboot to enable the new host file (I never have had to), but I *think* in systemless hosts there is a post-fs-data script that unmounts the systemless hosts file. And when your finished, you can run the service.d one to remount it, thus avoiding the reboot. As I said, UNTESTED
[Android Apps and Games] SAMK19:
Can you add a private DNS server to adway app as this setting (in-built android) interrupting network connection when using along side adway vpn (on non root device)?
[Android Apps and Games] zgfg:
(Private) DNS server would require running a server, paying for being 24/7 online, etc
[Android Apps and Games] osm0sis:
Ah, figured out what's going on; they don't allow it on any device with an unlocked bootloader. Nothing to do with AdAway. 🤷‍♂️😅
[Android Apps and Games] synesthete:
If you pay for any of their paid cloud storage tiers they allow an unlocked bootloader with the vpn. Haha. I pay for it out of necessity, so the vpn is a nice bonus.
[Android Apps and Games] basily:
I can't thank you enough. I had ads on my phone for about a month and it was driving me nuts... I had to quit messing with it because I was busy with other things, but I just revisited the issue and reread your post. Thanks for the in-depth investigation and explanation.

I ended up using the private DNS solution. Question: why not skip straight to this solution rather than mess around with static IPs and having to do that with all your APs? Also, do you prefer adblock.doh.mullvad.net over others like dns.adguard.com or nextdns?
[Android Apps and Games] zgfg:
I had that problem on one of my two phones like eight months ago. I could have used Private DNS (I did and it worked) but I was curious to find the root cause

When I finally realized all that and found the workaround with static IP DNS values (I needed to apply only to three of about twenty WiFi I keep passwords on my phone), I upgraded the ROM on my phone (actually, I had a hard brick so I also had to Factory reset, it took ne couple of days to repair the phone and to set/install everything from scratch)

After all that the problem was gone and it's still all fine. Sometimes I enable (on top of using AdAway in root mode) Private DNS adblock.doh.mullvad.net

but I prefer AdAway only since I can manually whitelist particular hosts if I need
[Android Apps and Games] HippoMan:
I started seeing a new AdAway 6.1.1 problem today. I'm running A13 (Nothing 2 OS 2.0.3) with Magisk Delta 26301.

When downloading Hosts Sources in AdAway, I'm now always getting this message:

Not enough space

Unable to copy hosts file to your system partition. Please check Magisk systemless hosts module is enabled and then reboot.

Systemless hosts is definitely enabled, and its status hasn't changed for weeks. And AdAway has been working fine since today, and I haven't changed any of its settings. And I haven't changed any Magisk settings, either.

If I go in via adb and switch to root and check disk space, I get this:

# df -k /system

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/block/dm-8 1287468 1283560 3908 100% /system/priv-app/VpnDialogs/oat/arm64/VpnDialogs.vdex

Could this be causing the problem? I thought (possibly incorrectly) that /system will always look like it's 100-percent full when using Magisk Delta 26301 and when using Systemless Hosts.

Am I mistaken about that?

UGH! Never mind!

I still had this problem after restoring an OrangeFox backup, but then, I decided to completely uninstall AdAway via F-Droid and then re-install it via F-Droid.

Now the problem has disappeared.

What's weird is that before I took the OrangeFox backup, AdAway was working fine.

Well, maybe the F-Droid uninstall/install procedure cleaned up something that might have been causing problems for AdAway.

But in any case, all's well that ends well.
[Android Apps and Games] zgfg:
Mentioned elsewhere earlier - (I) don't trust to nandroid type backups. Something will fail🤪
[Android Apps and Games] shiboby:
How do you get so many blocked and so many up-to-date sources? I only have about 150k blocked and 3 up-to-date sources
[Android Apps and Games] zgfg:
BCS I added additional Hosts Sources.

Click to the Hosts Sources, click to + sign, etc, at the end take Apply Changes

See instructions, see in the thread for various additional Hosts Sources ppl use
[Android Apps and Games] shiboby:
Thanks for the response. So I searched and followed the hole down to this page:https://adguard.com/kb/general/ad-filtering/adguard-filters/

I've tried added the following urls to sources, but after applying, updating, and syncing rule database, I don't get anymore blocked.

https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt

https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_Base/filter.txt

Maybe I'm doing something wrong? I've tried searching for a walk through on how to do this, but didn't find one. Do you know of one you could share with me?
[Android Apps and Games] DiamondJohn:
wrong file format.
[Android Apps and Games] zgfg:
Those are Rules for AdGuard application

Hosts sources for AdAway must be in the plain IP hosts file format

Open in browser one of those Rules and on the other side take URL from one of the preconfigured Hosts sources in AdAway and open in browser and compare

Attached is my AdAway backup/export. Preferences, Import and you will have more Hosts Sources
[Android Apps and Games] shiboby:
Awesome, thank you!
[Android Apps and Games] mkcs:
Any idea to use it on KernelSU? I have already installed the following module:

GitHub - symbuzzer/systemless-hosts-KernelSU-module: Required module to use applications such as AdAway on KernelSU and APatch

Required module to use applications such as AdAway on KernelSU and APatch - symbuzzer/systemless-hosts-KernelSU-module

github.com

However, it still has no effect on the Edge browser
[Android Apps and Games] joefuf:
I'm back again with a weird issue... Has anybody had any issues with RCS or Google Messages lately?

Last Wednesday, I lost the ability to send and receive RCS messages despite my phone (Pixel 7 Pro, updated to the November 2023 patch) having made no changes. I was on my way home from work when I stopped being able to send RCS messages to friends. Didn't install or update anything strange.

Today, after a ton of troubleshooting, I re-flashed the November 2023 Pixel update, and, before I patched the init_boot with Magisk, everything works fine. I am using Magisk Canary 26401.

But once I patch with Magisk, install AdAway (6.1.1) and enable Systemless Hosts, the RCS functionality stops after a few minutes.

The only add ons that I have are Systemless Hosts for using AdAway with Root and Debloater (Terminal Emulator) (v17.3.3). Even without installing Debloater, RCS messaging breaks with Systemless Hosts.

Has anyone else had this issue? Is there another option for AdAway without Systemless Hosts?
[Android Apps and Games] Nergal di Cuthah:
Sounds like one of your lists is blocking it, turn them all off but the default, reboot and try rcs. If works then add back one by one, rebooting each time. Trying till it breaks then find the entry in that list.

Systemless hosts allows you to have a host file bigger than the default and have that host file not in the read only system disc, all it is is a symbolic link.

If you had the Play integrity fix module it might be that (some of the recent builds have been reporting that), but you say you don't so that's a red herring.
[Android Apps and Games] joefuf:
Which one is the default? Last night, I had a theory that it was something wrong with this version of Magisk and that Systemless Hosts was the culprit. So I tried using AdAway as VPN instead of root, and with all three of the lists that come with AdAway (I have my own on GitHub which I purged of all RCS mentions and SlickDeals click-thru links), I was still having issues.

The strange thing is that even after I stopped AdAway, uninstalled it, and rebooted a few times, the issue with RCS persisted until I reflashed the November update on my phone. Does that make sense? Would the effects of AdAway last through reboots despite it only being a VPN-level app?

Is that to suggest there's no likely way that Systemless Hosts as a module on its own could be breaking something?

Yeah, I don't have that. I have reinstalled Debloater this morning and it's been fine. Uninstalled the Gmail, Google TV, YouTube, and YouTube Music apps. Just surprised that something changed all of the sudden. Days after I flashed the monthly update and would've updated Magisk. I guess Google changes addresses they use on their end periodically?
[Android Apps and Games] Nergal di Cuthah:
Answered yourself

Probably
[Android Apps and Games] nov01:
Hello there!

I am very happy and using adaway from like 5 years and i have a problem. I want to change my font in my LOS 20 with a magisk module called font manager and Adaway is blocking its functionality, so how can i set a rule or disable this particular app in the block list? Thanks in advance!
[Android Apps and Games] mkcs:
Found the magisk module, Shamiko will break Adaway systemless host in KernelSU, causing it fails in some browsers such as Chrome or Edge
[Android Apps and Games] vurtomatic:
Sorry in advance, I'm late to this problem: Is there a workaround for those (newish) full page adblocks that "shows you how to disable adblocking?"
[Android Apps and Games] Nergal di Cuthah:
Not via adaway, it just does host redefinition
[Android Apps and Games] vurtomatic:
Ah ok, I'm not well-versed in adblocking, usually "set and forget."

Is there a workaround you can point me to? TIA!
[Android Apps and Games] Nergal di Cuthah:
I just avoid sites like that, or temporarily revert to default host. This needs reboot for some, not me. only requires app or browser to be totally exited for me
[Android Apps and Games] Nergal di Cuthah:
Forgot to say, you can add adaway to system's quickactions bar for easy turn on turn off

View attachment 6040325
[Android Apps and Games] joefuf:
Alright, once again, my issue seems unrelated to AdAway. Thanks to @Nergal di Cuthah for attempting to help with troubleshooting steps.

I managed to get things working again by installing the Play Integrity Fix module in Magisk. There must be something going on with Google Play Services losing functionality if you are rooted. This appears to break RCS messaging capability.

My device was not meeting Basic Integrity (only Device Integrity) until I installed the module. Right now, it works, but it appears there's a cat and mouse game of device fingerprints from the module and Google banning them. Haven't rebooted my phone in a few days, but I believe that if I do, it will break functionality. Hoping to see this play out positively in the coming days and weeks.

Until then, thanks as always to the people behind AdAway. I am reminded how god-awful the internet browsing experience is when I go even a brief period without a content blocker.
[Android Apps and Games] gbSung:
So I've read and read. Forgive me if I've missed the obvious..

I'm new to rooting and to Adaway. After getting a pixel 8 pro I've spent a lot of time researching rooting and everything that goes with it. One of my main reasons for rooting was to have Adaway working at a level that meant I really did have no ads.

After finding and following everything I could and downloading Adaway I am still seeing 'sponsored' Google ads when I search using Chrome. How can I remove these 'sponsored" ads when searching ?

Thank you for any help...
[Android Apps and Games] Nergal di Cuthah:
If i remember correctly while you can't remove that particular type of search ad (it's served by google.com so a block will block all google), their links will hit a block. I think bing does the same though I've not used it much.

Alternatively use duckduckgo search and turn off ads in its settings
[Android Apps and Games] gbSung:
Disappointing, but thank you for the reply.
[Android Apps and Games] joefuf:
Probably a super basic question, but I'm trying to handle the Slickdeals click through URLs, and can't seem to get AdAway to allow them. I have tried adding each to the Allowed file section, applying, rebooting, and waiting some time (days), but can't get AdAway to permit those websites. Am I doing something wrong in my syntax? I tried adding the asterisk to one of them just to test, but that didn't fix that website either.

View attachment 6045026
[Android Apps and Games] Wolfcity:
Chrome is a special case. I remember that a user (@zgfg ?) posted a workaround here.

Try to search for chrome, ads.

I don't use chrome so I can't help you.

Edit: Maybe this one:

[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
[Android Apps and Games] krakout:
Anyone seen the last Kitsune update? It says

" Cancel the writable exception for system/etc/hosts Please write to safely place /data /adb/modules /hosts / system/etc/hosts (built-in hosts) instead. App like Adaway might not work (the fact this app has not been updated for long)"

But 8 have a hosts file in both those locations, same size, already. How exactly does adaway works? Where does it place it?
[Android Apps and Games] IcecalGamer:
I just got a new phone. Old phone STOCK (locked bootloader, no SU nor Adaway, nothing) and my new one rooted (magisk adaway the entire schpiel). Xiaomi note 9 and note 12s. No pie-hole router either.

RCS messages DO NOT work on the new Messages app update nor the new Carrier Services app update (for me).

The work around i found for myself is to Uninstall App Updates for both of the above and run the base (out of the box) apps.

Have you found any other "fixes" ?

PS: I came here to learn how to add filter lists to Adaway :D Help, maybe?
[Android Apps and Games] zgfg:
It should work ok - if Systemless hosts is enabled in Magisk app (his Kitsune app) Settings, and you rebooted the phone afterwards, then AdAway does not write directly to /etc/hosts but to /data/adb/modules/hosts/system/etc/hosts

You will (probably( only need to reboot after every Hosts sources update (root mode), but that has been discussed here many times

That's the way how it works for MANY YEARS (I dunno what Husky maent or why he didn't simple check and test - but bcs of his breaking changes, you may have now problems with the other modules, like with BB NDK)
[Android Apps and Games] krakout:
No idea what BB NDK is (oh, BusyBox, ok), but thanks for the explanation! I have a vague idea of how it works and it agrees with what you wrote... Guess I'll have to test and report! Thanks again🙂
[Android Apps and Games] zgfg:
What exactly? You want to have your own Whitelist or what?

---

For Blacklists just open any hosts sources file (or the hosts file that Adaway created locally) and list the same block domains, like

127.0.0.1 aaa.bbb.ccc
127.0.0.1 ddd.eee.fff

Save the file somewhere to eg GitHub and Add it to your Hosts sources

If you have only few domains to block, add them manually through the AdAway app

Btw, instead of putting a file to eg GitHub save it locally and while adding your Hosts source, choose File option andf then navigate to the file.

You always have to accept Finsih to apply the changes (and best to reboot afterwards)

Details have been discussed here several times

---

If you want to add Whitelist, file must be in the litle bit different format, just like:

aaa.bbb.ccc
ddd.eee.fff

Again, save to GitHub and while adding in AdAway to Hosts sources, choose Allowed instead of default Blocked option, Finish, reboot....

Instead of loading Whitelist from Internet, you can also save to fiole and use the File option as mentioned above for Blacklist

If you have only few domains to whitelist, add them manually (main AdAway window, click on Allowed, Add, etc - try and play yourself, it's straightforward
[Android Apps and Games] zgfg:
BB NDK = Busybox NDK module from Osm0sis

With Kitsune 24403 and 24404 it doesn't work properly anymore, since Kitsune does no more mount 360 or so applets (ln -s symlinks to the busybox binary) to /system/(x)bin. Kitsune now mounts only the single busybox binary

Due to those Breaking news, users may have further problems also with the other modules - don't expect that module developers will be happy to make adaptations needed just for a specific unofficial Magisk fork(s) and their users, specially when the breaking changes unexpectedly come with a particular eg Kitsune version(s), and require developers to install the same Magisk fork/version to debug themselves what's going on and how to implement a workaround for that fork/version (and then to test again if the workaround affects official Magisk users or they have to check Magisk fork and version by eg magisk -c to recognize whether to use normal functionality or the workaround)
[Android Apps and Games] IcecalGamer:
As i said, i JUST got the phone and I'm at the 101 step, the basics of how to add lists; not even 102-how to whitelist :D

I was searching for some "best" or common host files .txt-s that i could download and "add as file".

And also searching if i could "export" the default ublockO lists to .txt file (to use in Adaway).

As i said, total noob mode here, Just got into it and was going backwards through the thread and saw that guys post about the RCS messages, problem i just "fixed" myself and thought to share my "solution" and how i got to it.
[Android Apps and Games] krakout:
Yeah, no idea why the dev went that way to be honest...

For the time being I updated and adaway still works fine. Everything else seems to be ok, too, but who knows what will break.
[Android Apps and Games] DiamondJohn:
For starters, do not down load them as a file. Always use the live web download. Hoss are changed regularly by advertiser and malware distributers. Once you download, you protection is historical. Download/update from a URL, you get the latest revisions automatically.
[Android Apps and Games] clueless_stranger:
Thx my number kept getting stuck at verification, so I tried your trick of uninstalling updates, managed to verify for RCS, then reinstalled the update and stayed verified.
[Android Apps and Games] IcecalGamer:
Let me know if it stays verified after a phone reboot. If it does, i'll be gelous AF. (╯°□°）╯︵ ┻━┻ (because i also tried to set the number in old-app, update and keep the verification. Had all greens after update, but i just sent me back to verifying hell after a reboot and/or force close of messages app) <unreliable.

I figured as much once i dug deeper and saw "updated 8/12/50/etc. minutes ago" on most of the lists. This would have been great info if i had it yesterday and i wouldn't have (re)searched in the wrong direction; the more you know :D Found the GIT of UBo and got the things (via live link) from there.
[Android Apps and Games] clueless_stranger:
Rebooted. Still verified!
[Android Apps and Games] IcecalGamer:
Reee!!

So: you uninstalled both app updates (carrier + messages) ?

Got verified.

Updated ? just messages ? just carrier? both ? In what order?

Reboot and works? o..0