yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] doctorew:
I've been having intermittent dns issues since the latest update

Pixel 2xl running Android Q beta 6

What kind of logs should I grep for?
[Android Apps and Games] Chinask1:
[MENTION=6548198]doctorew[/MENTION]

I hasten to inform you that the problem is most likely related to certain problems on our DNS servers.

Now the servers are fully restored and they are operating normally.

Please inform me if the problem recurs.
[Android Apps and Games] DoubleHack:
User agent reported in this post is a Firefox user agent and break some Chrome functionality... After some test I found that if you remove the version of Chrome from your UserAgent the amp function stops working. ( example: i changed from "...Chrome/76.0.3809.89..." to "...Chrome..." )

This was my original useragent:

"Mozilla/5.0 (Linux; Android 7.1.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809 Mobile Safari/537.36"

AND THIS MY MODDED UA WITH NO AMP FEATURE:

"Mozilla/5.0 (Linux; Android 7.1.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome Mobile Safari/537.36

If u don't want use adguard for change user agent you can use

"UAgent for Google Chrome (root required)" from playstore.

Unfortunately I can't post the PlayStore link for xda's policy
[Android Apps and Games] Dirk:
I tried your string but it still returns AMP results. The search page is so much nicer using a FF string too. Having now seen how bad the standard Google search page has become on Mobile, i hope to never see it again. I would rather use Bing.
[Android Apps and Games] DoubleHack:
Don't use my UA string!

That is mine for my browser and os ... I don't know which version of Android and which browser you use ...

The best thing to do ...As I said in the previous message ... Is that you just have to take your real UA and remove chrome version (Example: from "Chrome / 76.0001.89" to "Chrome") and leave the rest of your UA unmodified.

After changing user agent you have to restart the protection of adguard and you must kill and relaunch chrome. And I recommend also to visit some site that return your current user agent and check that it has been modified...

Have you followed this procedure?

Let me know if after these steps it still does not work, And in that case please post me your real UA and the modified UA, so that I will be able to investigate the reasons for the non-functioning

For me ( android 7.1.2 Chrome 76 ) It works perfectly, I also tested this thing on friends' phones and it works fine.

I don't understand why it doesn't work for you.

POST SCRIPTUM:

To change the chrome user agent without adguard or a VPN you can download from PlayStore this:

" User Agent for Google Chrome (root required) "

Unfortunately I can't post play store direct URL, but to clarify i can post the package name:

" com.linuxjet.apps.ChromeUA "
[Android Apps and Games] Dirk:
Chrome on Pie without Root. Your method always returns AMP results for me. It doesn't matter, i've found my perfect setup for Search on Mobile. It's using the FF UA String with Bing Search and the following Filters:

www.bing.com##li.b_ans

www.bing.com###mfa_srch

www.bing.com###b_footer

No AMP, and useful search results that actually look nice. No 'Twitter' box taking up half a page and no 'People also searched for...' or 'Related searches..'
[Android Apps and Games] DoubleHack:
I try using bing and i don't see any amp result even with my standard UA ... On my device bing not need FF UA, But I read online people like you who also had AMPs in bing.

Maybe depends on the location, I'm Italian and I in Italian version of bing and google maybe that's why my Chrome UA trick works for me and not you, and maybe that's why I don't see Bing amp even without changing UA, or maybe is for the Android version... It's very strange because I tried on friends' phones and it works too

I wonder... Are you using Google's Data Saver Server? traffic redirection to Google server could also be why my trick doesn't work for you.

(Post scriptum: I verified that To make my trick work, in addition to the steps described in the previous messages, you must open new tab for search... If u serch in a Tab where you have already done a search will return amp results again ... I think it is due to various utm+something?= **** and various tracking garbage string on Google search query)

Any way I'm glad you found your perfect setup,

And thank you very much for the Bing filters they are really useful !!

See ya

EDIT:

2019/ SEPT / 28

THIS TRICK IT SEEMS NOT TO WORK LONGER DUE TO A CHANGE IN AMP PROTOCOL (locale related) ...Try this ... people tell me that it in some countries continues to work
[Android Apps and Games] Daria Adguard Team:
[AdGuard for Android] 3.2.128 Beta

This is a last-minute beta before we pull the trigger and release AdGuard 3.2 for Android. There are only a couple of fixes here. :cool:

