AdguardForAndroid icon indicating copy to clipboard operation
AdguardForAndroid copied to clipboard

Adguard for Android TV random disconnects

Open enduser1 opened this issue 4 months ago • 15 comments

Please answer the following questions for yourself before submitting an issue

  • [x] Filters were updated before reproducing an issue
  • [x] I checked the knowledge base and found no answer
  • [x] I checked to make sure that this issue has not already been filed

AdGuard version

4.12.77

Environment

  • OS version: 14
  • Device: onn. 4K Plus Streaming device

HTTPS filtering

  • [ ] yes, I do

Root access

  • [ ] yes, I have it

Integration with AdGuard VPN

  • [ ] yes, I do

Routing mode

Local VPN

Ad Blocking

AdGuard Base filter

Privacy

AdGuard Tracking Protection filter

Social

No response

Annoyances

No response

Security

No response

Language-specific

No response

Other

AdGuard DNS filter

Which DNS server do you use?

AdGuard DNS

DNS protocol

None

Custom DNS

none

What Stealth Mode options do you have enabled?

No response

Issue Details

Steps to reproduce: 1. 2. 3.

Expected Behavior

No response

Actual Behavior

AG will randomly quit working. When re-enabled it works for a while then disconnects itself. This problem was also occurring with the previous version.

Screenshots

Screenshot 1

Additional Information

No response

enduser1 avatar Oct 14 '25 12:10 enduser1

Same with the phone versions of Android (started at least since v4.12, still persists on v4.13 Nightly 9). AdGuard just stops working randomly while showing it is still up and running. The only fix is to Quit and open it back. It might even crash the first time it is opened after quitting.

UPD: Seems to be related to https://github.com/AdguardTeam/AdguardForAndroid/issues/5822

cjmaxik avatar Oct 14 '25 12:10 cjmaxik

Agreed. My ad guard on my Android phone also disconnects randomly.

On Tue, Oct 14, 2025, 8:29 AM CJMAXiK @.***> wrote:

