System Updater can't import local update
- /e/ version: 2.1-t-20240603406607-stable-FP5
- Device model(s): FP5
- Developer mode enabled: yes
- Device rooted: yes
- Trackers blocker enabled: yes
Summary
Importing a manually downloaded update through the menu option 'local update' fails.
The problem
Steps to reproduce
- download a new Update for your device externally
- go to the update in the settings
- select 'local update' from the menu
- choose the downloaded file
- the import fails
What is the current behavior?
externally downloaded updates cannot be imported to the system updater
What is the expected correct behavior?
externally downloaded updates are importable to the system updater
Technical informations
From the log I can see an error complaining the file couldn't be verified as it has been deleted.
Relevant logs (adb logcat
)
...
[32m07-26 10:31:17.483 3518 5821 I MediaProvider: Open with lower FS for /storage/emulated/0/Download/IMG-e-2.2-t-20240715417772-stable-FP5.zip. Uid: 10079
...
[31m07-26 10:31:23.658 28664 25612 E UpdateImporter: Failed to import update package
[31m07-26 10:31:23.658 28664 25612 E UpdateImporter: java.lang.Exception: Verification failed, file has been deleted
[31m07-26 10:31:23.658 28664 25612 E UpdateImporter: at org.lineageos.updater.UpdateImporter.verifyPackage(UpdateImporter.java:203)
[31m07-26 10:31:23.658 28664 25612 E UpdateImporter: at org.lineageos.updater.UpdateImporter.lambda$onPicked$2(UpdateImporter.java:91)
[31m07-26 10:31:23.658 28664 25612 E UpdateImporter: at org.lineageos.updater.UpdateImporter.$r8$lambda$JvEuq_Y8VIMupLlkko0k9A6Amk4(Unknown Source:0)
[31m07-26 10:31:23.658 28664 25612 E UpdateImporter: at org.lineageos.updater.UpdateImporter$$ExternalSyntheticLambda0.run(Unknown Source:4)
[31m07-26 10:31:23.658 28664 25612 E UpdateImporter: at java.lang.Thread.run(Thread.java:1012)
...