yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] zgfg:
File-system attributes for partitions in the fstab have nothing to do with your root privileges

You can buy yourself a new phone with the read-only SAR, give to your MiXPlorer all the world root grants you want, and you will not be able to make changes to the /system

Please, please, please - sorry but do not make confusion here if you are not familiar with what's going on (newbies with new phones will read guides and posts with incorrect statements and will start crying why AdAway cannot write to their /system/etc/hosts file - all because they didn't enable Systemless Hosts)

Btw I have two phones:

Xiaomi Mi 9T that was designed and originally released 2,5 years ago, with A9.

For A9 (and later A10) my /system was read-write, but when upgraded to A11 it became read-only.

However, that's still the old phone, with the old design of partitions and when I boot to TWRP, TWRP can bypass and it can write over the /system

(e g., i can make changes now to my /system/erc/hosts file from TWRP, but no more by MiXPlorer or whatever - given all root grants)

But on my new Xiaomi 11 Lite 5G NE, that's designed and relesed with A11, /system is no more writable even from TWRP

And this is noting speciffic to my two phones

Please google/search, read and learn about read-only SAR (system as root), systemless rooting (how and W H Y), etc
[Android Apps and Games] DiamondJohn:
FYI: I wouldn't expect too much from the Host list maintainer. In the last few months, on my desktop PC, If I keep my firewall on, desktop eBay does not always work; some do. I have a HUGE firewall IP blocklist. To view one of the offending eBay items, I tried turning off my firewall, but that triggers my Virus scanner to alert me to a phishing identified page/host, and the page will be blocked. I think there is something going on with ebay and their web sources that are not the best. And as i said, this has only been happening the last few months., on my desktop and only for some pages/items I do not use ebay on my phone.
[Android Apps and Games] PerfectSlayer:
Hi all,

It's the first release of 2022 with some polish and improvements.

First, I rewrote the backup part using the key-value pairs backup service support (it is not the part of the app that allow to export your list but the Android backup mechanism).

During VPN crash investigation (yeah, still working on it), I noticed the app was killed for backup and failed to backup and restart.

Now, the app should properly backup and restore your settings (when migrating to a new device for example). You can read all the details here.

Then I also give some love the the VPN user app exclusion UI. Apps are now sorted by name, rather than package name and the all row is clickable. That is more consistent with the whole settings UI.

Finally, I updated translations, third party libraries, the web server, build tools, etc... You know the drill.

Abort the new VPN implementation, I started publishing some test builds on some GitHub issues.

Results and feedback were good that encourages me to push it as beta built.

Changelog:

Implement key-value pairs backup service support

Improve VPN application exclusion UI

Update AndroidX libraries

Update mongoose web server

Update translations

Update gradle

Update build tools

Download:

AdAway 5.12.0
[Android Apps and Games] ashish1989:
Can this new version hide ad spaces too
[Android Apps and Games] Nergal di Cuthah:
As we said above adaway blocks certain websites, it cannot remove the space
[Android Apps and Games] persmash:
Hi,

I just root my phone to use adaway. That was the method I have ever known. But now as I see there is an option for adaway to work without root as well.

Sorry for that stupid question but what are the differences that I will see when I use it without root?

Best Regards.
[Android Apps and Games] Nergal di Cuthah:
Without root is a vpn service, you can i believe whitelist apps
[Android Apps and Games] persmash:
Does this have any difference that i can see on regular use?
[Android Apps and Games] Nergal di Cuthah:
As far a blocking i don't think there's much difference (i only ran vpn for 2days). But it does take your only vpn slot so if you already use a vpn there's that. And a notification in your shade. but other than that similar functions will be seen
[Android Apps and Games] zgfg:
Root writes the blocked sites to hosts file, Android reads the hosts file and if the site is blocked, resolves its hostname to invalid IP address.

That way, blocked sites get blocked for all apps on the phone

Non-root uses AdAway's virtual VPN for resolving blocked sitesm(through that nvirtual VPN, AdAway works as a DNS resolver that will imvalidate IP address for the blocked sites, whenever any app asks to resolve a hostname)

By using AdAway's settings, AdAway can whitelist which apps will not use the virtual VPN (hence AdAway will not block any hostnames to the whitelisted apps)

Also, Android can run only one VPN at a time - if you need some other VPN, you must disable AdAway for that app that needs another VPN

