Can't flash custom roms - Xiaomi Mi Mix 3 Questions & Answers

Hi, I can't flash custom roms on my Mi mix 3. I have tried numerous times with different roms and rooting but nothing works. However I am able to flash miui related custom roms such as xiaomi.eu on my phone, but I am not able non-miui roms such as lineage os, pe, rr and evolution x. Each time I try to do that, my phone shows that the rom was flashed successfully but when I try to start the system it goes into a bootloop, showing the "mi" screen. Does anyone know why this problem is occurring?

do this
1.format data with yes in twrp
2.flash eu 10.3
3.let it boot
4.once it boots reboot back to twrp and "factory reset"
5.flash rom
6.reboot

Related

Need some help with the TWRP recovery! Flashing errors

Hi,
So I have TWRP from the toolkit. And I previously had Mokee latest, then I switched to MIUI7 5.11.14(latest).
Now I downloaded Resurrection Remix, and before flashing it I tried to flash MIUI V6.6.10.0.LXIMICF, which failed spectacularly displaying the error below:
mount : failed to mount /dev/block//bootdevice/by-name/userdata at /data : Device or resource busy.
mount : failed to mount /dev/block//bootdevice/by-name/system at /system: Device or resource busy.
the updater script failed to execute
This happens with me quite often when I try to switch between MIUI and CM based ROMs.
And I dunno how this happens but I keep trying to flash MIUI and then reboot if it fails and then wipe "Cache, data, dalvik cache, system" again and flash MIUI again, and sometimes it takes 2-3 tries and it flashes., the script succeeds.
The same happened today
-had MIUI 5.11.14, rebooted to recovery(TWRP)
-wiped [system, data, dalvik cache, cache]
-tried to flash MIUI 6.6.10, it failed
-tried to flash RR, it succeeded but the ROM acted weirdly. The screen would turn off and the phone won't respond. So no luck
-rebooted wiped [system, data, dalvik cache, cache]
-tried to flash MIUI 6.6.10, it failed
-rebooted and factory reset performed. Tried to flash MIUI 6.6.10, it failed
-rebooted again and factory reset performed. flashed MIUI successfully, then performed factory reset, and flashed RR, and successfully booted up the ROM. Finally
This type of flash failure is not limited to the 6.6.10, it happens with 6.7.2 and also 5.8.11(dev version)
Can someone tell me why this happens, and does it happen on everyone's Mi4i? Or am I doing something wrong?
I know its long but I had to explain what I did properly.
Friend, same situation here!
I have my mi4i since august and i try every custom and official/developer rom. Every time i try a rom i have the same problems as you. I never posted because i thought i m doing something wrong but i am very experienced guy, doing such stuff many years, and i couldn't beleave that. Btw, i have the same strange behavior from twrp & flashing roms on my mi4i, and i can't understand what's wrong...
anurox2 said:
Hi,
mount : failed to mount /dev/block//bootdevice/by-name/userdata at /data : Device or resource busy.
mount : failed to mount /dev/block//bootdevice/by-name/system at /system: Device or resource busy.
the updater script failed to execute
Click to expand...
Click to collapse
Thats because you tried to flash miui recovery rom using TWRP. You must flash miui rom with miui stock recovery only. This is why I highly recommended people who wants to try custom ROM to only 'fastboot boot twrp.img' rather than installing it permanently because you can easily flash the miui stock rom again next time u want to back to miui rom.
Unlike twrp, miui 6 recovery is not the same with miui 7. If you tried to flash stock recovery using fastboot flash recovery for different version of miui, it will not work.
Unless you prefer to stay under custom ROM, I highly recommend that you keep your stock recovery intact.
yumm91 said:
Thats because you tried to flash miui recovery rom using TWRP. You must flash miui rom with miui stock recovery only. This is why I highly recommended people who wants to try custom ROM to only 'fastboot boot twrp.img' rather than installing it permanently because you can easily flash the miui stock rom again next time u want to back to miui rom.
Unlike twrp, miui 6 recovery is not the same with miui 7. If you tried to flash stock recovery using fastboot flash recovery for different version of miui, it will not work.
Unless you prefer to stay under custom ROM, I highly recommend that you keep your stock recovery intact.
Click to expand...
Click to collapse
Thank you
I will remember to flash the stock recovery using the toolkit next time I switch back to MIUI.
But
If the MIUI rom[6.6.10] or the latest dev[5.11.14] rom needs stock recovery to flash properly, why did it work on the third try? What made it work?
I mean if we find out what makes it flash without error on TWRP we could avoid using stock recovery na?
And btw I was trying MIUI, not the custom ROM, I always stay on them, just wanted to see what MIUI had changed since September.
BUMP!!
Seriously!! someone??
You need to extract the stock recovery from the firmware, then flash it via fastboot, then flash the stock zip

