Droid-ify / Droid-ify/client

[BUG] Shizuku/Sui/Root installer automatic updates that fail keep retrying so badly that they burn through system resources.

Open
#1,277 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
7.4k
Forks
214
PR merge metrics
No merged PRs in 30d

Description

### Before you submit

- [x] I have searched the issue tracker for [open](https://github.com/Droid-ify/client/issues) and [closed](https://github.com/Droid-ify/client/issues?q=is%3Aissue+is%3Aclosed) issues that are similar to the feature request I want to file, without success.
- [x] This issue contains only one bug.

### What's going wrong?

This may be a symptom of other issues that cause updates to fail, like #1266 , but before I diagnosed it it was actually proving to be a pretty massive issue, burning through my phone's battery in two hours where it normally lasts upwards of eighteen.
Since it was a background app, it didn't even show properly in battery manager, hiding behind the apps in the foreground, but when I disabled auto updates the phone cooled down for the first time since #1266 began and my battery life is back to normal.
If an automatic update fails, it needs to be detected somehow and disabled. Perhaps a check to see if it's the same signature or reported version as before the update?

### How do we reproduce it?

1: Enable automatic updates with Shizuku
2: install some outdated apps on purpose
3: wait, feel back of device, compare battery drain with updates off.

### What did you expect?

_No response_

### Screenshots

_No response_

### Your phone

Google Pixel 7 Pro

### Android version

CalyxOS 15 EoL release

### Droid-ify version

0.7.0

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.