[Q] Signing an update.zip issues - Android Software/Hacking General [Developers Only]

I'm trying to put together an update to apply changes to generic android 2.2 tablet. Every time I try to apply the update.zip file I get "E:signature verification failed" I have tried many signing tools but that doesn't seems to work.
Can anyone explains to me the basics of signing?
Is signing relative to every device (maybe use same signature that is compatible with the device)
Does the device have to be rooted?
Do I need to set permission within script for files/folders applying to?
Does signing method changes depending on android version (i.e 2.1, 2.2, 2.2.1, or 2.3)
I'm totally confused and would greatly appreciate any hint/ advice

I have tried Update-zip-Packager and seems to make some progress, still having issues through.. Well, now I'm not getting the e:signature verification failed, however, I'm getting the following:
-- Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
Installing update...
Installation aborted.
Not sure if anyone is reading this, but any idea how to troubleshoot this issue?
Thanks!

Very nice thanks

Related

Problems trying to flash the CM7 Nightly build via CWM

I am about to give up trying to flash CM7 so here is my problem
When i select install from zip and choose the zip file, I get this message
-- Installing /sdcard/cm_galaxysmtd_full-181.zip
Finding update package...
Opening update package...
Verifying update package...
E: failed to verify whole-file signature
E: signature verification failed
Installation aborted
Now I am running Darky Rom 10.2.2 with Crysis Sensation theme and the funny thing is I am able to i am able to flash the10.2.2 zip file and the Sensation theme but nothing else..
I even was able to flash MIUI which I was using for a few days before I eventually got this same error when i went to reflash it
Anyone here have a solution to this problem because I am starting to give up
Any help would be much appreciated
Disable signature verification, and see if that works. Most likely a problem with your ROM, SD Card, or some magical obstruction making the phone not read the SD Card properly.
GazaIan said:
Disable signature verification, and see if that works. Most likely a problem with your ROM, SD Card, or some magical obstruction making the phone not read the SD Card properly.
Click to expand...
Click to collapse
I disabled signature verification but still did not work...I can say it is probably a problem with my rom or sd card yet its odd that I can flash Darky Rom to 10.2.2, the key layout and a theme but nothing else...I am so confused lol
I flashed CWM recovery via Rom Manager which I read that I shouldn't of done...But I heard that I can flash back to stock then reroot my device...Any thruth to this? I just want to flash Cyanogen mod to my device, is that too much to ask lol
It's not a zip within a zip is it?
DirkGently said:
It's not a zip within a zip is it?
Click to expand...
Click to collapse
No it isn't
I know it has something to do with flashing CWM via Rom Manager because I wasn't able to flash any roms after I did that

[Q] UI-One XPRESSION Flashing Trouble

Hey all.. I am pretty new here.
Lately, I've tried a few rooms here, since the last I flashed my Optimus one p500 was year a go. Last week, I tried Icysnap Octopussy..but I have a problem when I just want to change to MIUI UI One Xpression...
I use clockworkmod, boot into recovery mode.. and, as usual: wipe factory reset, dalvik cache, battery, sd ext.. but when I just want to flash the [ROM] UI-One [MIUI- GB] XPRESSION [01-12-12], it goes:
Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
E: Wrong digest:
system/lib/libsurfaceflinger.s
o
E:Verification failed
Installation aborted
--------------------------------
I dont have any comparison when I use md5 checker, but when I expand the zip file in windows, I found libsurfacelinger.so..
anybody know?? need a guide here...
thankyou so much
kiragiga said:
Hey all.. I am pretty new here.
Lately, I've tried a few rooms here, since the last I flashed my Optimus one p500 was year a go. Last week, I tried Icysnap Octopussy..but I have a problem when I just want to change to MIUI UI One Xpression...
I use clockworkmod, boot into recovery mode.. and, as usual: wipe factory reset, dalvik cache, battery, sd ext.. but when I just want to flash the [ROM] UI-One [MIUI- GB] XPRESSION [01-12-12], it goes:
Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
E: Wrong digest:
system/lib/libsurfaceflinger.s
o
E:Verification failed
Installation aborted
--------------------------------
I dont have any comparison when I use md5 checker, but when I expand the zip file in windows, I found libsurfacelinger.so..
anybody know?? need a guide here...
thankyou so much
Click to expand...
Click to collapse
have u wiped system too and yes then try downloading the rom again
disable verification first from the recovery, and then flash

XNPH38R Update error – No computer available

