Project

General

Profile

"failed to verify whole file signature" during upgrade in recovery, Galaxy S2

Added by Bodo Sonntag 3 months ago

When trying to upgrade to replicant-6.0-0004-rc1-i9100 I get the message
"E:failed to verify whole file signature
E:signature verification failed
Installation aborted"

I did flash the latest recovery-i9100.img

I sucessfully checked the zip file using gpg --verify

(I could stay with 0003, but my new SIM card is not recognized and I was hoping to solve the problem with the 0004 release)

Thank you for any advice


Replies (3)

RE: "failed to verify whole file signature" during upgrade in recovery, Galaxy S2 - Added by Kurtis Hanna 3 months ago

Hello Bobo,

Can you verify that you flashed this recovery? https://ftp.osuosl.org/pub/replicant/images/replicant-6.0/0004-rc1/images/i9100/recovery-i9100.img

If you aren't 100% positive, can you please flash that recovery onto your i9100 again? If that is the recovery you are using, replicant-6.0-0004-rc1-i9100.zip shouldn't have the signature verification failure you experienced unless there is a bug.

Thanks for testing this out for us!

Cordially,
Kurtis

RE: "failed to verify whole file signature" during upgrade in recovery, Galaxy S2 - Added by Bodo Sonntag 3 months ago

Hello Kurtis,
thank you for the quick reply.
1) It was my fault as I forgot the --KERNEL option when flashing the recovery image.
(sha256 sums of *.img from your link and the one I used are the same)

2) unfortunately then upgrade to replicant-6.0-0004-rc1-i9100 failed with a new message:
Target: samsung/GT-I9100:4.1.2/....
detected filesystem ext4 for /dev/block/mmcblk0p9
detected filesystem ext4 for /dev/block/mmcblk0p10
Can't install this package on top of incompatible data.
Please try another package or run a factory reset
E:Failed to install/sideload/package.zip
..
Installation aborted

The same happened when I did an adb sideload using the 0003 zip.
Thus I decided to do a factory reset - not a big pain - and installed the 0004 release
which now works fine AND recognizes my new SIM card!

Let me know if I can help debugging.
I could try to re-generate the above errors on my other S2,
where I think I installed the same release 0003 some time ago.

Regards,
Bodo

RE: "failed to verify whole file signature" during upgrade in recovery, Galaxy S2 - Added by Kurtis Hanna 3 months ago

Hi Bodo,

The issue you experienced with #2 is related to #1916, in that we haven't written proper instructions yet for installing 6.0 0004 rc1 from Replicant 6.0 0003, even though a full factory reset is mandatory.

We tried to place this warning in a place that people will see though: https://ftp.osuosl.org/pub/replicant/images/replicant-6.0/0004-rc1/README_VERY_IMPORTANT_INFORMATION.txt

If you'd like to help us write up this documentation based on your experience, please let me know and I'll give you wiki editing capabilities.

Cordially,
Kurtis

    (1-3/3)