yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] eggiesukma:
Ummm i have no idea, im using OP5T running on Pie with magisk 18.0, what is your directory ? System/etc/hosts ?

This is my fav app for blocking any ads :rolleyes:

Edit: its working now, it seems the superuser request sometimes does not pop up into adaway apps. Weird bugs from magisk 18.0 i think
[Android Apps and Games] xmascious:
First thx for this app, AdAway v4 can now display last-update time for github, which is great – tho' it's now in relative-time, not exact-date anymore, which is fine.

But there is a slight GUI problem that has been existed since the first v4 beta: truncated hosts source lists (and a rather large spacing between).

Please have a look in this screenshot from the latest stable F-droid version: https://imgur.com/a/F3xTLux

And then the latest XDA version 4: https://imgur.com/a/jcyidLd

My screen is 1920*1080, 480 pixel (xxhdpi).. I don't use any fancy theme mod/engine or fonts, it's stock (stucked) os 5.1.1 lolypop.

Regards. Disclaimer: i'm not a native english, excuse my grammar.
[Android Apps and Games] v12xke:
Each to their own, but

1) I don't personally see it as an issue as you know your hosts files' full path because at one time you had to fully enter it- this is just a reference or nickname space. If you long press the source>>edit you can see the full source and copy it out if needed, and

2) You are using (at least) 8 different hosts files, some of which are 7 months old...why? I would recommend using fewer hosts files that are well targeted and updated frequently (quality vs quantity).

Everyone is entitled to their own opinion, but if your post was intended as a feature request I think the approach could have been better.
[Android Apps and Games] gorilla p:
Confirmed I'm also having issues with latest version 4.1.0 on Pie.

OnePlus 6 using AOSP (Frank) ROM.

Magisk 18.1 systemless host file.

Adaway can't find host file
[Android Apps and Games] Nergal di Cuthah:
To check, did you add the systemless hosts module in magisk manager?
[Android Apps and Games] tsongming:
No issues on any Pie rom for Leeco Pro 3.

I have seen connection errors on first sync after installing a new Rom.

But, its always resolved by pressing update again.
[Android Apps and Games] wuub:
Running like a charm on Soldier's Pie Rom on galaxy S9.
[Android Apps and Games] JGradyO:
4.1.0 running fine on Nitrogen OS Pie (18 December release), Nexus 6, Magisk 18.
[Android Apps and Games] madbat99:
Maybe something to do with running magisk 18.1 instead of 18
[Android Apps and Games] AndroBuddy007:
4.1.0 fine here on AEX 6.1 Pie, Redmi 5 Plus. Magisk 18.0, NO systemless hosts enabled. Activation only from the app itself.
[Android Apps and Games] martyfender:
Unlike older versions of Magisk, where there was a toggle, in MM settings you have to click on it, then you should see a toast: added systemless hosts module.

And once added, you have to reboot for it to be enabled, just like any other module install. It will also show up now in the MM module list.
[Android Apps and Games] gorilla p:
I see a previous user had issues with the new version not generating superuser request. That appeared to be the issue that I was having as well.
[Android Apps and Games] xmascious:
It's not a "feature request", and also not an opinion per se.. there is something visually broken here. And I clearly sai "slight", i'm not blaspheming this app, don't shoot me, Jesus.

Off course I can't force anyone to fix that, I then just reverted to v3 and call it a day.

(That 7 month old source is from malwarebytes HPHosts, probably that particular list is stable/not volatile, so it get rarely updated)
[Android Apps and Games] gaja22:
Hello, Thank you for the nice job !!!

I need an advice : I use AdAway but I'm a player of the game Captain Tsubasa Dream Team. And I need the ads on this app only. How could I do please ? Maybe it's a special host ?

Regards.
[Android Apps and Games] Oswald Boelcke:
Personal suggestion: Log the respective DNS requests and white-list them afterwards! I assume the how-to is available in the "how-to".
[Android Apps and Games] gaja22:
Thank you for your advice but it's not working unfortunately. Just see my screenshots.
[Android Apps and Games] Luniz2k1:
Make sure that you are following all of the instructions in the LogDNS section in the wiki and that you reboot after applying the whitelist entries.

Wiki: https://github.com/AdAway/AdAway/wiki/LogDNS
[Android Apps and Games] gaja22:
I followed these instructions, it's not working unfortunattely. Thank you very much for helping me.
[Android Apps and Games] dhacke:
Hi,

i have problem with this app.