[Fixed] Issues while in root+proxy mode configuration #2894

[Other] Update CoreLibs to 1.4.138: #3001

Direct download link.

This version on a GitHub.
[Android Apps and Games] adl:
Thanks for all the beta testing guys out there for providing a stable build for us . I really appreciate it! :good:
[Android Apps and Games] Dirk:
Outstanding work on the new release. Well done AG Team! :good:
[Android Apps and Games] Daria Adguard Team:
AdGuard for Android - 3.2.140 Hotfix

This is a small hotfix for the recent AdGuard for Android release. Mostly squashing bugs related to the new features introduced in v3.2.

[Fixed] DNS filtering breaks regular filtering on HTC devices #3014

[Fixed] AdGuard doesn't completely remove extensions #3015

[Improved] dnsproxy library has been updated #3016

Direct download link.

This version on a GitHub.
[Android Apps and Games] Daria Adguard Team:
AdGuard for Android new beta 3.2.149!

One more beta to deal with some DNS-related and other issues.

[Fixed] Disabling network access globally blocks DNS requests #3025

[Fixed] Bypassing DNS requests breaks DNS filtering #3026

[Fixed] AdGuard fails to start protection after an update #3024

[Fixed] Facebook lite cannot detect that IPv6 is unreachable #3031

[Fixed] Blocked app notification works incorrectly #3032

Direct download.

This version on a Github.
[Android Apps and Games] Chinask1:
Hello there!

Information regarding the statistics of blocked requests will be displayed. It just does not happen instantly, and you need to wait for some time.
[Android Apps and Games] Bill Gamble:
Will Adguard work with Android 10?
[Android Apps and Games] Chinask1:
Hello!

Yes, the app works with 10 Android! :)
[Android Apps and Games] dmarden:
I guess Adguard DNS settings are still enforced even if Adguard protection is disabled? There was/is an issue with the Google Play store (updating apps) and Adguard DNS. I tried many things, including diabling Adguard protection wondering if it was a weird adblock thing. Eventually someone on reddit suggested I disable Adguard DNS specifically and that did the trick. Pixel 2 XL/Android 9.
[Android Apps and Games] Chinask1:
The fact that this morning there was a problem with updating and downloading applications from the Google Store.

The issue was in the SDNF filter, the problem was fixed and it should not be repeated.
[Android Apps and Games] Daria Adguard Team:
AdGuard for Android 3.2.150 Release!

The previous hotfix dealt with some urgent bugs, so we had to act fast and couldn't fix the rest of the less important issues. After today's update, all of them should go away.

[Fixed] DNS filtering breaks regular filtering on HTC devices #3014

[Fixed] AdGuard doesn't completely remove extensions #3015

[Fixed] Disabling network access globally blocks DNS requests #3025

[Fixed] Bypassing DNS requests breaks DNS filtering #3026

[Fixed] AdGuard fails to start protection after an update #3024

[Fixed] Facebook lite cannot detect that IPv6 is unreachable #3031

[Fixed] Blocked app notification works incorrectly #3032

[Improved] dnsproxy library has been updated #3016

This version on a Github.

Direct download.
[Android Apps and Games] dmarden:
Thanks. For me, it was mostly just a bit strange that the DNS settings were in effect even when Adguard protection was disabled. I wasn't that worried about the issue of the Play Store itself.
[Android Apps and Games] Midomad:
I faced the issue again this morning with last update 3.2.150,can't update apps via Play Store! Paused Adguard, and then updated.
[Android Apps and Games] Chinask1:
[MENTION=4065345]Midomad[/MENTION]

To troubleshoot this issue, we need to get additional logs.

Here's what we need you to do:

1. Collect the debug log as it's [explained here]

2. Remember the exact time when the issue was reproduced, we will need it to find the corresponding records in the log file.

