Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On MIUI China, it is not possible to keep “Unlimited power usage” all the time, causing “Self-start” to fail and blocking the background to be ineffective. #5319

Closed
5 of 6 tasks
Benson2333 opened this issue May 15, 2024 · 3 comments

Comments

@Benson2333
Copy link

Benson2333 commented May 15, 2024

Please answer the following questions for yourself before submitting an issue

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

AdGuard version

adguard nightly 4.4.177

Environment

  • OS version:Android 13
  • Device:小米 11 lite 5G 国行
adguard.battery.mp4

Screenshot_20240515_130455_Settings

Screenshot_20240515_130504_Settings

问题如录屏中说示,希望Adguard能提供解决方案,避免系统不必要的干扰,在用户需要时,能保持运行,不因其它原因中止。

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, AdGuard Mobile Ads filter, EasyList

Privacy

AdGuard Tracking Protection filter, AdGuard URL Tracking filter, EasyPrivacy, Legitimate URL Shortener, Peter Lowe's Blocklist, Fanboy's Anti-Facebook List, Fanboy's Anti-thirdparty Fonts

Social

AdGuard Social Media filter, Fanboy's Social Blocking List

Annoyances

AdGuard Annoyances filter, AdGuard Cookie Notices filter, AdGuard Popups filter, AdGuard Mobile App Banners filter, AdGuard Other Annoyances filter, AdGuard Widgets filter, Adblock Warning Removal List, Fanboy's Annoyances, I don't care about cookies, EasyList Cookie List, Dandelion Sprout's Annoyances List

Security

Online Malicious URL Blocklist, NoCoin Filter List

Language-specific

AdGuard Chinese filter, EasyList China, EasyList Dutch, KAD - Anti-Scam

Other

Filter unblocking search ads and self-promotion, AdGuard DNS filter, AdGuard Experimental filter

Which DNS server do you use?

Automatic DNS

DNS protocol

None

Custom DNS

No response

What Stealth Mode options do you have enabled?

Block trackers, Remove tracking parameters from URLs, Hide your search queries, Ask websits not to track you, Self-destruction of third-party cookies, Block ETag and If-None-Match headers, Block the third-party Authorization header, Disable WebRTC, Block Push API, Block Location API, Hide your Referrer from third-parties, Hide your User Agent, Hide your IP address, Remove X-client-Data header from HTTP request, Protect against DPI

Issue Details

Steps to reproduce:
1.检查过滤器更新
2.提示“fix it”
3.根据提示修改为“无限制使用电源”,并逐步操作
4.再次检查过滤器更新,复现之前的问题
5.检查“自启动”、“锁定后台”,保证都处于开启状态
6.关闭Adguard总开关,重新启用Adguard
7.再次复现问题
8.重启手机
9.Adguard无法在开机后自动运行,快捷通知栏的“adguard快捷方式”点击无效。
10.打开Adguard,问题复现。
11.之前Dr.web,也出现过类似问题,但是开启了截图中“设备管理应用”权限后,问题解决。
12.虽然这是MIUI的问题,但作为用户隐私的守卫者,我相信Adguard一定会有更好的解决方案的

ENG version

  1. Check for filter updates
  2. Prompt “fix it”.
  3. Follow the prompts to change to “Unlimited power usage” and do it step by step.
  4. Check the filter update again, and the previous problem is reproduced.
  5. Check “Self-startup” and “Lock background” to make sure they are on.
  6. Turn off the Adguard master switch and re-enable Adguard.
  7. Repeat the problem again
  8. Reboot the phone
  9. Adguard can't run automatically after booting, and the “adguard shortcut” in the notification bar is invalid.
  10. Open Adguard, the problem recurs.
  11. Before Dr.web, there was a similar problem, but the problem was solved after opening the “Device Management Apps” permission in the screenshot.
  12. Although this is a MIUI problem, as the guardian of user privacy, I believe Adguard will have a better solution!
adguard.battery.mp4

Screenshot_20240515_130455_Settings

Screenshot_20240515_130504_Settings

Expected Behavior

Adguard能平稳在后台运行,不再提示“fix it”,“无限制使用电源”不再决定Adguard能否正常运行。

adguard.battery.mp4

Actual Behavior

“无限制使用电源”无法正常启用,无法保持后台运行

Screenshots

Screenshot 1

Additional Information

每次更新过滤器,后伴随adguard总开关的频繁重启。能否在更新全部过滤器后再统一重启。

@Benson2333 Benson2333 added the Bug label May 15, 2024
@Versty Versty changed the title 在MIUI China上,无法始终保持“无限制使用电源”,造成“自启动”失败,锁定后台无效 On MIUI China, it is not possible to keep “Unlimited power usage” all the time, causing “Self-start” to fail and blocking the background to be ineffective. May 15, 2024
@Versty
Copy link
Contributor

Versty commented May 15, 2024

@Benson2333 Thank you for reporting!
We are aware of this issue, please enable the settings described in #5137 and let me know if it helps.

@Benson2333
Copy link
Author

Benson2333 commented May 15, 2024

你好,官方提供的指导方案并没有实际效果。
由于我同时安装了Adguard、Adguard VPN,我发现一个很有趣的现象。
我的Adguard VPN能正常使用所有权限并保持后台运行,但是Adguard总是被系统恢复,造成运行失败。
据说是国内定制版MIUI的白名单/黑名单策略造成的。比如说,小爱同学、微信都属于白名单应用,系统一般不会禁用权限;但是,Adguard等隐私保护软件基本处于黑名单之内,我曾经安装的杀毒软件Dr.web、Eset、Mcafee都是因为被系统禁用权限导致防护失效。但是后来开启了“设备管理应用”,它们在一定程度上避免了黑名单策略的影响。

ENG version

Hi, the official guidance programme provided doesn't really work.
Since I have installed both Adguard, Adguard VPN, I found an interesting phenomenon.
My Adguard VPN works fine with all permissions and stays running in the background, but Adguard is always restored by the system, resulting in runtime failure.
It is said to be caused by the whitelist/blacklist strategy of the domestic customised version of MIUI. For example, Xiaoxia and WeChat are all whitelisted apps, and the system generally won't disable their permissions; however, privacy protection software such as Adguard is basically blacklisted, and the antivirus software I once installed, Dr.web, Eset, and McAfee, all failed because their permissions were disabled by the system. However, after opening the ‘device management application’, they have avoided the influence of the blacklist policy to a certain extent.

20240515_200211

@Versty
Copy link
Contributor

Versty commented May 27, 2024

@Benson2333 Thank you for provided details.
We will consider this option, let's continue discussion in #5320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants