Cannot flash any rom ERROR:7 please help ! - Xiaomi Mi Max 3 Questions & Answers

Sorry for my bad English grammar,
I have stucked in TWRP for all this day, flashed many different roms and got the same message :
"E1001: Failed to update system/vendor image.
Updater process ended with ERROR:7
Error installing zip file '...' "
My base is 11.0.4 xiaomi.eu rom (MIUI 11, Android 10), start flashing 11.0.3 custom rom (MIUI 11, Android 9) and got that ERROR, then flashed Havoc/ASOiP rom, end up with flashing STOCK MIMAX3Global_V11.0.2.0.QEDMIXM on Mi offficial site via TWRP but still no luck, samething.
I have already tried lastest TWRP 3.3.1, 3.2.3, PitchBlack Recovery, and modified Updater-Script aswell (Delete 1st line).
Thank you for your help ! :crying:

Have you tried any of these tips?

Did you tried any android 10 ROMs?
I'm not sure if the downgrade from 10 to 9 is possible at all

I had wiped my system partition at one point and got this as well. Fixed by using the mi flash tool and the full system image (not a twrp / orange fox rom) and then wiped my data partition to get rid of the boot password. I don't know if anti rollback effects 10 to 9. Look into it though. You're looking for a fastboot rom. Just make sure to not "clean and lock". I'm having trouble finding the fastboot rom I found to fix it but it should come in a .tgz file. Good luck

Related

bootloop issue when tried to rollback

