Why I am having “E: failed to verify whole-file signature” even after signing it? - Android Q&A, Help & Troubleshooting

I have downloaded a template from https://forum.xda-developers.com/an...-complete-shell-script-flashable-zip-t2934449 and added my commands into it. But when I sign zip file with sign-em, typing various commands, I am having issue."E: failed to verify whole-file signature and E:signature verification failed after Applying update in android recovery.

Related

Need help with ICS update

Hello guys!
Not long time ago I received a message that it's time to update my RAZR (rooted XT910). I downloaded it & tried to update, but recieved an "Error 7". I looked in log & found that the error arises from the fact that once I deleted some retarded sys app - HotspotLauncher. After a long walk on the internet, I found the right HotspotLauncher.apk, which checksum is the same as required for update, and put it in the system/app/. Once again tried to update, but again recieved "Error 7". Now the update has stalled because of a file HotspotLauncher.odex. I tried all HotspotLauncher.odex, which I could find, but no one of them did not match the checksum.
This is my update-log:
Verifying current system...
failed to stat "/system/app/HotspotLauncher.odex": No such file or directory
file "/system/app/HotspotLauncher.odex" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/HotspotLauncher.odex", "d2b55feb3aeac2dc68a47f90bc83101e7ebca621", "5bf19f3d57823e4a8c527b98ddfd711b383df3b7")
assert failed: apply_patch_check("/system/app/HotspotLauncher.odex", "d2b55feb3aeac2dc68a47f90bc83101e7ebca621", "5bf19f3d57823e4a8c527b98ddfd711b383df3b7")
E:Error in /cache/Blur_Version.65.1.40.XT910.AsiaRetail.en.03.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
I appeal to you, guys, maybe someone has the HotspotLauncher.odex with necessary checksum? (SHA1)
Really don't want to flash/wipe my phone again((

Root: Invalid binary Signature

when i start loading recovery-cwm_4.0.0.4-sam-tab-10.1.tar with odin,there is a error in my screen
"Invalid binary signature"
I dont root it.Rom was bloked by admin of project.
How?
My tab is gt--p7500

How to diagnose 4.4.4 XT2021 OTA installation failure?

I'm unlocked and have been rooted with Xposed installed. I reverted back to stock recovery, uninstalled Xposed and do the SuperSU full uninstall. I'm still failing to install the OTA. I pulled the log files from /cache/recovery, but I'm not really seeing anything obvious in there. Can anyone offer suggestions on how to figure out what file is failing the hash check? What I'm seeing in terms of the errors in the log is:
Code:
Finding update package...
I:Update location: /cache/Blur_Version.21.12.34.condor_retuglb.retuglb.en.US.zip
Opening update package...
I:read key e=3 hash=20
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1462 bytes; signature 1439 bytes from end
I:failed to verify against key 0
E:failed to verify whole-file signature
I:verify_file returned 1
E:signature verification failed
Installation aborted.
Installation aborted.
I:Saving locale "en_US"
Rebooting...
Any information is appreciated.
Thanks,
Craig
Same thing here, i unlocked and rooted it and after a few days i got the OTA update but it kept downloading and "installing" but nothing really happened.
I have flashed stock roms and custom roms but nothing works...

radxa Rock2 - apply update.zip from recovery - Signature Verification Failed

Hi All
i have radxa Rock2 device - http://radxa.com/Rock2
i try to make update.zip for it.
I use "testkey" certificate from rock2 sdk(ROM is open source) to sign in update.zip but i get error when try to apply my update from recevory
Error message:
E: Footer is wrong
E. Signature Verification Failed
i used this article to create update.zip - http://www.londatiga.net/it/how-to-create-android-update-zip-package
Could you help me to understand why it doesn't work?
my update script has just one line - ui_print and one empty end line
thanks,

Flashing update.zip signed w/OEM keys returns “failed to verify whole-file signature"

Flashing update.zip signed w/OEM keys returns “failed to verify whole-file signature"
I have an update.zip which include an APK in the system/priv-app/ folder, a boot and shutdown animations and an SSH server among other things. I have the private and public keys of the OEM who sold me tablet so I used sigapk.jar to sign the update.zip file. The command I used is the following:
Code:
java -jar signapk.jar -w certificate.x509.pem key.pk8 update.zip update-signed.zip
Then after trying to flash this file via stock recovery using sideload (
Code:
adb sideload update-signed.zip
) I get the following error:
Code:
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
Restarting adbd...
Installation aborted.
Previously, I was trying to flash the update.zip without signing it and the result was the following:
Code:
Verifying update package...
E:footer is wrong
E:signature verification failed
Restarting adbd...
Installation aborted.
Actually I do not know if the difference in the error (footer is wrong --> failed to verify whole-file signature) is because the keys are working or not, or maybe because the file didn't have any signature at all. Can someone help me with this and tell my why is it not working if I am using the OEM's .pem and .pk8 keys?
EDIT:
I also tried adding the certificate.x509.pem file inside the META-INF/com/android/otacert folder inside the update.zip file and then sign it, but that also didn't work.
Really, no one has any idea of how to solve this issue?
sebastiantoro84 said:
Really, no one has any idea of how to solve this issue?
Click to expand...
Click to collapse
Yeah Cuz almost No One Has the private OEM Key
If you just Link the private OEM Key I can fix it! Or someone just fix it!

Categories

Resources