I have a new phone (sony xperia xz2) where a aosp rom is running at the moment and i installed Magisk v18 via the boot image patching method.

Now i have the Problem that AdAway doesn't recognize Magisk. I get only the message that the root or su binary is missing.

But my other root apps (terminal Emulator and AfWall saw the installed Magisk and running with root rights).

Any idea why i get this Problem with AdAway and how i can fix it?

My only idea would be that the AdAway needs a Magisk which is installed via twrp.
[Android Apps and Games] marios096:
I had installed AdAway 3.3 and now i installed AdAway 4.1 on my Oneplus 6. On every other device i had installed Adaway every ad was block (Browser/Instagram/Messenger/Youtube/OtherApps) now it doesn't block anything and its applied successfully.
[Android Apps and Games] madbat99:
It has never blocked ads on YouTube, or Instagram. It works on some browsers if they are configured right. You have given no useful information on places it actually works but isn't, so no one can really help.
[Android Apps and Games] andrepgaspar:
[MENTION=2822685]PerfectSlayer[/MENTION]

Just donated, enjoy your coffee
[Android Apps and Games] martyfender:
Is that on Adaway v3.3 or v4.1? If you are not on the latest 4.1, I would suggest that you try it.

Have you went to Magisk Manager settings and clicked on the systemless hosts option to install the new systemless hosts module? Just like any other module install you will need to reboot for it to be activated. You should also see that new module listed in the modules section of the Magisk Manager.
[Android Apps and Games] dhacke:
I'm on AdAway 4.1 and Magisk v18.

I tried it with the systemless hosts option (it's activated in the Magisk and AdAway option) and test all the three different paths (system/etc/host, data/host, data/data/hosts) in AdAway.

And i everytime i get the message 'application failed' when i want to activate the blocker.

PS: I know that it isn't related to AdAway but Titanium Backup doesn't recognize Magisk too. It's says only that it tried the root access with the '/system/xbin/su' command but that don't worked.

Mayby something is wrong with my Magisk Installation?
[Android Apps and Games] jcmm11:
Does su work from a terminal emulator? What's the result of "type su" from a terminal emulator?
[Android Apps and Games] dhacke:
From a terminal app it works. I get the message 'superuser rights allowed' and the sign changes from the Dollar to '#' when i type su.

Result of 'type su' : su is /sbin/su
[Android Apps and Games] PCWright86:
Had a similar problem with some root apps. Had to go into magisk and manually give root permission. Select superuser in the magiak app and manually give permissions
[Android Apps and Games] dhacke:
But i don't have the entries for the mentioned apps in my Superuser section:(
[Android Apps and Games] alphahere:
You should post in a magisk thread. Looks like a bad magisk install but I don't know. Hope you find a solution.
[Android Apps and Games] dhacke:
Yes. I guess something in that direction, too. But i will wait with the post until there is working twrp for the phone.

Mayby a new installation over twrp will resolve the problem.
[Android Apps and Games] smartymcfly:
Every so often this happens to me. In magisk try changing the namespace to various options. Another option in magisk is to set root rights to automatically grant root permissions. After you get the app to catch, go back and set magisk options how they originally we're setup.
[Android Apps and Games] OronDF343:
What does it say other than "Application failed"?
[Android Apps and Games] Frostbiter:
I found you also need to turn off private dns for it to work too.
[Android Apps and Games] gaja22:
How please ?
[Android Apps and Games] Frostbiter:
If you have android pie it's in Settings - > Network - >Advanced. If you don't have Pie that most likely isn't your issue.
[Android Apps and Games] Regys:
Hi,

I can not edit the host file

[IMG="image"]https://forums.oneplus.com/attachments/1516066136191-jpg.677778//[/IMG]
[Android Apps and Games] jcmm11:
First off make sure that systemless hosts is enabled in both AdAway and Magisk.

What version of Magisk? Does /sbin/.core/img/hosts/system/etc/hosts exist?
[Android Apps and Games] gonzo1963:
Good afternoon,

I can not install version 4.1.0 on a tablet.

Version 3.3 if installed OK and also works OK.

Any solution?

bq Aquaris M10FHD

Android: 6.0

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] guest4711:
Probably your old AdAway is signed using another key. To install the new version you have to uninstall the old one first.

But if your old version is running fine, why update?
[Android Apps and Games] gonzo1963:
Good afternoon,

That was the problem, solved thank you.

