yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] knpk13:
That's what I'm asking about. I didn't have to do any extra work. Adaway is blocking ads in chrome for me, I just checked on multiple different sites. So I was confused when I read other people saying it doesn't work and needs extra steps.
[Android Apps and Games] ktmom:
There are differences in setups that may subtly change results: location, the use of VPNs, plugins in browsers or browser version, proxy servers, on Wi-Fi or mobile data...
[Android Apps and Games] kojak1989:
Can I use magisk energized protection module with adaway? It will be working?
[Android Apps and Games] ktmom:
They both modify the hosts file. I would choose one of the other.
[Android Apps and Games] mxxt01:
You can use Adaway with an Energized hosts file.

Poslano z mojega MI 9 z uporabo Tapatalk
[Android Apps and Games] nadeemakhtar1994:
Wish there was option to block ads application wise.
[Android Apps and Games] :
This could happen, with a different working method. Blocking ads via a VPN access like Blokada does could make the application block specific applications. This one does it via the phone host file, so it applies to the entirety of the phone internet connection.
[Android Apps and Games] PerfectSlayer:
Hi all,

A quick update before Christmas refresh translations and add a comment about Magisk systemless module requirement for read-only system partition on latest versions of Android. I hope it could help new users to easily setup their devices.

Changelog:

Update help to include Magisk systemless module for read-only system partition

Update translations

Thanks:

Special thanks to [MENTION=2148774]Vankog[/MENTION] to keep the translations up-to-date and to my new GitHub sponsor! :highfive:

Download:

AdAway 4.3.1 on AndroidFileHost (md5: 6c7384c5ed2e8061aa8792ba0cd64b19)
[Android Apps and Games] guest4711:
Thanks for the update. How about changing the title of this thread (4.3.0)?
[Android Apps and Games] PerfectSlayer:
Done! I also pushed the tag on GitHub so F-Droid build is on its way ;)
[Android Apps and Games] guest4711:
Thanks a lot.
[Android Apps and Games] mxxt01:
I can't instal the app, tried with Xiaomi Mi9 and Samsung Galaxy A7 2018... Will wait for a F-Droid update [emoji6]

Poslano z mojega MI 9 z uporabo Tapatalk
[Android Apps and Games] Pseudonym:
What happened? It requested that many root request in less than a minute
[Android Apps and Games] zputnyq:
It needs to be uninstall first
[Android Apps and Games] PerfectSlayer:
You could have a look to the changes but nothing related to root happens between 4.3.0 and 4.3.1: https://github.com/AdAway/AdAway/compare/v4.3.0...v4.3.1

Could you enable debug log, restart the app and share a logcat with your device / root configuration so we can have a look to it. Thanks!
[Android Apps and Games] Ramihyn:
Same issue here. It can be reproduced, if you go to the settings in AdAway. In the same moment AdAway starts requesting root in an endless loop.

It does not happen on other pages inside the app.
[Android Apps and Games] Pseudonym:
Can't reproduce it again. Happened only after I updated and opened settings in AdAway. Root toast spammed like crazy.
[Android Apps and Games] :
No issues on my side with OnePlus 3 latest LOS 16, Magisk 20.1, Magisk Manager 7.4.0 and AdAway 4.3.1
[Android Apps and Games] deflorator:
I get "remount failed" message

"Remounting the partition as read/write failed!

Please read Help for more information."

I didn't find anything on the issue. Tried 4.3.0 and 4.3.1 - same result.

OnePlus 7 pro/Lineage OS 16
[Android Apps and Games] ktmom:
Do you have systemless hosts enabled in Magisk manager?
[Android Apps and Games] deflorator:
I was using SuperSU. Switched to Magisk, followed your instructions. Works how it should. :good:

