yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] superleeds27:
The latest - RC. Has killed my battery today. Previous betas have been fine. Will see if it continues of if it was a one off!
[Android Apps and Games] ScOULaris:
So I to turn off DNS Filtering because it was interfering with me receiving push notifications on my home Wi-Fi. I was wondering whether or not Adguard uses a bit more battery with it turned off versus on. It seems like it has been using a bit more battery since disabling it, but it's hard to be sure.
[Android Apps and Games] avatar_adg:
No serious changes in the RC, so I suppose it should be some other app.

I recommend GSam app for those who want to see the real battery usage.

---------- Post added at 11:48 AM ---------- Previous post was at 11:48 AM ----------

@ScOULaris any news on YT ads?
[Android Apps and Games] ScOULaris:
Ads are being blocked consistently again ever since the last beta, so whatever changes you made to the mobile ad filters seems to have worked. Only thing I noticed is that if you open up YouTube with Adguard disabled, ads will continue to show even after enabling Adguard until you kill the app and re-launch. No app data clearing is necessary to reinstate the blocking though.

So YouTube must cache something related to ads once they've made it through, but the current functionality in terms of ad filtering is great. Thanks for looking into the issue and finding a fix.
[Android Apps and Games] dancrow:
A small suggestion for a handful UI.

Will be useful to have an option in settings, to keep a switch button in notification bar, so we can turn adguard on/off without leaving any application opened at that time.

Personally I don't have adguard active all the time, but I would like to turn it on when I'm in a browsing session without leaving the application.
[Android Apps and Games] avatar_adg:
Adguard for Android v2.6.101 RC

Previous beta versions:

v.2.6.95, first release candidate

v.2.6.67, introducing Annoyances filter

v.2.6.23, adding upstream proxy and custom DNS

Hello!

A very small update today, hopefully this is the last release candidate. If nothing critical happens, this version will become the actual release next week.

[Fixed] Do not start VPN when another VPN is in use: #527

[Fixed] Firewall temporary unblock notification is shown every minute: #251

How to get the beta version

Apk is available here in the Downloads section.

Available in XDA Labs app

Github: https://github.com/AdguardTeam/AdguardForAndroid/releases

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:
Aaaand YouTube ads are suddenly back again. Let me know what kind of logs I should send your way this time.
[Android Apps and Games] avatar_adg:
Was it a pre-roll or a mid-roll?

Regarding the logs, what I need is ALL har files recorded since YT cache & data was cleared.

I suspect that the ad is downloaded long before it was shown, that's why it's so hard to catch it.
[Android Apps and Games] ScOULaris:
It's always pre-rolls in my experience, and I can tell when they start getting through right away because suddenly advertised videos or apps will start showing up in recommended/related videos lists in the app. Once that happens all ads seem to start coming through until you clear the app data/cache.
[Android Apps and Games] avatar_adg:
Isn't it the same ad all the time?
[Android Apps and Games] ScOULaris:
No. Once ads start coming through they can be anything. Basically the app goes back to acting like filtering is disabled for the app. All pre-roll and other types of ads start coming through again.
[Android Apps and Games] avatar_adg:
Weird, sounds like some connection stays unfiltered and ads go through this connection.

What if you force stop YT and start it again?
[Android Apps and Games] ScOULaris:
Once the ads start coming back, only an app data/cache wipe will get rid of them again for a while. Force closing doesn't resolve the issue alone.
[Android Apps and Games] dragonsofcp:
I'm having a similar issue with the update from 6/10. The app seems to keep getting killed by android even with the notification now. If I force close the app can be restarted and works until the phone goes to sleep.
[Android Apps and Games] wipian:
Same here.

Edit: For me, it is when connecting to WiFi that Adguard doesn't restart. Try to toggle WiFi off then back on to replicate.