I have updated thinking that the new version will be better. It is not true?

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] Regys:
Magisk 18, /sbin/.core/img/hosts/system/etc/hosts exist now.

How to know if systemless is enabled and how verify ad blocking ?

I can not change anything in the system files host manually, why ?
[Android Apps and Games] MarvinMe:
I've tried everything so far but most of them (e.g. MoaAb) can cause some issues with for example spotify and blocking other websites completely.

Adaway is the best of both world and highly adjustable as well! I consider donating!
[Android Apps and Games] guest4711:
If it is enabled in Magisk (if systemless hosts module is activated in MagiskManager->modules) you are fine. Try a website like https://xda-developers.com to see ads blocked...

Probably because /system (and /system/etc/hosts) is mounted read-only. If you want to change something therein you have to remount it read-write...
[Android Apps and Games] jcmm11:
Actually if systemless hosts is correctly activated then /system/etc/hosts is rw - that's the path AdAway uses when updating hosts.
[Android Apps and Games] heynando:
So why did it stop working and how to fix it?

---------- Post added at 01:02 AM ---------- Previous post was at 12:54 AM ----------

Got mine to work. I was running adaway version 3.2 in Android 8.0 with magisk 18. But then it stopped working

I uninstalled adaway 3.2, activated hosts inside magisk 18, installed adaway 4.1, activated systemless mode inside adaway, and now it works. Perfect. Thank you all
[Android Apps and Games] ALPHAWolf96:
Okay idk what's happening with my adaway now since it's not blocking any ads anymore. I've tried some methods mentioned on the forum itself after a thorough reading of some pages back buy cant seem to find any solution. Here are some details.

Device- Op6 Magisk-v18 System hosts enabled (present in mm modules) , system hosts enabled in adaway, hosts file is also present at the right path.

Hope someone of you can help me with this. Thanks a lot
[Android Apps and Games] guest4711:
Probably a proxy in the APN settings, "Data saving" turned on in chrome/webview or custom DNS enabled.

Do you get the same results independently you are using WiFi or mobile data?
[Android Apps and Games] jcmm11:
As [MENTION=8010004]guest4711[/MENTION] said. If your /system/etc/hosts file is larger than the default (about 56 bytes) than AdAway did its job. (My hosts is currently just under 2 MB. Your size depends on sources and AdAway preferences - choosing ipv6 approximately doubles your hosts size)
[Android Apps and Games] githyanki:
Did you look through the Wiki?

Where are the ads?

APN settings?

Data saver in Chrome or other browser?
[Android Apps and Games] ALPHAWolf96:
[MENTION=1631192]githyanki[/MENTION] Alright i just checked the size of my hosts' file and it's around 3.2MB. I'm using chrome, Data saver is off and i can see ads on websites like apkmirror and xda. Tried both with wifi and mobile data. Also full screen pop up ads while opening up some apps are visible sometimes. Don't know where I'm going wrong? Btw thank you everyone for the help. Guess i just might have to do a clean flash of magisk.
[Android Apps and Games] guest4711:
No, it should be no problem of Magisk, it should be a problem how Chrome is working nowadays... Google uses his own DNS in Chrome and is bypassing the hostfile.

Search for "chrome" in this thread: https://xdaforums.com/android/apps-games/app-dns66-source-host-ad-blocker-root-t3487497/post77916666

You should disable async.DNS in chrome...
[Android Apps and Games] Regys:
Hi,

Yes it work now !

Thx !!!
[Android Apps and Games] ColdUser:
Dear developers,

I just found out there's a new version of AdAway and a lot of hosts.

I have always used the 3.3 version and just downloaded and installed the stable version.

What i like to know.. is it necessary to add new host's like stevenblack, googleservices block or MoAB.

Where does AdAway get the sources from becaus I'd like to block malware, phising and tracking.

What i heard is stevenblack hosts are the best.

And what's the best way to add host's? Better import list or just add a link in AdAway..

First installation of AdAway stable was causing some troubles updating the host's and keept asking to put host's in /data/data.

I think this was because i had some hosts in downloads and everywhere in file manager.

Now clean installation and id like to add some more hosts.
[Android Apps and Games] Paschfire:
Did you read, search, through the Wiki linked within the OP?
[Android Apps and Games] ColdUser:
Not all of it of course. app is working now and i don't see stevensblackjl host's or makahala host's.

Did you read what i wrote? Maybe its my English

