yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] aringler:
Ha, yeah, sorry for the confusion.
[Android Apps and Games] guhvanoh:
Are you doing the Systemless hosts thingy in Magisk? Check your Magisk settings.
[Android Apps and Games] ktmom:
Did you reboot after activating the systemless hosts? It's a module so a reboot is required.
[Android Apps and Games] aringler:
Yes I did, but the module screen still looks like:
[Android Apps and Games] Serecomputing:
Working fine with all apps except youtube.
[Android Apps and Games] Ch3vr0n:
Lol damn thanks button, wrong click. It doesn't work with YouTube because the urls/ips are hardcoded. There's other options lien YouTube Vance's for that.
[Android Apps and Games] aringler:
Got it working.

Turned out that magisk was only running with basic functions and didn't load any modules..
[Android Apps and Games] Sheetzie03:
Get YouTube vanced lol don't use the official app
[Android Apps and Games] andy356:
Or, you know, Newpipe.
[Android Apps and Games] Akomack:
I can't seem to get Adaway to request root on android 10. Every other app will request root, but for some reason I can't get Adawy 4.2.9 to request it. 3.3 will request but won't apply hosts file. I have systemless module enabled, core only mode is disabled.

I'm at a loss, this is driving me nuts as I really can't function without adaway working. I keep trying, only to end up going back to pie due to it not working. Any help would be appreciated.

Pixel 1 XL

LOS 10 unofficial

Edit: Not sure why it double posted within the same post.
[Android Apps and Games] xxBrun0xx:
I'm having the exact same issue on official Android 10 rom on OnePlus 7 Pro. Any help is greatly appreciated!
[Android Apps and Games] ktmom:
Are you using the canary channel Magic and matching Magisk manager? I think that is v19.5 at this time.

Have you looked in MM -> Superuser to see is Adaway is listed?

Have you looked in MM -> log to see if there is a request?
[Android Apps and Games] xxBrun0xx:
I'm on canary (19.5). Adaway is not listed in Superuser and the log shows no sign of a request from Adaway. So somehow it's not actually requesting root
[Android Apps and Games] ktmom:
Since Adaway is working on Android 10 for others, my best guess is the following:
[Android Apps and Games] xxBrun0xx:
Twrp actually isn't working on my phone right now, installing magisk broke it and I haven't had a chance to fix it. Maybe it's related. I'll give this a shot, really appreciate the help!

Edit: tried it, all that did was cause me to loose root. Still getting the same error message that root access was denied yet nothing in the magisk logs. I bet the people who have it working on 10 also used it on 9. I'm thinking there may be an issue with the app requesting root for the first time on Android 10, but if root was previously granted, no problem
[Android Apps and Games] xxBrun0xx:
Figured it out! If anyone has the same problem, here's the answer: there's a "Hide Magisk" option in settings. If you click on it, it renames Magisk Manager app to just "Manager". It also seems to prevent apps not installed through Magisk itself from requesting root since the root checker app I downloaded also didn't work. The fix: uninstall Magisk Manager and reflash the zip through TWRP. Then you should be all set, just don't hit that "hide Magisk" button in settings or you'll need to repeat the steps above.
[Android Apps and Games] ktmom:
From didgeridoohan's Magisk and MagiskHide Installation and Troubleshooting guide*:*MagiskHide
[Android Apps and Games] Akomack:
You got Adaway to request root after this? I never had hide magisk checked. I'm still not having any luck getting Adaway to request root.
[Android Apps and Games] martyfender:
I have one of my Android 6.0.1 devices I have Adaway 4.26 installed. My other, same model devices have v3.3 installed with no problems.

Just out of curiosity about your problem, I went into Magisk Manager superuser page and clicked on the trash can icon to remove it from superuser permissions. Then when I launch v4.2.6, just like you, it does not ask for superuser permissions, even if I click on check for updates. However, if I click on disable ad blocking, I almost immediately get a new superuser request popup, which I approve, then I re-enable ad blocking and it works normally again. I'm not sure if this will help on your Android 10 device, but it is worth a try. To me this appears to be a bug, as I don't see this kind of behaviour on v3.3 on my other Nextbook Ares 8A's, x86, Android 6.0.1 tablets when su is revoked. When revoked in v3.3, I get an immediate su request when the app is relaunched. Please let us know if this works for you, or not.

The only major thing that is different on that v4.26 device is that I run SElinux switch app at boot to make the kernel permissive so that a modifed version of adbd insecure will run properly, to allow adb root access.

