"Zip signature verification failed" when installing LineageOS with latest TWRP? - OnePlus 3T Questions & Answers

"Zip signature verification failed" when installing LineageOS with latest TWRP?
Trying to install the latest LineageOS on my 3T. I'm running the latest TWRP (3.0.3-1). I'm getting "Zip signature verification failed!" when I try to install it.
I've tried the two latest nightlies, both 20170214 and 20170208. Both fail. MD5 checksums match, so the download was successful. I have been able to flash other ROMs just fine.
I assume the signature is supposed to verify, seeing as "signed" is right there in the name of the zip files.
Any ideas what could be going on?
UPDATE: after more research on how verification is supposed to work, I tried running keytool on the file on my desktop, and confirmed that the signature fingerprint matches the one in the LineageOS "Verifying Builds" manual on the LineageOS wiki.
I also confirmed that the MD5 of the file on my device matches the one I just tested on my computer.
Yet, verification is failing on the device... once again, any ideas what could be going on?

Flash latest 4.0.3 firmware and unofficial twrp 3.0.4-1

valimakik said:
Flash latest 4.0.3 firmware and unofficial twrp 3.0.4-1
Click to expand...
Click to collapse
I upgraded to twrp 3.0.4-1 - no luck.
I'm not sure what you mean by "4.0.3 firmware" - you mean OxygenOS 4.0.3? The whole point of installing Lineage is to *replace* that, and the first step in installing Lineage is to wipe the system partition (removing any trace of OOS) - so why would I install it?

Update: I posted to the LineageOS IRC channel and was informed that TWRP can't verify LineageOS signatures yet. I disabled signature verification and was able to install normally.

Related

Updater process ended with ERROR: 7 | assert failed: oppo.verify_trustzone