Any ROM bootloops in my Mi Mix 2s

I've tried installing PixelExperience 10 on my phone (which is unlocked and with a custom recovery) and first it throw me Error 7, but that was because I hadn't flash the firmware and vendor .zips before PixelExperience, but even flashing that, the device bootloops until a certain point and then it boot back to recovery.
I've tried with dotOS, LineageOS, even MIUI, multiple versions of it, and non of it are working. The device just bootloops with everything.
Fastboot is accesible, recovery is accesible. I'm using OrangeFox Version R10.0_2, but I originally installed TWRP and I had the same problem.
Have you tried flashing TWRP, then using TWRP recovery environment to wipe EVERTHING, then use adb to push lineageOS (since you will have wiped internal data and lost your rom file)
RunNgun42 said:
Have you tried flashing TWRP, then using TWRP recovery environment to wipe EVERTHING, then use adb to push lineageOS (since you will have wiped internal data and lost your rom file)
Click to expand...
Click to collapse
OrangeFox lets me wipe the same partitions (even Vendor, which TWRP doesn't let me).
I'm not sure if I can install Lineage OS thru adb because it asks for MIUI firmware to be installed. If I wipe everything, I loose the firmware.
Althought, I haven't wiped the internal storage in I while, since I have all the roms and zips, there. I'll try with that.
Make "Format Data" - Yes after that wipe data, system, cache and vendor. Copy zips to storage and dont sideload.
Flash fw 9.6.27, los17 and opengapps. Must work.
The way these roms work you basically have to have previously installed a corresponding version of MIUI first. For instance, if you want to install los16 then you must have previously been running MIUI 10. If you want to install los17 then you need to install MIUI 11 first. I guess Xiaomi does some weird stuff to the internal storage between flashes. If you're stuck in a bootloop the easiest thing to do is use the official MiFlash tool to flash the ROM version of your choice. MiFlash uses fastboot rom files. This site has the best catalog of roms
https://xiaomifirmwareupdater.com/miui/
MAKE SURE YOU UNTICK "Clean and lock" at the bottom or else you will relock your bootloader!

[SOLVED] Stuck on CN Roms only!!

I was on crDroid, and other aosp ROMs for a month, but yesterday I wanted to test MIUI 12, so I flashed CN Closed Beta miui 12, I installed miui_PHOENIX_20.5.28_ef1f0d470e_10.0! It doesn't include Gapps so I decided to install xiaomi.eu build. It stuck on Bootanimation. I couldn't go back to TWRP and install something else cause TWRP won't show any storage or data partition ( It's happening now again and again after I install any AOSP or MIUI ROM) To recover from bootloop I downloaded fastboot image (phoenix_images_V11.0.15.0.QGHCNXM) to flash with XiaomiFlash Tool. Successfully unbricking the device, I try to install EU build again but it won't just boot. And also I can't use twrp data partition again cause it somehow breaks all the partitions. I have to reflash fastboot image. I even tried to go back on Indian Build of POCO X2 but due to anti-rollback check it fails again and again. I can't boot any AOSP rom, tried a few, nor even EU builds or Indian Builds. I can only Install MIUI 12 Closed Beta or MIUI 11 stable both Chinese roms. What Went wrong and how to install AOSP roms again or flash EU builds?
Jyotirmay Goldsmith said:
I was on crDroid, and other aosp ROMs for a month, but yesterday I wanted to test MIUI 12, so I flashed CN Closed Beta miui 12, I installed miui_PHOENIX_20.5.28_ef1f0d470e_10.0! It doesn't include Gapps so I decided to install xiaomi.eu build. It stuck on Bootanimation. I couldn't go back to TWRP and install something else cause TWRP won't show any storage or data partition ( It's happening now again and again after I install any AOSP or MIUI ROM) To recover from bootloop I downloaded fastboot image (phoenix_images_V11.0.15.0.QGHCNXM) to flash with XiaomiFlash Tool. Successfully unbricking the device, I try to install EU build again but it won't just boot. And also I can't use twrp data partition again cause it somehow breaks all the partitions. I have to reflash fastboot image. I even tried to go back on Indian Build of POCO X2 but due to anti-rollback check it fails again and again. I can't boot any AOSP rom, tried a few, nor even EU builds or Indian Builds. I can only Install MIUI 12 Closed Beta or MIUI 11 stable both Chinese roms. What Went wrong and how to install AOSP roms again or flash EU builds?
Click to expand...
Click to collapse
After you install xiaomi.eu rom, if you are stuck at boot logo, try this
1. flash twrp again with fastboot mode and boot into twrp
2. format data partition ( you lose all data)
3. now flash xiaomi.eu rom again and reboot
AdrenalineX said:
After you install xiaomi.eu rom, if you are stuck at boot logo, try this
1. flash twrp again with fastboot mode and boot into twrp
2. format data partition ( you lose all data)
3. now flash xiaomi.eu rom again and reboot
Click to expand...
Click to collapse
When I flash any rom now, it stucks to bootloop and I can't format or flash anything on top of that, I have to flash fastboot images of Chinese Rom 11.0.15 through xiaomiflashtool, all rooms are stuck to bootanimation except miui12 CN ROM.
AdrenalineX said:
After you install xiaomi.eu rom, if you are stuck at boot logo, try this
1. flash twrp again with fastboot mode and boot into twrp
2. format data partition ( you lose all data)
3. now flash xiaomi.eu rom again and reboot
Click to expand...
Click to collapse
Remove the first few lines from the flash all.bat which does not begin with'fastboot' to overcome ARB.
i am facing the same problem after i tried to update 12.6 to 12.7 of bliss rom, found any fix?
SOLVED
checkout this thread https://forum.xda-developers.com/poco-x2/help/11-0-15-0-to-poco-x2-11-0-7-0-t4095185

