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

Skip to content

Signature mismatch while sideloading/OTA update T build

  • /e/ version: 2.0-T
  • Device model(s): beyond2lte
  • Developer mode enabled: yes
  • Device rooted: no
  • Trackers blocker enabled: yes

Summary

Signature mismatch while sideloading T build while recovery shows R recovery

The problem

Steps to reproduce

Issue reproduced.

  • Install e-1.21-t-20240325389105-dev-starlte
  • Enable Update recovery option during initial setup of the device
  • Update to e-2.0-alpha.5-t-20240412393143-dev-starlte
  • Reboot to OS
  • Apply update e-2.0-beta.3-t-20240426396877-dev-starlte

What is the current behavior?

  • r based recovery on t based build (R is for Recovery not Android R)
  • Signature mismatch
  • update failed via OTA and sideload

What is the expected correct behavior?

  • Update successful

Technical informations

Relevant logs (adb logcat)

[    2.820891] I:failed to verify against RSA key 0
[    2.820908] I:failed to verify against RSA key 1
[    2.820913] I:SHA-1 digest: cd6dbe9cc04aaeefe1d84522a4d217d95fb99e31
[    2.820917] ERROR:   recovery: failed to verify whole-file signature
[    2.846339] Update package verification took 2.4 s (result 1).
[    2.912771] ERROR:   recovery: Signature verification failed
[    2.979375] ERROR:   recovery: error: 21
[    3.048074] I:current maximum temperature: 43000
[    3.048109] I:@/cache/recovery/block.map

Relevant screenshots

image

image

doc_2024-05-13_17-54-10

Solutions

Workaround

Possible fixes

/cc @nicofonk

Edited by Nicolas Gelot