seedvault-app/seedvault

Install apps not progressing when screen goes off in restore phase of lineageos 22 first boot

Open

#1,022 opened on Jun 14, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Kotlin (97 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (1,782 stars)
PR merge metrics
 (PR metrics pending)

Description

I am currently restoring a backup when lineageos 22 is first booted on a factory reset device. I noticed that the installing of apps does not progress once the screen turns off. I have to turn on the screen such that it moves forward. The screen goes off after a few seconds and the install phase is long, it takes probably 30 minutes or more. Also the screen turn off time at this stage of lineageos provisioning is hard coded, no way to increase it before running the seedvault restore.

It would be nice if seedvault could restore apps without user interaction. As seedvault is a system app it should not be a problem to run even if the screen is off.

I know that there was a bug in android in the past sometimes not fireing the 'app is installed' event resp. listeners were not notified. I don't know if seedvault has some polling mechanism additionally running to circumvent this. Maybe this polling mechanism is not executing when the screen is off, or the 'app is installed' event is not fired / catched? It seems that the 'restore app data' phase of seedvault which runs after all apps are installed is not suffering from the problem that it does not progress when the screen is off ...

Contributor guide