Edit: should have read some more stevensblack host's was there. Well thanks any way.
[Android Apps and Games] jcmm11:
For Steven Black go to Hosts Sources, click the + sign, and enter https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[Android Apps and Games] mobbdeep:
I don't know if this app is causing this issue I am having but it only happened once I installed this app, enabled AdAway, rebooted when prompted, updated host sources, rebooted when prompted. After the second reboot, my SIM card becomes unreadable and I no longer have service. I rebooted the phone, I have service. I added the StevenBlack host source, rebooted, now I don't have service again. My device is rooted with Magisk and ElementalX kernel running the stock ROM.
[Android Apps and Games] guest4711:
It looks like either your simcard is polluted (clean the contacts with alcohol) or your card holder is damaged (some people report they solved such problems with a stick of paper attaching to the back of the card).

Manipulation of the host file (that's all AdAway does) could not affect the functionality of your sim card.
[Android Apps and Games] Ultramanoid:
So you have a hacked kernel, which could affect radio.

And a notoriously unstable "root" hack, which could be using even more unstable so-called "modules" that cause all sorts of crazy unwanted effects.

And an application that changes the hosts file.

Your hunch is that the culprit could be the last one ? Golly.
[Android Apps and Games] madbat99:
I wouldn't call magisk "notoriously unstable". It's rock solid on all my devices. I would say that there are "notoriously unstable" devices that don't play nice with it.

But your point is clear and valid.
[Android Apps and Games] mobbdeep:
Thank you for providing me with a proper answer and clarifying that host manipulation can't cause the issue to happen I was having. :svetius:
[Android Apps and Games] ColdUser:
I wanna delete a host source that i have added. But AdAway doesn't want to delete, i can select the source and tap delete but nothing happens source just stays there. I tried also unchecking the source but after updating the hosts, source gets checked. Running the stable version.

Edit: solved
[Android Apps and Games] don_dolarson:
Is there a point of using AdAway when my primary browser is Brave browser? Unless tracking & ads are blocked withing this browser.
[Android Apps and Games] guest4711:
AdAway also blocks ads in apps.
[Android Apps and Games] PerfectSlayer:
Hi all,

A quick update about the past weeks:.

I fixed the gradle build the issue with F-Droid store server. So 4.1.x version should finally be able to hit this store.

I also get ready a new version ready (4.2.x) with download cache feature. It will now be able to edit and apply your lists without downloading hosts sources each time.

But I failed to join [MENTION=3355398]mrRobinson[/MENTION] in order to update the thread ownership and publish releases on XDA labs (I tried by XDA PM and email).

If anyone knows how to contact him, I would help a lot in order to publish all the releases :highfive:

And a big thanks to donators! It helps a lot to stay motivated :o
[Android Apps and Games] baxtex:
It would be awesome if there was an option to let i automatically update once a week instead of once every day. :)
[Android Apps and Games] andy356:
I'm a little confused. The Gitlab merge request shows 4/5 tasks done. Was that last one not needed?
[Android Apps and Games] sirxdroid:
Is the up-to-date status when downloading from github going to make it into 4.2.x too?

https://github.com/AdAway/AdAway/issues/700

Also https://adaway.org/hosts.txt does not look like it has been updated in 12 months. Is the list still maintained?
[Android Apps and Games] PerfectSlayer:
Is there any reason you don't want to check update daily but weekly?

Hosts sources are not downloaded when automatic apply is not enabled.

And even if enabled, the 4.2.x version will prevent the app downloading sources which have not changed.

So you just ping the source servers daily and download source only if enabled and needed.

The version scheme. It don't know if I remove the sha1 and get the automatic build feature or I keep it and push PR when I want to deploy the app on the store.

I think I will choose the later one. But I won't publish the app until I can update the thread ownership and post releases on XDA labs (I am really tired of "but who are you?" and "why XDA lab is not updated?" questions). I am still waiting for [MENTION=3355398]mrRobinson[/MENTION]

Don't know. Not by me at least.

If anyone want to participate, feel free say hello :laugh:
[Android Apps and Games] sirxdroid:
Hmm, not working for me for this URL, v4.1.0 shows something like not updated in -360 days (some large negative value). Can you please see if you can reproduce?

https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts
[Android Apps and Games] andy356:
All the F-Droid apps I know of have manual push updates to the store.

Isn't automatic build basically for nightlies?
[Android Apps and Games] mrRobinson:
I exist still... do you know what i have to do to transfer ownership? if i edit project it doesn't let me change the primary author so i assume i have to PM some higher up to make this happen?
[Android Apps and Games] DiamondJohn:
If I understand it correctly, if you have 10 small host sources and one large, then if one of the small 10 host sources is updated daily, then all the host sources are re-downloaded, including the large one. Has that changed?