3. Additionally, capture the system bug report after reproducing the issue. [Here's the instruction].

4. Send both files to PM or on support@adguard.com with the link on this forum.
[Android Apps and Games] dmarden:
Just received Android 10 and am unable to install the certificate for HTTPS filtering. I haven't had much time to toy around with it myself, see if it's related to the Magisk module for the cert location. I can test more tonight when I get home, just thought I'd throw a quick note up here.

Pixel 2 XL, Magisk (Canary, of course, since it's Android 10)
[Android Apps and Games] dmarden:
Disabling the Magisk module for moving the certificate did indeed resolve the issue. Hopefully that module will be updated.
[Android Apps and Games] YMatrix:
Hello,

Recently started to receive errors (on latest nightly) with the following content:

HTTPS filtering error

xxx does not accept our certificate. You can exclude domain or application from https filtering to avoid these errors.

I am getting this on multiple apps.

Why is this happening? How can I resolve this since some apps using https do display ads.

Thank you
[Android Apps and Games] thedicemaster:
I think the only solution for those apps is to move the adguard certificate to the system partition, which requires root.
[Android Apps and Games] _jis_:
Please, could you mention a few examples?
[Android Apps and Games] Chinask1:
This feature is designed for those cases when the user has HTTPS filtering enabled in applications that refuse to work with user certificates.

We have a list of applications for which HTTPS filtering is disabled by default, but there are cases when the user has independently enabled filtering and the application does not work correctly.

Therefore, we decided to add this notification.

Feature is not yet fully finalized, so if you have any comments or suspicions of bugs - we will be grateful for the information provided.
[Android Apps and Games] YMatrix:
I have root and use the move cert to system addon in magisk.

I have seen this on:

1) Amazon shopping

2) Glow Baby

3) Facebook - not the official app, the debulshified mod from xda

I will take notice of more apps and post.

I don't want to disable the https filtering since like I said some apps show ads via https.

Edit:

Supl.Google.com
[Android Apps and Games] Audioboxer:
I already asked this on Adguard Telegram and I think everything was answered to help me, but I'll double check on XDA as well.

I'm running a rooted pixel 3 and have been using VPN mode for years, but I'm trying out a VPN thanks to an offer and want to run it with Adguard. I swapped over to local proxy filtering and at first the VPN app kept saying "no internet connection". I changed the local proxy port in Adguard to 8123 and now it works.

Is this because the VPN app was trying to use the default 8080 port too?

Now that I've got the two of these running, does Adguard still handle DNS lookups? I use Adguard DNS in the app and it says on the Adguard homepage I'm still using Adguard DNS.

On my Windows 10 PC running the VPN app says my DNS server is the VPNs. Speaking of Windows, albeit it this is offtopic for XDA, does Adguard Windows run fine in WFP network driver mode with a VPN app? It seems to be :confused:

Thanks for any corrections/advice :highfive:

I was going to try and run my VPN at a router level, but my TP-Link VR600 doesn't support it. I do run a Raspberry PI with PiHole for my home network, which I think I can run a VPN through as well bypassing the router limitation. Again offtopic for XDA, and maybe a bit outside of my comfort zone for now lmao. For now it's just my PC/laptop/phone going through a VPN and any other network devices in my home going through the PiHole/ISP.
[Android Apps and Games] who ah way:
Have AdGuard Premium, how to uninstall AdAway?Hi there! I have a two-device license t

Hi there!

I have a two-device license to AdGuard Premium on a rooted device (OnePlus 7 with Magisk). Using 'Local HTTP Proxy' mode to enable use along with ExpressVPN.

Before installing AdGuard, I had installed AdAway. From what I'm reading here, it sounds like my experience might improve if I uninstall AdAway. So even though this may sound like an AdAway question, it's really about optimizing the AdGuard experience.

How do I uninstall AdAway in such a way that the hosts file is restored? Is it just a matter of:

1. uninstall AdAway app

2. remove 'systemless hosts' module in Magisk?

Thank you in advance for any advice!
[Android Apps and Games] sliding_billy:
Disable or uninstall AdGuard. Reboot. Disable ad blocking in AdAway. That will return you to the stick hosts. If you do not need systemless hosts for any other reason, turn that off (delete the module) in Magisk. Reboot, and uninstall AdAway. Now, reinstall/re-enable AdGuard and check for updates/host updates. Reboot once more to ensure that AdGuard is launching on boot. Check an app that you know normally throws ads.
[Android Apps and Games] who ah way:
[MENTION=4609886]sliding_billy[/MENTION]

A big, big thank you for the fantastic walk-through!!!

Followed the steps… Everything looks like it's humming perfectly. Just launched a TWRP backup to celebrate this clean, stable state. :)

