AdguardForAndroid
AdguardForAndroid copied to clipboard
AdGuard fails to start automatically after rebooting the device with MIUI 13
Version
AdGuard for Android 4.3.1
Environment
Android 11, MIUI 13
Steps to reproduce
- Launch AdGuard and enable the protection
- Make sure that the
Launch AdGuard at system startup
option is enabled (Settings -> General) - Make sure that the battery optimization is disabled for AdGuard application in the system settings (detailed instruction)
- 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
How I got it to run automatically run at startup is to toggle always on vpn for adguard.
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.