Also, (apologies if this has been mentioned before but I couldn't find anything), I'm new to Adguard and I have just moved to the latest beta from stable.

I have noticed that the Google search bar on the home screen (Google Now launcher) will not function unless you disable ad filtering with the firewall.

I have also noticed that you cannot manually upload photos using Google Photos unless you also disable ad filtering using the firewall.

Am I missing something or is this now intentional?
[Android Apps and Games] dragonsofcp:
Yep you're right it was the wifi. I just toggled it and that killed adguard.
[Android Apps and Games] Gamer214:
Is their anyway to currently block these ads? I have everything enabled in adguard yet these ads do not get blocked for some reason the screenshot does not want to load anyway if you go to the pocket now website and press on an article with adguard enabled their are 2 ads that do not go away
[Android Apps and Games] milojoseph:
I know you talked about battery consumption but the adguard on my phone consumes a lot. I saw your guide about how android falsely claims your app drain battery. But this is a lot 23%. I'm on the recent version
[Android Apps and Games] thedicemaster:
it's not unusual for that much battery usage to go to adguard.

a lot of power goes to your internet connection, and while adguard is active android will attribute all data usage to adguard.

this means the actual battery usage for adguard is much lower, and the battery usage of all other apps is much higher.

it also would've been a good idea to show the other big battery drain: the screen.

I think you've kept your phone in standby most of the time, in which case background data is your main battery drain.

and background data all goes through adguard.
[Android Apps and Games] ScOULaris:
I can second this issue. After the phone has been asleep for a while Adguard will be killed and filtering will stop until you kill and restart Adguard. This only started happening with the most recent beta.
[Android Apps and Games] willcor:
Hi avatar_adg ,

I have been following thread for a short while now .

Plse correct me ,if i am wrong on any issues/assumption.

For me ,it appears that (for some like me ,)

have very little issues(draw backs) or maybe i am just fortunate ?

I have a stock Note 5 ,not rooted and on Android Marshmallow (v 6.0.1 ) .

I have been using beta versions of Adguard now (few updates back )

I found that my Adguard battery use ,not to be of any corncern /issue, for me .Also the no wifi (sleep ) issues.

So far , Adguard has been working (blocking ) very well for me ( You tube ,In app adverts ,etc .)

Strange thing for me how ever (plse note i am not complaining about it ...but happy about this "glitch" )

I normally don't use any lockscreen and use an app Gravity Screen instead .

However when you want to block ads ,in You tube or any website using HTTPS , you have to enable Lockscreen on your device ?

Also in Adguard ,enable HTTPS filtering,thus Adguard has to install a certificate on your device etc .etc .

I did all this ... enabled password protection

Adguard installed certificate.(no issues )

However i disabled lockscreen (no lockscreen protection )

Interesting (for me )was that this option on my phone was not "greyed " out in my Note5 settings and i could choose

no lockscreen.

Adguard certificate is still installed

and Adguard works blocks ads, on HTTPS .

This i did when i used a stable version of Adguard (a while back.

Also, i get the normal warning from device system,when i reboot ." System might be monitored etc etc ."

As stated i am happy about this no lockscreen issue.Just wanted to know, if you are aware that this can happen .?

(As explained above )

Good luck
[Android Apps and Games] thedicemaster:
the lockscreen requirement is a requirement from android for manually added certificates, it's not a requirement from adguard.

as for why you can disable it, that's a combination of negligent developers at Google and at Samsung.
[Android Apps and Games] ianmacd:
It has nothing to do with Google. Do you think Google developers are smart enough to require elevated security for user certificates, but still stupid enough to allow the user to trivially disable that security? And even if they were, don't you think a bug like that would have been spotted and fixed by now?

No, if the user's observations are accurate, then it is much more likely a Samsung implementation detail.
[Android Apps and Games] sud_tanj:
hello did anyone know is the beta user still open because i got no reply in the adguard forum. thanks
[Android Apps and Games] willcor:
Hi ,

Yes, i know that its a Android/Samsung glitch .

As far as i know you ,cannot disable lockscreen in such a case ?

I tested this on my old Note 3 (port of Note 5 Rom) .The feature to select "no lock, was greyed out."

So i could not disable lockscreen with HTTPS filtering enabled etc.

However, I just wanted to know if [MENTION=6400249]Avatar[/MENTION] _avg knew about this .?

(Nowhere did i state, it was an Adguard issue )

Sorry, if you misunderstood (I could have worded it differently )

Good luck

---------- Post added at 10:12 AM ---------- Previous post was at 10:08 AM ----------

Hi ,

Yes ,i agree with your above comment.

Good luck
[Android Apps and Games] thedicemaster:
it's a combination of negligence with samsung and google devs.

google's implementation is to disable(grey out) unsafe lockscreens in the settings app, but they don't enforce the requirement.

so if you find an option outside the settings app, it can still be changed.

on devices with stock android this is not an issue, because that settings screen is the only place to edit your lockscreen.

samsung however makes some modifications to android.

on older devices there's an unlock feature in "findmymobile", which bypasses the settings screen(and thus google's lockout of unsafe lockscreen settings)

apparently on newer devices they've applied even more modifications to the settings screen, which completely breaks the lockout.

so Google's mistake is only blocking the options, not the actual unsafe lockscreens.(or blocking secure features when an unsafe lockscreen is in use)

and samsung's mistake is making changes without properly checking the effects they have on dependent features.
[Android Apps and Games] ianmacd:
Well, it's just a difference of opinion at this point.

Google's responsibility ends with AOSP, as far as I'm concerned. It's unreasonable to expect them to protect the system against unforeseen OEM changes.

Even if they had secured the actual lockscreens, Samsung would have been at liberty to disable them again by modifying the code.

Once Samsung modify the code, they are taking on the responsibility of keeping it secure. It's out of Google's hands at that point.
[Android Apps and Games] ScOULaris:
I give up. Either something changed with the YouTube app or the way it behaves in Android N, because whether I'm on the beta or stable, blacklist or whitelist, YouTube adblocking simply doesn't work anymore.

I strongly suggest you don't make the June 10 release stable since it has the bug with force closing on its own after the phone is idle for a while. This bug is not present in the June 8 beta.
[Android Apps and Games] silvertrain78:
I agree with your comments about postponing the stable release. SEVERAL times I've had to force stop and restart protection. Never happened before this beta. And I have Adguard set to NOT OPTIMIZE in system battery settings

Nexus 6P

Rooted MTC19V
[Android Apps and Games] OgremustCrush:
I have the same issue with the latest beta dropping out. Most of the time it has to be force closed before you can even reenable the VPN.
[Android Apps and Games] rbird2:
The "Beta version 2.6.101 release candidate, 10 June 2016" appears to be dropping out since I keep loosing the Adguard Notification and loosing the VPN icons. This has not happened on any of the other Adguard versions. I'm reverting back to "Beta version 2.6.95 release candidate, 08 June 2016"
[Android Apps and Games] ScOULaris:
So did YouTube ad filtering only stop working in Android N, or did something change to where it's affecting users on Marshmallow as well?
[Android Apps and Games] willcor:
Hi ,

I am on Marshmallow and using latest beta .I have no issues with YouTube ad blocking /ad filtering.

(On previous beta also had no issues.)

So it seems that only some users /devices / Android versions eg.. Android N ,are affected..?

No ?

In fact overall Adguard is working fine (for me ).

Good luck
[Android Apps and Games] Crxsenate:
It seems on my phone the only YouTube adds I get are from adgaurd shutting itself off
[Android Apps and Games] ScOULaris:
Hm. I wonder if the system-app version of YouTube that comes with Android N differs from the one on the Play Store. I just checked and my YouTube version number is different from the most recent update on the Play Store app. Perhaps that has something to do with YouTube ad filtering no longer working in Android N specifically.
[Android Apps and Games] willcor:
Hi ,

Well ,you might be right...?

I am using this version YouTube Version 11.19.56

(Re Marshmallow).

It is the latest (for me) from Play Store .

Good luck
[Android Apps and Games] ScOULaris:
Yeah, my YouTube app (which is installed as a system app on Android N) is only version 11.16.7 right now. That's pretty old.

Is there any way to force an update for YouTube when it's installed as a system app? I don't think I can replace it with the Play Store version. When I disable the app and try to then install it from the Play Store, it just re-enabled the older system app version.
[Android Apps and Games] willcor:
Hi ,

If you look at my previous post (screenshot) you will see my YouTube app is also system app .I can only Disable or Force close (no uninstall )

At least it seems you have found your answer /reason for your issues.

I am sure, i have sideloaded (updated )system apps (Google Play store, YouTube etc ) in the past .

Think it was from APK MIRROR (dev site ) They normally have all latest versions Google apps (YouTube etc ) Maybe try and sideload ?

It might work ,but then you are on Android N and it might

not update..not sure !

Good luck
[Android Apps and Games] ScOULaris:
Nah, there's something else with YouTube on Android N conflicting with the HTTPS filtering of Adguard. I'm only on this older version because I recently uninstalled (disabled) the YouTube app, which reverted it to an older version since it's a system app. All I can do now is wait for Google Play Services to quietly update my YouTube app back to the latest version in the background sometime soon.

Either way, the Adguard team appears to have a ticket on the issue and is looking into it.
[Android Apps and Games] Crxsenate:
New beta released today try the new one
[Android Apps and Games] ScOULaris:
Where? It's still showing the June 10 release in the downloads section. I can't update through the app in Android N because it gives me a "can't parse the package" error.
[Android Apps and Games] Crxsenate:
It was a push from the app

https://forum.adguard.com/index.php?threads/adguard-for-android-2-6-104-rc2.10856/
[Android Apps and Games] ScOULaris:
Yeah, I see it now. I'll have to wait for the APK to be posted in here since there's a bug with updating through the app on Android N.
[Android Apps and Games] Crxsenate:
Posted a link
[Android Apps and Games] ScOULaris:
Where...?

EDIT: Nevermind. Found it.

UPDATE: No dice. Youtube filtering still doesn't work at all with the latest beta on Android N.
[Android Apps and Games] avatar_adg:
Adguard for Android v2.6.108 RC3

Previous beta versions:

v.2.6.101, fixing VPN start issue

v.2.6.95, first release candidate

v.2.6.67, introducing Annoyances filter

v.2.6.23, adding upstream proxy and custom DNS

This is a combined post about two release candidates: v.2.6.104 and v.2.6.108. They both feature very few fixes, just tidying things up before the 2.6 release. Hopefully this release candidate is the last one.

## Changelog

[Fixed] Not starting of VPN service on quick network change #636

[Fixed] Added workaround for update procedure on Android N #634

[Fixed] Reworked a fix of #527

How to get the beta version

Apk is available here in the Downloads section.

Available in XDA Labs app

Github: https://github.com/AdguardTeam/AdguardForAndroid/releases

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:
Is your team working on a fix for downloads being blocked by Adguard in Android N?
[Android Apps and Games] ScOULaris:
So I just wanna vent a little bit by giving a timeline of what has led to my recent frustrations:

Upgraded to the Android N Developer Preview 3 the day it went live.

Noticed that YouTube ads would occasionally start finding their way back in despite HTTPS filtering being turned on.

Collected HAR files and sent them into the Adguard team to try and find the cause. It was isolated to being an Android N issue since YT blocking still works properly in Marshmallow.

Noticed that I was no longer getting any push notifications when connected to my home wi-fi.

Tweaked about a million things on my phone and router before coming to the conclusion that DNS Filtering in Adguard was preventing push notifications from coming through. I don't know why it only happened on my home wi-fi connection, but I am 100% confident that DNS filtering is the cause. DNS filtering turned off - push notifications work. DNS Filtering turned on - they immediately stop working.

Bounced back and forth between stable and beta builds of Adguard to see if there was any difference. Both of the previously mentioned issues occur in both the stable and beta builds.

THEN I noticed that downloads from Chrome were not starting when triggered. Disabling Adguard allowed them to come through. Tested on both Stable and Beta again, and the problem persists across both. This is probably isolated to Android N as well. Adding the Downloads app to the exclusions list had no effect. Turning off app filtering (leaving it as browser-only traffic filtering) allowed downloads to come through again.

In troubleshooting the YouTube filtering issues, at one point I uninstalled my YouTube system app, which rolled the app back to an earlier version and removed all updates. After re-enabling YouTube, the app will no longer receive updates from the play store. I have been on an extremely old version of YouTube for three days now, and it refuses to update despite me having tried everything from clearing my Play Services/Play Store data to trying to install the latest APK as an update (which fails because of an error stating that it conflicts with a package of the same name).

Started noticing some significant battery drain compared to before, but that could be chalked up to all of the troubleshooting I've been doing compared to a previously normal day of usage.

Went insane and began to question everything.

Forgive me if this post is out of place in this thread, but it's all related to my struggles with Adguard on Android N as of late.
[Android Apps and Games] ianmacd:
Life on the bleeding edge can be rough. Do the pros really outnumber the cons? if not, roll back to Marshmallow.
[Android Apps and Games] ScOULaris:
Yeah, it's a tough call. It's definitely not worth rolling back to Marshmallow since that would require a factory reset, and I love the new features in Android N.

I'm fine going without Adguard functionality for a while, but at the same time I need to keep testing the betas to report the issues otherwise I feel like they won't be fixed by the time N is ready for a stable release.

Strangely enough it's the YouTube app issue that's really irking me. Maybe it's my OCD, but having that old version of the app on my phone with no way to update it is bothering me to no end. It's just friggin' ridiculous that this bug exists in Android. I've searched around, and the only fix is to either wait for another OTA to push the latest YT system app or do a factory reset to correct whatever it is that's preventing the app from updating.
[Android Apps and Games] ianmacd:
I haven't kept abreast of the situation with N much, I'm afraid.

N can be rooted, can't it? If so, is it not an option to delete the YouTube system app and install a new one from the Play Store? Or if the Play Store doesn't work, from a backed up APK instead?
[Android Apps and Games] ScOULaris:
I could do that, but rooting is much more of a pain these days than it used to be, especially when it comes to getting monthly OTA's for Nexus devices and all of that. I used to run rooted custom ROMs on all of my previous devices, but once I got my 6P I was satisfied enough with stock Marshmallow and liked being able to easily receive and apply the monthly OTA's.

It's doubly frustrating because this is the type of esoteric bug for which you can only find maybe one or two other unfortunate souls on all of the internet who have ever faced it, so no solutions other than waiting for a system update or factory resetting have ever presented themselves.
[Android Apps and Games] ianmacd:
I don't want to derail this thread with root advocacy, but AFAIK, Google puts up firmware images for Nexus devices at the same time that the OTAs go out. For you, it would just be a question of initiating a pull (i.e. downloading the image) rather than waiting for a push (receiving an OTA).

Your call, of course, but the inconvenience you fear may stem from rooting your device might actually be more than offset by the flexibility and control you recover over your current situation.

As of right now, you're at the mercy of others to fix things for you.
[Android Apps and Games] avatar_adg:
As I remember, this is a very random issue which can appear once and then disappear forever after some unrelated change. There's an open issue on github, I'll look for it and return with details.

One more thing, I may be late with answers as I am on vacations now. Spending most of the time watching football games, you know:). I'll try to be more time online tomorrow (at least for the first part of the day) and check all the issues found while I was away.
[Android Apps and Games] ScOULaris:
Oh, it's not random in Android N. It's easily reproducible.

Turn on Filter Apps Traffic - downloads don't work

Turn off Filter Apps Traffic - downloads work

No other setting or toggle has any bearing on this bug occurring. Happens with both HTTPS filtering on or off, DNS filtering on or off.

Right now I just turned off Filter Apps Traffic since the only other app other than browsers that has ads I'd like to block is YouTube, and blocking isn't working for that at the moment in Android N anyway.

I'm running on the Developer Preview 4 that was released today as well. Nothing seems to have affected the functionality of Adguard between the last developer preview and this one.