yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] calvin35:
I'm on the latest T-Mobile with a note 5 and I'm having the same problem. Had to stop using Adgaurd because it kept shutting down. This is with the paid version.
[Android Apps and Games] avatar_adg:
That's worth trying I think.

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

Would you mind answering some questions? I'd like to help you with that.

1. Do you have any cleaner app (like CCLeaner or Clean Master)?

2. Do you have Adguard notification icon enabled?

3. Do you use "Battery Saving" mode or something like that?

4. When was Adguard shutting down? Was it all of a sudden or it was tied with some other event like network disconnection or device going to sleep?
[Android Apps and Games] darkjedi:
1) No

2) Yes. It's better, but randomly crashes.

3) No

4) It does happen when I switch from wifi to LTE (vice versa), but it also randomly crashes too.
[Android Apps and Games] avatar_adg:
Is it crashes with critical error notification or just disables itself silently?
[Android Apps and Games] ratbags:
I had this on my fire phone that's notorious for shutting apps down. I used the xposed mod called appsettings to give the adguard notification high priority and also make it 'resident'. It hasn't shut down since.
[Android Apps and Games] darkjedi:
Both icons disappear and I lose Internet for a minute while it re-opens.
[Android Apps and Games] calvin35:
1. Hell No. Lol

2. Yes

3. No

4. It only happens after I've put the phone down for a while, never when I'm using it. I'm almost never on WiFi so that's not it.
[Android Apps and Games] sallizy:
wow..That's the thing I wanna find..I will check it now,Thanks sooooooo much........:D
[Android Apps and Games] avatar_adg:
Usually when the network connection disappears, Adguard disables itself and shows "Protection paused" notification.

So, you don't see this notification, right?

---------- Post added at 12:49 PM ---------- Previous post was at 12:36 PM ----------

[MENTION=249207]darkjedi[/MENTION], [MENTION=4407467]calvin35[/MENTION]

May I ask you to collect system logs for me right after this happens next time?

I need to see activity manager log to check what's wrong.

Sorry for asking you this. It is a very important issue, but it's hard to reproduce this on our test devices, so we need help from somebody, already facing that issue. As an excuse i'd like to offer you a free lifetime AG license.

Here is an instruction on what to do.

0. Wait until this shutdown happens next time.

1. Switch device to the developer mode. To do this: go to "Settings" -> "About" -> tap on Build Number 7 times.

2. Go to developer settings and enable "USB debugging"

3. Connect your device with USB cable

3. Download and install "Minimal ADB":

http://xdaforums.com/showthread.php?t=2317790

Direct download link:

https://www.androidfilehost.com/?fid=24052804347803384

4. Run this command in the console (it will be opened after install):

adb logcat -v long > C:\logcat.txt

This will copy android log to the "logcat.txt" file located in C.
[Android Apps and Games] ahmedelshosh14:
Both icons disappear and I lose Internet for a minute while it re-opens.
[Android Apps and Games] darkjedi:
I've seen that notification before, but it doesn't show up when the icons disappear. I'll get you those logs by tonight. Thanks for the help. :)
[Android Apps and Games] DarkRazorr7:
This apk is awesome!

Can you change icon (remove green square background)?
[Android Apps and Games] darkjedi:
I can successfully reproduce this now, though the random crash I cannot. It happens when I toggle from WiFi to LTE or vice versa. It doesn't immediately happen, but once you load something, the icons disappear. I'm trying to get a logcat without a PC, and will attach if successful.
[Android Apps and Games] ph3nom:
is it possible to get another free trial? as i installed this app and then i had to factory reset and forgot about the app till now.. and now when i tried to use the free trial, it said that free trial has expired.
[Android Apps and Games] avatar_adg:
Beta version 2.1.338

Hi all!

It's time for one more beta update:

https://github.com/AdguardTeam/AdguardForAndroid/releases/tag/2.1.338

Release notes (without changes from the previous beta)

[size=5]UI changes[/size]

[Added] New "Notification Icon" setting option: "Notification without icon": [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/222]#222[/url]

