yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] tlf55:
Hi is that normal that root mode (auto proxy) is making some push notification doesn't work (from my IP camera security) and my banking app is just infinite loading... To make them work i have to disable ad tracking from adguard manually for these app.. I'm guessing that maybe other app doesn't work either just didn't notice it yet ..

By the way i'm not using the VPN mode because with android 8.1 it has some issue with apps that update only on wifi which i have to whitelist them too
[Android Apps and Games] yochananmarqos:
Not that I've noticed. I've also had no issues with Dropbox or Drive backing up when connected to WiFi. I would clear cache & data for AdGuard go from there.
[Android Apps and Games] tlf55:
You can look my attachment.. That's after a clean install and only vpn mode used

That's a known android 8.1 bug with vpn.. I'm using one plus 5 official 8.1 rom
[Android Apps and Games] exodius48:
[MENTION=6150471]avatar_adg[/MENTION] [MENTION=9110091]TheHasagi[/MENTION] I reinstalled adguard , and my problem https://www.youtube.com/watch?v=DRXcslWeQhI is back :crying:
[Android Apps and Games] tlf55:
I have also the problem but for me it's the certification that just doesn't move to system store .. It stay on user store.. Using a OnePlus 5 on Official OOS 8.1 rom Rooted with magisk 16.4
[Android Apps and Games] ianmacd:
Magisk is the issue here. You are moving the certs to the system store, but moving them systemlessly. When you reboot, they're gone again.

Search this thread for a Magisk module that will move all user certificates to the system store at boot time. It would be great if this module (or a variant) could become a standard part of AdGuard, since Magisk is rapidly becoming the de facto root solution these days. At the very least, AdGuard should detect Magisk and warn that moving the cert to the system store by the traditional method is ineffective.
[Android Apps and Games] exodius48:
Thanks for explanation. I searched on google and i found this module https://github.com/NVISO-BE/MagiskTrustUserCerts/releases

I install it > reboot phone > install cert HTTPS filtering on AdGuard, and voillaaa,, it works like a charm. :D

Hope [MENTION=6150471]avatar_adg[/MENTION] [MENTION=9110091]TheHasagi[/MENTION] fixes compability for device that rooted with magisk.

Cc [MENTION=3835192]tlf55[/MENTION]
[Android Apps and Games] tlf55:
This doesn't fix totally the issue because, yes it gets installed on system store but after that it's seems that adguard doesn't act like it's installed cause after using this method, website aren't hiding the blank place left by ads anymore where when it's installed on user store the ads are hidden and blank space are hidden too
[Android Apps and Games] exodius48:
So, how to solve?
[Android Apps and Games] tlf55:
I don't know .. I hope for adguard Dev to fix this along with the issue I stated before .. (that proxy mode is getting issue after a while of idling .. and I read somewhere that it's a OnePlus device specific issue so ..)
[Android Apps and Games] yochananmarqos:
That module only copies the certificate from user to system store, mine (what [MENTION=7187684]ianmacd[/MENTION] was referring to) moves it. Are you sure AdGuard is detecting it in the system store?

I have no issues with blank spaces myself. A good site to test is APK Mirror.
[Android Apps and Games] tlf55:
Tried yours too but yeah APK mirror is showing blank space where ads are used to be if the cert isn't in user store .. and adguard says that HTTPS filtering is on and cert is installed with your module so it's detecting it but acting like it's not because of blank space I assume
[Android Apps and Games] yochananmarqos:
I'm using the 2.12.34 nightly build, maybe that makes a difference.
[Android Apps and Games] tlf55:
Yep you pointed it .. I was using the latest nightly (12.74)

Just rolled back to the beta 11.81 and with your magisk module it's working like it should ..

So the latest nightly have the issue ..
[Android Apps and Games] yochananmarqos:
Yeah, CoreLibs is not ready yet. There are still a lot of issues, that's why I reverted back to 2.12.34.
[Android Apps and Games] tlf55:
Where can I find this exact version ?
[Android Apps and Games] yochananmarqos:
I attached it here.
[Android Apps and Games] exodius48:
Yes its in system store

And i don't have issue with apkmirror, no blankspace. But https filtering auto turn off when i switch off my phone. I need to turn it on manually after turn on my phone. :confused:
[Android Apps and Games] tlf55:
Check the version of adguard .. I had issue with this with the latest nightly.. so maybe you have to roll back to an earlier version
[Android Apps and Games] exodius48:
I'm using 2.11.81, stable version not nightly
[Android Apps and Games] ianmacd:
Nightlies aren't nightly.

