Question Stuck on Fastboot and TWRP. Help needed. - Xiaomi Mi 11 Ultra

I bought the CN version then flashed to 12.5.7 EU ROM stable succesfully. Then I wanted to install Magisk via TWRP and I somehow managed to wipe everything, I didnt know how I did it. So now Im stuck with no OS. Only Fastboot and TWRP. I tried to flash via mi flash tool, but I keep on getting errors like flash timeout, antirollback error, mismatch errors, etc.
What do I need to do now?

Get the fastboot version of the .eu Rom here in the forum and flash it via fastboot.

dennis_cu said:
I bought the CN version then flashed to 12.5.7 EU ROM stable succesfully. Then I wanted to install Magisk via TWRP and I somehow managed to wipe everything, I didnt know how I did it. So now Im stuck with no OS. Only Fastboot and TWRP. I tried to flash via mi flash tool, but I keep on getting errors like flash timeout, antirollback error, mismatch errors, etc.
What do I need to do now?
Click to expand...
Click to collapse
As above. You can't use an older version using miflash, it's got to be same or newer.
If you have formatted data, then just use a twrp ROM but just in case of any partition differences, format data after flash using TWRP's wipe menu and confirm by typing yes.

you can actually, first of all you need to fix mi flash
open miflash
go to mi configuration and cancel the line into "checkpoint" setting and keep it blank (this will fix the error)
now select your rom image (unzip .tgz then unzip again the .tg archive and you'll have a folder, select this folder into miflash)
boot your phone into fastboot, connect it to the pc and click on refresh and make sure your device is displayed
on the bottom select and make sure you click on "clean all", this will format all of your data and inject stock recovery
click on flash and wait for the process to be completed
done

Related

Confused by all the ROMs....

Hi, I've just got my MI 5 and it is very, very nice. But I am now starting to look further into it and I am confused by all the different ROMs....
The one I have came with MIUI Global 7.3 | Stable MI7.3.3.0.0(MAACNDD). First confusion is that I can't find any references to a ROM by that number anywhere - it has double 0 at the end MI7.3.3.0.0. Is it a real ROM?
More generally I can't work out which ROM would be best for a user in the UK? Without rooting that is so CM is out for the moment.
Can anyone point me in the right direction, thanks.
It may be fake rom. If you want to use MIUI better flash xiaomi.eu ROM: https://xiaomi.eu/community/threads/6-6-23.32335/ but it will need unlocked bootloader.
Without unlocking bootloader you can flash official global using MiFlash: http://en.miui.com/download-299.html
Thanks! I have applied to unlock the bootloader and will flash the unofficial ROM ASAP. Well, I will do some more reading to see which is most appropriate to me.
palexr said:
Thanks! I have applied to unlock the bootloader and will flash the unofficial ROM ASAP. Well, I will do some more reading to see which is most appropriate to me.
Click to expand...
Click to collapse
Hey how did you get on with this ? did you get the unlock code ?
Im in a similar situation to you
Ry2mkk said:
Hey how did you get on with this ? did you get the unlock code ?
Im in a similar situation to you
Click to expand...
Click to collapse
Not done it yet.
I need to flash the China Dev ROM first apparently. I think I will use this method to flash to a "recovery" (?) ROM from which I can then flash the China Dev ROM and then subsequently flash one of the unofficial eu miui ROMs.
I'll update when I have found the time to do all these things.
Hey, I can tell that you'll have an easier time if you do what I did:
Apply for bootloader unlock. Do the unlock (follow the guide here to be sure) It should work on any ROM, mine was China 7.3.2.0.
Back up any images, videos etc. to your PC.
Download a ROM zip of your choice (xiaomi eu in your case but any compatible ROM on this forum or on miui forum will do)
Get the Xiaomi eu TWRP zip from their page. Extract the recovery img file, and the boot img file.
You could also get SuperSU zip from their page if you want root.
Do you have adb and fastboot? If not, just get "minimal adb and fastboot" from the forum here for Windows, or if you're on Linux your package manager probably has them both listed.
Put your phone into fastboot. (Switch off, press volume down and power button until it boots to a screen saying fastboot.) Then connect to your PC.
Open your command prompt from the "run" dialogue: cmd
Use this command: (double check this by googling)
fastboot flash recovery (path to recovery img)
Since you plan to flash xiaomi eu ( you don't need this for a CM based ROM):
fastboot flash boot (path to boot img)
Now to go into the recovery:
fastboot boot recovery (path to recovery img)
There is probably an easier way to do this but I'm not sure of it yet.
Your phone will boot into TWRP. You might face the unresponsive touchscreen bug (I did) but it goes away after some time (or you could plug unplug it from the PC multiple times, seemed to work for someone else on the forums).
If it asks you for the encryption password (it asked me, and I was on a Chinese ROM so it might ask you) then you'll have to wipe the data partition under the wipe menu (it's named as internal storage). This is why the backup was needed.
Under the wipe menu, you'll need to do a factory reset, but I wiped everything just to be safe. Now, just after wiping when I tried to access the internal storage from twrp (Under advanced > file manager) it didn't show me anything (probably because I wiped the internal storage). So just reboot into twrp (reboot > recovery) and it should show the internal storage now.
Open the internal storage on your PC (still connected, right?) and put the xiaomi eu ROM in the internal storage. Then go to install menu in TWRP and select the ROM and flash it. After it's done, it'll offer to wipe cache and dalvik cache. Do it to be safe.
Flash the SuperSU zip if you want it.
Reboot to system.
Profit.
Disclaimer: I haven't flashed xiaomi eu ROM so I cannot guarantee that the steps are perfect. Normally, I would just point you to xiaomi eu's website, but the reason I wrote in such detail is because they say "Install TWRP zip via updater app or fastboot", which is stupid, because not even OFFICIAL xiaomi ROMs work with the updater app (I tried to install global stable and it said couldn't verify package what even), and fastboot mode doesn't allow flashing zips... so. Also, I've read that xiaomi eu comes with Google apps preinstalled, so that's good. Otherwise you need to download even that zip and flash just after flashing the ROM.
andy356 said:
Hey, I can tell that you'll have an easier time if you do what I did:
Apply for bootloader unlock. Do the unlock (follow the guide here to be sure) It should work on any ROM, mine was China 7.3.2.0.
Back up any images, videos etc. to your PC.
Download a ROM zip of your choice (xiaomi eu in your case but any compatible ROM on this forum or on miui forum will do)
Get the Xiaomi eu TWRP zip from their page. Extract the recovery img file, and the boot img file.
You could also get SuperSU zip from their page if you want root.
Do you have adb and fastboot? If not, just get "minimal adb and fastboot" from the forum here for Windows, or if you're on Linux your package manager probably has them both listed.
Put your phone into fastboot. (Switch off, press volume down and power button until it boots to a screen saying fastboot.) Then connect to your PC.
Open your command prompt from the "run" dialogue: cmd
Use this command: (double check this by googling)
fastboot flash recovery (path to recovery img)
Since you plan to flash xiaomi eu ( you don't need this for a CM based ROM):
fastboot flash boot (path to boot img)
Now to go into the recovery:
fastboot boot recovery (path to recovery img)
There is probably an easier way to do this but I'm not sure of it yet.
Your phone will boot into TWRP. You might face the unresponsive touchscreen bug (I did) but it goes away after some time (or you could plug unplug it from the PC multiple times, seemed to work for someone else on the forums).
If it asks you for the encryption password (it asked me, and I was on a Chinese ROM so it might ask you) then you'll have to wipe the data partition under the wipe menu (it's named as internal storage). This is why the backup was needed.
Under the wipe menu, you'll need to do a factory reset, but I wiped everything just to be safe. Now, just after wiping when I tried to access the internal storage from twrp (Under advanced > file manager) it didn't show me anything (probably because I wiped the internal storage). So just reboot into twrp (reboot > recovery) and it should show the internal storage now.
Open the internal storage on your PC (still connected, right?) and put the xiaomi eu ROM in the internal storage. Then go to install menu in TWRP and select the ROM and flash it. After it's done, it'll offer to wipe cache and dalvik cache. Do it to be safe.
Flash the SuperSU zip if you want it.
Reboot to system.
Profit.
Disclaimer: I haven't flashed xiaomi eu ROM so I cannot guarantee that the steps are perfect. Normally, I would just point you to xiaomi eu's website, but the reason I wrote in such detail is because they say "Install TWRP zip via updater app or fastboot", which is stupid, because not even OFFICIAL xiaomi ROMs work with the updater app (I tried to install global stable and it said couldn't verify package what even), and fastboot mode doesn't allow flashing zips... so. Also, I've read that xiaomi eu comes with Google apps preinstalled, so that's good. Otherwise you need to download even that zip and flash just after flashing the ROM.
Click to expand...
Click to collapse
Thanks Andy, that is a really useful reply and I will definitely use to flash my next ROM.
In the meantime I managed to update to the latest official global ROM using the updater! I tried initially to Chinese Dev one put I got the same "can't verify package" error message. I had downloaded it on my PC and transferred it manually to the phone. I then downloaded the global version directly to the phone and that worked.
So now I need to figure out if i need to be on the Chinese dev rom to unlock or if the official global rom will do?
Unlocking can be done on any ROM. I unlocked on Chinese stable. It's good that you could flash the global ROM, at least the sense of urgency to get Google play services is gone now.

[URGENT] Stuck in Bootloop. Help.!!!

I was on MUI9 Nougat 7.1.2. Unlocked my bootloader properly. Wanted to try out Google Camera. So I searched the forum, found TWRP 3.0.3 Installer. Installed the TWRP successfully. Then I thought of installing the new TWRP, so flashed TWRP 3.2.1 from the previous TWRP. When I booted back to Recovery, saw the Encryption Error. I never set any password. Got tensed. Searched the forums again for solution. Found that I have to format the data. So formatted the data, flashed LazyFlasher. Did not know what else to do, tried booting and got stuck in Bootloop. I only have Internal Storage. And have one OTG Pendrive in case it comes handy. Downloaded Dot OS 7.1.2 and tried to install it from the OTG by booting back to TWRP, failed, it said Corrupt ZIP, but the zip file was ok. So started the process again, rebooted back to TWRP, wiped everything and this time tried to flash an old MIUI9 Recovery ROM through it, it still gave the same error, Corrupt ZIP. So basically what I have left is that I can boot into TWRP and also Fastboot is working well. But dont know how to get past this Bootloop. Someone please help. Really urgent. So tensed. :crying:
do you flash miui rom in twrp or miflash? try to flash the miui rom with miflash and see if ur phone booted up or not.
Deleted
Deleted
Thanks bro. Never mind. Somehow managed to flash DotOS Nougat version through TWRP 3.0.3. Now bro please tell me one thing. I wont stay at DotOS, I dont like it, just flashed it to get through the bootloop. So now I have downloaded MIUI9 8.3.22 Developer Recovery ROM. Still having TWRP 3.0.3, BL Unlocked, ADB working, Fastboot working, USB Debugging everything taken care off. Just tell me steps to flash the Developer ROM now so that I dont go into bootloop again. Please. Thanks in advance.
ummm kinda easy actually, download the miflash software, open it, it should have the select, refresh, and flash menu. click select, and navigate to your rom file (u need to download the fastboot rom version! not the recovery version, should be easy to find in google. the format should be .tgz change it to rar, extract it, it will shows another rar extract it again, it should be folder now) that folder is your rom file. now enter fastboot mode, plug ur phone, and click refresh. it will shows some number and alphabet. if the number and alphabet appears, click flash! and wait! and ur phone will boot itself
sorry for **** english
1. Go to twrp...
2. Wipe (cache, data, dalvik/cache, system)
3. flash miui 9 dev 8.3.22
4. flash lazyflasher...
Reboot..
It will take more then 5 min to start (first boot usually take that much time)
Your phone boot normally....
If you are facing TWRP Recovery Issue then update TWRP
Link :- https://drive.google.com/drive/folders/17YW09XpEHq7xgBAriwA-mgtEG0pckop2?usp=sharing
V3.2.1-5 is latest one...
Hit thanks
From my Redmi 4X using Tapatalk VIP

Stuck on fastboot mode everytime i try a Rom

I'm getting stuck on fastboot mode everytime i flash derpfest rom , i've tried ''fastboot reboot'' i've tried to install ''twrp'' or boot to it , nothing works everything i try takes me back to the fastboot logo although the install of the rom was succesfull , i've tried with TWRP-3.3.1-8-siankatabg and also with regular TWRP and also with ORANGE FOX recovery , i'm on miui 11.0.7 EU version , can anyone help me
In TWRP, format data and then flash derpfest ROM. Take note that your data will be wiped though.
sangbuana said:
In TWRP, format data and then flash derpfest ROM. Take note that your data will be wiped though.
Click to expand...
Click to collapse
I did just that I placed the ROM in /tmp/ using TWRP file manager then I formated system and cash and data and then I did the data format by writing "Yes" then went back and erased everything a second time for good measure but still after flashing the ROM I get stuck on fastboot with no ability to boot to recovery or use commands like "fastboot reboot" the only solution for me that time is to reuse mi flash to flash stock rom which doesn't work but lets me boot into recovery which i use to flash miui 11.0.7 zip which apparently works just fine .
Also the basics are covered I made sure to allow usb debuging and update TWRP and all of that
1. flash using miflash
2.setup ur phone
3.enable dev optmake sure oem unlock too
4.going for twrp
5. wipe
6. flash ur rom
7.dont go reboot to system
8.format data then rebot to system
In case nothing else helps you can try to flash vbmeta first, following these instructions.
Cheers
Toscha

My k20 pro isnt booting up

I tried installing custom rom for the first time now i did it with xiaomitool but it gave error that it couldnt wipe data and my phone stuck on boot.
Then on my phone i booted to twrp and frm there i wiped dalvik cache and data with a wrappedkey error but i continued and flashed pixel exp plus and formatted data and when i rebooted system i again got stuck there
Then once again i went to twrp and tried wiping dalvik cache and data again but this time with wrappedkey amd some decrypted error to and formated data and then tried rebooting to system. Again nothing worked pls help my otherwose my parents are going to kill me
EDIT : Also my laptop has mac os so i think there isnt much i could do with pc and thats only why i used unofficial xiaomitool in the first place
If youre coming from xiaomi rom or xiaomi eu rom you need to format data ( option in twrp where you type yes) not just wipe data, then reboot to recovery (twrp) again and then follow instruction of rom you want to install. Some custom roms require flashing vendor firmware before flashing rom , then gapps , then magisk if you require root ( if magisk wont install then after flashing rom reboot to twrp again). Also xiaomitool is not ideal for installing custom rom but for recovery and fastboot roms ( one that came originally with phone when phone had locked bootloader, never tick wipe and lock)
Disregard my comment about xiaomitool, had thoght that you mean miflash tool
But how
That rom is not in my phone anymore nor i know how to install back to xiaomi rom btw my phone is indian varient
UPDATE
I once again tried flashing pixl exp plus using a diff tutorial which included flashing some disable force encryption and now my device wont even boot into twrp its stuck on fastboot mode.
Now i only hot two question :
1.) will i be able to charge my phone in fastboot mode (or any other way?)
2.) will i be able to flash stock miui rom in fastboot mode through my mac (or if theres any other way pls tell me)
Yes you will be able to charge through fastboot
Just flash twrp again thn boot into twrp and go to wipe - format data and type yes.
Until and unless you format data you will not be able to do anything
Thn download Indian vendor zip ,your required rom and disableforceencryption.zip in your pc and copy it to the phone while in twrp.
Go to wipe and wipe cache ,dalvik ,data,system,vendor
Thn flash vendor zip followed by rom and dfe
Now reboot
device is jusr stuck on fastboot
Pronoy_ said:
Yes you will be able to charge through fastboot
Just flash twrp again thn boot into twrp and go to wipe - format data and type yes.
Until and unless you format data you will not be able to do anything
Thn download Indian vendor zip ,your required rom and disableforceencryption.zip in your pc and copy it to the phone while in twrp.
Go to wipe and wipe cache ,dalvik ,data,system,vendor
Thn flash vendor zip followed by rom and dfe
Now reboot
Click to expand...
Click to collapse
i did the sameexcept for vendor as i had latest miui but phone got stuck in fastboot and twrp is not accessible.
now what if i install official fastboot rom will it relock the bootloader and brick my phone for good?
ak20prouser said:
i did the sameexcept for vendor as i had latest miui but phone got stuck in fastboot and twrp is not accessible.
now what if i install official fastboot rom will it relock the bootloader and brick my phone for good?
Click to expand...
Click to collapse
Only if you forget to change the option in the Mi Flash Tool, which is easily done if you're not paying attention. If the fastboot ROM is the correct version for the phone then you won't brick the phone if you forget to change the flash option. You will just need to unlock the bootloader again before doing anything else.
After flashing a fastboot ROM, boot into MIUI once so that the install finalises itself.
Then flash TWRP and boot into TWRP.
Do a factory reset, then format data. No need to wipe anything else.
Reboot into TWRP to ensure the newly formatted data partition is properly mounted.
Now copy across and flash the ROM of choice plus any optional extras.
There is no need to flash dfe files or vbmeta, etc.
Assuming you've flashed the latest fastboot ROM, then there's no need to flash vendor or firmware files.
Just go through this post
Trust me it has solved all of my issues
http://forum.xda-developers.com/k20-pro/how-to/simple-beginners-guide-to-raphaelin-t4020543
Pronoy_ said:
Just go through this post
Trust me it has solved all of my issues
http://forum.xda-developers.com/k20-pro/how-to/simple-beginners-guide-to-raphaelin-t4020543
Click to expand...
Click to collapse
Hello Bro. I flashed the latest firmware and the evolution x rom but now my phone is stuck on the redmi logo. I am able to go back to recovery but what do I do now?

Question Unstoppable bootloop after flashing bad boot img

Hi everyone, I wanted to root my phone because my google pay way not working after I unlocked the bootloader of my phone.
I used magisk to flash a version for my redmi 2201117TY, but after using fastboot to flash my "patched" rom back to my phone, it is now booting over and over again.
I installed twrp to try to install another ROM, but I'm not sure it'll work.
I installed several redmi note 11 img to see if it would fix it but i did not (V13.0.6.0.SGKEUXM, V14.0.2.0.TGKMIXM and V13.0.3.0.SGKEUSF which was my original one i suppose)
I just want to have an usable phone even if it means cleaning everything. How can I format everything back to make it usable?
I have access to adb, fastboot, TWRP. (usb debugger on)
I am not sure I can find the exact rom as it was a really wierd version from my operator (SGKEUSF) and I can only find one on internet which happen to not work. How can I unbrick my phone now?
NOTE : the SGKEUSF is an overlayer of the SFR (Altis) network so i would rather not use it
Format (not wipe) data in twrp, flash a rom that fits your needs (on sdcard), reboot recovery (!), reboot system. If fastboot access is given it's fixable. Had the same thing many times with spesn. This is the way it always works for me.
When you say "flash a rom", you mean a recovery or a fastboot one? Does it have an influence?
Just download latest version of MiFlash, download RN11 fastboot ROM, flash the ROM via MiFlash. In MiFlash make sure to to check the box whether of not to lock the bootloader after flash. Just to be safe leave it unlocked until after the phone is safe.

Categories

Resources