So now we now have 4 options:
1. Default icon. Icon and notification are always visible.
2. Colored icon (only in Android 4.X). Icon and notification are always visible.
3. Notification without icon. Icon is not visible. Permanent notification is visible, but it has low priority, so it is semi-transparent and placed below all other notifications.
4 None. No icon, no notification.

[Changed] Make "Protection paused" a permanent notification: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/231]#231[/url]

This change should help with #223. When Adguard pauses protection, sometimes Android may kill it's process and then do not bring it back.

[size=5]Minor changes[/size]

[Changed] Use keyboard settings to detect default language-specific filters: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/100]#100[/url]
[Fixed] Tethering/hotspot is falsely detected (second try): [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/138]#138[/url]
[Fixed] T-Mobile Wi-Fi calling issue: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/233]#233[/url]
Many thanks to @libertyhound for helping us with fixing this issue!

[Fixed] Error while sending feedback: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/224]#224[/url]
[Fixed] Sites with Transfer-Encoding=chunked are broken in "Simplified" filtering mode: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/225]#225[/url]
[Changed] Add Link Bubble Browser to the browsers list: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/227]#227[/url]
[Changed] Improve release notes layout: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/230]#230[/url]

Apk is available here in Downloads section: http://xdaforums.com/devdb/project/dl/?id=15695.

As always, we are looking for beta testers. Beta testers get access to all premium features in exchange for their feedback. Click

here

to learn more about our beta testing program.

Our future plans

Our road map is public and available on github: https://github.com/AdguardTeam/AdguardForAndroid/milestones

Just don't believe the deadlines there, missing them is our favorite game.

We have almost finished the second patch for AG 2.1, so it will be released really soon, maybe even next week.

Meanwhile, we continue working on the HTTPS filtering feature. Let me remind that this is what we need to block youtube and facebook ads. We have passed the "theory and planning" stage and finally got to the "working prototypes". It is still to early to show you the result, but at least I am sure that in January there will be a working build, ready for testing by the bravest testers.
[Android Apps and Games] darkjedi:
I requested a beta key and will hope to post my bug once I get approved. Thanks for all your hard work.
[Android Apps and Games] avatar_adg:
Yep, why not, I've PMd you a trial key.
[Android Apps and Games] rbird2:
Was using the Amazon version and it stopped working. I think it was when I turn ON/OFF Data or WiFi.

Installed the Beta version 2.1.338 and it appears to be working OK. I will let you know if Adguard stops working again.
[Android Apps and Games] ratbags:
I'm subscribed via Amazon. Been working fine, but today getting intermittent no connection error in Google play store app. When I disconnect vpn it works again. EDIT: can I install beta and get full version as subscribed via Amazon? I'm still on Appstore version 267.
[Android Apps and Games] avatar_adg:
Could you please collect Adguard logs before switching to beta version?

It could be very helpful as we got multiple complaints on this issue.

Here is an instruction on how to collect logs:

https://kb.adguard.com/index.php?/K.../collecting-a-full-log-on-adguard-for-android

Also please post the ticket ID here.

What for using "beta" version through Amazon, please read the part 4 here:

http://forum.adguard.com/showthread.php?2331-Adguard-for-Android-beta-test

And one more thing about Amazon. Beta version looks like a separate app there, so you'd have to remove stable and use beta instead.

---------- Post added at 02:32 PM ---------- Previous post was at 02:31 PM ----------

Have you seen a "Protection Paused" notification?
[Android Apps and Games] kunal1540:
Hey guys, I have using your beta version for 3 days now, I use it on one plus one android marshmallow.. I have the phone rooted and I backup my apps with data including adguard with titanium backup. The thing that I faced today is that after activating my beta premium subscription key on a previous rom I flashed a new ROM as I am a flashaholic ..After I restored my apps with titanium backup I got a message that adguard premium has expired and that you have to upgrade your subscription..

Is this normal because if it is I will not be able to flash any other rom on my phone and use the beta premium key of adguard..
[Android Apps and Games] avatar_adg:
That's ok, I think Adguard has considered that this is another device after getting a new rom. You should now unbind the key from the "previous device" in AG personal account: https://adguard.com/en/login.html
[Android Apps and Games] rbird2:
No
[Android Apps and Games] avatar_adg:
So it just disappeared without any notification?

Sometimes that happens when Android kills our app.

