yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] avatar_adg:
The thing is that they actually change DNS.

Let me please explain. The thing is that without root access there's no easy way to change DNS settings globally, except the painful wi-fi settings way. However, VPN API provides a simple way of setting DNS settings without messing with actual VPN server. What these apps do: they create a VPN with "empty routes" (nothing is being actually routed through this VPN) and specific DNS settings. The same way Adguard uses, it's just instead of empty routes we do process traffic inside of the app in order to filter&block ads.

I am pretty much sure that it works in case of Adguard.

Here's what I see in the log file:

01:02:02.443 [Thread-11] DEBUG c.a.android.filtering.commons.d - UDP id=293 Creating new connection for UDP 172.16.209.1:20858 > 176.103.130.130:53 len=31
01:02:02.444 [Thread-11] DEBUG c.a.android.filtering.commons.d - UDP id=293 Connection has been created.
01:02:02.444 [pool-2-thread-25] DEBUG c.a.android.filtering.commons.d - UDP id=293 [OUT] UDP 172.16.209.1:20858 > 176.103.130.130:53 len=31
01:02:02.445 [pool-2-thread-25] DEBUG c.a.android.filtering.commons.d - UDP id=293 Open UDP connection to /176.103.130.130:53
01:02:02.537 [Thread-6] DEBUG com.adguard.commons.b.s - UDP id=293 address=/176.103.130.130:53 Read 106 bytes from datagram channel
01:02:02.538 [Thread-6] DEBUG c.a.android.filtering.commons.d - UDP id=293 [IN] UDP 176.103.130.130:53 > 172.16.209.1:20858 len=106
01:02:02.756 [pool-3-thread-1] DEBUG com.adguard.android.filtering.vpn.i - UDP id=293 Cleaning up connection. Idle for 217ms.
01:02:02.778 [pool-3-thread-1] DEBUG c.a.android.filtering.commons.d - UDP id=293 Closing VPN connection
01:02:02.781 [pool-3-thread-1] DEBUG c.a.android.filtering.commons.d - UDP id=293 Closing UDP connection to /176.103.130.130:53.
01:02:02.783 [pool-3-thread-1] DEBUG c.a.android.filtering.commons.d - UDP id=293 VPN connection has been closed

This means that Android actually sends DNS requests to AG server "176.103.130.130". Also I suppose something is wrong with the DNS server detection mechanism on AG website. We'd better check this.

Try changing "pref.boot.startup.delay" value in Adguard's low level settings.
[Android Apps and Games] pgovotsos:
That log may be saying that but every tool I try is saying that my DNS is set to my router.

The phone is rooted but otherwise stock. I'm beginning to wonder if all of this might be a quirk of the Pixel of some kind. When I change the Wi-Fi settings from DHCP to static and set everything to the same as what DHCP assigns except setting DNS to Adguard, I get the status of "Connected, no Internet" and an x beside the Wi-Fi bar indicator at the top of the screen.

I have 4 WiFi networks and they all have the same results. I've also assigned the phone's IP address as static on the router with no difference. I have tried it with the certificate in user and system to see if that made a difference. It didn't. Oh yes, I did only make one change at a time, returning to baseline each time. I have tried with 2 other no root required VPNs, tools that require root and are supposed to directly change the DNS. I don't know what else to try.

I don't think anything is wrong with the detection on your site. I think it's some kind of issue with Pixel and / or Nougat. I tried with an old Droid 4 laying around and I could change the settings and the tools reported appropriate results for the changes. It is running Honeycomb and was connecting to the same networks. It also is rooted but otherwise stock.

Any ideas to try?
[Android Apps and Games] avatar_adg:
I am not sure how exactly these tools do the check and if they really make a DNS request.

Let's do the simple check.

1. Set up Adguard's family protection DNS:

176.103.130.132

176.103.130.134

2. Check if pornhub is blocked or not
[Android Apps and Games] pgovotsos:
Well, that's the first time support has told me to look at porn :)

That worked and I got the screen attached. The Adguard DNS status page is still saying that I'm not using Adguard DNS.

If I am running Adguard with https filtering, does Adguard DNS offer any additional benefits?
[Android Apps and Games] RED ZMAN:
I just updated to 7.1.1 on my Nexus 6p and am getting this warning message in Chrome on any page I go to with AdGuard running.
[Android Apps and Games] pgovotsos:
I've had some strange behavior and I'm not sure if it is normal or not.

