Updater process ended with ERROR: 7 | assert failed: oppo.verify_trustzone - OnePlus 3T Questions & Answers

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

Related

[Q] [HELP] I need help installing the MIUI ROM!

Hello XDA Forums.
Hello Guys, I need some help installing the MIUI ROM on my HTC ONE m7_UL
problem which I have is that whenever I try to install the MIUI Official V5 ROM for my HTC m7_UL, it does not allow me to install it, it keeps giving me error messages while installing, i have followed the thread on how to install but I got no success.
This is the error code which I receive on TWRP, I also have the latest version of TWRP I think which is V2.6.3.3
Error Code:
Code:
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
assert failed: getprop("ro.product.device") ==
get prop("ro.build.product") == "M7"
E:Error executing updater binary in zipp '/sdcard
Error flashing zip
I have tried to change the updater-script in the rom too by changing the "M7" to "M7ul" but it had no change.
I really want the MIUI Rom on my phone as it looks really good.
My Phone has S On and is rooted with bootloader unlocked.
I have tried to install the rom from 2 different threads, both threads are MIUI V5 ROM, I dont know why this is happening, I have also tried to search the code which I have posted on Google but I didn't get any luck with that.
I have also followed the instructions on the original post of MIUI V5 on their forums but i still had no success in that. I will write down the instructions underneath to make sure that I am doing it right.
I am following these steps carefully but still not managed to have success!
1)Download TWRP 2.6.3.0 from here
1.1) Download MIUI ROM & Gapps
2) Backup, Backup & final BACKUP.
3) Wipe your Previous ROM data, caches and Dalvik caches
4) Flash Downloaded MIUI Package
5) Flash Downloaded Gapps
6) Reboot.
Hope this problem could be resolved really quickly because I really want the MIUI ROM because it looks awesome.
Also does MIUI ROM even support M7_UL as I have this phone.
My phone has TWRP 2.6.3.3 installed.
The phone also has S ON
My phone is the M7_UL
Hope someone could resolve this problem!
try doing step one agian but this time install twrp 2.6.3.0

"Zip signature verification failed" when installing LineageOS with latest TWRP?

"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.

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

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.

Error 7 issue after android Q

hello
It's been a while since I wrote anything on XDA, so please be gentle
Let's get the ball rolling.
I have been using MI9 since launch. I bought mine directly at the store in Shanghai, and brought it with me to Europe. After 2 weeks i unlocked the bootloader, and was able to flash TWRP + xiaomi.eu ROM (current beta at that time).
For a couple of months I received OTA updates (all firty flashes), up until introduction of beta android Q (miui 11).
I downloaded the ROM, and flashed, everything worked fine. after some time I had an issue with google pay, so thought of reverting to android Q. I checked, and dirty flash was not recommended option, so I prepared Android P ROM (not sure if exact version is relevant), booted to TWRP (3.3.1.42), wiped the data and tried to flash the ROM (from USB OTG).
Sadly - received error 7, some info about system partition.
I tried reflashing android Q - only to receive the same error.
Stuck at TWRP or fastboot, I used miflash and returned to a global stable.
then I reflashed twrp hoping to remove the error, but had the same error while flashing. Tried to flash from both internal memory, and usb OTG.
returned with miflash to stable, to use the phone..
bootloader is still unlocked, I can flash twrp again, but it will be wiped once I restart the system (as global roms "reflash" recoveries when they boot up).
I looked on some guides how to deal with error 7, but most of them aren't applicable (removing asses lines from config files, as there is no assess line in the ROMs).
Perhaps I am missing some files that I should flash, such as "vendor" files, or something ?
I thought that miflash restores fully to factory state, so TWRP shouldn'[t give any more errors.
There might be something wrong about either the rom, or the twrp.
> Since error 7 is the updater script checking for the phone model, it's either a bad script, or you missed an asserts file when flashing with MiFlash, as even the "factory" roms might not contain all partitions.
> Some partitions can't be seen by Mauronofrio's TWRP, but that shouldn't be a problem tho...
- Try using TWRP 3.3.1-1001 by a chinese team
- Try using the latest 10.10.2019 MIUI11 Rom from xiaomi.eu, I'm using in on an EEA phone and quite satisfied with it

Categories

Resources