But in reality, there are some problems with that virtual VPN, you have to read back through the threads how serious are the problems or not now (when phone changes comnection between mobile and WiFi or between various WiFis, virtual VPN sometimes breaks and does not restablish correctly/timely).

I don't know more - I stopped using the non-root version 3 years ago

The same virtual VPN method use Blokada and DNS66 (they have their own threds on XDA) - those adblockers also don't depend on root

For the non-root/virtual VPN the adblocker must be running all the time in the background (to keep their vurtual VPN DNS resolver running)

For the root method, AdAway only needs to update hosts file from hosts sources from time to time (user can invoke Adaway manually to do update).

After that phone must be rebooted (for the new hosts file to be read and cached by JVM) and AdAway can be completely killed off (its job is only to update the hosts file)
[Android Apps and Games] zgfg:
Although your phone is rooted, you can set AdAway to run in non-root/VPN mode and test/experience yourself for couple of days how do you like it

You cannot switch betwen root and non-root through the Settings - you have to Wipe Data for AdAway (Settings, Apps, Manage apps) - or uninstall and reinstall AdAway and configure it again for the other mode

Read my previous answer what might be the advantages and disadvantages for one or another mode

But frankly, users with rooted phones would usually use the root/hosts mode.

Users with not rooted phones have no choice and they can only use non-root/VPN mode
[Android Apps and Games] gallegonovato:
Good afternoon:

I wanted to ask you, if I may, a question.

This hosts format https://hblock.molinero.dev/hosts ?.

Thank you very much for your help and time
[Android Apps and Games] bertsmelik:
Good day Bokkoman!

I am strugling with the same problem.

Would you be so kind to share de addresses for the AdAway whitelist?

Thanks, Bert Smelik
[Android Apps and Games] bokkoman:
Of course.

I don't know if they are all needed, you can test by disabling all of them and then enabling them one by one.

Let me know if it worked.

accounts.eu1.gigya.com

api-wired-prod-1-euw1.wrd-aws.com

conn-service-eu-04.allawnos.com

conn-service-eu-05.allawnos.com

socialize.eu1.gigya.com
[Android Apps and Games] bertsmelik:
Thanks!

I put them all in the AdAway whitelist and now My Renault works again!
[Android Apps and Games] ipdev:
Hi :)

The format is correct to be use with AdAway.

Quick check of that hosts list, I see it includes the YouTube history domain.

If you use YouTube and want to keep the watched history synced.

You will need to add s.youtube.com to your Allow list.​

Cheers. :cowboy:
[Android Apps and Games] ipdev:
It seems to be better. 🙃

I am currently disabling two settings.

In AdAway.

I turn off Monitor connection.

AdAway-> Preferences-> VPN based ad blocker.​

In System setting.

I turn off Always-on VPN.

VPN-> AdAway-> configure (the gear icon).​

Cheers. :cowboy:
[Android Apps and Games] ipdev:
One advantage for me using the VPN (non-root) mode instead of the hosts (root) mode.

My carrier (AT&T) ignores the local hosts file when Mobile Data is being used.

By using the VPN mode, AdAway block ads on both WiFi and Mobile Data.

Example.

BBC News app.

Using the hosts (root) mode.

WiFi - Ads are blocked.

Mobile Data - Ads are not blocked.

Using the VPN (non-root) mode.

WiFi - Ads are blocked.

Mobile Data - Ads are blocked.

Just becuase a device is rooted, does not mean you have to use root for everything. 🙃

Cheers all. :cowboy:
[Android Apps and Games] gallegonovato:
Good afternoon:

I was just surprised that it wasn't since I have been using it for some time and without any problems. That's why I was asking.

But my Adaway must have been stunned with the new version. In the end I uninstalled Adaway and reloaded the backup. And so far it works again.

One more question if I may. Does Adaway work with Codeberg links?

Thank you very much for your help and time.
[Android Apps and Games] redbean&bluebean:
hello, i am using Huawei phone. i upgraded this app with 5.12.0 version but my phone regarded this app as malware software.

my phone android version is harmoney os2.

i think appgallery application may detect this app to virus.

i hope you guys analysis this problem in next version.

thank you.
[Android Apps and Games] rodken:
I always thought by performing an 'Ad Block Test', it might shed some light on this subject.
[Android Apps and Games] S3Killer:
Hello everyone,

I am not able to install Adway on Galaxy Note 4 without root. I've already installed several versions, it asks to change the host destination, i make the change and it still gives an error.

