AdguardTeam / AdguardForAndroid

Open bug tracker for Android version of AdGuard.
https://adguard.com/
1.37k stars 91 forks source link

Adguard does not start automatically #5389

Closed dnaug closed 1 month ago

dnaug commented 4 months ago

Please answer the following questions for yourself before submitting an issue

AdGuard version

4.5.17

Environment

HTTPS filtering

Root access

Integration with AdGuard VPN

Routing mode

Local VPN

Ad Blocking

AdGuard Mobile Ads filter

Privacy

AdGuard Tracking Protection filter, AdGuard URL Tracking filter

Social

AdGuard Social Media filter

Annoyances

No response

Security

No response

Language-specific

AdGuard German filter

Other

No response

Which DNS server do you use?

Automatic DNS

DNS protocol

DNS-over-HTTPS

Custom DNS

No response

What Stealth Mode options do you have enabled?

Block trackers

Issue Details

Steps to reproduce: 1. 2. 3.

Expected Behavior

No response

Actual Behavior

I use Adguard on the Motorola g24. Everything works so far, but Adguard does not start automatically when I turn on the Motorola. The "Start Adguard when system starts" switch is activated (green). If I start Adguard manually after the system starts, I can still see Adguard turning itself on from red to green), then the protection is activated. Why is Adguard not starting automatically when the smartphone starts?

Screenshots

Screenshot 1 ![Screenshot_20240630-144356](https://github.com/AdguardTeam/AdguardForAndroid/assets/174619635/ab8f9daf-7ac8-4ed6-8fa9-73028496a7fa) file:///home/dn/Bilder/Bilder%202024/Screenshot_20240630-144413.png ![Screenshot_20240630-144337](https://github.com/AdguardTeam/AdguardForAndroid/assets/174619635/620f62a3-22b9-4779-952e-1db8befbcdc7) ![Screenshot_20240630-144413](https://github.com/AdguardTeam/AdguardForAndroid/assets/174619635/08474f22-d696-4ebb-bcf8-4439be72fbc4)

Additional Information

I use Adguard on the Motorola g24. Everything works so far, but Adguard does not start automatically when I turn on the Motorola. The "Start Adguard when system starts" switch is activated (green). If I start Adguard manually after the system starts, I can still see Adguard turning itself on from red to green), then the protection is activated. Why is Adguard not starting automatically when the smartphone starts?

maxikuzmin commented 4 months ago

@dnaug please clarify, did you allow "Background" in system settings as instructed?

dnaug commented 4 months ago

Yes, it is allowed!

maxikuzmin commented 4 months ago

@dnaug @slythrn unfortunately I don't have a Motorola device. Could you please record the HAR logs as instructed and send to devteam@adguard.com? Please be sure to include the time the problem recurred and the issue number 5389

maxikuzmin commented 4 months ago

@dnaug @slythrn

Could you please record debug logs?

Settings -> General -> Advanced -> Logging level -> Debug

Settings -> General -> Advanced -> Export logs and system info

Sent this file to devteam@adguard.com: mention the 5389 number in the subject specify the exact time when the issue occurred

maxikuzmin commented 4 months ago

@slythrn thanks, we will look into your logs, it will take us some time

maxikuzmin commented 4 months ago

@slythrn the logs show that AdGuard started at 06:04:33 Could you please record new logs with time indication, because without timings it's hard to understand. Also clarify, when you start the device there is also no information in the system tray that AdGuard is running?

maxikuzmin commented 4 months ago

@slythrn you won't be able to test it again on the motorola device?

dnaug commented 4 months ago

I tried again with program version 4.6.1. It still doesn't work. To clarify again, Adguard starts but is not activated. When I tap the app, the switch jumps from red to green. This applies to the Motorola g24. On the Motorola Edge 40 Neo, Adguard works perfectly and starts completely automatically when the smartphone starts.

maxikuzmin commented 4 months ago

@dnaug please repeat the steps and record new logs, don't forget to specify the time of reproduction of the problem. As I wrote earlier, it is difficult to understand the problem without understanding the time of problem repetition

maxikuzmin commented 4 months ago

@dnaug any news?

maxikuzmin commented 4 months ago

@slythrn do you have a Motorola device too?

dnaug commented 4 months ago

@dnaug any news?

I have created a new protocol.

11:17 a.m. device switched on

11:18 a.m. PIN entered

11:21 a.m. Adguard app tapped (protection is activated)

maxikuzmin commented 4 months ago

@dnaug I think the logs were uploaded incorrectly judging by the word "Uploading" :) Please attach the logs to the issue again or send us an email at devteam@adguard.com

maxikuzmin commented 4 months ago

@dnaug any news?

dnaug commented 4 months ago

I sent everything to devteam@adguard.com as requested.

maxikuzmin commented 3 months ago

@slythrn if you can also provide logs, please send logs to us at devteam@adguard.com

maxikuzmin commented 3 months ago

@dnaug I don't see your logs in the mail. Could you please resend the logs? Be sure to include the time the issue was reproduced and the issue number (5389). It would be better if you record logs with the new 4.6.2 update.

@slythrn were you able to record the logs?

JazzJohannes commented 3 months ago

I have the same issue actually but i am on motorola g pro stylus 2020 with android 12. It switches on but gets disabled immediately again.

maxikuzmin commented 3 months ago

@dnaug @slythrn did you manage to reproduce the problem? @JazzJohannes if you are also having this problem repeatedly, could you please send also the logs to our email devteam@adguard.com as mentioned in the instructions above?

JazzJohannes commented 3 months ago

@dnaug @slythrn did you manage to reproduce the problem? @JazzJohannes if you are also having this problem repeatedly, could you please send also the logs to our email devteam@adguard.com as mentioned in the instructions above?

I have now reported it as a bug within the app. And additionally the switch for conmecting to adguard vpn switches off right away as well btw. I have reported it for adguard vpn on top now as well

maxikuzmin commented 2 months ago

@JazzJohannes could you elaborate on the ticket number?

maxikuzmin commented 2 months ago

@dnaug @JazzJohannes @slythrn we need a system bug report to resolve the issue. Please get a system bug report as described in the instructions and send it to email devteam@adguard.com.

maxikuzmin commented 2 months ago

@dnaug @JazzJohannes @slythrn any news?

maxikuzmin commented 1 month ago

@dnaug @JazzJohannes @slythrn for the moment, I’m closing this issue. You can reopen the issue in the future if the problem persists