Latest beta should be more stable due to these changes:

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

https://github.com/AdguardTeam/AdguardForAndroid/issues/222
[Android Apps and Games] rbird2:
It happened after I bought a year subscription key and entered it. After I noticed Adguard no longer working, I tried the beta and so far it it is working properly.
[Android Apps and Games] avatar_adg:
Release candidate: version 2.1.344 (UPD: 2.1.350)

Hi all!

Release candidate for 2.1 patch №2 is available. It is stable enough for daily use, so don't hesitate:)

Release notes (without changes from the previous beta)

[size=5]Network[/size]

[Fixed] "Filter DNS requests" feature does not work with mobile connection: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/]#191[/url]

We have improved "Filter DNS requests" feature, now it is much more reliable and works for both Wi-Fi and Mobile connection.
This feature may improve the battery usage drastically so I recommend that beta testers try it.

[size=5]UI changes[/size]

[Changed] Change Mb to MB in firewall data statistics: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/]#240[/url]
[Changed] "Protection paused" notification should not have high priority in Android 4.X: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/]#235[/url]

[size=5]Minor changes[/size]

[Fixed] Wi-Fi direct does not work with Adguard on Samsung devices: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/]#237[/url]
[Fixed] Always return status=500 for blocked requests: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/]#236[/url]

UPD: Second release candidate is already here. Two minor issues fixed:

