AdguardTeam / AdguardForAndroid

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

Adguard does not start automatically #5389

Open dnaug opened 2 weeks ago

dnaug commented 2 weeks 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 1 week ago

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

dnaug commented 1 week ago

Yes, it is allowed!

maxikuzmin commented 1 week 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 1 week 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 days ago

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

maxikuzmin commented 3 days 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?