problems flashing non-miui based roms - Xiaomi Mi A2 Lite Questions & Answers

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.

Related

Error 7 in TWRP when flashing custom roms

I used to be on resurrection remix 7.1.2, but I flashed stock ROM so I could do a clean flash with another ROM. I used Xiaomi unlock tool to unlock bootloader again, then flashed TWRP thru ADB in fastboot. After that I went into recovery, wipe data,cache etc and tried to flash dotos 3.0, but it gave me error 7. I repeated same process with zirconium android 9.0, same thing I'm using latest TWRP, y do I get error 7?? I definitely have the right model etc
Hey mate, have you tried using a vendor based custom recovery? . Is your Twrp vendor based? ( you'll be able to see cust/vendor partition in the advanced wipe menu).
I was messing around today with Dot0s 3.0 and regular Twrp too and found out that i couldn't install any pie roms on regular Twrp. I was previously using batik recovery. So you might be able to flash on it. Let me know if you try it.
Edit : I got the same error 7 on pretty much all oreo and pie roms.
jeevan bk said:
Hey mate, have you tried using a vendor based custom recovery? . Is your Twrp vendor based? ( you'll be able to see cust/vendor partition in the advanced wipe menu).
I was messing around today with Dot0s 3.0 and regular Twrp too and found out that i couldn't install any pie roms on regular Twrp. I was previously using batik recovery. So you might be able to flash on it. Let me know if you try it.
Edit : I got the same error 7 on pretty much all oreo and pie roms.
Click to expand...
Click to collapse
Ah, thanks man. I've been only using regular TWRP, I'll use batik in a bit
Flash old firmware and then upgrade
Arathergreendroid said:
Ah, thanks man. I've been only using regular TWRP, I'll use batik in a bit
Click to expand...
Click to collapse
Flashing Nougat firmware first and then custom recovery worked.
See https://forum.xda-developers.com/xiaomi-redmi-5a/how-to/rollback-downgrade-to-miui-nougat-t3938904
This is work for me.. just extract your cusrom and then go to Meta-Inf > google , edit the updater script. and delete line "get prop ......." all of that line.
so the first line must " ui_print ("Target: ........"); "
save
and select all files from your cusrom, create zip, copy to sd card, install via Recovery

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?

Cannot flash any rom ERROR:7 please help !

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

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/

Question Can't resolve error 70 with Gapps

Hello,
I have a Poco F3 wanted to install a custom rom (i have bluetooth problem with Miui rom), but, to install TWRP, I made the mistake with this doing :
"fastboot flash recovery MyTWRP_File.img" :/
I read (too late) that ESPECIALLY we should not do this command on recent devices (with A / B partition) like Poco F3. With this device, we had to type this command :
"fasboot boot MyTWRP_File.img".
Result, I am unable to install the Gapps (including pico), I have an error 70 (not enough storage space available on the system partition).
I tried to do a lot of things and tutorials (formatting and reinstalling an official rom with Mi Flash to try to start from zero).
But my problem still persists, I cannot install Gapps because I have error 70.
Does anyone have a solution for me to fix my mistake?
Thanks in advance.
chtivain said:
Hello,
I have a Poco F3 wanted to install a custom rom (i have bluetooth problem with Miui rom), but, to install TWRP, I made the mistake with this doing :
"fastboot flash recovery MyTWRP_File.img" :/
I read (too late) that ESPECIALLY we should not do this command on recent devices (with A / B partition) like Poco F3. With this device, we had to type this command :
"fasboot boot MyTWRP_File.img".
Result, I am unable to install the Gapps (including pico), I have an error 70 (not enough storage space available on the system partition).
I tried to do a lot of things and tutorials (formatting and reinstalling an official rom with Mi Flash to try to start from zero).
But my problem still persists, I cannot install Gapps because I have error 70.
Does anyone have a solution for me to fix my mistake?
Thanks in advance.
Click to expand...
Click to collapse
Did "fastboot flash recovery MyTWRP_File.img" actually flash TWRP onto Recovery?
It's not your fault, because several websites (like Xiaomi.eu) still list this command, which is outdated, and many people get confused why that doesn't work, including me.
What Custom ROM are you using?
Flashing Stock ROM with Mi Flash wipes the entire phone, including Recovery. I don't know why you still get this error.
Are you sure that error is related to this? I think it may be something else... I mean you used Mi Flash.
Hi,
Currently, I am back under the stock rom of the Poco F3 (miui global 12.5.3), which I installed with miflash after doing a full wipe.
Before that, i tried the official roms of Lineage and ArrowOS.
with both rom i had the same problem. An error 70, when I flash the Gapps under their respective reecovery.
I tried with the twrp recovery, but I have the same problem
chtivain said:
Hi,
Currently, I am back under the stock rom of the Poco F3 (miui global 12.5.3), which I installed with miflash after doing a full wipe.
Before that, i tried the official roms of Lineage and ArrowOS.
with both rom i had the same problem. An error 70, when I flash the Gapps under their respective reecovery.
I tried with the twrp recovery, but I have the same problem
Click to expand...
Click to collapse
TWRP allows you to save Recovery log for further analysis. Can you upload it here?
dreamytom said:
TWRP allows you to save Recovery log for further analysis. Can you upload it here?
Click to expand...
Click to collapse
I'll put it tomorow (phone call => need to go to work now :/ ).
Did you solve the Problem? Because i got the Same Problem. No matter how i Install twrp. Using Fastboot Boot twrp.img, or flash Boot twrp.img. System Partition is to small and need to be resized.
Got the same thing, cannot Install GApps, errpr 70. What can I do?

Categories

Resources