Thanks a lot!
[Android Apps and Games] guest4711:
New version available on f-droid, too: https://f-droid.org/app/org.adaway
[Android Apps and Games] k2828:
Since a few weeks ads doesnt get blocked. I checked everything in the faq.
[Android Apps and Games] ktmom:
That is a very general report. Wi-Fi or mobile data? What app(s)? What have you actually tried? What root method? Which android version? Is the hosts file actually modified by Adaway?
[Android Apps and Games] zgfg:
If you are on Android 9 or 10 you must use Magisk and enable Systemless hosts
[Android Apps and Games] Ultramanoid:
Depends on device. Magisk is not a "must" at all. My devices on 9 with proper su give AdAway root with no issues.
[Android Apps and Games] k2828:
S9 pie latest stock. Wifi and mobile. I.e. pie music player. Magisk root(creating a systemless Host file via magisk manager didnt help.) The hostfile is edited. Same problem with adfree.
[Android Apps and Games] jcmm11:
If the host file is edited (is not the default 56 or so bytes) then adaway did it's job and your problems lie elsewhere. What ads aren't getting blocked?
[Android Apps and Games] curiousrom:
AdAway Works Fine with LineageOS AddonSU on Galaxy S5

[MENTION=4004386]Ultramanoid[/MENTION] is right. AdAway works fine on Galaxy S5 G900M LineageOS 16.0 (based on Android 9.0) klte build 2019-12-24 + Open GApps Pico + LineageOS AddonSU for root.

I use only 1 Hosts source (StevenBlack) & have yet to see an ad in 9 months: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

YMMV obviously. ;)

***
[Android Apps and Games] ktmom:
What [MENTION=4487388]jcmm11[/MENTION] said. You need to understand that if ads are blocked in any app, but not in others, then they probably are not using DNS to get the ads. Worse, some apps like YouTube or Facebook become even harder since they serve ads from within the app itself.

Bottom line;

You can try using DNS logging to see if there are calls made by your problem app which could be blocked, but if you get ad blocking elsewhere, the problem app is itself the problem.

By the way, it helps if you quote the response you are responding to so the thread of the conversation can be maintained [emoji6]
[Android Apps and Games] zgfg:
Yeah, some people report that AdAway does 'no more' block ads but at first not mentioning anything about which phone or what kind of firmware they use (btw, it is also different if one uses stock Oreo but flashed Lineage custom ROM based on Pie - this is then not fully behaving like a Pie stock firmware), and most important by using which app(s) they see ads.

If I recall correctly, once it was a user who, as it turned out, upgraded Android. In another case, it turned out to be about Chrome (but it remained unclear did he use Chrome earlier or he started to see ads when he coincidentally started to use Chrome, or maybe upgraded Chrone). Once it was about YouTube - streaming its ads completely a different way and therefore AdAway also never earlier did or could help to block its ads

It might be that the given music player was recently updated and now that it uses a different technique to push ads.

Or that hosts sources were not updated for some time - on the phone or even server side (thus omitting some new domains serving the ads), or even that hosts sources in use do not cover for the source domains of those particular ads
[Android Apps and Games] mbk17:
I'm getting not enough space on partition. Tried the other file paths suggested in the help section and now getting symlink creation failed. Have also tried systemless hosts with magisk and still no luck.

Any suggestions? Thanks
[Android Apps and Games] ktmom:
Device? ROM? Version of Adaway?

In general, setup Magisk systemless hosts before attempting to install Adaway. Then go to Adaway and using the default settings, add whatever hosts sources you need then build the hosts file.

If this doesn't work, turn on verbose logging in Adaway preferences and restart the app. Then, while collecting a logcat, attempt to build the hosts file again. This log will give informal that should allow troubleshooting the problem.
[Android Apps and Games] mbk17:
Pixel 3A XL, stock rooted with Magisk 20, latest version. Here is the log, started with the first file path, then the next two. Hopefully I recorded it right.

https://pastebin.com/asGTwMWj
[Android Apps and Games] ktmom:
The "/system/etc/hosts" path is correct for a pixel. That is the default. No need to change it.

It seems to me that the systemless hosts module is not correctly installed in Magisk. It is a requirement with the current Magisk releases.

If you go to Magisk manager -> modules, is systemless hosts listed, with a checkmark showing that it's enabled?
[Android Apps and Games] mbk17:
Yes it is.
[Android Apps and Games] ktmom:
I would try removing it, reboot, then add it back. As long as Adaway is set to its defaults, there is nothing that Adaway can do to get access to the hosts file. It's all on Magisk.