Every couple of days, SuperSU starts to display toast notifications about Adguard being granted superuser. What's strange is that the notification will continue to pop up every 30 seconds or so. Adguard will toggle enable / disabled and the key icon disappears and reappears (expected with enable / disable). Internet is spotty or even unavailable when this happens. This continues until I restart the phone.

This doesn't seem to be tied to a particular time of day or particular web site. It only happens when I am browsing. Since it seems to happen randomly, I don't know if there is anything that could make it easy for you to reproduce.

I will keep logging set to record everything so when it happens again I can try to get a log to send. If I have logging everything turned on, if it takes a couple of days until it happens again, will I end up with huge logs?

I have a Pixel XL running Android 7.1. It is rooted but otherwise stock. I have the Adguard certificates moved to system. This has only happened when using Chrome. I use Firefox and Opera occasionally but very little so it hasn't appeared with them - perhaps because I use them little or perhaps it won't happen with them. Again, I'll try to get logs if it happens with the other browsers.

Thanks
[Android Apps and Games] Wrapp:
Sorry for asking that somehow off-topic question here, but i don't know where to ask else.

I'm using 'Internet speed meter', an app that displays the data transfer speed in the status bar. When AdGuard is enabled it always shows a higher value than the real one (about 4-5x higher). I tried many other apps, but they all showed the same behavior.

Do you know of any app that shows the real value when AdGuard is enabled?

Thanks for your time
[Android Apps and Games] avatar_adg:
I guess something has happened with Adguard certificate after the update.

Go to Android settings -> security - clear credentials.

Then exit Adguard, open it again and reinstall https certificate.

---------- Post added at 01:06 AM ---------- Previous post was at 01:03 AM ----------

Yeah, the log will be really huge. Also, Adguard will send the log file for the current day only.

Actually, I don't really need "record everything" level log in this particular case. Default level will be just ok and it won't be huge.

[MENTION=3953022]pgovotsos[/MENTION] please let me know when you send the log.

---------- Post added at 01:09 AM ---------- Previous post was at 01:06 AM ----------

Huh, since Android Nougat release I can't use this app anymore, it just crashes.

My idea is that it counts VPN network interface as data transfer, which is not really true as VPN is local in our case.
[Android Apps and Games] RED ZMAN:
So I did what you mentioned and then when I tried to reinstall the certificate the box would never show checked so I restarted my phone and both of those boxes were checked when it came back up. I went and opened a website back up and had the same error again.

Uninstall and reinstall next?
[Android Apps and Games] avatar_adg:
Let's retry it once again, now with more detailed instruction.

1. Open Adguard -> Menu -> Exit

2. (Optional) Clear Adguard app cache & data

3. Open Android settings -> Security -> Clear credentials

4. (Optional) Reboot the device

5. Open Adguard -> Settings -> HTTPS filtering -> Install certificate

6. Exit Adguard again

7. Open Adguard and start protection
[Android Apps and Games] RED ZMAN:
That did the job. Thanks!
[Android Apps and Games] UncleMike:
I apologize for the delay. In addition to the primary user which was used for installing Adguard, I had 1 restricted user setup. After deleting the restricted user, Adguard had no trouble starting in VPN mode.

Thanks for the help.
[Android Apps and Games] milojoseph:
New ad seem to be able to bypass adguard
[Android Apps and Games] Sebastian505:
Cool App If You Want A Translator PM me !
[Android Apps and Games] avatar_adg:
All AG translations are public and we'll appreciate any help:

https://blog.adguard.com/en/adguard-public-translations/

---------- Post added at 10:07 AM ---------- Previous post was at 10:03 AM ----------

Can't reproduce it on my side.

Do you have https filtering enabled?

Is it still there if you restart AG protection?
[Android Apps and Games] pgovotsos:
Adguard just quit out of the blue. By quit I mean the shield and key icons are gone and the status in the Adguard app is disabled. I was just browsing and this happened. Of course network connections broke.

I had logging set to http requests for the previous issue. Hopefully this is enough for you to see what happened. I sent feedback including the time it happened. ID is 1471897
[Android Apps and Games] milojoseph:
Still there also, messenger lite doesn't work if adguard is enabled. So I disabled it in app manager. Adguard blocks messages from coming in and out..

The website with the ad also still there.
[Android Apps and Games] avatar_adg:
According to the log, it was either killed by Android (due to low memory, for instance) or crashed.

I can't say for sure, though, as to see system events we need to get `logcat` log:

https://kb.adguard.com/index.php?/K...2/9/how-to-get-logcat-log-from-android-device