cjmaxik left a comment (AdguardTeam/AdguardForAndroid#5875) https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3401557049

Same with the phone versions of Android (started at least since v4.12, still persists on v4.13 Nightly 9). AdGuard just stops working randomly while showing it is still up and running. The only fix is to Quit and open it back. It might even crash the first time it is opened after quitting.

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3401557049, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISPJLUVF5BLS2MWLNWOICL3XTUDTAVCNFSM6AAAAACJEN42ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMBRGU2TOMBUHE . You are receiving this because you authored the thread.Message ID: @.***>

enduser1 avatar Oct 16 '25 23:10 enduser1

@enduser1 Thank you for reporting!

Could you please collect the logs from your TV device by following the steps below?

  1. Enable debug logging: Settings -> General -> Logging level -> Debug.

  2. Wait for the problem to occur, then note the exact time it happens.

  3. Send us logs: Settings → Support → Share logs

    • include [android] keyword and 5875 in the description field
    • specify the exact time when the issue occurred

Versty avatar Oct 20 '25 12:10 Versty

@cjmaxik

UPD: Seems to be related to https://github.com/AdguardTeam/AdguardForAndroid/issues/5822

Yes, it could be related.

To confirm whether it’s the same cause, would you mind sending the logs from your device? If so, please follow the steps below.

  1. Enable debug logging: Settings -> General -> Advanced -> Logging level -> Debug.

  2. Wait for the problem to occur, then note the exact time it happens.

  3. Collect logs: Settings -> General -> Advanced -> Export logs and system info.

  4. Send this file to [email protected]:

    • include [android] keyword and 5875 in the subject of your email
    • specify the exact time when the issue occurred

Versty avatar Oct 20 '25 12:10 Versty

Thanks for the reply. I will follow your instructions. As far as when it happens I don't know exactly. I don't view the device daily but when I turn it on randomly I noticed that Adguard is not working. The way I tell that it is not working is when I look at the settings and noticed that VPN is not enabled.

On Mon, Oct 20, 2025, 8:56 AM Diana @.***> wrote:

Versty left a comment (AdguardTeam/AdguardForAndroid#5875) https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3421949859

@cjmaxik https://github.com/cjmaxik

UPD: Seems to be related to #5822 https://github.com/AdguardTeam/AdguardForAndroid/issues/5822 Yes, it could be related.

To confirm whether it’s the same cause, would you mind sending the logs from your device? If so, please follow the steps below.

Enable debug logging: Settings -> General -> Advanced -> Logging level -> Debug. 2.

Wait for the problem to occur, then note the exact time it happens. 3.

Collect logs: Settings -> General -> Advanced -> Export logs and system info. 4.

Send this file to @.***:

  • include [android] keyword and 5875 in the subject of your email
    • specify the exact time when the issue occurred

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3421949859, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISPJLQBJU6I4AR2LHTU56L3YTLYNAVCNFSM6AAAAACJEN42ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMRRHE2DSOBVHE . You are receiving this because you were mentioned.Message ID: @.***>

enduser1 avatar Oct 20 '25 14:10 enduser1

When I attempt to send logs from the app using the steps you detailed I get the "Failed to sends logs" error message. AG quit working last night sometime between 9PM and 6AM EST. Please advice. Thanks

enduser1 avatar Oct 27 '25 10:10 enduser1

One more thing.. the steps are a little different to share the logs then the info posted. Collect logs: Settings -> General -> Advanced -> Export logs and system info. Under General there is no Advance option.

I only see: Settings, Support, Share Logs as the only means to share the logs. Running AG for Android TV v4.12.77

enduser1 avatar Oct 27 '25 11:10 enduser1

Another observation. Last night on the Android cell phone AG was working, this morning AG is not working also.

enduser1 avatar Oct 27 '25 11:10 enduser1

@enduser1

One more thing.. the steps are a little different to share the logs then the info posted. Collect logs: Settings -> General -> Advanced -> Export logs and system info. Under General there is no Advance option.

The steps in https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3421922741 are for Android TV, and the steps in this https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3421949859 are for Android smartphone.

When I attempt to send logs from the app using the steps you detailed I get the "Failed to sends logs" error message.

It seems the sending error on Android TV is caused by the log size. The logs exceed the size limit. Could you please collect logs from your phone following the steps in https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3421949859?

Versty avatar Nov 01 '25 08:11 Versty

@Versty Thanks for the new instructions. The phone issue has been identified per AG as being caused by the phone running out of memory and Android unloading apps to free up memory. As for the issue with Android TV it has not been determined what is causing AG to get disconnected. I will have to wait for it to happen again. I'm home one day a week so will have to wait until the next failure to occur.

enduser1 avatar Dec 01 '25 20:12 enduser1

@enduser1 If you mean when the Android system unloads apps to free up RAM, Android TV can do the same, since these devices typically have even less RAM than phones.

So, any news on this?

Versty avatar Dec 09 '25 14:12 Versty

I have to wait for Android TV to close AG in order to submit the service logs. And for me I also have to wait until I'm home since I'm away 6 days out of seven to catch this when it happens and submit the error logs. It has not failed in the last two weeks. As soon as it does I will submit the log for review. I'm eager to find out what's going on with this myself.

On Tue, Dec 9, 2025, 9:25 AM Diana @.***> wrote:

Versty left a comment (AdguardTeam/AdguardForAndroid#5875) https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3632531261

@enduser1 https://github.com/enduser1 If you mean when the Android system unloads apps to free up RAM, Android TV can do the same, since these devices typically have even less RAM than phones.

So, any news on this?

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3632531261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISPJLXKTCSTON4VVZGDT2L4A3LWRAVCNFSM6AAAAACJEN42ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMMZSGUZTCMRWGE . You are receiving this because you were mentioned.Message ID: @.***>

enduser1 avatar Dec 11 '25 01:12 enduser1

I noticed that this happens when I use Proxy mode. It was working fine when routing directly, but started to disconnect again once I enabled Proxy mode.

v4.14 Nightly 19.

cjmaxik avatar Dec 11 '25 08:12 cjmaxik

Ok it failed again, but I'm unable to send logs as I get the error message "failed to send logs" even when sending to the @.*** email address

On Tue, Dec 9, 2025, 9:25 AM Diana @.***> wrote:

Versty left a comment (AdguardTeam/AdguardForAndroid#5875) https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3632531261

@enduser1 https://github.com/enduser1 If you mean when the Android system unloads apps to free up RAM, Android TV can do the same, since these devices typically have even less RAM than phones.

So, any news on this?

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3632531261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISPJLXKTCSTON4VVZGDT2L4A3LWRAVCNFSM6AAAAACJEN42ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMMZSGUZTCMRWGE . You are receiving this because you were mentioned.Message ID: @.***>

enduser1 avatar Dec 14 '25 23:12 enduser1

I'm trying to send the log from the Android TV On streaming box

On Sun, Dec 14, 2025, 6:04 PM End User @.***> wrote:

Ok it failed again, but I'm unable to send logs as I get the error message "failed to send logs" even when sending to the @.*** email address

On Tue, Dec 9, 2025, 9:25 AM Diana @.***> wrote:

Versty left a comment (AdguardTeam/AdguardForAndroid#5875) https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3632531261

@enduser1 https://github.com/enduser1 If you mean when the Android system unloads apps to free up RAM, Android TV can do the same, since these devices typically have even less RAM than phones.

So, any news on this?

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3632531261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISPJLXKTCSTON4VVZGDT2L4A3LWRAVCNFSM6AAAAACJEN42ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMMZSGUZTCMRWGE . You are receiving this because you were mentioned.Message ID: @.***>

enduser1 avatar Dec 14 '25 23:12 enduser1

@enduser1 The “failed to send logs” error could be related to the size of the log archive. As a temporary workaround, please collect the logs manually. Here’s a step-by-step guide:

Set up the AdGuard app

  1. Update the AdGuard app to the latest available version (release 4.12.2).
  2. Go to Settings -> General and set the logging level to Debug.
  3. Wait for the issue to reproduce and note the time.

Set up adb tool

  1. Install adb to your PC.
  2. Unlock developer options and enable USB debugging on your TV as explained in this article.
  3. Make sure that your TV and PC use the same network, and connect your TV to PC using the adb command. adb connect x.x.x.x where x.x.x.x is IP address of your TV.

Collect logs via adb

  1. Use adb bugreport command to collect system bug report.
  2. Use adb pull /storage/emulated/0/Android/data/com.adguard.android/cache/log/journal.log to collect the AdGuard app logs.

Expected result: both files are now stored on your PC.

Send logs

Send these files to [email protected]:

  • include [android] keyword and 5875 in the subject of your email
  • specify the exact time when the issue occurred

Versty avatar Dec 17 '25 16:12 Versty

Thanks. Will do when I get home this Sunday.

On Wed, Dec 17, 2025, 11:14 AM Diana @.***> wrote:

Versty left a comment (AdguardTeam/AdguardForAndroid#5875) https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3666089605

@enduser1 https://github.com/enduser1 The “failed to send logs” error could be related to the size of the log archive. As a temporary workaround, please collect the logs manually. Here’s a step-by-step guide: Set up the AdGuard app

  1. Update the AdGuard app to the latest available version (release 4.12.2).
  2. Go to Settings -> General and set the logging level to Debug.
  3. Wait for the issue to reproduce and note the time.

Set up adb tool

  1. Install adb https://developer.android.com/tools/releases/platform-tools#downloads to your PC.
  2. Unlock developer options and enable USB debugging on your TV as explained in this article https://www.xda-developers.com/how-to-access-developer-options-amazon-fire-tv/ .
  3. Make sure that your TV and PC use the same network, and connect your TV to PC using the adb command. adb connect x.x.x.x where x.x.x.x is IP address of your TV.

Collect logs via adb

  1. Use adb bugreport command to collect system bug report.
  2. Use adb pull /storage/emulated/0/Android/data/ com.adguard.android/cache/log/journal.log to collect the AdGuard app logs.

Expected result: both files are now stored on your PC. Send logs

Send these files to @.***:

  • include [android] keyword and 5875 in the subject of your email
  • specify the exact time when the issue occurred

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdguardForAndroid/issues/5875#issuecomment-3666089605, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISPJLS5EXKJQ4XE42UUVO34CF6PJAVCNFSM6AAAAACJEN42ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNRWGA4DSNRQGU . You are receiving this because you were mentioned.Message ID: @.***>

enduser1 avatar Dec 17 '25 16:12 enduser1