[MENTION=6150471]avatar_adg[/MENTION] There's a definite need here for more frequent nightly builds, and the ability to roll back to a previous version. I and evidently some other people are experiencing difficulties with 2.12.74, and between there sometimes being a week between nightlies and also no way to manually download a previous build, we're stuck for too long with a problematic version.

I appreciate the bleeding edge nature of nightlies, but if you want us to test them, we also have to be able to get off them when the device simply needs to work properly again.

Will you please consider releasing the nightlies on a more, er, nightly basis; and provide a way to download a few other recent builds?

I have a few logs coming your way today to help you troubleshoot 2.12.74.
[Android Apps and Games] ianmacd:
Logs from 2.12.74

[MENTION=6150471]avatar_adg[/MENTION]

As promised, here are some logs from my Samsung Galaxy S9+, running 2.12.74 in auto proxy root mode with certificates (Magisk-)moved to the system store.

You should be able to find several crashes in here.
[Android Apps and Games] ianmacd:
More logs from 2.12.74

[MENTION=6150471]avatar_adg[/MENTION]

And here are some more logs, this time from a Samsung Galaxy Tab S3 running 2.12.74.

Again, there should be plenty of crashes in here.
[Android Apps and Games] TheHasagi:
Hello,

True, this is Android 8.1 "feature" just to stop sync photos.

We have the issue on GH - https://github.com/AdguardTeam/AdguardForAndroid/issues/1587.
[Android Apps and Games] avatar_adg:
Working on it here:

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

Guys, thank you so much for the relevant discussion, I learned some very useful things from it.

---------- Post added at 12:20 PM ---------- Previous post was at 11:32 AM ----------

Here's what's going on.

In the latest two nightlies, we added a new check -- if AdGuard protection does not start in 60 seconds, the app crashes and the crash details are reported is sent to us if you agreed to automatic crash reporting.