---------- Post added at 01:14 AM ---------- Previous post was at 01:10 AM ----------

Messenger:

https://github.com/AdguardTeam/AdguardForAndroid/issues/1010

We'll check the website as well:

https://github.com/AdguardTeam/AdguardFilters/issues/3957
[Android Apps and Games] milojoseph:
So sorry, I received a free license to provide logs. Where is the forum. Is it supported by tapa talk. Hope you guys understand the convenience in posting here
[Android Apps and Games] avatar_adg:
Huh, sorry, I didn't get what you mean. Do you ask about AG forum? It is forum.adguard.com and it does not yet support tapatalk.
[Android Apps and Games] pgovotsos:
I finally got a log with this happening. It's just as I described with Adguard cycling between enabled and disabled. I sent feedback with logging set to http requests. It happened around 3:50 am. User ID is 1471897.
[Android Apps and Games] avatar_adg:
Thank you for the log!

Here is what's going on:

1. Adguard is killed by Android for an unknown reason.

2. It is then immediately restarted

3. Adguard spends more than 30 seconds on trying to clear YT app data (and that's why it asks for root permissions)

4. Soon after it is started, Android kills it again and we return to point 1.

I am not yet sure what is the culprit, I just suspect that "pref.root.clear.youtube" option can be partly responsible for it. Try turning it off and see how it goes.
[Android Apps and Games] pgovotsos:
I am using OGYouTube. Would that be a difference that is causing the problem with Adguard clearing YouTube's cache? My understanding was that OGYouTube was essentially stock YouTube with some additional coding for the extra features like downloading. My understanding could be wrong though :)

I can disable the clear YouTube setting and go back to manually cleaning the cache when restarting the phone. When you do that I can't remember if I disable Adguard, clear YouTube cache then re-enable Adguard or if Adguard can be enabled when clearing the YouTube data. I seem to recall you saying something about Adguard couldn't be enabled when clearing the cache but my recaller can be broken :)
[Android Apps and Games] avatar_adg:
It shouldn't cause any problem as it has a different package name.

If you use OGYouTube instead of YT already, you simply don't need it.

If you still use YT app, then yes, you should manually clean YT data after restarting the phone.

It should be enough to just clear YT app data, no need in restarting AG. It's just don't swipe YT from recent apps as it will cause the app restart (after which you'll need to clear data again).

Ah, nevermind, my recaller is broken from the beginning:)
[Android Apps and Games] stu5797:
Hello, I want to purchase your amazing app but before I purchase I want to make sure I can remove the Key symbol in my noyltification bar. It's not letting me eliminate that key symbol on my trial.

Thanks
[Android Apps and Games] kyzn:
You can't. That's on Google's part. Every time you run a VPN connection, it's gonna be there. Whether it's for AdBlock or straight up VPN.
[Android Apps and Games] avatar_adg:
There're only two acceptable ways to get rid of it:

1. Use proxy+auto filtering mode (requires root).

2. Use knox if you're on Samsung device (this feature is not yet ready, coming soon in version 2.9).
[Android Apps and Games] stu5797:
Thanks! I'm on Samsung so I hope the new version comes soon so I can use Knox! Eve though I have no idea how to use Knox. Lol
[Android Apps and Games] thedicemaster:
i like Knox even more now.

at first Knox existed to prevent or discourage rooting, but now people are finding different ways to use Knox to replace root.
[Android Apps and Games] milojoseph:
Is that the update with the anticipated ui design
[Android Apps and Games] pgovotsos:
New ad on Amazon

Any chance you could remove this ad that recently started appearing on Amazon.com? It's a large (almost full screen) that appears at the bottom of the page just above the search box and below the suggestions. It doesn't appear every time but about 40%.

Thank you
[Android Apps and Games] stu5797:
Thanks for your fast replies, hard work and amazing app. Just bought 2 lifetime Android subscriptions. Can't wait to get version 2.9 to get rid of that damn key in notification bar! Would love the beta version of 2.9 if possible ?
[Android Apps and Games] avatar_adg:
Nope, that's an intermediate release.

There will be slight UI changes (menu goes to sidebar), but nothing really serious.

---------- Post added at 09:41 PM ---------- Previous post was at 09:39 PM ----------

Could you please post the page address? I've surfed amazon a bit, but can't see it yet.
[Android Apps and Games] yochananmarqos:
There is no beta yet, but you can sign up. Instructions are in the OP.
[Android Apps and Games] thedicemaster:
can the taboola ads in microsoft solitaire collection be blocked, or do they come from Microsoft's own server?

