AdguardForAndroid icon indicating copy to clipboard operation
AdguardForAndroid copied to clipboard

AdGuard fails to start automatically after rebooting the device with MIUI 13

Open Versty opened this issue 1 year ago • 2 comments

Version

AdGuard for Android 4.3.1

Environment

Android 11, MIUI 13

Steps to reproduce

  1. Launch AdGuard and enable the protection
  2. Make sure that the Launch AdGuard at system startup option is enabled (Settings -> General)
  3. Make sure that the battery optimization is disabled for AdGuard application in the system settings (detailed instruction)
  4. Reboot the device

Expected behaviour

AdGuard is launched automatically and filters traffic

Actual behaviour

AdGuard fails to start automatically after rebooting the device

Additional info

Autolaunch option works as expected on devices with MIUI 12

Versty avatar Jan 11 '24 10:01 Versty

How I got it to run automatically run at startup is to toggle always on vpn for adguard.

loca-lhost avatar Jan 12 '24 05:01 loca-lhost

To allow AdGuard launch after system boot, you'll need to enable this feature in system settings by yourself for the app.

Sadly, for now universal method to show user this kind of system settings does not exist, because every manufacturer (XIAOMI, OPPO, Vivo, Asus, etc.) make their own implementation of auto-launch setting in different places of system or app setting, those state can't be read from application.

Proxwian avatar Mar 13 '24 09:03 Proxwian