Hi guys today I tried to update my RR rom to newer version but everytime I try to flash rom i get error:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/Download/RR-N-v5.8.1-20170208-oneplus3t-Official.zip'
Updating partition details...
...done
I tried wiping data, factory resetting, switching system image back to f2fs and on ext4 but nothing, same error every time.. I have TWRP 3.0.4.1 and phone boots to system normaly
99% chance of a corrupt zip.
ast00 said:
99% chance of a corrupt zip.
Click to expand...
Click to collapse
Its not corrupt, i redownloaded zip couple of times, tried different rom zip too, checked md5 it matches, its something else
There is also this error in log:
Comparing TZ version TZ.BF.4.0.1-76917 to TZ.BF.4.0.1-0028.2
assert failed: oppo.verify_trustzone("TZ.BF.4.0.1-76917") == "1"
Your phones firmware partitions are to old, you need to update to the Oxygen OS 4.0.1 stable or even better to 4.0.2 for it to accept it and install.
This is the second thread with the same problem I'm answering.
Just check out koenkks unofficial LOS 14.1 thread, he has linked to the zip packages for TZ 4.0.2 for both 3/3t in the first post.
https://forum.xda-developers.com/showthread.php?t=2522762
Thanks guys I solved the issue yesterday, I just flashed OS 4.0.2 and reflashed latest version of RR over that
That's the long road of doing it, but end result is the same of course.
I'll use this thread since I have a very smiliar problem and I can't post in the developers forums.
I tried to install the latest LineageOS Nightly on my 3t but I also got the assert failed error message.
I used the unofficial TWRP 3.0.4-1 as suggested but one thing I overlooked was this:
"Started from lineage-14.1-20170207-nightly-oneplus3-signed.zip, we provide unified builds for both 3&3T, and you need to install certain firmware to pass the TrustZone assertion. Currently they're the OxygenOS 4.0.2 ones. As oneplus won't update them every time new OTAs are rolling out, firmware from other versions might also pass the assertion."
Yesterday I updated to OOS 4.0.3. (haven't had a custom rom installed yet) Can anyone confirm that this causes the error? Or did someone manage to switch from 4.0.3 to LineageOS?
Since I have a nandroid backup it's not that big of a deal but it's still annoying.
Hope anyone has an idea.
Best Regards

TWRP will not install any zip rom i give it

Hello everyone.
I recently isntalled TWRP on an I9305, but when i try to install a new ROM (lineage OS unofficial, AOKP), it gives me the following message:
Installing zip file '/sdcard/lineage-14-1-20180325-UNOFFICIAL-i9305.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
Failed to map file '/sdcard/lineage-14-1-20180325-UNOFFICIAL-i9305.zip'
Error installing zip file '/sdcard/lineage-14-1-20180325-UNOFFICIAL-i9305.zip'
Click to expand...
Click to collapse
Does anyone have any idea what to do in this situation?
lucasw89 said:
Hello everyone.
I recently isntalled TWRP on an I9305, but when i try to install a new ROM (lineage OS unofficial, AOKP), it gives me the following message:
Does anyone have any idea what to do in this situation?
Click to expand...
Click to collapse
If anyone encounters this problem in the future, and is running a newer version ot TWRP, try downgrading to 3.0.2-1. This worked for me, after trial-and-erroring for a while.
Try this one twrp v3.2.1..
https://drive.google.com/file/d/1RGJ2l6RrKgHzqH9naAPTomop7g3Pr-4j/view?usp=drivesdk
Stuck at twrp
Hello everyone;
Same problem here with TWRP 3.3.1 on S3 9305: Failed to map fileā€¦.
I have wiped and I feel at risk when telephone says before attempting to reboot: No OS installed are you sure you want to reboot. Anything i can do??
Probably too late to change TWRP version now ??
PS I cannot restore as backup is not available

gt-i8190N zip file verification failed (twrp and rom updates)

i have sgs 3 mini with stock rom on android 4.1. I want to update rom but... i installed twrp 2.7 with odin without any problems, i installed supersu on this twrp without any problems too, so next i tried few times to install with odin and with twrp twrp 2.8 from novafusion - fail (zip file verification failed), i tried to install twrp 3.0.2 or 3.2.2 - fail (zip file verification failed). I downloaded cm 11 and cm 14.1 few times and tried to install it from twrp 2.7 or with odin - and it failed too (zip file verification failed). I tried skip zip file verification too - i had bootloop. Any solutions?
now i have stock 4.1 android, latest supersu and twrp 2.7, what i must do next to have cm 14.1 or 11?

Redmi 4X: TWRP, LineageOS, Gapps (Cannot update ROM) (nightly) *error*

Hi everyone,
I'm new here though but am a Xiaomi user from the beggining of Xiaomi into devices with Redmi Note 3G Enhanced.
Currently, I own a Redmi 4X and I would like your expert lights please. I've flashed the latest twrp from twrp.me for my santoni device. Then flashed the latest build from LineageOS Official source + Gapps before booting up for first time. Everything was working perfectly until I decided to flash the latest update of LineageOS as I've seen in my updater it was released. So, I downloaded it through the updater and tried to flash it...
I came up with this "Failed to unmount /system (device or resource busy)" after that re-booted to LineageOS and everything was messed up with Google Services & Apps etc. Then I went back to twrp recovery and tried to flash again the rom but I was still getting that message so I understood something am doing wrong. Also santoni has dm-verity enabled which I know something about but just an info. I really wanna stick with LineageOS on my Redmi 4X forever but I'm afraid to flash it again. I've flashed MIUI 10 Beta by fastboot but now I wanna go back to LineageOS forever (addicted).
My only problem is: After successfuly flashing LineageOS and Gapps, I cannot apply (flash) updates to update the ROM to the latest nightly build due to this error above.
Kind regards,
peryson
Try with different recovery. For example with this
Harukey said:
Try with different recovery. For example with this
Click to expand...
Click to collapse
Instead of trying an unofficial recovery, do I have an option to unmount system manually before flashing through Official TWRP?
peryson said:
Instead of trying an unofficial recovery, do I have an option to unmount system manually before flashing through Official TWRP?
Click to expand...
Click to collapse
You can download latest Lineage OS build and dirty flash it (without any wipes) (so you can unmout system parition). And I don't see any issue in using unoffical twrp.
I also have experienced same error once during upgrade "failed to unmount /system"
Eventually I wiped everything and did clean flash from scratch. This is really annoying issue and demonstrates that upgrade system is not 100% reliable for some reason.
I'm not sure however is it Lineage or twrp issue.

Can't install Magisk (zip signature verification failed)

I cannot install Magisk trought TWRP. Device is of course unlocked and had root before.
When I choose the Magisk zip it says "zip signature verification failed". The file is correct (I've downloaded it couple times and compared the hash).
The problem started when I wanted to update official European MIUI to MIUI 11 - it didn't work in the TWRP. So I have flashed stock ROM with MiFlasher and still cannot install Magisk... Any hints?
Disabling signature verification doesn't help...It shows error: Updater process ended with ERROR: 1
Got the same Problem. Reinstalled my Rom, reinstalled the Kernel

Categories

Resources