Help - Android Q&A, Help & Troubleshooting

Failed: -2, 12: fail to flash via downloadzip
The insertion gives error messages! It is possible to learn interpretation?

Related

Help with unlocking

at the last step i get the message
cerun: failed to exute program
i also get a error meassage from microsofe.net saying:
unhandled exception has occured in your application
the system cant find the file specified

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

Asus Zenfone 5 Error Update

Hello,
I have a problem when I want to update my phone to turn off phone downloads the update and then begins to install. After a while, there will pop up an error ...
Code:
assert failed: apply_patch_check("/system/framework/com.google.widene.software.drm.jar", "73d0249e3b43f81d8987d063cb2ed62b8", "527c9286926925fac299a68f301fa06b349931c7"
return code 8E:Error in /cache/dlpkgfile
(Status 8)
E: fota_return_code 403
E: Install of /cache/dlpkgfile failed with status 1
Help me with that someone?
nitrancan said:
Hello,
I have a problem when I want to update my phone to turn off phone downloads the update and then begins to install. After a while, there will pop up an error ...
Code:
assert failed: apply_patch_check("/system/framework/com.google.widene.software.drm.jar", "73d0249e3b43f81d8987d063cb2ed62b8", "527c9286926925fac299a68f301fa06b349931c7"
return code 8E:Error in /cache/dlpkgfile
(Status 8)
E: fota_return_code 403
E: Install of /cache/dlpkgfile failed with status 1
Help me with that someone?
Click to expand...
Click to collapse
Replace com.google.widene.software.drm.jar with the original one then fix permission to rw-r-r then reboot.
Where to find it?
just after fail update do "wipe cache partition"

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