[Q] Question on zip file signature verification - General Questions and Answers

HI,
I have been trying to create a signed zip file that can be installed through recovery.
I created a simple one using edify (updater-script) and other one using ammend (update-script).
I signed them with
java -classpath /path/testsign.jar testsign update.zip update-signed.zip
which completed without errors.
I can open the zip file and everything seems fine.
When I try and install the zip file it fails with E:signature verification failure.
Without signature verification it does install. I used the edify method in this case.
I tried CWM ver 5.0.2.7 5.0.2.8 5.8.3.4 6.0.1.3
and TWRP 2.3.2.3 2..1.8 2.2
To test further I installed Superuser-3.0.7-efghi-signed.zip from this site
It installs with all the cwm but not the twrp recovery.
however Superuser-3.1.3-arm.zip passes signature verification and installs with twrp 2.3.2.3
What am I doing wrong when I sign a zip file? I would like it to be able to install with signature verification
Any help would be appreciated
thanks,

Related

[Q] Need help after rooting

i rooted using exploit v 2.3.0 with superuser.apk and it worked on my epic since i see superuser. the problem i have is that when i download rom manager and install clockworkmod 2.5.1.0 from rom manager for my epic. then i proceed to backup current rom, i give it a name and then reboots my phone to factory recovery and this is what i see:
android system recovery <2e>
samsung recovery utils
-for BML-
reboot system now
apply sdcard:update.zip
wipe data cache
wipe cache partition
install from package...
finding update package
opening update package
verifying update package
E:failed to verify whole file signature
E:signature verification failed
insstallation aborted
can anyone help me backup so I can download new roms afterwards.
Clockwork didn't install bro. Try using the run last.bat, that one works when not rooted, I had issues when already rooted sometimes. You could also try selecting apply update.zip, I think flashing recovery in rom manager puts an update.zip on your sd which opens cockwork recovery when applied from stock rec
Sent from my SPH-D700 using Tapatalk
where can I find the run.bat file? I have looked in the clockworkmod folder on the sdcard, not there tho.
selecting apply update.zip also does the exact same thing
android system recovery <2e>
samsung recovery utils
-for BML-
reboot system now
apply sdcard:update.zip
wipe data cache
wipe cache partition
install from package...
finding update package
opening update package
verifying update package
E:failed to verify whole file signature
E:signature verification failed
installation aborted

signature varification failed while flashing odex JB sense 4+ ROM on my HTC explorer

I have tried flashing my phone with Odex JB Sense 4+ ROM but I have got an error called "Signature Varification Failed"!
What Shoud i do ??
You need a custom recovery.
CWM will do. But because CWM is not available to the HTC Explorer, Ill show you CWM. Just download the file, install the downloaded zip file in recovery, and it will boot you to another recovery. In that recovery (CWM recovery) Signature Verification is automatically disabled. So you can choose anything you want to flash (Only if the file has no error).
In link choose HTC PICO:
Link: http://clockworkmod.com/rommanager
Be sure to click that THANK button!

[Q] viper4androod installation on stock 4.4.4

Hi,
I tried to install ViPER4Android_FX_v2330 on stock via philz cwm.
Every downloaded file give me 'signature verification error' and zip installation aborts.
What em i doing wrong ?
Just install the apk

Error during shield update

Hello,
I can update my shield tablet. I get that error:
Code:
Updating partition details …
… done
Full SELinux support is present
Running Recovery Commands
Installing zip file '@/cache/recovery/block.map'
Installing zip file '@/cache/recovery/block.map'
Checking for MD5 file …
Sskipping MD5 check*: no MD5 file found
Source*: nvidia/sb_na_wf/shieldtablet:6,0,1/MRA58K/40827_726,62502:user/release-keys
Target: nvidia/sb_na_wf/shieldtablet:6,0,1/MRA58K/49349_766,5399:user/release-keys
Verifying current system...
Package expects build fingerprint of nvidia/sb_na_wf/shieldtablet:6,0,1/MRA58K/40827_726,62502:user/release-keys or nvidia/sb_na_wf/shieldtablet:6,0,1/MRA58K/49349_766,5399:user/release-keys*; this device has nvidia/sb_na_wf/shieldtablet:6,0:MRA58K/41524_664,1902:user/release-keys.
Update process ended with ERROR*: 7
Error installing installing zip file '@/cache/recovery/block.map'
Done processing script file
MTP Enabled
Can someone help me?
bird12358 said:
Hello,
I can update my shield tablet. I get that error:
Code:
Updating partition details …
… done
Full SELinux support is present
Running Recovery Commands
Installing zip file '@/cache/recovery/block.map'
Installing zip file '@/cache/recovery/block.map'
Checking for MD5 file …
Sskipping MD5 check*: no MD5 file found
Source*: nvidia/sb_na_wf/shieldtablet:6,0,1/MRA58K/40827_726,62502:user/release-keys
Target: nvidia/sb_na_wf/shieldtablet:6,0,1/MRA58K/49349_766,5399:user/release-keys
Verifying current system...
Package expects build fingerprint of nvidia/sb_na_wf/shieldtablet:6,0,1/MRA58K/40827_726,62502:user/release-keys or nvidia/sb_na_wf/shieldtablet:6,0,1/MRA58K/49349_766,5399:user/release-keys*; this device has nvidia/sb_na_wf/shieldtablet:6,0:MRA58K/41524_664,1902:user/release-keys.
Update process ended with ERROR*: 7
Error installing installing zip file '@/cache/recovery/block.map'
Done processing script file
MTP Enabled
Can someone help me?
Click to expand...
Click to collapse
some more information might help people help you mate, are you rooted, do you have a custom recovery installed or are you running a custom rom? things like that help us alot
I user to be as root. But I restore factory setting ans I still have thé error.
Should i made an other thing to suppress thé root settings.?
Yes Mate I thought no so do you have a custom recovery installed
Sent from my HTC One using Tapatalk
I don t think I have that recovery installed. Where could I find this?
bird12358 said:
I don t think I have that recovery installed. Where could I find this?
Click to expand...
Click to collapse
Turn off your tablet then hold volume down and the power button untill you get to the boot loader then use the volume down button to select recovery and press power if you have a custom recovery it will bot to it and it will say team win recovery
Sent from my HTC One using Tapatalk
It seems I don t have a custom recovery. How should I do nos?

Error installing magisk on twrp

hi someone pls help me i get this error when trying to install magisk on twrp:
Code:
Could not find 'META-INF/com/google/android/update-binary' in the zip file.
Error installing zip file 'sdcard/Download/Magisk-24.2.zip
ZIP-file is corrupted.
Use a ZIP-file what contains the missing installer.

Categories

Resources