i tried rollback from Oreo to Nought. after flashing .img files through TWRP i got error like.......,
Error
Func no: 10 (boot image)
error no: 2 (load failed)
please help. suggest the Oreo stock boot.img link
thanks in advance
if same post already exist pls link me through
i searched xda i didn't find a solution.
i've unlocked bootloader !
babu.123 said:
i tried rollback from Oreo to Nought. after flashing .img files through TWRP i got error like.......,
Error
Func no: 10 (boot image)
error no: 2 (load failed)
please help. suggest the Oreo stock boot.img link
thanks in advance
if same post already exist pls link me through
i searched xda i didn't find a solution.
i've unlocked bootloader !
Click to expand...
Click to collapse
Roll-back is possible, but not like that.
To help or suggestions what you I can try. Will need to know what you flashed, where you flashed it, what was any message after or during flashing.
Also need to know if twrp also gives this type of message, or if it boots.
As far as link to Oreo stock images. Need to know what model and build number. (You know there are almost 10 model/region combo's and each has at least 3 builds)
mrmazak said:
Roll-back is possible, but not like that.
To help or suggestions what you I can try. Will need to know what you flashed, where you flashed it, what was any message after or during flashing.
Also need to know if twrp also gives this type of message, or if it boots.
As far as link to Oreo stock images. Need to know what model and build number. (You know there are almost 10 model/region combo's and each has at least 3 builds)
Click to expand...
Click to collapse
Model : BND-al10
Got oreo as beta tester.
From firware finder app download roll back full ota package. And extracted that update.app and flashed boot, system, and stock recovery.
After that try to reboot the device. Stucked at bootloop.
Twrp is working. When i try to restore (i had backup the system, ext. Data) restore process success but error ahows as
Alert
Update the system again
Error
Func no: 10 (boot)
Error no: 2 ( load failed).
I tried another zip files to flash through memory card but zip loading failed in twrp.
babu.123 said:
Model : BND-al10
Got oreo as beta tester.
From firware finder app download roll back full ota package. And extracted that update.app and flashed boot, system, and stock recovery.
After that try to reboot the device. Stucked at bootloop.
Twrp is working. When i try to restore (i had backup the system, ext. Data) restore process success but error ahows as
Alert
Update the system again
Error
Func no: 10 (boot)
Error no: 2 ( load failed).
I tried another zip files to flash through memory card but zip loading failed in twrp.
Click to expand...
Click to collapse
Should have used hwota or hurupdater to flash the fullota, not extract the images, but too late for that.
Wow, what a mess.
For starters, to explain some of what seems to have happened.
Nougat and oreo have different partitions. Not only in name but also location.
Twrp cannot create any partition.
That being said, Oreo does not have a boot or recovery partition, so where did you flash the boot.img and recovery.img
It is obvious the stock recovery flash was not to "recovery_ramdisk" because twrp still working.
Not quite sure what parts were in you backup that you tried. And the " other zip " is a mystery.
I would think, since twrp is loading that using hurupdater might still be an option.
Thanks for your advice. Get back to system with oreo with the help of hurupdater.
1st i have no idea what is hurupdater is. But i Google for it. And now i am able use my mobile.
Thanks a lot
mrmazak said:
Should have used hwota or hurupdater to flash the fullota, not extract the images, but too late for that.
Wow, what a mess.
For starters, to explain some of what seems to have happened.
Nougat and oreo have different partitions. Not only in name but also location.
Twrp cannot create any partition.
That being said, Oreo does not have a boot or recovery partition, so where did you flash the boot.img and recovery.img
It is obvious the stock recovery flash was not to "recovery_ramdisk" because twrp still working.
Not quite sure what parts were in you backup that you tried. And the " other zip " is a mystery.
I would think, since twrp is loading that using hurupdater might still be an option.
Click to expand...
Click to collapse
Thanks for that idea. It worked. Now my mobile is working.
Using hurupdater flashed stock rom of full ota. Thanks a lot

How to flash MIUI 10 ROM and Firmware?

I'm planning on updating my Mi 5s to Lineage OS16 but I would first like to flash the latest firmware for the device. To do this I first need to flash the developer firmware and ROM from here. This however is not possible. To flash the ROM requires a previous version of MIUI to be installed since no "fastboot version" exists yet. In the past, a "fastboot version" of the ROM could be flashed using their XiaoMiFlash tool but since that version does not yet exist for MIUI 10, I'm forced to use the other method of flashing from the device itself. This would usually be fine, however, since I am on LineageOS, I am unable to flash MIUI from the device. Does anyone know how to flash MIUI 10 when their Mi 5s is using LineageOS? Any help is appreciated.
Rom flash procedure: https://forum.xda-developers.com/mi-5s/how-to/fastest-android-9-0pie-rom-xiaomi-mi-5s-t3929174
MIUI 10 download link: https://sourceforge.net/projects/xi...s/files/xiaomi.eu/MIUI-WEEKLY-RELEASES/9.5.9/
candemir2005 said:
Rom flash procedure: https://forum.xda-developers.com/mi-5s/how-to/fastest-android-9-0pie-rom-xiaomi-mi-5s-t3929174
MIUI 10 download link: https://sourceforge.net/projects/xi...s/files/xiaomi.eu/MIUI-WEEKLY-RELEASES/9.5.9/
Click to expand...
Click to collapse
This is exactly what I was looking for. Thank you very much!
Hey!
I too am having some troubles, but the linked XDA thread does not give an answer.
I want to install the MIUI 10 Global Stable form xiaomi eu (based on Oreo) (https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-10-3-10-4-stable-release.47170/), but after installation it does not boot.
I have tried the following:
I am coming from official LOS 16, and had my storage encrypted. Before installation of LOS16 I updated the firmware using xiaomifirmwareupdater.com to version 10.2.3.
Now, I wipe cache, dalvik, system and data and then install the zip from xiaomi.eu (https://androidfilehost.com/?fid=11410963190603906104), which does not throw an explicit error, but returns a [0] in TWRP. Then, when I reboot, TWRP gives the message "No OS installed"'. I continued anyways, and let the phone sit for 30 minutes, but it is stuck on a boot screen (different boot screen than I had with LOS though). I checked the MD5 hash, which is correct. Also, I performed exactly the same procedure another time.
Does anyone know how to solve this problem?
I though it might had to do something with the following:
- going from AOSP to MIUI?
- Having encrypted through LOS16?
- Having updated the firmware to 10.2.3, and the installing a 10.2.1 ROM (although the xiaomi eu roms have their required firmware baked into the zip right?)
Any help would be much appreciated!

Impossible to install custom rom with TWRP

Hi, earlier, I wanted to change the rom of my mi 5s. I've got an error 7 on twrp during the flash. I tried many things: edit the installation script, format all the data, update and downgrade TWRP, and finally perform a fastboot flash using mi flash and the last one worked. But I am not longer able to flash a custom rom without getting error 7 after the "Patching system image unconditionally" message. I've tested lineage, havoc, pixel experience, miui, even 8.1 rom but same result. I'm stuck with fastboot global miui 10
Btw, I think that after the error the partition are corrupted since I can't repair them with TWRP.
I don't know what I can do more.
edit: I tried to lock and relock bootlander, still geting the same error. I'm stuck on Oreo
bob_bricoleur said:
Hi, earlier, I wanted to change the rom of my mi 5s. I've got an error 7 on twrp during the flash. I tried many things: edit the installation script, format all the data, update and downgrade TWRP, and finally perform a fastboot flash using mi flash and the last one worked. But I am not longer able to flash a custom rom without getting error 7 after the "Patching system image unconditionally" message. I've tested lineage, havoc, pixel experience, miui, even 8.1 rom but same result. I'm stuck with fastboot global miui 10
Btw, I think that after the error the partition are corrupted since I can't repair them with TWRP.
I don't know what I can do more.
edit: I tried to lock and relock bootlander, still geting the same error. I'm stuck on Oreo
Click to expand...
Click to collapse
I think that i figured out something, I am able to flash system.img file using fastboot but I can't flash zip rom using recovery.
As anyone encounter this ?
Did you try reflash twrp latest version?

problems flashing non-miui based roms

my a2 lite got the awful 10.0 update, and I tried to install a custom rom.
the only one that worked was the Avenger MIUI rom.
I'm using dees-troy's twrp 3.3.1
tried to reflash the stock img, it got me into booting only to fastboot mode.
I'm tired of the MIUI, can anyone explain to me step-by-step how to install any aosp-like rom?
back then, I had error number 7, and on my last try, after trying to flash back and such, it couldn't mount the storage correctly.
right now I have an error:
E:recv error on uevent
UduBobo said:
my a2 lite got the awful 10.0 update, and I tried to install a custom rom.
the only one that worked was the Avenger MIUI rom.
I'm using dees-troy's twrp 3.3.1
tried to reflash the stock img, it got me into booting only to fastboot mode.
I'm tired of the MIUI, can anyone explain to me step-by-step how to install any aosp-like rom?
back then, I had error number 7, and on my last try, after trying to flash back and such, it couldn't mount the storage correctly.
right now I have an error:
E:recv error on uevent
Click to expand...
Click to collapse
You need:
twrp-installer-daisy-3.2.3-0-offain (or higher)
Also when you install AOSP based rom you'll have to change A/B slots before rebooting. Most of the roms have step by step guide on the first page / post.

Bricked Xiaomi Mi 9 SE after wiping system

I decided to install Pixel Experience for my Mi 9 SE today with TWRP but I kept getting the message "android.process.media" has stopped so I decided to wipe dalvik, cache and system. After that, I reflashed the firmware and rebooted then my phone got bricked into a fastboot loop.
Then for hours I had tried hundreds of ways, including using XiaomiFlash that said flash vendor error (with the Global ROM) and using XiaomiTool v2 that somehow got the TWRP on (but unable to mount /system_root so I cannot flash anything else).
Then I followed this video and changed the datatype of /system but now I got the error:
"E3004: This package is for "grus" devices; this is a "".
Updater process ended with ERROR: 7....." So Error installing the ROM.
Can anyone please tell me what to do because I think I am about to go crazy
You had to FORMAT (not wipe) DATA (not system)
xanxusokumura said:
I decided to install Pixel Experience for my Mi 9 SE today with TWRP but I kept getting the message "android.process.media" has stopped so I decided to wipe dalvik, cache and system. After that, I reflashed the firmware and rebooted then my phone got bricked into a fastboot loop.
Then for hours I had tried hundreds of ways, including using XiaomiFlash that said flash vendor error (with the Global ROM) and using XiaomiTool v2 that somehow got the TWRP on (but unable to mount /system_root so I cannot flash anything else).
Then I followed this video and changed the datatype of /system but now I got the error:
"E3004: This package is for "grus" devices; this is a "".
Updater process ended with ERROR: 7....." So Error installing the ROM.
Can anyone please tell me what to do because I think I am about to go crazy
Click to expand...
Click to collapse
Hi, this is probably coming a little too late, but when something like this happens, you should reflash the stock ROM provided by Xiaomi:
https://c.mi.com/oc/miuidownload/detail?guide=2
Using either their MiFlash tool or doing it yourself from terminal via the flash_all script. Usually, the phone should be working again afterwards.
lachesis197 said:
Hi, this is probably coming a little too late, but when something like this happens, you should reflash the stock ROM provided by Xiaomi:
https://c.mi.com/oc/miuidownload/detail?guide=2
Using either their MiFlash tool or doing it yourself from terminal via the flash_all script. Usually, the phone should be working again afterwards.
Click to expand...
Click to collapse
Hi, im stuck in the same spot, my mi9se wont let me install any custom rom, i get error 7, 1 and everything but i cannot get out of the stock rom, can you please share the steps that you use (if you know) to sucessfully flash a custom rom on this cellphone?
Do not WIPE system and vendor. Just use the standard button in the first page of WIPE in the TWRP. I had the same problem with that and I got the solution only by flashing the Fastboot ROM (here: https://c.mi.com/in/miuidownload/detail?guide=2) with Mi Flash tool. Search more information about the instructions.
I saw something about flashing the vbmeta.img to solve the problem with the fastboot loop and without the fastboot rom, but I didn't check.
sebashebe said:
Hi, im stuck in the same spot, my mi9se wont let me install any custom rom, i get error 7, 1 and everything but i cannot get out of the stock rom, can you please share the steps that you use (if you know) to sucessfully flash a custom rom on this cellphone?
Click to expand...
Click to collapse
I got this error too and I solved with this TWRP version: https://forum.xda-developers.com/t/grus-recovery-twrp-3-4-0-2-mi9se.3949328/

Categories

Resources