When you say address is the "latest". What version is it?
[Android Apps and Games] mbk17:
I meant Adaway is the latest, 4.3.1. Looks like your suggestion worked, thanks a lot!
[Android Apps and Games] martyfender:
Did you reboot after applying the systemless hosts module in Magisk? Like any other module installed, you must reboot for it to be enabled. This seems to be a common misunderstanding.
[Android Apps and Games] timmy6:
does the latest version work with android Q?
[Android Apps and Games] dhacke:
Yes.
[Android Apps and Games] Wolfcity:
Don't forget to activate the systemless host module in magisk manager.
[Android Apps and Games] PerfectSlayer:
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 [MENTION=913741]gallego[/MENTION]novato for its helpful bug report and [MENTION=2148774]Vankog[/MENTION] for translation update.

Download:

AdAway 4.3.2 on AndroidFileHost (md5: 78fde09a0e92044c45e901bb1cec8e2e)
[Android Apps and Games] cujo6801:
Must be working okay

thanks bro I just saw this

Thanks bro
[Android Apps and Games] stovo06:
I love you AdAway ?

Sent from my M8 only on the XDA & MikForums
[Android Apps and Games] Pedro2NR:
Thanks guys for the suggestions, I will looked into the exposed option to see if it works.
[Android Apps and Games] La_Globule:
I confirm that adding *.tapatalk.com in the whitelist makes things work fine : no more popup, images are displayed and link aren't blocked anymore.

Don't know why many tapatalk sites have been added to hosts files.
[Android Apps and Games] Mahennemaha:
Actually link.tapatalk.com should be blocked :)

Tapatalk manipulate these links and they change or add their own referrers for sites like Amazon.com or eBay.com…

Gesendet von meinem Flo mit Tapatalk
[Android Apps and Games] Fleetknight:
AdAway seems to be interfering with flash for me. When I disable it, websites/content that uses flash loads perfectly. With it enabled, some websites are broken or refuse to load flash content at all. I tried identifying what to whitelist via logging but I haven't had any luck.

Any suggestions? I'm on Android 4.2.2 with Galaxy S4.
[Android Apps and Games] VeEuzUKY:
I'm going totally crazy with this..

I don't understand the problem I'm having. I went from v2.3 then to v2.4 and now to the latest v2.8.1 and is the same. I'm running Android 4.2.2, rooted, busybox, all good. Adaway installs well, downloads the hostfiles and applies it. All good. But after I reboot, when I start Adaway again, it shows a red cross icon and tells me its disabled. Then there I go again, download the hosts files one more time, they get applied, I see a beautiful green checkmark icon, but after I reboot, again Adaway it's disabled. Can anyone explain to me whats going on and how to fix this once and for all?.. also I checked the permissions of my hosts file, all rw rw rw, so the problem is not there either. In fact, no matter the hosts file permission, the problem is always the same. I need some expert advice.. this is driving me completely insane already.. thanks a lot

---------- Post added at 09:15 PM ---------- Previous post was at 09:03 PM ----------