UPDATE: I thought I had updated this to the latest v4.2.9, but it was one of my other devices I did it on. I will download and do the same test on v4.2.9.

V4.2.9 has the same behavior on that device where it does not ask for su permission unless I click on the disable ad blocking button.

[MENTION=2822685]PerfectSlayer[/MENTION] what kind of logs would be useful to troubleshoot this for you?
[Android Apps and Games] maxkolonko123:
Can i use adguard with adaway together or there is no need and i should stick to one or another ?
[Android Apps and Games] dhacke:
Regarding your first question:

Yes technically you can use both. AdAway uses the host file whereas Adguard uses the local VPN feature.

Both ways are independent from another.

Regarding your second questions:

Personally i would use only one of them because the end function of both apps is same. Probably the blocking result are more or less the same if you use many filter lists in general.

But i don't know exactly the filter lists from Adguard so take my answer to your second questions with precaution.
[Android Apps and Games] maxkolonko123:
Thing is I don't use Adguard with VPN option on, I use http filtering mode though.

Adaway I use with Steven Black hosts
[Android Apps and Games] Az Biker:
I searched for this in the thread and didn't get any hits related to Android 10.

I just flashed the October 10 factory image (clean install), latest EX kernel and latest Magisk.

Installing the AdAway apk goes normal.

When "Enabling Ad-Blocking" I get this error message.

Remount Failed

Remounting he partition as read/write failed!

Anyone have anything on this?

SOLUTION:

Click "systemless hosts" in Magisk > reboot > enable Ad-blocking
[Android Apps and Games] Ch3vr0n:
Yeah cause A10 no no longer allows mounting system as r/w. Due to filesystem afaik (system as ext4_ro I think). It's recommended to use systemless since when now, Android 8?
[Android Apps and Games] ktmom:
Looking for help for [MENTION=2822685]PerfectSlayer[/MENTION].

Here's the deal. I sent an A10 compatible phone to him so development of Adaway could continue. I paid the overseas shipping and the phone arrived. But, customs and the tax people demanded an additional 60 euro. I'm tapped out, but I hate the fact that this donation ended up costing PerfectSlayer.

If 60 people donated 1 euro, or 6 people could donate 10 euro, then the additional cost would be covered.

Donation link: https://www.paypal.me/BruceBUJON
[Android Apps and Games] :
I will donate for sure, just confirm please, that this is actually the right link: https://www.paypal.me/BruceBUJON

Edit: Yes this is right the link, it's the same like on [MENTION=2822685]PerfectSlayer[/MENTION] profile.
[Android Apps and Games] XtraWater:
Just a quick question: since a few days is see Google ads on all browsers. Also in Samsung browser with ad blocker addon.

Is it me or did I miss something?
[Android Apps and Games] guest4711:
It is you. Have a look at your APN settings. Probably a proxy defined there...
[Android Apps and Games] PerfectSlayer:
Hi all,

Feedback:

It looks like there is some sort of issue, or at least, not as stable as expected in Android 10...

Actually, it should be enough for me to test and try to reproduce.

If I don't get the same behavior, I will ask for more logs ;)

Oh it's so nice of you! You already offer me a development device so I can't complain for taxes (it still way cheaper than buying any correct Android 10 device!).

Moreover, it shipped so long ago it finally lands few days before my birthday. Like a present! ^^'

As explained previously, I didn't own an Android 10 device to test. So it will definitely help :highfive:

About donations, remember nothing is mandatory and donate only if you can afford it.

Even if donations are appreciated and help me to keep motivated about this project, I never had the goal to become rich by developing an open source application ;)

Yes, it is. And if you have any doubt, you can check from the source code or at the bottom of official site.

News:

There were not a lot of news about the app development lastly but it doesn't mean nothing happened!

First, there was some changes about the website.

In the past months, we get a new website. It now provides a way to convert AdAway backup file (from plain text file to new json format and vice-versa).

Some of you also notice the site went down for a short period. That is because I migrated the adaway.org domain to my registrar. Now I own it, I can handle subdomains (like create a update.adaway.org for the coming built-in updater).

But the adaway domain is mainly use to serve AdAway hosts file… and good news, it will finally be updated!

[MENTION=1813256]jawz101[/MENTION] and [MENTION=9650594]smed79[/MENTION] worked for on a big update of this file and helped them with some tooling. So you could expect to see a better ad blocking in the coming weeks.

About the app itself, we mainly worked on the translations.

