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

AdGuard 3.3.102 beta keeps on crashing if Ultra battery saver is enabled once on MIUI 11 and then disabled #3210

Closed
sanjayen opened this issue Nov 15, 2019 · 15 comments
Assignees
Milestone

Comments

@sanjayen
Copy link

I was running out of battery when traveling and hence enabled Ultra battery saver mode in MIUI 11 v9.10.10 beta on my Xiaomi Mi5. Once I disabled the battery saver mode, AdGuard does not open at all and crashes all time. I have been using the beta version of AdGuard for a long time and keep on updating as and when a new version is available and also run the beta version of Xiaomi.eu ROM.

Here are my app details along with screenshots of the generated bug report.
AdGuard version: 3.3.102 beta
Filtering mode: Local VPN
Device: Xiaomi Mi5
Operating system and version: Android 8.0.0/ MIUI 11 by xiaomi.eu 9.10.10 beta
Root access: Yes using Magisk

Expected Behavior
Once ultra battery saver is disabled, AdGuard should work as expected. All optimizations have been disabled for AdGuard and all permissions have been always provided.

Actual Behavior
AdGuard crashes every single time even after a restart. I even cleared Dalvik and app cache but with no luck. I even reinstalled the same beta (which is the latest) on top of the existing installation but the crashes continues.

Screenshots
Attaching a screenshot of what Ultra battery saver mode does along with 2 screenshots of a long scrolling window of the bug report which gets generated once AdGuard crashes.

MIUI 11-Ultra-battery-saver
AdGuard-error-stack-1
AdGuard-error-stack-2

Please let me know if any other information is required. I do not want to completely uninstall AdGuard and start from scratch as I did not make a backup of my settings.

@artemiv4nov
Copy link
Contributor

@sanjayen This error looks like you use Crack version of AdGuard for Android.

@sanjayen
Copy link
Author

@sanjayen This error looks like you use Crack version of AdGuard for Android.

Nope I have a lifetime licenses which I have purchased twice. What do I share to indicate that my licenses are valid? I have logged into my AdGuard account and can see my two purchases as valid.

@sanjayen
Copy link
Author

Sharing a redacted screenshot of my AdGuard account.

AdGuard-account

@ameshkov
Copy link
Member

@artemiv4nov the filters state might be corrupted -- one of the filter lists has invalid groupId). The question is what happened and why it has happened.

On our side, we can avoid this crash by making FilterGroup.findByCode never return null.

@sanjayen I think reinstalling the app will fix this issue.

@sanjayen
Copy link
Author

@ameshkov I did reinstall and it did not work. Though I have not done a complete uninstall and reinstall.

Just to reiterate, the problem occurred when I enabled Ultra battery saver and disabled it when I started charging. I have used Ultra battery saver in the past but not with this new beta version.

@sanjayen
Copy link
Author

@ameshkov any steps on how to backup the settings and user filters before I uninstall completely? I have added multiple filters based on my navigation needs and sadly did not take a backup.

@ameshkov
Copy link
Member

@sanjayen could you please export your settings and them to [email protected]?
Please mention this issue in the email.

Also, instead of uninstalling, you can simply clear the app data in the Android settings.

@sanjayen
Copy link
Author

@ameshkov how do I export the settings as the app does not open at all.

Ok will do that as well and revert.

@sanjayen
Copy link
Author

@ameshkov have emailed my settings file to the provided address. Hope you solve this issue.

@ameshkov
Copy link
Member

@sanjayen did it help to clear the app data?

@artemiv4nov
Copy link
Contributor

@ameshkov @sanjayen
The error places in other code.
Today we'll roll out the new nightly with the fix for this bug.

@sanjayen
Copy link
Author

@sanjayen did it help to clear the app data?

yes, however I lost all my settings and user filters. Sadly also lost the blocking history. I had close to 15GB which had been blocked by AdGuard.

@TheHasagi
Copy link
Contributor

@sanjayen

Can you confirm that the issue is still exists with the latest Nightly version?

@sanjayen
Copy link
Author

@TheHasagi I have installed the latest version 3.3 nightly 23 (150)

I shall try and replicate the same ultra battery saver scenario sometime later today and check.

Do give me a day to reply back.

@sanjayen
Copy link
Author

@TheHasagi I tried replicating the ultra battery saver scenario twice yesterday and both times when I started charging, AdGuard opened and worked as expected. I will keep an eye out for any other scenario but for this moment I will close this ticket. Thank you for solving the issue.

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

4 participants