Update, here is what I noticed: after downloading the new hosts with Adaway, my hosts file is 834Kb. When I open it to view it, I can see the long list of hosts added. HOWEVER, magically, upon reboot, the hosts file gets replaced by a new blank one that is 101Kb. When I open it to view it, nothing there. What the hell?????? How this file gets replaced/reset with a blank one automatically??? No wonder everytine I start Adaway, it tells me it's disabled.. I'm totally going crazy with this..........
[Android Apps and Games] Mike B.:
Sounds like an HTC device with S-ON or at least something that resets /system on reboot. Have you tried using a symlink to /data/data/hosts instead of the actual /system/etc/hosts?
[Android Apps and Games] VeEuzUKY:
Update 2.. this really getting interesting. First of all I forgot to mentionmy device is a Samsung Galaxy Mega 6.3, running rooted stock ROM. Now this is what's interesting.. Inside system/etc I found a folder called CrossBreeder. Inside there are a bunch of files, and, surprisessurprise, a hosts file blank copy that is 101Kb! This is the file that on every reboot overwrites the updated hosts in my system/etc. Now, it only took me to replace ALSO the hosts file from the CrossBreeder folder with the 834Kb new one generated by Adaway, to now have my real hosts file in system/etc also stay the same 843Kb. And now when I re-start Adaway, finally it's not showing as disabled. Can anyone explain this to me? What is the CrossBreeder folder? I have another Samsung machine, Galaxy Note 10.1 running Android 4.3 and Adaway (with no problems) at all, and I don't have any CrossBreeder folder, even though both machines are Samsung and running similar (sister TouchWiz) RO.. this is so bizarre..
[Android Apps and Games] Mike B.:
You can read about CrossBreeder HERE on XDA or Google for it.. You may want to consider simply getting rid of that thing altogether... ;)
[Android Apps and Games] VeEuzUKY:
I see, thanks for the link. I have no idea how that got into my system.. so odd. And I have no idea how to uninstall it.. there seem to be several Uninstallers according to different versions.. I have no idea which I have and worry the wrong one can be the type of thing to zap my phone unbootable..
[Android Apps and Games] FlanjeUK:
Use the most up to date uninstaller ;)
[Android Apps and Games] warpgamer:
Well, having it from f-droid automatically manages updates, so that's an advantage :)

(well, it's not like it's needing a lot of binary update, everything lies in the host files x) )
[Android Apps and Games] kermage:
AdAway or MinMinGuard?
[Android Apps and Games] Nic2215:
of course adaway... mini guard no longer in development..
[Android Apps and Games] Pkt_Lnt:
It started again.
[Android Apps and Games] kermage:
with MinMinGuard, ads are completely removed inside apps and the empty space caused by those ads.

link? old thread is cancelled. http://xdaforums.com/xposed/modules/xposed-minminguard-v1-3-2-ad-remover-t2597332
[Android Apps and Games] Pkt_Lnt:
Read the last few pages of that link. It was updated by the dev in the Xposed repo. Off and on and off and on and off. :confused:
[Android Apps and Games] kermage:
HAHA! haven't noticed that.. :good: thanks..
[Android Apps and Games] Hirishiolo:
read the last posts of that thread...
[Android Apps and Games] DirtyShady:
I want to know what is (are) the best(s) hosts sources for Adaway.

Thanks. Excuse me, I'm french.
[Android Apps and Games] yerman:
Same problem, adaway root access denied, everything else asking for and getting root access, tried systemless hosts reinstall, no change, also adaway 4.3.2
[Android Apps and Games] trancinguy:
Clear its data and open again it should ask.

---------- Post added at 01:01 PM ---------- Previous post was at 12:58 PM ----------

Clear its data and open again it should ask.
[Android Apps and Games] ktmom:
Assuming you are using Magisk, go to Magisk manager -> hamburger menu (top left) -> superuser and toggle Adaway on.
[Android Apps and Games] yerman:
cleared data in magisk manager and adaway, no change, adaway is not listed in superuser menu:confused:https://cdn-cf-3.xda-developers.com/images/smilies/confused.gif

---------- Post added at 02:50 PM ---------- Previous post was at 02:43 PM ----------

Cleared data in magisk manager and adaway, no change, adaway is not in the superuser list.

Thanks guys for the quick reply
[Android Apps and Games] githyanki:
Uninstall/reinstall magisk.

Enable the systemless host option and reboot, then try again.
[Android Apps and Games] ktmom:
It shouldn't matter, but is your Magisk manager hidden? Hidden with a custom name? What device, android version?

Some devices have trouble with broadcasts that affect Magisk granting root. Are the apps that do have root from before a Magisk update? Was MM hidden before a Magisk update?

Try toggling Magisk hide off then on. Try the canary build of Magisk. Make sure to use the corresponding MM.
[Android Apps and Games] yerman:
/

Thanks guys, update to magisk 20.2 solved the problem
[Android Apps and Games] Xyter:
Hi, i've a problem with Adaway, it doesn't block all ads.

I tried to add some extra hosts, it blocks all the ads and banner in the app, but it also blocks the feed update in instagram, the Facebook update, ecc...
[Android Apps and Games] marciozomb13:
Try reading the OP and wiki then search the thread to know why and what can be done.
[Android Apps and Games] ktmom:
Instead of guessing at hosts sources, you can use DNS logging. In your case, you want to blacklist.

As alluded to in the previous post, there are apps and websites that serve ads without going through the device DNS. In a case like that, there is nothing hosts blocking can do. Here is the main link to the Adaway wiki. Reading through it will probably help you understand better.
[Android Apps and Games] PerfectSlayer:
Hi all,

Quick question about the next version: who is really using the custom location and symlink feature?

This feature allows you to select another location to install hosts file and check there is an effective symlink from /system/etc/hosts to this location.

As Magisk tends to be the primary way of rooting its device, it does no more seems useful.

As the hosts file is no more stored on /system partition, there is no more free space partition issue to require to use symlink.

Please share any feedback on this feature because I am evaluating its removal. Thanks! :highfive:

NOTE: It is planned for the V5. So if you still need this feature for some older devices on very rare use cases, V4 will still be available. V5 is dedicated to the latest versions of Android where Magisk seems to rule the rooting community.
[Android Apps and Games] dingsaller:
[MENTION=2822685]PerfectSlayer[/MENTION]

No need for this in my case; I use the systemless mode with magisk since I've installed AdAway...
[Android Apps and Games] Oswald Boelcke:
Personally, I'm happy with its removal.
[Android Apps and Games] dvhttn:
Likewise.
[Android Apps and Games] drjat:
Rather than hundreds of responses - those who want it to be removed - hit 'thanks' / 'thumbs up' button to this post ;)

I am happy for it to be REMOVED
[Android Apps and Games] jojo8686:
<Moderator Edit>

Full OP quote removed.

Please do not quote large posts.

Or please use HIDE tags when doing so

Thanks!!
[Android Apps and Games] guest4711:
Hide tag does not help/work on XDA labs app. :(

---------- Post added at 02:14 PM ---------- Previous post was at 02:08 PM ----------

Even on my devices with super-su (cause Magisk is unsupported on the kernel version used on them) I did not use the symlink feature. Usually there is a lot of free space on /system partition (either by debloating the ROM, either by not using any g-apps).
[Android Apps and Games] ho0o0o11111:
I use magisk's systemless option so I don't need that function.

Thanks for your nice app.

---------- Post added at 02:06 PM ---------- Previous post was at 02:06 PM ----------

I use magisk's systemless option so I don't need that function.

Thanks for your nice app.
[Android Apps and Games] :
Is there any way to install this on unrooted phone? I have Xperia XZ2 Compact and I just can't unlock the bootloader because I'd lose functionality. And none of the available hosts locations work, presumably because no root.
[Android Apps and Games] zgfg:
No way because without root privilege you cannot change the hosts file

But you can use DNS66 on an unrooted phone.

They work in a different manner (DNS66 exploits VPN instead of writing to the hosts file), but at the end they provide the same net result: unwanted DNS names are resolved to the non-routable local address.

DNS66 and AdAway can even share the same hosts sources (collections of URLs to be blocked)
[Android Apps and Games] ktmom:
No. You need root to modify the hosts file, either by overwriting it in system on some devices or through a systemless setup. There are non-root ad blockers like DNS66.
[Android Apps and Games] ffejy462:
Or in phone wifi (depending on phone, wireless and network) settings you can set DNS to

dns.adguard.com

This setting should be in most phones Android 9(?) and later.
[Android Apps and Games] DiamondJohn:
Please correct me if I am wrong, but that seems obvious it would not block ads while on your mobile data provider?
[Android Apps and Games] Ultramanoid:
Why wouldn't it ? Not sure what you mean by "mobile data provider" but my ( and most of my co-workers, family members ) main and only data connection is my LTE sim card. Unlimited data and tethering, of course. Long gone are the days of internet tied to a physical room / house, or fixed desktop computer.
[Android Apps and Games] ffejy462:
It certainly does on mobile data. Screenshots of dns.adguard.com off and on. Adaway was disabled for both.
[Android Apps and Games] :
Thanks for the tip.

How does DNS6 compare with Adguard? Does anyone know?