On my mother's Galaxy Note 4 it has it installed but I don't know which version it is. Her device is not rooted.

Android version is 6.0.1
[Android Apps and Games] zgfg:
If the phone is not rooted, you can not run AdAway in the hosts/root mode.

On the not rooted phone you can only use AdAway in the non-root/VPN mode

However, for the non-rooted/VPN mode, AdAway 5.x is required - and it runs only on Android 8 (I think) or higher - but that's out of the reach for your old device

(Maybe the other phone you mention was not rooted by Magisk but was rooted by SuperSU that was popular back in those times)
[Android Apps and Games] S3Killer:
Hello Friend.

Interesting that my mom's phone (Galaxy Note 4) is not rooted.

On the J8 and Note 9 that I also have, I can run Adaway in VPN mode. Already on my Note 4, I can't install.

But anyway, thank you
[Android Apps and Games] chuppito:
Hello, can you give the solution? I have the same problem. Thank you
[Android Apps and Games] bokkoman:
Post in thread '[APP][ROOT/NONROOT][OFFICIAL] AdAway v5.12.0' https://xdaforums.com/t/app-root-nonroot-official-adaway-v5-12-0.2190753/post-86516965
[Android Apps and Games] gallegonovato:
Good evening:

First of all, I apologize for being such a pain in the ass. And sorry for so many questions from the hosts.

Today I found: https://divested.dev/hosts and https://divested.dev/hosts-wildcards (the most complete).

I use Adaway in root mode. Not Adaway with Vpn.

And my question is if it would work https://divested.dev/hosts-wildcards in Adaway?

I don't know if it is because I have other sources in Adaway. But it doesn't work for me. That's why I ask the question if it would work perfectly in Adaway.

Thank you very much for your help and time. And sorry for the inconvenience caused.
[Android Apps and Games] DiamondJohn:
If you really didnt want to be a pain, then using the search would of avoided that (and its the rules of the board).

Wildcards do not work for block-lists in root mode.
[Android Apps and Games] DaRdamnDoG:
View attachment 5557943

What's really going on here? 1.3GB data/day?
[Android Apps and Games] gallegonovato:
Good afternoon:

First of all thank you very much for your help and time.

And I'm sorry for being so slow in technical aspects. Or rather in the exact word so that I could find it in the search engine. Since I was looking for other words and that's why I did not get what I was looking for. And that's why I asked. Now I have learned that they are called Wildcards.

And if you allow me then the normal hosts that I commented without the Wildcards I do not know if it would work well. Or it happens as @ipdev explained in a previous message about Codeberg.

It is that I try it and I get installed an hour ago always. I mean https://divested.dev/hosts

Thanks a lot and I will try to learn more.

Best regards
[Android Apps and Games] gallegonovato:
Good afternoon:

I don't know if it will be the same case or not. But I don't know if it can help you or be that the problem.

It turns out that a friend who uses Adaway. He had the automatic updates enabled. And inside adaway he was using host lists that were updated every few minutes. He changed those lists and removed the automatic updates. And already lowered the data consumption.

Best regards
[Android Apps and Games] vandyman:
I see you are having a tuff time comprehending AdAway wth the multiple posts from you.

Here is a a clearer and easier way of understanding AdAway in this wiki link:

Home

AdAway is a free and open source ad blocker for Android. - AdAway/AdAway

github.com
[Android Apps and Games] DiamondJohn:
I do not use VPN mode, so the following is a total guess. BUT, if insteadc of just the DNS request but ALL traffic goes through the AdAway VPN, would that possibly be the cause that AdAway is being identified as the culprit? Would the data you see be explained by ALL your data?
[Android Apps and Games] zgfg:
Yeah. First, unfortunately, people don't understand how things work (and therefore the differences between the root/hosts and non-root/VPN mode) and hence omit that CRUCIAL info from their posts/claims

We can just guess that @DaRdamnDoG maybe uses non-root/VPN mode.

But in that case, per my understanding, the VPN is actually a virtual - there is no on-line AdAway server blacklisting but the phone itself (AdAway at 127.0.0.1) hence no AdAway traffic could be going over the mobile (or WiFi) connection for that virtual VPN

I don't know how it goes if the site is not blacklisted and the real DNS resolver must be contacted. Does AdAway then forwards the request and hence the DNS resolving traffic would be accounted to AdAway

