Mi 9 - Can not boot, even after MiFlash - Xiaomi Mi 9 Questions & Answers

To keep it short: tried to flash a new MIUI Version and now i cant get any system to boot, even after flashing with MiFlash.
My Bootloader is unlocked, if that helps
My history of failure
- I successfully unlocked my bootloader
- i flashed twrp
- i wiped only data
- i flashed xiaomi.eu miui 11 https://xiaomi.eu/community/threads/9-9-26-27-v2-miui-11.52341/
- didnt boot the system
- went back to twrp
- wiped á la "factory reset" (the pre-setting)
- then my sdcard folder was "scrambled" with folder like "IK76889AJSNDKAJ"
What I tried already:
- copying the rom again, copying didnt work
- then i downloaded and flashed cepheus_global_images_V10.2.6.0.PFAMIXM fastboot rom
EDIT: and flashed sucessfully via MiFlash
- still doesnt boot
Any idea what i can do?

Try to flash TWRP again, format data not wipe. Wipe cache/dalvik cache. Flash any ROM you want. It's take sometimes up to 15 min to boot, with clean flash.

In bad case, if you flash wrong version with your base one and choose “ flash all and lock “ in bottom bar. Your device is brick. Like I have a Mi 9 china version, when i flash global rom and forget choose “ flash all” . My device is brick . Hope you not , fr

g_seva said:
Try to flash TWRP again, format data not wipe. Wipe cache/dalvik cache. Flash any ROM you want. It's take sometimes up to 15 min to boot, with clean flash.
Click to expand...
Click to collapse
you're right!
my fault was to "wipe" and not to click "format data"
afterwards i was able to flash and boot a roms again

JonnyZaggi said:
you're right!
my fault was to "wipe" and not to click "format data"
afterwards i was able to flash and boot a roms again
Click to expand...
Click to collapse
Wipe don't remove encryption.

Related

Need help. K20 pro stuck in bootloop.

Hi..
The concerned device is a k20 pro (RAPHAELIN) indian version.
I unlocked the bootloader.
Installed Orange Fox.
Flashed Pixel Experience Plus.
Wiped cache/dalvik cache
Rebooted
..
The phone keeps taking me to fastboot.
I can boot into recovery by pressing the volume up + power button.
I can flash zips via all-in-one tool.
I have tried reflashing the indian fastboot rom as well as the global one.
But nothing seems to be solving the issue. It keeps booting into fastboot.
I'm sorry. I'm a noob. I tried following the tutorials but eventually ended up in this mess.
Any help would be appreciated.
Format data, wype cache, system and data again, the flash cn 10.3.16 zip from recovery. Report back
nosidefcp said:
Format data, wype cache, system and data again, the flash cn 10.3.16 zip from recovery. Report back
Click to expand...
Click to collapse
Didn't work. It shows that it's an invalid zip format.
i downloaded the zip like you said. What am I doing wrong?
nosidefcp said:
Format data, wype cache, system and data again, the flash cn 10.3.16 zip from recovery. Report back
Click to expand...
Click to collapse
Yessss!!! Thank you so much. Figured it out finally.. There was a compatibility.zip in the file which was giving a compatibility error.. deleted that file, repackaged, flashed. Booted into the chinese rom...
at least the phone is functional now.
Thank you so much!

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?

Stuck in recovery bootloop

Hello guys
I tried to flash my K20 Pro today with a custom ROM and somehow ended up with a bootloop (I wiped everything pretty much, Data, Vendor (which was probably the mistake, dunno), System, caches, all that). So, I went ahead and flashed the stock ROM through the MiFlash tool, and I can use the stock ROM. After that, I flash TWRP and repeat the process. Wipe, flash, reboot. And I get the bootloop.
Bootloader is unlocked as should be.
Anyone know what's causing this and what I can do to fix it?
Thanks in advance
EDIT: Just noticed that after this last attempt where it bootlooped into the recovery, everything's encrypted, don't know if that helps but it's there.
Format data
camp70 said:
Format data
Click to expand...
Click to collapse
Had it running on the fastboot MIUI ROM, flashed TWRP, wiped caches, system and data. Then data again. Storage shows up in 3 "partitions" and I can't paste files to them. When I try to reboot back to TWRP it just goes to fastboot and after reflashing TWRP, it still will boot to fastboot instead of the just flashed recovery. Using fastboot oem reboot-recovery if that helps.
After the wipe, doing fastboot boot twrp.img will fire up a "Failed to load/authenticate boot image: Load Error"
Format is not the same that wipe
From MIUI
Install TWRP.
Boot TWRP.
Go to wipe menu and factory reset.
Return to wipe menu and select format data.
At no point do you need to go into the advanced wipe menu.
Return to the main menu.
Go to boot menu.
Select (re)boot recovery to allow TWRP to correctly mount the newly formatted data partition.
Copy across the files you want to flash, then flash them.

Question Stuck on Fastboot and TWRP. Help needed.

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

Categories

Resources