seedvault-app/seedvault

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

开放

#1,022 创建于 2026年6月14日

 (1 条评论) (0 个反应) (0 位负责人)Kotlin (97 个派生)auto 404
good first issuehelp wanted

仓库指标

星标
 (1,782 个星标)
PR 合并指标
 (平均合并 2天 16小时) (30 天内合并 4 个 PR)

描述

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 ...

贡献者指南