One question about this optional step: "If you do not need systemless hosts for any other reason, turn that off (delete the module) in Magisk".

If I ever want to manually add something to the hosts file (as happens every once in a while on Windows), is that when having "systemless hosts" would be helpful? I don't understand what it does, but I've been assuming that it's a way to edit the hosts file in a way that the Android system is not aware of it, preserving SafetyNet and other checks.

Looking forward to your insights.

Wishing you and everyone else here a relaxing weekend.
[Android Apps and Games] sliding_billy:
Not exactly. AdGuard does not need the systemless hosts module running since nothing AdGuard does modifies system even in rooted AdGuard. Magisk is a systemless root which means it uses overlays instead of modifying system. For the most part that means that modules essentially work like they did when modifying system. AdAway has to support systemless mode, and at the same time Magisk has to support apps that work that way (thus the systemless hosts module). I honestly don't know of anything else besides AdAway that currently needs systemless hosts enabled, but that doesn't mean there is nothing else out there that I just don't use. That is why I wrote it the way I did (if you do not need). I would just disable systemless hosts once you are moved to AdGuard. I hope this helps.
[Android Apps and Games] yochananmarqos:
Yes, that's all you needed to do. ;)
[Android Apps and Games] who ah way:
Thanks guys.

Just to be clear, if I ever want to manually add something to the hosts file (e.g. redirect some annoying Adobe server to 127.0.0.1), will I need to have the systemless hosts module enabled, or do I just make the entry in /system/etc/hosts without worrying about 'systemless hosts'?
[Android Apps and Games] yochananmarqos:
Yes, you will need to re-enable systemless hosts. Remember, Magisk is systemless root. You won't be able to edit the hosts file manually as /system is mounted read-only.
[Android Apps and Games] Nastrahl:
Editing the hosts file is a bad idea. It's better to change firewall's rules instead, or blocking hosts with a DNS server.
[Android Apps and Games] who ah way:
Thank you guys.

Just as a test, added the line

198.252.206.140 dalailama.com

and that page redirected to a stackexchange page, as expected.

Can I please add you two follow up questions?

- in short, why is it a bad idea? I'm not educated on this topic.

- which firewall app would you recommend? (Android Pie, OnePlus rooted with Magisk)
[Android Apps and Games] n_boy86:
LOVE ITA, some ads is not blocked though

also when i have it installed my notifications icons at the top vanished, is this a setting

and which has the best set up , https dns ad blocked its so freaking many , :)

please help

can i stop network but only enable for those apps i want :) when screen off
[Android Apps and Games] Nastrahl:
I'll try as best as I can (English is not my native language, so I apologise if I wrong somewhere).

Everytime you try to access some website like Google.com, the system reach it by its IP address and not its host name. It's transparent to us because the system do a DNS request to the DNS server to find a corresponding IP address for the host we need to connect.

If it succeed it caches both the IP address with the corresponding hostname in RAM so that when you'll want to connect to it later, it won't do a DNS request again but reading the DNS cache. It's faster and prevent overloading the DNS server with requests every time.

The hosts file basically serve the purpose of a local DNS server, with your own predefined corresponding rules for given IP <-> hostname. The system will cache all entry written on it in RAM and won't request the DNS server for them.

It's a bad idea because it takes time for the system to cache in RAM numerous entries, and the more it caches the more it fills up the phone's RAM.

Unfortunately I don't know about firewalls because I don't root my phones anymore so I didn't dig up something yet. I just know that for Samsung phones you can do it with its embedded Knox (Disconnect Pro or AdHell3 if you are a Samsung partner).

The easiest is to use Android 9's Private DNS settings and put it AdGuard's one, or with the app using theirs in it since they support customised rules plus content blocking (removing blocked ads white spaces).
[Android Apps and Games] zorzed:
I have the same issue. Using a brand new LG V10 with Android 5.1.1 which came out just last week, so obviously no outdated firmware excuse. :)

The AG seems to work but if I decide to temporarily disable it, WiFi appears to remain active (and my email application AquaMail works) but no connections can be made in Facebook, Google Play, Dolphin browser, etc. If I switch to mobile data by disabling WiFi, all those connections start working again.