I find an issue about Transifex and GitHub integration and the Transifex support team had to fix some bugs. It should now work better with Android projects.

[MENTION=2148774]Vankog[/MENTION] also improved translations in order to prevent the incomplete ones to wait for too long before being sync on GitHub project.

I will have a look at Android 10 in the coming weeks (I would prefer say "days" but I am quite busy those last weeks) and plan to make a release with translation updates.

Thanks again all! :good:
[Android Apps and Games] XtraWater:
Thanks. I checked it. Nothing as like a proxy configured. The weird thing also my other phone shows google ads. The phone which I actually only use as music player.
[Android Apps and Games] ktmom:
Double check that the hosts file really is applied. Look in /etc/hosts that the file is larger than just a few bytes. If it doesn't seem to be applied, double check that the systemless hosts module is active in Magisk Manger.
[Android Apps and Games] XtraWater:
hosts are updated, applied and phone restarted

hosts file is 4mb big.

Systemless hosts module in magisk Manager is active

Because you mentioned proxys, I configured a VPN connection to the UK. And, no more Google ads.

But I'm not sure what that means. Might it be that the issue is related to my location? Central Europe.

It seems only browsers are affected. In apps there aren't any ads. Actually it's only Google search. Intrusive ads are not allowed within the addons on Samsung. Internet browser.

Edit: VPN to Canada shows ads. Only UK not.
[Android Apps and Games] ktmom:
Without specifics, this is a general explanation.

Controlling how ads are served within browsers is not always in your control through DNS redirection. A website might embed the direct link that your device processes and makes a DNS request for. In this case, DNS reflect on the device will work to "block" the ad.

Or, a website might use scripting and handle the requests directly, serving the resultant ads directly to your browser without your device ever making a DNS call. Finally, any time a domain is called via an IP address, it will never go through DNS.

IMHO, the best way to deal with browsers is to use the uBlock origin plugin. I use it with Firefox, but I believe it's been discussed in this thread that there are now plugins available for other browsers.

As far as why you get differing results using a VPN, without knowing what website(s) are involved, my guess is the website behaves differently depending on where it thinks the user is located.
[Android Apps and Games] XtraWater:
It's only about Google.com

At the top of the search results I get one or two Google ads. That's the only place.
[Android Apps and Games] PoochyX:
Firefox is the best [emoji817]

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] psychedelicNerd:
Sent a few bucks your way. Keep up the good work.
[Android Apps and Games] Nergal di Cuthah:
That's normal with hostblocking. Google search ads appear but when you click you get blocked. My PC does the same with hostblocking
[Android Apps and Games] XtraWater:
I didn't got google ads before. When I click on the ad, the site opens.
[Android Apps and Games] PoochyX:
Did you change your host files recently believe it or not the 3 defaults are the best

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] guest4711:
So the ads are generated by google and served by google. If you don't like to block google you cannot block these ads...
[Android Apps and Games] gaja22:
Hello, I'm looking for some good hosts to block ads from YouTube app please. Thank you so much.
[Android Apps and Games] vegatr0n:
Just install YouTube Vanced, there is a version for non rooted phones
[Android Apps and Games] gaja22:
I already have it but I don't want to use it, app is old for me.
[Android Apps and Games] ktmom:
Hosts files can not help with YouTube.
[Android Apps and Games] Limon_Lime:
Is there a list of good sources to use besides the default one? I still see a decent amount of ads in Chrome and in other apps.
[Android Apps and Games] cnjax:
Try searching the threads there's numerous identical posts with responses
[Android Apps and Games] Sheetzie03:
Old? Meaning what? You are telling me you don't want to use YouTube vanced simply because it isn't updated to the very latest version of YouTube? Is that what you mean by old? Lol

That's nuts imo

It's an amazing mod. Dark, black mode. Ad free, background playback, like what else do you want?
[Android Apps and Games] marciozomb13:
You can't block YouTube ads via hosts. Use mods or New Pipe.
[Android Apps and Games] Sheetzie03:
Xda users have become more and more allergic to search as time has gone on. It's a shame
[Android Apps and Games] cnjax:
Agree ? mostly it's newbs
[Android Apps and Games] vegatr0n:
YouTube Vanced still works fine, but anyway if you want ad blocking lists then check this website:

https://filterlists.com

Search for "hosts" to get the lists that work with AdAway.
[Android Apps and Games] Juanlufer4:
I have passed the file through the Virus Total website and it gives a red marker, is it normal?