But even in that case, it's only DNS request/response. Once the IP address is resolved, it is returned and the new UDP/TCP connection will be opened for the real traffic (application layer)

Therefore, I could not imagine that non-root VPN mode can be accounted as a 'culprit'
[Android Apps and Games] zgfg:
It's very strange but that anybody could try to help you, please provide important details:

1) Are you using non-root/VPN or root/hosts mode?

2) Do you have only the three default hosts sources or you added your own hosts sources and which ones - best, provide the screenshot/scrollshot of your Hosts sources tab in AdAway

3) How are your Updates in AdAway Preferences configured - again pls provide the screenshot
[Android Apps and Games] DiamondJohn:
@DaRdamnDoG

For good measure, I would also include details on the the ROM, Android version and maybe device. Most of these wont be much help unless someone knows the configuration explicitly, but Even though it makes sense that only the DNS request/resolution goes through the VPN, the extreme amount of data, just suggest otherwise; it could even be a bug in the ROM. I would personally like to know if the 1.3G could be explained by ALL the data expected; again, especially since there isnt much other (actually, not sure iof the 1.3G is DIRECTLY AND ONLY attributed to AdAway, its not how my ROMs display data usage per app, so it could just be an interpretation of what is poorly presented in a screenshot). Who knows what is in him ROM; knowing if its something funky may give more hesitancy assuming that its running as all would expect.
[Android Apps and Games] DaRdamnDoG:
If AdAway does uses a "local vpn", how does my speed test dropped drastically from an average 20mbps+- without AdAway vpn to only just 1-3mbps when it's turned on? Look I'm not saying it's all AdAway, I'm just trying to understand and find out what is wrong and fix it.
[Android Apps and Games] zgfg:
I don't understand really what's going on with your VPN - and I use root/hosts mode, but one of my questions was (info that was missing from your original post), are you using root/hosts or non-root/VPN mode (since techniques are 'diametral' opposite, as well as the possible reasons for your data traffic)

It's not popular to say here, but there are two other solutions, dns66 and blokada that use the same technique, (virtual) VPN (with root not required).

You could try one of them to test how the traffic would be encountered in that case

After all, you can also use VPN to the real DNS server blocking sites with ads: open native Settings, search for Private VPN and set to dns.adguard.com

In that case you don't need any app (AdAway, dns66...), you cannot control which hosts sources you would choose, you cannot do your own whitelisting/blacklisting but adguard really does a good job on their DNS server side.

You only need to have Android 9 (Pie) or newer
[Android Apps and Games] x.trinity:
I have an ads problem in the latest 5.12.0 version. From time to time I play some crypto games from Play Store, and it's getting annoying watching all ads that sneaks behind AdAway. Is there any solution for this problem ?

Maybe importing cumulative hosts file would solve this issue ?

Please , suggest me a link from where to download hosts definition file for AdAway.

Thanks.
[Android Apps and Games] zgfg:
You could try taking a high-end pack from EnergizedPro:

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

But are you sure that the game does not push ads by some other mens - in that case blocking on the DNS side would not help
[Android Apps and Games] Event_Horizon:
Can we have dark Adaway logo replacement for blank logo??
[Android Apps and Games] x.trinity:
Works nicely actually.

I've figured out for what reason I got all ads passing through, namely..for some reason 'AdAway official hosts' [https://adaway.org/hosts.txt] disappeared from 'Host Sources' . I don't know why and how that happened. I've tried to add 'https://adaway.org/hosts.txt ' link again, but it's not possible, nothing happens, it's like I did nothing, literally.

