Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

OTA Update fails to install

  • /e/ version: v0.15-q to v0.16-q
  • Device model(s): suzuran, LG G5 (International) h850, maybe also Samsung Galaxy S7

Summary

Updating from version e-0.15-q-20210223103178-test-suzuran to version e-0.16-q-20210413110365-test-suzuran

  • System Updates detects the update, and downloads it successfully on request.
  • When you select Install, the 'Apply update' dialog is displayed correctly
  • Select OK, and the error notification triangle icon appears in the status bar.
  • Swipe down, and the Notification says
Updater
/e/OS 0.15 -13 Apr 2021
Install error

What is the expected correct behavior?

Phone should restart in TWRP / Recovery

Technical informations

Full logcat text attached InstallUpdateFail-logcat.txt

The interesting bit appears at line 200

--------- switch to system
04-20 17:45:23.292  1064  1082 E RecoverySystemService: uncrypt failed with status: -1
--------- switch to main
04-20 17:45:23.293  6737  6737 I /system/bin/uncrypt:   received 0, exiting now
04-20 17:45:23.294  5038  5038 E UpdateInstaller: Could not install update
04-20 17:45:23.294  5038  5038 E UpdateInstaller: java.io.IOException: Setup BCB failed
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at android.os.RecoverySystem.installPackage(RecoverySystem.java:606)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at android.os.RecoverySystem.installPackage(RecoverySystem.java:529)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at org.lineageos.updater.controller.UpdateInstaller.installPackage(UpdateInstaller.java:100)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at org.lineageos.updater.controller.UpdateInstaller.install(UpdateInstaller.java:94)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at org.lineageos.updater.controller.UpdaterService.onStartCommand(UpdaterService.java:206)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4087)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at android.app.ActivityThread.access$1800(ActivityThread.java:219)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1891)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at android.os.Handler.dispatchMessage(Handler.java:107)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at android.os.Looper.loop(Looper.java:214)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at android.app.ActivityThread.main(ActivityThread.java:7356)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at java.lang.reflect.Method.invoke(Native Method)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
04-20 17:45:23.294  5038  5038 E UpdateInstaller: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
04-20 17:45:23.296  5038  5038 I Choreographer: Skipped 61 frames!  The application may be doing too much work on its main thread.
--------- switch to events

Solutions

Workaround

Manually boot into TWRP / Recovery, and install the downloaded update from directory /data/lineageos_updates/

Possible fixes

Edited by Pete Fotheringham