I tried your IPv6 trick in the settings but it didn't help, either. I hope this is something you can look into without blaming the firmware. Thank you!

Sent from LG v10 on Tapatalk
[Android Apps and Games] Dexterlab:
Facebook dont work with the last version adguard 2.1.267

how to exclude some app to filter with adguard please!! help!!
[Android Apps and Games] gammaxgoblin:
Awesome! Thank you!
[Android Apps and Games] 0.0:
I understand there are two modes: VPN and Proxy. My question is which one is better in terms of battery life and performance?
[Android Apps and Games] Dellodylio:
Yup, this is nice :)
[Android Apps and Games] avatar_adg:
Proxy is better as we do not need to emulate the whole TCP stack there.

But if you don't have ROOT using proxy is a pain as you'll need to set it up manually for each Wi-Fi network and it won't work for 3G.

---------- Post added at 12:56 PM ---------- Previous post was at 12:38 PM ----------

Bad, means that they have not fixed it:(. Let's test it with some other VPN-based app.

Could you please try this one: https://play.google.com/store/apps/details?id=app.greyshirts.firewall&hl=en

And check if the situation is different or not.

And when you re-enable Wi-Fi how do these apps work? What's weird is that some apps are still working, in theory it should have messed with all apps.
[Android Apps and Games] Rotkaeqpchen:
I want to use Adguard on the Android Runtime of my BlackBerry 10 but have to manually setup the VPN connection. Could you provide these information? Thanks!
[Android Apps and Games] avatar_adg:
I suppose it won't work that way. To work properly Adguard should be able to set it up programmatically, there're no common VPN settings.

Do BB allow to set Proxy settings for the apps (like Android that allows to set proxy for the Wi-Fi network)?

If it does then it's possible to use Adguard in proxy mode.
[Android Apps and Games] Rotkaeqpchen:
Hi there,

Proxy does work, as it also works with AdBlock, but it's limited to WiFi. I hoped that with AdGuard it would be possible to manually enter the VPN settings do block ads on mobile data too. Thanks.
[Android Apps and Games] avatar_adg:
As I understand Android runtime has some constraints. It might be possible with Priv, but we have not yet checked it.
[Android Apps and Games] nickname_marco:
is it safe to assume that adguard would use less cpu computing power when using it along adaway? would adguard somehow fix the "broken elements" you mention?

to make it short, having a rooted phone, would it make any sense to run both together?
[Android Apps and Games] avatar_adg:
Safe and true. Yet you could simply enable "Filter DNS requests" feature in Adguard instead. Even better because huge hosts file is not very good for performance.

Yep, it will remove these from the page code.

Generally speaking, you don't need it. Adguard does much more than adaway, faster and better. If you have root access you can switch Adguard to "Proxy+Auto" filtering mode which is lighter on your battery (as we don't need to emulate tcp stack in this mode).

One more pro for using single Adguard is the incorrectly blocking problem. It is a common issue for ad blockers that sometimes website content is broken or some app may stop working. With Adguard you simply go to the settings and disable ad filtering for this app or the website and that's all (and then wait for us to fix ad filters of course). With adaway and AG both you wouldn't know which one has caused it and if it is adaway, it will be hard to handle it.
[Android Apps and Games] nickname_marco:
First of all a big thank you for answering in such a detailed manner. :]

Are you telling me that I might turn on "Filter DNS request" if I have Adaway installed too? Or I should just forget the adaway thing? -more on this question down-

Oh yeah I just noticed it.

It looks like in order to do that, I have to change the filtering mode to HTTP Local proxy.

Well, so far I have used Adguard for roughly a month and it's been working amazingly. It happened a couple of times that it was reported as hitting the cpu a lot. I guess the phone (Note 5 BTW) couldn't deep sleep but I didn't investigate it properly.

I rooted the phone just a day ago and thought to give Adaway a try as well.

So, shall I keep both of them on "just because I can"? (Translation: adaway has practically 0.00% of impact on the battery, it helps the job of Adguard which has firewall, malware protection moreover it fixes the holes in the Web pages left by Adaway).

Is it a win-win? lol
[Android Apps and Games] thedicemaster:
you can't see the impact adaway has.

adaway itself doesn't do anything unless it's updating, but the changes it makes cause your phone to respond slower and require more resources while using the internet.