I added Energized Protection link and it works nicely, (I'm free of pesky ads now), but for some obscure reason it's not possible to add 'AdAway official hosts' default link.

Any hint on this?
[Android Apps and Games] zgfg:
To test, I have removed and later added https://adaway.org/hosts.txt without a single problem whatsoever

Make sure that you do not append https://adaway.org/hosts.txt after https:// - 'link' can not start with https://https://
[Android Apps and Games] x.trinity:
Yep, I know. I'm using Xiaomi Mi10TPro and I applied just the same as you did..and it worked.

I have an issue on Huawei P40Pro actually.

On both I'm using AdAway, of course .

For some reason I'm not able to add https://adaway.org/hosts.txt link on Huawei.
[Android Apps and Games] zgfg:
Settings, Apps, find AdAway and Uninstall or just Delete Data.

Install/configure again and it will set the three default hosts sources again
[Android Apps and Games] x.trinity:
I tried that too, but in vain :sneaky:

Yesterday, I tried to clear cashe and data, after I uninstalled AdAway and fired it up again from a scratch.

Weird ,really.
[Android Apps and Games] zgfg:
Ok, but what exactly happens when you manually add https://adaway.org/hosts.txt

What happened (with that source) when you reinstalled AdyAway?

Eg, hosts source is in the hosts sources list but AdAway cannot open to show Up-to-date and how many hosts it found or what

Provide screenshots how the source is added to the list and how the Hosts sources list looks like, etc - to explain what/how fails

And one more thing - try to open https://adaway.org/hosts.txt from browser - it should open like on the screenshot

PS: Instead of the above, 'official' URL, try to add to AdAway its alternative URL:

https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt
[Android Apps and Games] x.trinity:
I managed on this topic. I had to clear system cache files too ,(after AdAway uninstallation).

Now everything work smoothly.
[Android Apps and Games] RootedLee:
Just FYI: AdAway unavailable via F-Droid right now due to current server issues @f-droid
[Android Apps and Games] PerfectSlayer:
Hi all,

What Android version are you running? I remember older versions of Android count all app traffic as the VPN app traffic, here AdAway when using non-root VPN ad-blocker.

I am currently on Android 12 and it is now counted properly.

Was it like a 1.3GB spike on a specific day and everything is fine otherwise? Or did you just install the app, note the data consumption then stop using it?

On my side, the app is using ~15Mb / month, mainly to update sources.

I run a quick check on my side and I have the same bandwidth with (240Mb/s) or without (220Mb/s) AdAway enabled:

View attachment 5568995View attachment 5568997

(Unlimited 5G for 16€/month is really nice in France 😁)

Why not. Which logo would you like to be able to replace? The drawer one?
[Android Apps and Games] x.trinity:
This is my scenario..
[Android Apps and Games] P-King:
Hi All,

I have current Adaway Version installed with root(Magisk24.3) mode and no ad is being blocked for example in Chrome and many apps. However if I reinstall Adaway in VPN everything is working just like ever before with root mode? Is this because of the new Magisk Version?
[Android Apps and Games] Wishmasterflo:
Hmm strange.

I am using the latest AdAway as well with Magisk 24.3 on a custom ROM and have no issues with AD blocking.
[Android Apps and Games] Oswald Boelcke:
@P-King Same as for @Wishmasterflo applies to me.
[Android Apps and Games] P-King:
Do you have any modules like headless hosts etc active? R u using Chrome as well?
[Android Apps and Games] Wishmasterflo:
I have systemless Hosts active and no I dont use Chrome!
[Android Apps and Games] Oswald Boelcke:
I've to admit I even don't know what "headless hosts" are. Otherwise using Firefox FOSS Browser; never used Chrome or anything by Google.
[Android Apps and Games] zgfg:
Systemless hosts (not Headless) - probably lost in translation
[Android Apps and Games] P-King:
Hm ok. I have no problems

Sorry I meant "systemless hosts". It's just that it worked over the last year's like charm and for some reason over night it stopped.
[Android Apps and Games] Oswald Boelcke:
Ok, that's fine. And affirmative, I'm also using systemless hosts and the Magisk systemless hosts module - it wouldn't work otherwise.
[Android Apps and Games] P-King:
See as reference Chrome Vs Firefox with Adaway running in root.

Can Chrome bypass somehow Adaway and the hosts file?
[Android Apps and Games] dr4go:
Do you use the light mode in chrome? If so, disable that, clear cache and retry.
[Android Apps and Games] stankyou:
I've mentioned this here recently too. Chrome seems to be connecting to Google servers even when Lite mode is off. That's the only thing I can think of that's preventing Adaway from blocking ads in Chrome while Adaway is working fine for all other apps. Might be an Android 12 thing perhaps?

Ads are still blocked in Chrome for my Oneplus 5T running Lineage OS, Android 11.
[Android Apps and Games] Oswald Boelcke:
I apologise that I provided a wrong information in the quoted post but now corrected it. Forgot we're talking here about my use of AdAway on my mobile device:

Not using FF but FOSS Browser on that.

Firefox runs on Notebook in our home network with Pihole. Typed the above post on the notebook and was therefore wired to FF. Sorry for that.