Installing Custom Roms on my Mi8(dipper) takes over 40 Minutes. - Xiaomi Mi 8 Questions & Answers

Hi everyone,
I have problems with installing a new Custom Rom. When i try to install it, it takes over 40 Minutes. I tried Lineageos 17.1 and ZenX OS v2.1.0. And i tried the newest Twrp for Dipper, Orangefox the newest Version and an Old Orangefox Version. When it is installing, there is checking for Digest file , then no Digest file found, then patching system image unconditionally.
I think something with my Partitions is wrong.
You maybe know how to fix this?
Thank you

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

can NOT install magisk v16.0 on lineage 14.1 ?

hi
can not install magisk 16.0 on lineage 14.1 for i9100 ?
how fix this ERROR ?
Try this (I can not assure you that this will work, since I don't own your device):
1 - Open your LineageOS build zip with some file manager.
2 - Extract the "boot.img" file to somewhere else.
3 - Now go to twrp, tap install, then install image, find and flash the "boot.img" you just extracted.
4 - Don't reboot yet, go back and try to flash magisk, then reboot if you succeed.
It worked with me once. Worth a try.
--
Have you tried the beta version already?:
https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
sajjads24 said:
hi
can not install magisk 16.0 on lineage 14.1 for i9100 ?
how fix this ERROR ?
Click to expand...
Click to collapse
The S II is quite an old device, and I believe it never got officially updated past Android KitKat, right? Might be why...
Even though the OS is updated by a custom ROM, the boot image may lack the necessary parts for Magisk to patch. At least, that's what your log shows...
You might get more help if you ask around in your device's forum.
Edit: Yup... https://forum.xda-developers.com/showpost.php?p=76705332&postcount=25084

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.

Gsi Bootloop not booting

Hi guys.
The problem is gsi is Bootlooping every time in custome vendor stock vendor no matter how much i try to install with different methods by different vendors rom.
Tried formatting many times, changing file system, flashing vbmeta, even flashed on both slots nothing happened same Bootloop.
Even tried flashing no verify decryption zip, magisk.
Don't get it what's the problem its booting but Bootlooping.
If gsi is not supported or corrupt img so it'll not boot right? But booting means it gets installed.
But every time the gsi get stuck at bootanimation
Need help what to do now because it installing successfully everytime but at the end Bootlooping.
Tried ported gsi roms
And official gsi roms
Those are not booting..
Urgent help will be appreciated and I'll be very thankful.
:good:
arya_tech said:
Hi guys.
The problem is gsi is Bootlooping every time in custome vendor stock vendor no matter how much i try to install with different methods by different vendors rom.
Tried formatting many times, changing file system, flashing vbmeta, even flashed on both slots nothing happened same Bootloop.
Even tried flashing no verify decryption zip, magisk.
Don't get it what's the problem its booting but Bootlooping.
If gsi is not supported or corrupt img so it'll not boot right? But booting means it gets installed.
But every time the gsi get stuck at bootanimation
Need help what to do now because it installing successfully everytime but at the end Bootlooping.
Tried ported gsi roms
And official gsi roms
Those are not booting..
Urgent help will be appreciated and I'll be very thankful.
:good:
Click to expand...
Click to collapse
You should try generic gsi from this site https://mirrors.lolinet.com/firmware/gsi/
Choose generic AB.. currently latest one is from 11th July @ Developer Preview 5.
Download Havoc os, flash it on slot A.
Reboot to slot B, wipe everything and reboot to recovery again.
Then flash gsi file, permissiver v4, darkness kernel, magisk canary, and disable force encryption.
Wait for it to boot up. ?
How to reboot to slot B and flash to slot A? Zip files are flashing like custom roms, GSI images are for slot A, slot B and AB. Sorry but I'm noob in flashing GSI roms. I never succeeded with that... ((

Categories

Resources