View attachment 4841327
[Android Apps and Games] guest4711:
Yes, because some skanner detect AdAway will alter the host file. A virus trying to get your banking password could alter the host file to display a fake site when you try to connect tovyour bank...
[Android Apps and Games] Juanlufer4:
Ok thanks
[Android Apps and Games] ROMfan:
Adaway isnt working in mi 5 lineage os android 10. Any one figured it out yet?

Also cannot allow RW access to host file through solid explorer.

---------- Post added at 09:55 AM ---------- Previous post was at 09:54 AM ----------

Adaway isnt working in mi 5 lineage os android 10. Any one figured it out yet?

Also cannot allow RW access to host file through solid explorer.
[Android Apps and Games] guest4711:
You tried the standard tip already, didn't you:

'Enable "systemless host" in MagiskManager and reboot'
[Android Apps and Games] ktmom:
Of course not. A10 system is not mountable.
[Android Apps and Games] eturk01:
AdAway 4.2.9

Magisk 20.0

Android 10

Just upgraded to Magisk 20 & tapping "enable systemless mode" now does nothing, won't be checked. (Chip pops up saying root granted.) On Magisk 19.6 it would check, but returning to settings I find it was unchecked. So, it better in that it's clear systemless can't be set.

Anyone know how to fix this? Was working great, blocking ads, on Android 9. Bloody ads on 10 now.
[Android Apps and Games] ktmom:
This is a Magisk support question.

See the next post down. I misread that you couldn't get the systemless hosts module to stick.
[Android Apps and Games] jcmm11:
Make sure you've enabled systemless hosts in Magisk Manager's preferences. You need to reboot after enabling.

If it's enabled you'll see an entry for "Systemless Hosts" on the Modules tab of Magisk Manager
[Android Apps and Games] ktmom:
[MENTION=4487388]jcmm11[/MENTION], I misread the post. I read it that they couldn't get the systemless hosts module to stick.

How is it we are several years into Magisk systemless hosts and this is still an issue?
[Android Apps and Games] Oswald Boelcke:
Adaway v4.2.9, Magisk v20.0, RR-N-v5.8.5. No issues at all with systemless hosts. Current hosts-file size 4.59 MB.
[Android Apps and Games] andrea0807:
Hi guys, I realized that adaway blocks the notifications of Tapatalk and telegram.

* How can I solve the problem?

Do I need to add specific white lists?

Inviato dal mio MI 8 utilizzando Tapatalk
[Android Apps and Games] JGradyO:
No. I use adaway with the the default hosts, and telegram notifications work.

Can't speak to Tapatalk, but I think you need to keep looking for a cause. It isn't adaway, but maybe one of the hosts files you load.
[Android Apps and Games] mxxt01:
I use Adaway and Tapatalk notifications are working without whitelists.

Poslano z mojega MI 9 z uporabo Tapatalk
[Android Apps and Games] mxxt01:
I don't think so, I have about 10 hosts lists and all is fine... But in your case, one of the hosts you have is blocking whatsapp (maybe more than one). Try dissabeling one by one and see which one it is.

Poslano z mojega MI 9 z uporabo Tapatalk
[Android Apps and Games] kurtn:
Thanks. This trick, should be in adaway error message.
[Android Apps and Games] Roger.T:
People talk about problems that exist with Android 10..[emoji849]

Not only does Adaway not work with Magisk at the moment but also Titanium for example..

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Android Apps and Games] drnightshadow:
Adaway is working with MAGISK even on latest v20.0...I can confirm its working on all my 4 devices( 2 phones and tablets - devices from 2015 -2018)
[Android Apps and Games] Roger.T:
Android 10?

Gesendet von meinem LM-G810 mit Tapatalk
[Android Apps and Games] drnightshadow:
yes the latest device from 2018 android 10 latest...Mybe I'm just lucky :cool:
[Android Apps and Games] ktmom:
So far the complaints I've seen are people who are not enabling the systemless hosts in Magisk. A10 on *most* devices will require the use of systemless hosts. System is no longer able to be written to, even with root.
[Android Apps and Games] m0han:
i don't have systemless hosts module enabled and yet adaway works for me on android 10. not idea how, but, i'd like to know - if someone has an explanation.
[Android Apps and Games] Ultramanoid:
RW system on Android 10 depends on device, not on having Android 10. ( On new Pixels Google made it impossible. )
[Android Apps and Games] osm0sis:
Still I didn't think AdAway supports detecting and attempting to remount / as system yet, so not sure how that would work. :confused:
[Android Apps and Games] frankenwald:
AdAway does not work on Pie