Hey there,
okay so these Oneplus One OTA problems are getting really annoying..
I can't update to 38R:
When trying via OTA:
Can't install this package on top of incompatible data. Please try another package or run a factory reset
E: Error executing updater binary in zip '/cache/.....zip'
E: Error installing zip file 'cache/.....zip'​​(NOT this common error with an .apk or .xml file in the end - because I didn't edit them).
Trying the modified 38R .zip:
Can't install this package on top of incompatible data. Please try another package or run a factory reset
E: Error executing updater binary in zip '/sdcard/.....zip'​Zip file verification is unchecked.
Things I did to my phone:
Xposed (uninstalled before)
Franco Kernel (uninstalled before)
Freezed some system apps (defrosted before)
Okay now comes the tricky point: I'm backpacking through asia, I barely have computers around and if I do, mostly guest accounts who won't allow to install anything (here: SDK). So the way over fastboot, which (eventually after 10 hours of trial and error) worked for me last time won't be possible here.
Invested WAY too much time again in doing research and downloading tons of Gigabytes with crappy internet speed. Too proud to open a thread. Damn
The one who finds a solution gets a virtual kiss and a cup of tea whenever I meet him. nohomo.
Milanwraith said:
Hey there,
okay so these Oneplus One OTA problems are getting really annoying..
I can't update to 38R:
When trying via OTA:
Can't install this package on top of incompatible data. Please try another package or run a factory reset
E: Error executing updater binary in zip '/cache/.....zip'
E: Error installing zip file 'cache/.....zip'​​(NOT this common error with an .apk or .xml file in the end - because I didn't edit them).
Trying the modified 38R .zip:
Can't install this package on top of incompatible data. Please try another package or run a factory reset
E: Error executing updater binary in zip '/sdcard/.....zip'​Zip file verification is unchecked.
Things I did to my phone:
Xposed (uninstalled before)
Franco Kernel (uninstalled before)
Freezed some system apps (defrosted before)
Okay now comes the tricky point: I'm backpacking through asia, I barely have computers around and if I do, mostly guest accounts who won't allow to install anything (here: SDK). So the way over fastboot, which (eventually after 10 hours of trial and error) worked for me last time won't be possible here.
Invested WAY too much time again in doing research and downloading tons of Gigabytes with crappy internet speed. Too proud to open a thread. Damn
The one who finds a solution gets a virtual kiss and a cup of tea whenever I meet him. nohomo.
Click to expand...
Click to collapse
Exactly what build are you currently running? If it's anything but 33R it will fail to install. Also, uninstalling Franco still leaves remnants behind that will cause an OTA to fail. Anyway, long story short, your best option is to download the recovery flashable of 38R to your phone, full wipe, and flash it in TWRP. Job done.
https://www.androidfilehost.com/?fid=95747613655046955
Transmitted via Bacon
Thanks.
Yeah 33R.
Okay I already guessed that I have to take the pain and do a wipe.. gonna wait with that a few says since 44S came out now.

Rooting Asus TF103C NA_EDU Build Tablet

Hi guys,
I've been trying to root an Asus TF103C K010 with build number EDU_NA-3.2.36.44 without luck. Here are the approaches that I thought could work in theory, but didn't end up working:
1. Rooting via RootZenFone-1.4.6.4r.apk - This app rooting method works with builds that has the Asus Demo program. However, the EDU_NA build doesn't come with the Demo program, so this approach didn't work. I couldn't install the Asus Demo program onto the EDU_NA either.
2. I tried switching the build SKU from EDU_NA to WW via adb sideload of the WW firmware in Recovery mode (the tablet wouldn't allow loading from SD card in Recovery mode). However, I wasn't successful in that approach either. The tablet kept producing the following error:
"Finding update package...
Opening update package...
Verifying update package...
E:end of footer from /tmp/update.zip not 0xFFFF (file exists)
E:signature verification failed
Installation aborted."
As some posts alluded to, I tried to rename the firmware file from WW to EDU_NA to "trick" the tablet thinking that it's a EDU_NA update zip file. That didn't work either.
Anyone with success on rooting this build? Thanks!
One additional point, I believe this is a Google Play for Education tablet with their version of the Android OS.
szuchen247 said:
One additional point, I believe this is a Google Play for Education tablet with their version of the Android OS.
Click to expand...
Click to collapse
Hi, did you ever get a response on this or actually get the EDU sku rooted?
szuchen247 said:
E:end of footer from /tmp/update.zip not 0xFFFF (file exists)
E:signature verification failed
Installation aborted."
As some posts alluded to, I tried to rename the firmware file from WW to EDU_NA to "trick" the tablet thinking that it's a EDU_NA update zip file. That didn't work either.
Click to expand...
Click to collapse
Hi,
I'm trying to upgrade mine to something newer than Android 4.4.4, but the System update fails to connect and the EDU build is weird.
I think the problem you mention is that there is a zip inside the zip you are trying to install, so you need to extract it once and then it will verify ok.
But for me, after that, with the official update for TF103C it says that the firmware is for K010 not K010_1 and looking in Asus site could not find anywhere a firmware for K010_1.
Does anyone know which firmware can I use? Can I force a k010 image into the device anyway? I suspect it might work fine.
Build Number: EDU_NA-3.3.36.32
Model Number: K010
PS: I know this is super old thread but I though better than starting a new one.
UPDATE:
The firmware is suposedly for the trransformer 2014 which would be this one that has no available firmware from asus.
ASUS Transformer Pad (TF103CX)​

[Completed] How to reset my HTC One Max

I am a total newbie to Android modifications, and tried to find a way of specifying custom notifications on my HTC One Max. I have later found the application Ringdroid that fixes everything that I needed, but before I did that, I believed that I had to root the phone to achieve this. So, I read a lot of stuff, downloaded a lot of files, messed with adb, clockworkmod, rumrunner etc. without really knowing what I was doing, and in the end gave up, since it didn't look like I managed to root the phone properly after all. But, anyway, I understood that something had changed, since a couple of applications were missing. Anyway, the phone has worked fine since then, until recently, when I got a notice that software update 4.13.401.7, containing Android 5.0 Lollipop, and various other stuff, was ready for installation. So, I downloaded the update, and told it to install. The phone reboots, and then I get the following message:
CWM-based Recovery v6.0.5.1
E: Invalid command argument
E: Invalid command argument
Finding update package...
E: unknown volume for path [INTERNALSDCARD:0/Do
wnload/OTA_T6_UL_L50_SENSE60_MR_HTC_Europe_4.1
3.401.7-3.23.401.1_release_4360116ezjvoz69qm8r
zky.zip]
E: Can't mount INTERNALSDCARD:0/Download/OTA_T6
_UL_L50_SENSE60_MR_HTC_Eutope_4.13.401.7-3.23.
401.1_release_4360116ezjvoz69qm8rzky.zip
Installation aborted.
Rebooting...
Is there a way of letting me a) reset my phone to the default settings, letting me do this upgrade? or b), do this upgrade without resetting it?
XDA Visitor said:
I am a total newbie to Android modifications, and tried to find a way of specifying custom notifications on my HTC One Max. I have later found the application Ringdroid that fixes everything that I needed, but before I did that, I believed that I had to root the phone to achieve this. So, I read a lot of stuff, downloaded a lot of files, messed with adb, clockworkmod, rumrunner etc. without really knowing what I was doing, and in the end gave up, since it didn't look like I managed to root the phone properly after all. But, anyway, I understood that something had changed, since a couple of applications were missing. Anyway, the phone has worked fine since then, until recently, when I got a notice that software update 4.13.401.7, containing Android 5.0 Lollipop, and various other stuff, was ready for installation. So, I downloaded the update, and told it to install. The phone reboots, and then I get the following message:
CWM-based Recovery v6.0.5.1
E: Invalid command argument
E: Invalid command argument
Finding update package...
E: unknown volume for path [INTERNALSDCARD:0/Do
wnload/OTA_T6_UL_L50_SENSE60_MR_HTC_Europe_4.1
3.401.7-3.23.401.1_release_4360116ezjvoz69qm8r
zky.zip]
E: Can't mount INTERNALSDCARD:0/Download/OTA_T6
_UL_L50_SENSE60_MR_HTC_Eutope_4.13.401.7-3.23.
401.1_release_4360116ezjvoz69qm8rzky.zip
Installation aborted.
Rebooting...
Is there a way of letting me a) reset my phone to the default settings, letting me do this upgrade? or b), do this upgrade without resetting it?
Click to expand...
Click to collapse
Hi, thanks for using XDA assist!
First, please create an account so you can post in other forums.
Here is the main forum area for your device:
http://forum.xda-developers.com/htc-one-max
Here's where you should ask for help:
http://forum.xda-developers.com/htc-one-max/help
Consider bookmarking these sites for future reference.
Your device experts are located there and will be able to help.
Good luck!

Categories

Resources