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

Aperta
#1,277 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

Inizia tracciando il flusso di aggiornamento automatico di Shizuku e riproduci il comportamento di aggiornamenti falliti ripetuti con i passaggi riportati in questo issue, tenendo conto del problema correlato in #1266. Il lavoro sarà considerato completato quando un aggiornamento automatico fallito verrà rilevato e non continuerà a essere ritentato in un modo che consumi la batteria o le risorse del dispositivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Before you submit
  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • 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

Lingua principale
Kotlin
Stelle
7.7k
Fork
233
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Droid-ify/client

Tutte le issue di Droid-ify/client

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.