AdAway does not work any more on my new phone (Motorola G7 Power, Android 9.0 Pie, Magisk 20.0). Systemless hosts are enabled in both Magisk Manager (with reboot, of course) and AdAway. Although AdAway displays the latest hosts file as activated without any error message, ads are still shown in apps.

Screenshots can be provided on request.
[Android Apps and Games] ktmom:
You did manage to edit out where I indicated that it's device specific [emoji6]

From the android.com Partition Layout page

According to topjohnwu, the Pixel 3 series (and the 4 when release I guess), are a separate case altogether

*LSAR = legacy SAR

* 2SI = 2-Stage-Init

What devices are affected by these changes has most to do with if they were released with Pie. Pre-Pie devices are less likely to be affected, but there is the element of treble compatibility and what the OEMs release.
[Android Apps and Games] Furax31:
Hello

it's possible to add an application to the whitelist? If yes, how? Thank you.
[Android Apps and Games] ktmom:
Not as requested. That's not the way hosts files work.

What you can do is Log DNS requests from the app and whitelist those.

---------- Post added at 13:27 ---------- Previous post was at 13:20 ----------

You indicated that you rebooted after enabling the systemless hosts module in Magisk. Did you reboot after applying Adaway?

If after a reboot ads are still appearing, then it's time to go back to basic troubleshooting. If you check the size of the /etc/hosts file, is it larger than just a few bytes? You can also check the text banner at the start of the /etc/hosts file, it should indicate it was built by Adaway.

If not, then the hosts is not applying correctly. Getting logs would help.

If the hosts file is properly updated, then what app(s) are you having trouble with? Have you checked on both mobile data and Wi-Fi?
[Android Apps and Games] frankenwald:
Thanks for all the advice so far.

Yes, I did reboot after applying AdAway. The hosts file was definitely built by AdAway too (being a new user, I cannot post the links inside the hosts file here):

# This hosts file has been generated by AdAway on:
# 2019-10-15 15:23:53
# Please do not modify it directly, it will be overwritten when AdAway is applied again.
# This file is generated from the following sources:

I'm having trouble with every app that features ads (except for web pages in Firefox, thanks to uBlock Origin). I don't even have a mobile data plan, so I fully rely on WiFi.

What kind of logs should I provide?
[Android Apps and Games] ktmom:
A basic test would be to use a terminal app and "ping" an entry from the hosts file. It should return with localhost (127.0.0.1). If not, then there is something bypassing the hosts file.

Try these steps from the Adaway wiki.

There's also the issue that hosts files can not help when ads are bypassing DNS via the use of IP addresses, proxies, etc.
[Android Apps and Games] frankenwald:
Please don't ask me why, but suddenly it works (I did neither change any settings nor reboot my phone nor restart any app—I just pinged some ad servers via Termux and got a localhost response). Must be some kind of magic. Thanks for all your help!
[Android Apps and Games] esgie:
This happens when there is a mismatch between the signatures of su binary and magisk manager app, resulting in lack of control over the su permissions.

Hide magisk option repacks the apk with random package name. As the resulting apk is modified version of the genuine manager apk, it requires signing. Manager does it automatically.

But it seems that your Manager version does not use the proper signature when doing it.

What I feel is that you are flashing, for example, a stable magisk release and then update it via manager app to beta or canary. All those variants use different signatures and switching between them should be always performed by full uninstall and flashing from the scratch.
[Android Apps and Games] dickys11:
Already install the stable version, but YouTube ads still showing up. Any idea how to fix it?
[Android Apps and Games] vandyman:
I guess you did not read anything about AdAway in this thread, because if you did you would have known that AdAway does not work for YouTube.
[Android Apps and Games] Adamk102:
Install YouTube Vanced

Wysłane z mojego MI 6 przy użyciu Tapatalka
[Android Apps and Games] guest4711:
Use NewPipe (Schlanke YouTube-Oberfläche) - https://f-droid.org/app/org.schabi.newpipe
[Android Apps and Games] mickyw1980:
Ymusic is better?

https://ymusic.io/
[Android Apps and Games] andy356:
Not open source.
[Android Apps and Games] Claudio4780:
For the German speaking community there is an excellent "How to do it" @ https://www.kuketz-blog.de/adaway-werbe-und-trackingblocker-take-back-control-teil6/