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

Skip to content

recovery - failed to verify whole-file signature - Samsung Galaxy S10+

  • /e/ version: e-2.6.3-u-20241217455570-community-beyond2lte
  • Device model(s): Samsung Galaxy S10+ (SM-G975F)
  • Developer mode enabled: yes
  • Device rooted: yes
  • Trackers blocker enabled: yes

Summary

"ERROR: recovery: failed to verify whole-file signature" message displayed on Galaxy S10+ after executing "adb sideload e-2.6.3-u-20241217455570-community-beyond2lte.zip" on Linux system being used to install /e/OS. Same issue occurs when installing "e-2.6.3-u-20241217455570-community-beyond2lte.zip" from an SD card.

The problem

Steps to reproduce

Install "e-2.6.3-u-20241217455570-community-beyond2lte.zip" either using "adb sideload" on a computer or installing from an SD card.

What is the current behavior?

During installation of "e-2.6.3-u-20241217455570-community-beyond2lte.zip" the following text is displayed on the phone

Now send the package you want to apply
to the device with "adb sideload "...
Supported API: 3
Finding update package...
Verifying update package...
ERROR: recovery: failed to verify whole-file signature
Update package verification took 98.7 s (result 1).
ERROR: recovery: Signature verification failed
ERROR: recovery: error: 21

at which point RECOVERY displays,

R (in green circle) e F
RECOVERY Version 2.6.3 ()
Product name - beyond2lte

Signature verification failed Install anyway?

No
Yes

if "Yes" is chosen the installation proceeds with the following displayed on the phone

Installing update...
Target: samsung/lineage_beyond2lte/beyond2lte:14/AP2A.240905.003/eng.root.202412
17.222907:userdebug/release-keys
Patching system image unconditionally...
Patching vendor image unconditionally...
Patching product image unconditionally...
Patching odm image unconditionally...
Patching system_ext image unconditionally...
Patching dtb image unconditionally...
Patching dbto image unconditionally...
Patching vbmeta image unconditionally...
script succeeded: result was [1.000000]

Install completed with status 0.

After the phone is restarted /e/OS appears to work normally.

What is the expected correct behavior?

No ERROR messages, verification of signature(s)...not sure what the exact text should be.

Technical informations

Relevant logs (adb logcat)

Didn't collect logs during installation, would need to reinstall.

UPDATE: adb logcat attached

[20250103-eos-install-error.txt](/uploads/0a1c871c291b6aea1277fc46ec89d731/20250103-eos-install-error.txt)

Relevant screenshots

Solutions

Workaround

none

Possible fixes

Not sure; does "ERROR: recovery: failed to verify whole-file signature" indicate a problem with the signature on "recovery.img" contained in "e-2.6.3-u-20241217455570-community-beyond2lte.zip"? FWIW "recovery-e-2.6.3-u-20241217455570-community-beyond2lte.img" and "recovery.img" (in "e-2.6.3-u-20241217455570-community-beyond2lte.zip") have the same SHA256 hash.

Edited by Tom Carpenter