also, https filtering still breaks that app(reported it a few weeks ago through adguard's in-app feedback)
[Android Apps and Games] avatar_adg:
Yup, support has filed an issue about it recently:

https://github.com/AdguardTeam/AdguardForAndroid/issues/1016

We'll check it once everybody is back from NY holidays.

Or let's do a quick check right away, try this rule:

||taboola.com^$app=com.microsoft.microsoftsolitairecollection
[Android Apps and Games] thedicemaster:
simple but effective.

there's still a "Microsoft casual games" banner(just that text) at the bottom, but it contains no link so it's no problem.

i would've paid for the game if i could just buy it, but it requires monthly or yearly payments.
[Android Apps and Games] yochananmarqos:
What about if I add Adguard's filter lists to adblock? Something like this?

config source 'adguard'
option enabled '0'
option adb_src 'https://github.com/AdguardTeam/AdguardFilters/blob/master/UsefulAdsFilter/sections/usefulads.txt'
option adb_src_rset '{FS=\"[|^]\"} \$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower(\$3)}'
option adb_src_desc 'Adguard Useful Ads Filter'
[Android Apps and Games] bloodhound42:
More battery is consumed with this app on my oneplus 3t when compared to firefox +ublock origin
[Android Apps and Games] avatar_adg:
It may work, but I am not sure if it understands basic rules syntax, especially exception rules.

Anyway, this is domain-level ad blocking, more or less the same as AG DNS.

In this case it'd be better to use "Simplified domain names filter", the same we use in AG DNS:

https://github.com/AdguardTeam/AdguardDNS/blob/master/Filters/filter.txt

---------- Post added at 05:23 AM ---------- Previous post was at 05:22 AM ----------

How exactly did you measure it?

Have you read the article about battery stats issues?

https://kb.adguard.com/index.php?/K...ndroid-battery-and-traffic-consumption-issues
[Android Apps and Games] zilan:
Hi using latest version it show black square on bottom of tubemate.. Although images are blocked..
[Android Apps and Games] IFightCode:
Didn't work for me. Not sure why but local VPN was running. I'm using Le Max 2 MIUI 8 custom rom.
[Android Apps and Games] b0rnc0nfuz3d:
Hi, can this block YouTube stuff etc?
[Android Apps and Games] thedicemaster:
YouTube ad blocking is limited.

ads on the website and text ads are blocked reliably, but YouTube caches video ads whenever it can so you have to wipe data/cache regularly to keep them away.
[Android Apps and Games] pgovotsos:
I don't think it is any particular page. If I'm on a page with the ad and refresh, most of the time the ad is not on the refreshed page. If I'm on a page without the ad, i might have refresh several times before the ad appears. Like I said, it's around 30% give or take.

The ad is always the same image in the same place on the page.

I am on Amazon using Firefox, not Chrome, if that helps. I don't know if it makes a difference with the different browsers. I will try with Chrome and see if there is any difference.
[Android Apps and Games] Goku80:
Use to be good but for whatever reason I can't seem to block ads no more. Normal xda app ads don't get blocked and appy geek as well.
[Android Apps and Games] pgovotsos:
Hi,

I just tried with Chrome and the behavior is the same. Much of the time there is no ad. When there is an ad, refresh usually, but not always, the ad is gone.

Since you're not seeing it, is it possible that it is a geographical based ad?
[Android Apps and Games] avatar_adg:
We'll check it, thank you!

https://github.com/AdguardTeam/AdguardFilters/issues/4050

---------- Post added at 08:45 PM ---------- Previous post was at 08:43 PM ----------

How did you check it?

---------- Post added at 08:51 PM ---------- Previous post was at 08:45 PM ----------

At least what's the page type? Is it a product details page or a search results page or anything else?

I doubt it, I've checked it from Moscow, Miami, and NYC:). It might be that I am not patient enough, though.

---------- Post added at 08:52 PM ---------- Previous post was at 08:51 PM ----------

What type of ads? Have you changed anything in the app settings? Have you contacted our support about it?
[Android Apps and Games] silvertrain78:
Can confirm: XDA app is displaying ads even with HTTPS filtering. Haven't made any changes to Adguard settings. Been happening for a few days
[Android Apps and Games] pgovotsos:
I'm sorry, I thought I had said before. It is a kindle book's page, not a search page. It shouldn't take many tries to come across it. I follow an RSS feed for new books in a particular subject. I tap on the links, open in Firefox, item page opens. If I want to search for more by the author, scroll to bottom of the page where the search box is. When it is a page with the ad, it will be directly above the search box. It is still the same image I put in the first message.
[Android Apps and Games] kyzn:
That's weird. Mine is clean. XDA also assures you that XDA Labs will not have ads displayed in it.
[Android Apps and Games] Raidel™:
xda ads are blocked when u block -

-graph.facebook.com-

but then u cant use facebook app either.
[Android Apps and Games] kyzn:
That could be the reason. Facebook is injecting the ad. I don't use the official Facebook app.
[Android Apps and Games] Raidel™:
of course, but i use adaway for blocking specific domains but i imagin u can also do it in adguard

try blocking - graph. facebook. com

facebook dont need to be installed
[Android Apps and Games] avatar_adg:
This app, right?

https://play.google.com/store/apps/details?id=com.xda.labs.play&hl=en

Are you on Nougat? I guess they could've changed target SDK to Nougat, hence no HTTPS filtering anymore.

Please try this rule:

||graph.facebook.com^$app=com.xda.labs.play
[Android Apps and Games] silvertrain78:
That's the app, and yes I'm on Nougat. I'll try this filtering rule later today, since I've temporarily switched to the ad-free XDA Labs *full version of the app*
[Android Apps and Games] AriesBlue:
Adguard on my google pixel

Hello all. I'm new here and also new with Adguard but I got the paid version and so far it's been wonderful. A couple of problems I have is running it along side with my google assistant. When playing around with it I noticed I had to forget the Google VPN to connect the Adguard VPN. Of course when I do that the Google assistant acts up. I'm sure there are answers to setting up Adguard with the pixel but like I said I'm new with pretty much all this stuff so I do apologise. If you could give me pointers or point me in the right direction on where to look it up I would appreciate it. Thanks in advance. Btw I'm not rooted...
[Android Apps and Games] zigbye82:
I've been using adguard in proxy mode (not vpn) for well over a month and i must say its made my browsing experience a lot better. Great app, keep it up.
[Android Apps and Games] avatar_adg:
Please let me know if it help. I'm not yet sure if we should add this rule to mobile ads filter, though, as it'll mess with those who use facebook authorization on xda.

---------- Post added at 01:30 AM ---------- Previous post was at 01:28 AM ----------

I guess you mean Google Wi-Fi Assistant? The one that enables a VPN connection when you use a public hotspot?
[Android Apps and Games] AriesBlue:
Yes I did. It wasn't working for a bit while I was working last night but after restarting the phone it started working fine. It's wierd now though because when I got home I turned off my mobile data (as I have Verizon and it's expensive) and went to connect to my home wifi and it just keeps saying connected but no internet? I can surf the web just fine though. When I did a speed test, it's coming up with numbers higher then usual. I have Hughes net (it sucks) but it's my only choice where I live. But when I go to download something from the play store it's definitely not reflecting those those numbers (slow as usual). Like I said Im definitely a noob with this type of stuff so I do apologise again as I'm most likely missing something obvious but definitely would appreciate any help you could offer when it comes to this Adguard app. It's definitely blocking adds. Just don't know if I have it set up right for optimal performance for my phone.
[Android Apps and Games] avatar_adg:
[MENTION=7995806]AriesBlue[/MENTION]

So are there multiple issues we're talking about? Let's discuss them one by one then.

1. Google Wi-Fi Assistant

The thing is that it uses VPN API and you can't have two different VPN apps running at the same time. Unfortunately, there's no workaround unless you have a rooted device.

Btw, I thought that it is available to project Fi users only. Now for Verizon too?
[Android Apps and Games] AriesBlue:
Also new to the forum. Just got the app which will probably help. From the little research I have done so far I have to use a VPN cause I am not rooted right?

---------- Post added at 12:09 AM ---------- Previous post was at 12:04 AM ----------

Yeah I have the Google assistant which will hook up automatically to public wifi's with a secure VPN if that's what you are referring to. Unfortunately I do have the Verizon Version of the pixel though. Currently have the regular pixel but will be getting the XL mid Feb. It's on backorder...
[Android Apps and Games] avatar_adg:
Yep, VPN is a good choice even when you're rooted. The only issue is compatibility with other VPN apps:(

When it happens, it automatically disables Adguard VPN. In theory, when wi-fi assistant finishes its work, AG should be enabled back. Also, it may be easier to enable it manually if you use Adguard's quick settings tile widget.

As I remember, all Verizon Pixel phones are unlocked, but I guess you got one with a contract?