So these crashes are caused by the old issues with Magisk initialization which appears to be still not solved:(

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

We'll fix it in the next nightly by not using the timeout when Magisk is not yet initialized.

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

1. I doubt we can make the nightlies updates more often unless we fully automate the process. However, we don't have enough hands to make the merge&qa process truly continuous, therefore at least minor testing is required before the new nightly is pushed to users.

2. We are going to release a "beta tester's center" soon and it will contain all the beta/nightlies releases and changelogs.
[Android Apps and Games] akashsriram:
Where I can find latest version of adguard
[Android Apps and Games] TheHasagi:
Hello!

www.adguard.com
[Android Apps and Games] ianmacd:
That's not the only thing going on here, though. When I come back to my device after a period of no usage, I often find that 2.12.74 has died while I was away. This is the case on both my S9+ and Tab S3. The logs I posted this morning should show some evidence of that.
[Android Apps and Games] avatar_adg:
Thank you for pointing this out! I've examined the log and it seems that the reason is almost the same -- iptables reconfiguration takes more than 60 seconds and the app crashes itself. The only way I see is to use a greater timeout for proxy+auto mode. If we still see crashes after the next nightly, we'll make this parameter configurable.
[Android Apps and Games] tlf55:
Have this issue as well
[Android Apps and Games] ianmacd:
I believe you when you say this, but I don't understand it. Why would iptables reconfiguration take more than 60 seconds when the device resumes work after dozing?
[Android Apps and Games] avatar_adg:
AG reconfigures iptables on a network change. It's done in the background and it's not visible to you, but still.

Btw, a new nightly build is available already.
[Android Apps and Games] ianmacd:
Yes, I understand that. I just don't understand how it could possibly take more than 60 seconds to do so. The device ought to be able to add thousands of rules in that time. :)

Great. I'll go and grab it.
[Android Apps and Games] arealcoolhand:
WebRTC

On the Windows version of AdGuard, it is possible to disable WebRTC globally. Will this ever be added to the Android version? It's possible to disable WebRTC in Firefox but not Chrome or other Chromium-based browsers like Kiwi.
[Android Apps and Games] ianmacd:
Problem with Magisk and moving certificate in 2.12.89

The change log of the latest nightly, 2.12.89, suggested that a fix had been found for the problem of AdGuard being unable to move its SSL certificate to the system store when used with Magisk. Unfortunately, this doesn't seem to work. After pressing the button, AdGuard still claims it has moved the certificate, but it hasn't. The main HTTPS Filtering screen shows that it is still in the user store.

What's worse, however, is that using [MENTION=5124760]yochananmarqos[/MENTION]'s Magisk module to move the certificate at boot time no longer works, either; although I haven't figured out why not, since that should be able to perform the task completely independently of AdGuard at that stage of system initiation. I have verified this on two devices.

Incidentally, [MENTION=4470081]topjohnwu[/MENTION] finally got around to clearing out the new module queue the day before yesterday, so [MENTION=5124760]yochananmarqos[/MENTION]'s work is now an official module in the canonical Magisk Module Repo.

Lastly, [MENTION=6150471]avatar_adg[/MENTION], would it be possible to have the change log that appears when a new nightly is available integrated into the About activity of these nightlies? It would be useful to be able to refer back to the list of fixes and regressions in the course of testing these versions.
[Android Apps and Games] ianmacd:
[MENTION=1571690]yochanan[/MENTION]marqus, since upgrading your cert-moving module (or since compiling a new Magisk build - either could be the culprit), I have found that I need to add a mkdir command to your post-fs-data.sh script before the mv command. Otherwise, the destination directory doesn't exist. This is the modified script:

mkdir -p $MODDIR/system/etc/security/cacerts
mv -f /data/misc/user/0/cacerts-added/* $MODDIR/system/etc/security/cacerts

I suspect the latest version of your module accidentally omits these empty directories.
[Android Apps and Games] yochananmarqos:
Yep, GitHub ignored the empty folders since I forgot to add placeholders. I don't have write access to the repo yet for some reason so I updated the version attached here. I PM'ed [MENTION=4470081]topjohnwu[/MENTION] about it.

EDIT: I was able to update it on the web, but not with GitKraken. I added the mkdir line since I don't see a way to upload folders. You should see a v1.2 update soon.

EDIT 2: Install v1.3, I was able to add the folders like it should have been and removed the unnecessary mkdir line.
[Android Apps and Games] zilan:
[MENTION=6150471]avatar_adg[/MENTION]

latest nightly 2.12.95 with changelog fix https filtering for bbm, but i want to inform that bbm still connecting with https filtering enabled. hope you can fix it. thanks
[Android Apps and Games] YMatrix:
Hey,

I seem to have a problem with the new version.

Here is what I get when trying to run the script manually:

# /system/bin/sh /sbin/.core/img/movecert/post-fs-data.sh
mkdir: '/sbin/.core/img/movecert/system/etc/security/cacerts': No such file or directory
mv: bad '/data/misc/user/0/cacerts-added/88cba841.0': No such file or directory

Edit: Reverting back to v1 makes the script work again.
[Android Apps and Games] exodius48:
Hello there,

Whats different of your module with this https://github.com/NVISO-BE/MagiskTrustUserCerts?
[Android Apps and Games] tlf55:
Where do you find the changelog for nightly build ?
[Android Apps and Games] ianmacd:
The previous version displays it when there's a new versions to download.

It would be good if this change log could be displayed on command, because of the usefulness of being able to refer to it when testing a new nightly.
[Android Apps and Games] yochananmarqos:
Update to v1.3 from Magisk Manager. I removed the mkdir line and added the system store folders like it should have been to begin with.

That module copies the certificate from the user store to system store instead of moving it. Also, as of v1.3, mine creates the module system store directory upon installation of the module instead of on boot. Apparently the latter doesn't work.
[Android Apps and Games] exodius48:
HTTPS filtering after phone restart is revert back to off automatically, I need to reinstall cert and manually move to system again and again. Is it a bug?
[Android Apps and Games] yochananmarqos:
I can't reproduce that. Try the following:

Uninstall the Move Certificates and/or Trust User Certs module and reboot

Install the HTTPS certificate in AdGuard normally to the user store

Install the Move Certificates module and reboot

It will now be installed to the system store

Reboot to test if your issue is resolved
[Android Apps and Games] exodius48:
Thanks, solved. :D
[Android Apps and Games] rjm831:
Been reading a bit about websites using cryptocurrency miners. Does AG have any blocking against these?
[Android Apps and Games] yochananmarqos:
Yes. They've written about it quite a bit on their blog.
[Android Apps and Games] the stranger94:
Is there still no way to hide the notification of vpn running on Samsung smartphone?

Sparaflashato da Z3C
[Android Apps and Games] Nastrahl:
There is: AutoNotification from João apps
[Android Apps and Games] the stranger94:
Thanks a lot. Free version is enough?

Sparaflashato da Z3C
[Android Apps and Games] Nastrahl:
I think yes. If I recall it's only ad based for the free version but I'm not sure.

I personally purchased it so I can't help more, sorry...

But it is worth a try nonetheless, it's the only method I found to get rid of persistent notification without root.
[Android Apps and Games] TheHasagi:
Hello!

You can manage this option from AdGuard - Settings - General - Notifications.
[Android Apps and Games] the stranger94:
This work on every smartphone except Samsung ones...

It isn't ad guard notification but vpn that Samsung shown not only with the icom of the key like others

Sparaflashato da Z3C
[Android Apps and Games] thedicemaster:
it can't be removed without root.

closest you can get is to upgrade to android 8 if it's available, and setting the priority to "low"

this will cut the notification's height in half, hide the adguard logo, and remove the key from the status bar(the key and a single line of text will remain visible in the notification list)
[Android Apps and Games] Nastrahl:
You actually can with AutoNotification. Not sure about the free version though.
[Android Apps and Games] thedicemaster:
I never expected that to work, it's kinda backwards.

the notification is specifically marked as impossible to hide.

it does require root, or android 8.

I still happened to have that app on my phone from when I wanted to automatically clear a few notifications that used to pop up on startup.
[Android Apps and Games] the stranger94:
Adguard logo can be removed from adguard option, and his notification too. It's the notification of android system about a vpn running that can't be removed.

Are we speaking about the same thing?

Low priority on what? Adguard (but the notification is created by Android system) or Android system? In the second case where do I find the option?

So it work? I don't have a Samsung phone to try it right now

Sparaflashato da Z3C
[Android Apps and Games] thedicemaster:
on recent android versions you can change settings for specific notifications by long-pressing them.

on android 8 and up you get a lot more options, such as priority which determines how "intrusive" a notification can be.

the system VPN notification on Samsung shows a key in the left, and the adguard logo on the right.
[Android Apps and Games] the stranger94:
OK now I understand what you were referring to

A friend with an s8 already try to look on the option long clicking the notification and didn't find the priority setting (he send me a screenshot but it's in Italian).

Can you make a screen e show me the option.?

Not that I didn't trust you, I simply don't find it

Sparaflashato da Z3C
[Android Apps and Games] nikzDHD:
Like this hold down the notification and scroll to vpn.
[Android Apps and Games] the stranger94:
Thanks, find it.

Like this it isn't annoying at all. At the first occasion I will try the app...

(I've to buy an A8 2018, I hope it will be update to oreo soon)

Sparaflashato da Z3C
[Android Apps and Games] ianmacd:
2.12.106 crashes on Google Play videos

The latest nightly, 2.12.106, crashes if I try to play any short video clip showcasing an app on Google Play. I can reproduce it on any of my Samsung devices, so it shouldn't be hard to replicate. I can provide logs if needed.

This is in auto-proxy root mode with SSL filtering on and the cert in the system store.
[Android Apps and Games] LOLFreely:
adguard for android stop develop right ?
[Android Apps and Games] TheHasagi:
Hello!

Can you try to reproduce this issue if Google Play Services is not in the filtering list(apps management)?
[Android Apps and Games] ianmacd:
If I fully disable filtering of Google Play Services, AdGuard no longer crashes when I try to play video clips in the Play Store. And the clips are then playable, too.
[Android Apps and Games] Roi007leaf:
Hi guys, enjoying Adguard very much and appreciate all the devs work, though I have an issue on my op3 running oos.. Randomly Adguard becomes disabled and I lose internet connection.. Tried looking through the logs and all but I don't see what causes this.. I also disabled battery optimization and all..

Using rooted magisk with high quality blocking

Is this known?
[Android Apps and Games] TheHasagi:
Hello!

First of all, tell me your device specifications:

1. Android version

2. Model

3. AdGuard version and settings

Do you use root proxy (automatic) or VPN?

---------- Post added at 09:16 AM ---------- Previous post was at 08:36 AM ----------

@ianmacd

Hello!

Can you send the log files to support@adguard.com?

---------- Post added at 09:59 AM ---------- Previous post was at 09:16 AM ----------

@ianmacd

Can you tell me about a certificate, is it moved to the system store?
[Android Apps and Games] yash92duster:
[MENTION=6134748]Daria, Adguard Team[/MENTION]

Request....

Any chance of Black theme version of AdGuard..?

Thanks:cool:
[Android Apps and Games] ianmacd:
I'll send you the logs later today.

Yes, the certificate is in the system store.

Update: Logs sent.
[Android Apps and Games] Roi007leaf:
1.android 8

2. OnePlus 3

3. Latest official Adguard though it happened on latest nightly too

And root proxy
[Android Apps and Games] TheHasagi:
Can you try to change DNS?

Also, I'll be glad if you will send log files to support@adguard.com (available from the application, tap on Send Feedback), when the problem is reproduced.
[Android Apps and Games] the stranger94:
i tried this app but it doesn'work: it does not reveal the notification, in fact at first opening it said that persistant notification can't be blocked

have some suggestion on what a should try?

unfortunaly i'm still on nougat (hoping oreo come fast)
[Android Apps and Games] Nastrahl:
I think it's only working on Oreo :/
[Android Apps and Games] the stranger94:
So the app on you're phone simply recognize the notification?

I guess I've only to hope Samsung hurry up with the updates

Inviato dal mio SM-A530F utilizzando Tapatalk
[Android Apps and Games] Nastrahl:
I really don't know how AutoNotification's magic is actually working...

I hope you'll have the update soon.
[Android Apps and Games] Mkkxda:
Hi friends. A simple question. Has sense to block trackers as e.crashlytics.com, app.adjust.com... in apps with no visible ads (Spotify Premium, Tapatalk, Pocket)?

Has it any effect in battery drainage? Thanks

Enviado desde mi EVA-L09 mediante Tapatalk
[Android Apps and Games] yochananmarqos:
Yes, it blocks trackers everywhere. You can tap the battery icon in the upper right of AdGuard to see battery usage.
[Android Apps and Games] xflowy:
i'm on a pixel 2 xl (stock, rooted) and used adaway quite a long time. wanted to try sth new and purchased the adguard pc and android license.

i find it quite comfortable to switch off adguard if i want to. couldnt do that with adaway and if it wanna click on an advertisement on google, that comes in handy.

however i feel my extremely fluid phone seems to have gotten a hit in that department since adguard is running (in the background).

can anyone confirm adguards hit on overall phone performance (compared to just host file adblocks)?

ps. did you guys ever consider some sort of root implementation, so root users could benefit more?

thanks!
[Android Apps and Games] yochananmarqos:
I haven't noticed much of a performance hit at all on several different devices.

There is a root method: AdGuard Settings > Advanced > Filtering Mode: HTTP proxy. Make sure Local proxy setup mode is set to Auto.
[Android Apps and Games] ianmacd:
AdAway just does DNS blocking, whereas AdGuard in high quality mode will, amongst other things, be ripping HTML out of files and repairing the damage. It's doing much more work, and will yield vastly superior results.

if you have root, it's best to run it in HTTP auto-proxy mode. That is less demanding for your phone than VPN mode.
[Android Apps and Games] Nastrahl:
Sorry dumb question but... Why not using the http method while unrooted too then?
[Android Apps and Games] dirtyreturn:
HTTP proxy method requires root.

Correction::: see below:::: auto http proxy requires root.
[Android Apps and Games] VasilyBagirov:
Hi guys!

I am AdGuard Community Manager, and hopefully will be replying here more often in the future.

Technically it doesn't, you can switch to manual proxy mode and configure proxy for WiFi networks one by one. But without root HTTP proxy mode won't help much as you still won't be able to run AG along with other VPN.

-----

AdGuard team
[Android Apps and Games] dirtyreturn:
I'm sorry, auto http proxy requires root. Thanks for the correction.
[Android Apps and Games] Wrapp:
What drawbacks do I get when I use auto HTTP proxy with root (to be able to use another VPN) compared to the Adguard VPN mode?

Can I still define some apps that shouldn't be Ad filtered?

Is there maybe a table with pros and cons?

Thanks for any explanation
[Android Apps and Games] netRAT:
I've just found that on my Redmi Note 5 (running RR latest), when setting AdGuard to run in HTTP proxy mode and using the phone as a hotspot host, ads are no longer being filtered (on the host)
[Android Apps and Games] sanjitsajal:
Need promo code. Can i get it ?
[Android Apps and Games] thedicemaster:
I don't know if it's the same for proxy mode, but in vpn mode this is intentional because the tunneling interferes with tethering.