[Fixed] Foreground check does not work in Android 5.1.1+: [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/244]#244[/url]
[Fixed] Adguard shows permanent empty notification when notification icon is set to "None": [url=https://github.com/AdguardTeam/AdguardForAndroid/issues/243]#243[/url]

Apk is available here in Downloads section: http://xdaforums.com/devdb/project/dl/?id=15807.

As always, we are looking for beta testers. Beta testers get access to all premium features in exchange for their feedback. Click

here

to learn more about our beta testing program.
[Android Apps and Games] ScOULaris:
I mistakenly assumed that the ad-blocking for the Premium version of Adguard extended to blocking YouTube ads, so I just purchased a license today. Unfortunately that's not yet the case, but it looks like you guys are getting very close to delivering on that front. I very much look forward to the day when Youtube ad blocking hits the stable release.

Quick question, though: Are there any security risks/compromises associated with HTTPS filtering using the VPN method in Android?
[Android Apps and Games] RmX86:
Thanks

Thank you sir.
[Android Apps and Games] avatar_adg:
HTTPS interception will be done locally, so your traffic will still be secured. We will validate remote certificates and won't intercept traffic in case of invalid remote cert.

Key points:

1. Root certificate will be generated on your device so it will be unique.

2. We won't implement OCSP revocation check in the first version and this is a security risk. In our defense, mobile browsers also do not implement it, just visit https://revoked.grc.com in Chrome.

3. There will be a list of domains, excluded from HTTPS filtering (by default - websites with sensitive personal information like paypal.com).

4. We'll provide a "blacklist" mode. In this mode Adguard will filter HTTPS only for domains entered by you. For instance, to block youtube ads it's enough to filter googleapis.com.
[Android Apps and Games] ScOULaris:
Awesome. The Blacklist functionality sounds like exactly what I'd want to use. Thanks for the response.
[Android Apps and Games] thedicemaster:
point 2:

if I understand it right, couldn't that make a device running adguard more secure once you do implement it?

as you say most mobile apps don't do that check themselves, but if in a later version of adguard it's added it could do the check for them.
[Android Apps and Games] avatar_adg:
For instance, when desktop AG detects anything suspicious, it just ignores connection and from that point everything depends on your browser. This is the only way to guarantee that Adguard won't disturb the app/browser work.

In theory we may block these connections instead of ignoring it, but I am not sure this is our job. The only serious thing missed by modern mobile browsers is OCSP revocation check and they don't do it for a reason.

In fact this is an interesting story and if you have free time I advice you to read both sides arguments:

Part #1, Netcraft tells users to enable OCSP revocation check because of heartbleed:

http://news.netcraft.com/archives/2...livious-to-heartbleed-revocation-tsunami.html

Part #2, Adam Langley from Google shows that this is a big mistake:

https://www.imperialviolet.org/2014/04/19/revchecking.html

Part #3, grc.com tells how insecure Google Chrome is:

https://www.grc.com/revocation/crlsets.htm

Part #4, Adam Langley's answer:

https://www.imperialviolet.org/2014/04/29/revocationagain.html
[Android Apps and Games] ScOULaris:
So my phone just went into Battery Saver mode when it dropped to 5%, and after that Tapatalk could no longer connect. I tried whitelisting Tapatalk.com and turning off DNS filtering, but no dice. Disabling Adguard while still in Battery Saver mode brought back connectivity.

Then I turned off Battery Saver mode and re-enabled Adguard, and Tapatalk was connecting just fine. So does Battery Saver mode interact with Adguard in some weird way, or was this just a fluke?

I'm running the latest beta release through the built-in updater if that helps.
[Android Apps and Games] avatar_adg:
Thank you for a great bug report! I've just checked it and it seems that the problem exists indeed.

I've filed a bug report on this:

https://github.com/AdguardTeam/AdguardForAndroid/issues/247
[Android Apps and Games] ScOULaris:
Cool. Sounds like a good solution. I rarely use Battery Saver anyway, but I'm sure there are other Adguard users out there who do somewhat regularly on devices with less battery capacity than my 6P.

Edit: Another quick question. Adguard shouldn't prevent my phone from entering Doze while sitting on a desk for a long while, should it? I've noticed faster battery drain since upgrading to Premium, and I'm just trying to rule out some possible causes.
[Android Apps and Games] avatar_adg:
Here is what is possible: some apps starts behave really weird when we block ads & trackers, retrying to load it with a very short period. You can detect these apps by ridiculously big number of blocked ads & bandwidth saved in Adguard's firewall stats. We are also looking for such apps, so if you see suspicious numbers - please report this app to us.
[Android Apps and Games] ScOULaris:
Okay. I have firewall disabled right now because it was interfering with my Backdrops wallpaper app, but I looked back at my stats from the day that I had it enabled and no apps jump out as having an abnormal amount of blocked ads or bandwidth used. I'll keep an eye on it.

One more question! I've noticed that my Facebook app fails to connect after being left alone for a while when I have Adguard enabled. I have to go into my recent apps, swipe away FB, and then re-launch it to reinstate connectivity. It's the only app that behaves this way that I've seen. I tried whitelisting Facebook.com, but that didn't make a difference. I'm on the latest beta with DNS filtering enabled.
[Android Apps and Games] avatar_adg:
If you keep default Firewall settings, it is pretty the same as leaving it disabled.

Could you please send a feedback message (with logs attached) next time it happens? "Menu" - "Send Feedback" in Adguard. I'd like to see the log before suggesting anything.

Oh, one more thing, I'll need a ticket ID you'll get in an autoreply email.
[Android Apps and Games] ScOULaris:
Alright, will do. Thanks.
[Android Apps and Games] ScOULaris:
Does Premium, in theory, use more battery than the free version because it's intercepting more traffic across all apps rather than just in the browser? I'm still trying to nail down the cause of my increase in battery consumption that I think may have started when I switched over to Premium.
[Android Apps and Games] avatar_adg:
It intercepts all apps traffic for both premium and free (otherwise Firewall won't work), so the problem is not just in interception, but in apps reaction on ad filtering.

Let's find out who is responsible.

1. Clear AG stats (Settings -> Clear Statistics)

2. Go to Settings -> Advanced -> Switch logging level to "Record HTTP everything"

2. Put your phone aside for 30-60 mins (it should enter Doze at that time)

3. Now let's analyze what we've got.

Send a feedback message and post a ticket id here (so I can see what requests has been done).

Go to AG stats and look for top 10 apps by bandwidth used AND for 10 apps by bandwidth saved.

Meanwhile I'll do some tests on my side. You have set me thinking about it. Doze should depend on Google Cloud Messaging, maybe blocking some google trackers interferes with it?
[Android Apps and Games] ScOULaris:
I'm going to be leaving work soon, so I won't be able to have my phone resting idle for 30-60 minutes just yet. Whenever I find a pocket of time where I can do that I'll see if I can test it as you suggested.

Edit: Ah, you know what? I think I found the culprit of my phone not going into Doze. The other change that I made on the same day as switching Adguard to Premium was connecting to my work's wi-fi. My work's connection is a bit spotty and slow, and whenever I take the phone elsewhere in my building it's bouncing between access points to reinstate the wi-fi connection. I was on wi-fi all morning with my phone sitting on my desk, and it never entered Doze. I decided to disconnect from the wi-fi and just let my phone use mobile data for the afternoon post-lunch, and now it's entering Doze after sitting idle for 30 minutes or so. It's clear as day on the battery graph, showing a completely straight line when it went into Doze mode.

I don't think this is related to Adguard at all now, as I remember seeing battery drain sometimes as a result of my work wi-fi on my previous phone (Galaxy S3 on Cyanogenmod) as well. At the time I thought the issue may have been related to Cyanogenmod, but looks like that might not be the case.
[Android Apps and Games] r3ddawn:
I've noticed in using the latest version of Adguard, via the local VPN filtering, since I'm not currently rooted, that the overall network speed once Adguard is enabled is cutting my speed by drastic numbers. Without Adguard enabled, via Wifi, I can hit around 290 Mpbs down/ 28 Mpbs up. When I enable Adguard, the speed goes to around 27 Mbps down/ 22 Mpbs up. Is that normal, and if the phone is rooted, and one enabled the HTTP proxy filtering instead, does that speed things up or is it the same? I'm a long time user of Adaway, which is basically a changing of the host file in android that has always worked well and doesn't effect network speed, but I'm trying out Adguard, since it does have some nice features. Yet the speed issues are hindering me from using it in place of Adaway, so I'm hoping future updates improve.
[Android Apps and Games] ScOULaris:
Now that I've got my Doze mode working after idling for 30 minutes or so I've noticed that upon resuming normal use I have no internet connection for any of my apps until I launch Adguard once. Seems to me that Doze is suspending Adguard and then Adguard is not refreshing or resuming after the phone comes out of Doze without being launched by the user. Next time I see this happen I'll try to submit a log.
[Android Apps and Games] Koboldchen:
I noticed the same on my Nexus 5x. This also happens when I'm switching back from flight mode. The network icons show an exclamation mark too. Will try to provide a log next time.
[Android Apps and Games] ScOULaris:
My network icons don't show the exclamation mark, but connectivity won't resume until I launch Adguard myself. I've also noticed a similar issue when switching from Wi-Fi to mobile data or vice versa. Certain apps like Facebook or Tapatalk will have to be swiped away from the Recents menu before they can regain connectivity.
[Android Apps and Games] ScOULaris:
So am I supposed to be able to stop an app from filtering ads through the firewall UI? I'm trying to disable filtering for the Facebook app, but tapping on the Filtering button doesn't seem to toggle it on/off.
[Android Apps and Games] ScOULaris:
UPDATE: Okay, so I went back to the stable build and left DNS Filtering disabled, and I'm no longer getting any issues with apps like Facebook failing to connect after a while.

I guess it had something to do with the combination of the latest beta build of Adguard and DNS filtering. Although if I recall correctly it was happening in the beta even with DNS filtering turned off.

EDIT: I take it back. Facebook still fails to connect if I come back to the app after being away for a half hour or more.
[Android Apps and Games] romracer:
I've also noticed the same thing on my 6P. I might try switching back to the non-beta to see if it helps because I don't really remember this happening when I first got my 6P. As far as the exclamation points, sometimes I see them on my WiFi icon, but sometimes I don't. In either case, my apps never work until I open AdGuard once after coming out of Doze.
[Android Apps and Games] ScOULaris:
Yeah, I switched back to the stable build and this doesn't happen anymore. The only app that sometimes loses its connection still is Facebook, but I'm not even certain that it's Adguard causing that.
[Android Apps and Games] ScOULaris:
I've also noticed that after a while Gmail will stop refreshing, so I won't receive any Gmail notifications until I launch the app myself. This is with the stable build and DNS Filtering disabled.

I think just disabling filtering for Facebook and Gmail would solve these problems, but tapping on the Filtering button in the Firewall UI for these apps does nothing. I can't disable filtering for individual apps like the UI seems to imply I can.