PS: I am not asking for or promoting this option.
[Android Apps and Games] guest4711:
That's true for the old versions lacking a host cache. Even worse if you cannot reach the host source it is omitted on the new host file.

The newest version introduces a host cache, see https://xdaforums.com/showthread.php?t=2190753&p=78770262

So these problems should be history ;)
[Android Apps and Games] osm0sis:
A moderator should be able to handle that for you. You can report your own post as non-urgent/maintenance with a note about the action you need taken.
[Android Apps and Games] jcmm11:
So [MENTION=3355398]mrRobinson[/MENTION] has weighed in. Looks like we could use some assistance please.

I exist still... do you know what i have to do to transfer ownership? if i edit project it doesn't let me change the primary author so i assume i have to PM some higher up to make this happen?
[Android Apps and Games] woodman:
Thanks for the reply! I will take care myself of the thread ownership in a moment. Only moderators can do this. :)

I will let you all know once done.

Edit:

This is now done, [MENTION=2822685]PerfectSlayer[/MENTION] is the OP of this thread.

PerfectSlayer, feel free to edit yourself the devdb info (app info, contributors, etc.)

Thanks and have a great day!

Wood Man

Senior Moderator
[Android Apps and Games] m0han:
thanks for this. congrats, [MENTION=2822685]PerfectSlayer[/MENTION].
[Android Apps and Games] fasho:
youtube floating windows in GBwhatsapp not work with adaway

any help plese

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

youtube floating windows in GBwhatsapp not work with adaway

any help plese
[Android Apps and Games] guest4711:
You probably need to whitelist some hosts. Have a look into the wiki mentioned in the op to learn how to do it the best way (

https://github.com/AdAway/AdAway/wiki/LogDNS ).
[Android Apps and Games] Hopie:
I had a problem with adaway. After a reboot is AdAway Disable and Standart host active!?

systemless in adaway and magisk enable
[Android Apps and Games] jcmm11:
It shouldn't be. What's the size of /system/etc/hosts ? Stock hosts is about 56 bytes. If hosts size is measured in MB then AdAway hosts is in place.
[Android Apps and Games] anotherxdauser:
I have the same... I enable it but when rebooted it's disabled again.

Hosts file says its 56B.

If I replace it, I can see the size is 1.70MB.

I have a OnePlus 3T running Resurrection Remix ROM. I wonder what can be replacing it again.
[Android Apps and Games] guest4711:
For me it's still stable. I'm using the last version from f-droid (3.3) and Magisk 18.1 (where systemless host is implemented as a module).
[Android Apps and Games] jcmm11:
What version of Magisk? Are you sure Magisk systemless hosts is correctly enabled?
[Android Apps and Games] ozgrcvdr:
Thank good work
[Android Apps and Games] anotherxdauser:
Version 18.

The module says it is enabled. Haven't restarted my phone for a few days though so it may have taken a couple of go's to work?
[Android Apps and Games] guest4711:
You must reboot after enabling "systemless host" in MagiskManager and before starting AdAway.
[Android Apps and Games] PerfectSlayer:
Hi all,

Feedback:

It works well here. I failed to reproduce as I change the HTTP client library and how I use it.

But update date for the source you link definitely works now.

Not really. You could choose a lot of different mode.

For example, F-Droid server watches AdAway GitHub repository to find tags which match a specific versioning pattern.

Thank you so much! :highfive:

Thank you too!

Changelog:

Add hosts source download cache

Add snackbar notification to update host from DNS request listing

Update UI from Material Design to Material Theming

Update gradle, plugins and dependencies

Fix crash parsing not defined host source last modified date

Fix native modules build script (required for F-Droid build server)

Fix Transifex issues

Thanks:

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

Download:

AdAway 4.2.0 on AndroidFileHost (md5: 023169e7c345ef7297095793024f8478)
[Android Apps and Games] meiser:
Hi,

I installed version 4.2.0 on my OnePlus3 running LOS15.1. And buttons don't resize according to the current orientation, see attached screenshot.

Regards,

meiser
[Android Apps and Games] JohnnyEighty:
Mine looks like that too on galaxy s9
[Android Apps and Games] kaktus_78:
The same like me
[Android Apps and Games] xsonymonx:
For me all okay. S5 G900F AEX 9.0