radxa Rock2 - apply update.zip from recovery - Signature Verification Failed - Android Q&A, Help & Troubleshooting

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,

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((

Error kitchen

help me, in dsixda I have an error when making update.zip -
scripts / build_rom: line 363: cd: META-INF/com/google/android: no such file or directory
Error: update zip not created
I step after creating the "aroma", anyone know how I can fix this?
if I want install it on the CWM me says installation Aborted.

error when to install the file..

Hi...I m trying to donwload cm-14.1-20161111-UNOFFICIAL-n7100.zip from Tilak TWRP but the error saying that
E3004: This package is for device: t03g.n100,GT-N7100: this device is t01teatt.
E:unknown command [log]
Updater process ended with ERROR: 7
Error installing zip file '/external_sdcard/cm-14.1-20161111-UNOFFICIAL-n7100.zip'
Please help me how to solve this problem. Thank you.

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!

Why I am having “E: failed to verify whole-file signature” even after signing it?

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.

Categories

Resources