mi mix 3 - stuck on twrp bootloop ?

Ok so fresh out the box, unlocked bootloader etc.
I have twrp running finally, and have gone through following the steps format/wipe etc.
flashed several differant roms to just try and get one to boot. every reboot it will automatically go into twrp..
I have tried Arrow, Lineage, pixel experience and all of them result in the same mi bootloop and automatically booting twrp.
im following the arrow install instructions :
New build required to be on MIUI Q firmware part (Recommended V12.0.1.0).
Use TWRP.
Make FULL WIPE (system/vendor/data/dalvik/cache) and FORMAT DATA - YES.
Flash ROM (link in first post)
Flash gapps, if need for VANILLA buildtype.
Reboot
when i flash the Xiaomi eu 12.0.1.0 as suggested... twrp bootloop.
so i am sitting with a device going between Mi screen and recovery only. I have no system ?
Can someone point me in the right direction.
Hi,
I do a full wipe like the instruction. After that I install the Xiaomi.eu v12 build. When that is installed immediately install Arrow 11 without formatting (and gapps if you choose the VANILLA build). I then don't install magisk or any other root solution and I reboot the device. This worked for me when I installed LineageOS and when I installed Arrow 10 and now 11.
So I first install Xiaomi and than the ROM I want without a format or reboot between them. If you are booted in the rom I then look into a root solution and install that if you want atleast.

Boot to fastboot after flashing any custom ROM

Hello,
I have Samsung J4 core (j410f) rooted with stock ROM.
I wanted to install a custom ROM and tried to flash lineage os 17.1 (unofficial). What i did is:
1. Flashed TWRP 3.1 using odin
2. Wiped every thing (Data, Cache, System)
3. Flashed lineage successfully
4. Rebooted the phone. But got straight to fastboot.
5. To fix this I flashed stock firmware and it booted normally.
I tried again with different versions of lineage, same result. Used other ROMs like havoc, again the same. Changed recovery with orangefox instead of twrp, no difference.
The thing is I can use custom recoveries with stock ROM without a problem. But I can't flash any ROM without resulting in fastboot. Can anyone help me here? Please??
Now, I know this forum is from a long time ago, but did you get any errors when installing LineageOS for the first time? (like E1001 or something)

Categories

Resources