Stuck on fastboot mode everytime i try a Rom - Xiaomi Mi 9 Questions & Answers

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

Related

Lost TWRP and system after flash custom rom

Hi guys,
I flash Havoc-OS on Mi9T Pro Global PFKMIXM 10.3.1 by TWRP, after reboot do not start system and not enter on TWRP again.
I try this commands on fastboot below.
Code:
adb devices
fastboot flash recovery recovery.img
fastboot boot recovery.img
fastboot reboot recovery
Can anyone give me a help?
Thanks.
fastboot devices
fastboot flash recovery recovery.img
> now just push volume up + power to boot to twrp. (those boot and reboot not working some reason always)
... i tried use same custom rom, but fail also. Then i test LineageOS, that boot normally. I used EUxxx ROM before and after. I just got enought to test custom roms so far.
S3miniFin said:
fastboot devices
fastboot flash recovery recovery.img
> now just push volume up + power to boot to twrp. (those boot and reboot not working some reason always)
... i tried use same custom rom, but fail also. Then i test LineageOS, that boot normally. I used EUxxx ROM before and after. I just got enought to test custom roms so far.
Click to expand...
Click to collapse
Hi friend, mainly thanks for helping.
I tried your suggestion, but it doesn't work.
I restored with Mi Flash Tolls, the only alternative. Now it works well.
You will now try the Flash I Rom and waiting for new updates and then flash any custom rom.
After I want share stuff tools and congratulations.
Have nice guys!
I have the same stuck in fastboot No recovery img, no rom loaded so cant use XiaoMiTool
I booted into TWRP but it didnt ask me for my dycrpt password or somehow i wasnt paying attention and when in with cancel.
I was preparing to flash a new ROM so i wiped all but user data then went to flash my ROM and found i was in the wrong partition
so i rebooted TWRP back into recovery but it booted to fastboot
once i realised i had no recovery i tried flashing again it says it passes but doesnt boot to recovery?
any ideas please.
E:\Downloads\Mobile Phone\ADB>fastboot flash recovery twrp-3.3.1-13-raphael-mauronofrio.img
target reported max download size of 805306368 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.400s]
writing 'recovery'...
OKAY [ 0.332s]
finished. total time: 1.732s
E:\Downloads\Mobile Phone\ADB>
Click to expand...
Click to collapse
Madaz2 said:
I have the same stuck in fastboot No recovery img, no rom loaded so cant use XiaoMiTool
I booted into TWRP but it didnt ask me for my dycrpt password or somehow i wasnt paying attention and when in with cancel.
I was preparing to flash a new ROM so i wiped all but user data then went to flash my ROM and found i was in the wrong partition
so i rebooted TWRP back into recovery but it booted to fastboot
once i realised i had no recovery i tried flashing again it says it passes but doesnt boot to recovery?
any ideas please.
Click to expand...
Click to collapse
Yes, that's what happened to me.
The only solution I found was to install the new rom via fastboot.
For this you will need to perform the following steps:
1 - Install Mi Flash + drivers (this is boring, if you have Windows 7, it will be easier). In this link you will find some downloads and more details.
2 - Download the Sotck Rom (for fastboot important) from your device, in my case it was PFKMIXM 10.3.1 for Mi9T Pro. You need to extract zip then before.
3 - Flash the new rom via fastboot (approximately 10 minutes).
After that, your device will start with the new rom, then you can flash TWRP again and everything will work. The Magisk installation may cause error 1, but only flash boot.img through TWRP.
Be quick, because if the battery drain, you won't be able to start it in fastboot again.
If you need any links, ask me. I didn't have time to share everything.
Have a nice and good luck!!
Madaz2 said:
I have the same stuck in fastboot No recovery img, no rom loaded so cant use XiaoMiTool
I booted into TWRP but it didnt ask me for my dycrpt password or somehow i wasnt paying attention and when in with cancel.
I was preparing to flash a new ROM so i wiped all but user data then went to flash my ROM and found i was in the wrong partition
so i rebooted TWRP back into recovery but it booted to fastboot
once i realised i had no recovery i tried flashing again it says it passes but doesnt boot to recovery?
any ideas please.
Click to expand...
Click to collapse
To boot to recovery After fastboot flash recovery , you will need also a system...
As you wiped all, you dont have anymore. I made the same mistake when decrypting After unlocking.
Extract system.img from stock fastboot rom and fastboot flash system system.img.
Then again (why not lol) fastboot flash again reco and reboot to recovery with buttons.
If it dont work , miflashtool will recover it ( DONT SELECT CLEAN_LOCK)
rodolphe06 said:
To boot to recovery After fastboot flash recovery , you will need also a system...
As you wiped all, you dont have anymore. I made the same mistake when decrypting After unlocking.
Extract system.img from stock fastboot rom and fastboot flash system system.img.
Then again (why not lol) fastboot flash again reco and reboot to recovery with buttons.
If it dont work , miflashtool will recover it ( DONT SELECT CLEAN_LOCK)
Click to expand...
Click to collapse
Yes, very important.
In Mi Flash, check only "Clean All" dont clean and lock.
Thanks.
thanks, hopefully i didnt break it further as i accidently flashed a global indian ROM when i should have flashed CN
now my only option might be EDL via testpoint, i have a mate who can help i will try and find the right version CN rom tonight and go slower
Madaz2 said:
thanks, hopefully i didnt break it further as i accidently flashed a global indian ROM when i should have flashed CN
now my only option might be EDL via testpoint, i have a mate who can help i will try and find the right version CN rom tonight and go slower
Click to expand...
Click to collapse
Thank you for sharing your experiences.
Too bad you couldn't recover. I hope you can do it again.
Today I had to flash twice, once because I flashed Kernel Quax and couldn't rollback and once for trying Rom Syberian. I hope that in the future we will have a firmware balanced with the customs kernel and roms.
Good luck.
Thanks I dont think it will work
i bought a Deep flash cable to see if i can get it into EDL mode without opening.
Madaz2 said:
Thanks I dont think it will work
i bought a Deep flash cable to see if i can get it into EDL mode without opening.
Click to expand...
Click to collapse
With flash cable or have you open?
Hot-Proton said:
With flash cable or have you open?
Click to expand...
Click to collapse
with flash cable, have to wait for it to arrive now.
if that doesn't work i will have to open and do EDL
Madaz2 said:
with flash cable, have to wait for it to arrive now.
if that doesn't work i will have to open and do EDL
Click to expand...
Click to collapse
I think works, for me it was like this.
Have nice.

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?

Mi 9 don't boot after flashing

Hi,
I need some help for flashing custom rom on my Xiaomi Mi 9.
I unlocked the phone's bootloader yesterday but got soft bricked while wiping data and trying to reboot.
I can flash stock official rom with the all in one tool and it works perfectly but when I try to flash any other
custom rom the phone starts bootloop or gets stuck on fastboot mode.
I modded different other android phones before but I never got stuck like that with one of them.
Can someone help me ?
Sorry for bad english
WazG4 said:
Hi,
I need some help for flashing custom rom on my Xiaomi Mi 9.
I unlocked the phone's bootloader yesterday but got soft bricked while wiping data and trying to reboot.
I can flash stock official rom with the all in one tool and it works perfectly but when I try to flash any other
custom rom the phone starts bootloop or gets stuck on fastboot mode.
I modded different other android phones before but I never got stuck like that with one of them.
Can someone help me ?
Sorry for bad english
Click to expand...
Click to collapse
1. Flash TWRP.
2. Boot to TWRP.
3. Wipe cache/dalvik and FORMAT data (don't wipe system, it's needless and you may stuck in fastboot if you will reboot after that without flashing a ROM).
4. Flash custom ROM (you may use usb otg or adb push).
5. Reboot to system (first boot might take 5-10 minutes).
g_seva said:
1. Flash TWRP.
2. Boot to TWRP.
3. Wipe cache/dalvik and FORMAT data (don't wipe system, it's needless and you may stuck in fastboot if you will reboot after that without flashing a ROM).
4. Flash custom ROM (you may use usb otg or adb push).
5. Reboot to system (first boot might take 5-10 minutes).
Click to expand...
Click to collapse
I will try it thanks !
I tried and the phone is stuck on the Mi logo (before rom's animated logo)...
Any other solution ?
WazG4 said:
I tried and the phone is stuck on the Mi logo (before rom's animated logo)...
Any other solution ?
Click to expand...
Click to collapse
What custom ROM do you flash? What prerequisites it have?
Have you formated data (not wipe)?
g_seva said:
What custom ROM do you flash? What prerequisites it have?
Have you formated data (not wipe)?
Click to expand...
Click to collapse
I tried everything, but I just flashed this morning a modified vbmeta.img and then it seems to work for most of roms.
When I flash Resurrection Remix the phone boots only in fastboot but Paranoid and Descendant X works fine
so I'm satisfied. Thanks for help

[ROOT WITH Magisk/TWRP] A70 ANDROID 9/10 ON ANY VERSION

Hi I bring you how to root and install twrp on A70 any version ,I think its work on all new samsung device:good:
note :
1-first unlock your bootloader https://forum.xda-developers.com/galaxy-a70/development/recovery-twrp-galaxy-a70-t3955984
2-in all step Remove auto reboot in odin
requirement files :
PeaZip
https://www.peazip.org/download-installer-p-windows.html
TWRP recovery.img mack it tar with PeaZip
https://github.com/Grarak/android_device_samsung_a70q-twrp/releases
vbmeta.tar Vbmeta.img- https://www.androidfilehost.com/?fid...26312261811717
Stock recovery.img from your stock rom [ you can download your device rom and extract stock recovery ] and mack it tar with PeaZip
Magisk 20.1- https://www.androidfilehost.com/?fid...26312261797449
Odin3- https://www.androidfilehost.com/?fid...26312261811763
Samfirm- https://www.androidfilehost.com/?fid...26312261811762
Lets start
1- in stock roms maybe work on custom roms
2-boot in to download mode and flash vbmeta.tar via odin in ap
3-after that reboot to recovery by pressing vol+ and power and clear data and cache in stock recovery
4- reboot again in to download mod and now flash twrp via odin in ap
5-reboot to twrp recovery by pressing vol+ and power and slide right to modify. Click wipe, click format data, type yes after that go back and reboot to recovery. slide right to modify, click mount, if mount system partition read-only is checked, back out and reboot back to recovery and check mount again, it should now be unchecked. . Now click Vendor so its checked and system should be unchecked, back out.
6- Copy Magisk 20.1 to the External sd card. In TWRP click install, select storage and choose micro sd card, click on magisk and slide right to confirm. (you must have vendor checked in mount or it wont flash properly). when done, click all way back click reboot to download.
7- now flash stcok recovery tar file via odin and reboot your device to system
8-after your device start run Magisk and update it by install options
well done you have twrp and rooted device :fingers-crossed::good::fingers-crossed:
i think this method work on all new samsung device and just you have own your device file like
twrp /stock recovery /vbmeta
note : if your twrp Stuck on twrp logo you have to install stock recovery and repeat from step 2
tested device A705FN:fingers-crossed:
thanks to :good:
MarvinMod
Grarak
and other to help me in this method
thanks a lot. i will test it today and check back here tomorrow
edit: i cant flash twrp via odin. download mode says "only official released binaries are allowed"
bootloader unlocked
oem unlock grayed
vmeta flashed
wipe data cache
but cant flash twrp. tried to download latest version but still no joy
i have 705FN with A705FNXXU5BTC2 rom installed
thewalekk said:
thanks a lot. i will test it today and check back here tomorrow
edit: i cant flash twrp via odin. download mode says "only official released binaries are allowed"
bootloader unlocked
oem unlock grayed
vmeta flashed
wipe data cache
but cant flash twrp. tried to download latest version but still no joy
i have 705FN with A705FNXXU5BTC2 rom installed
Click to expand...
Click to collapse
Hi i think you have to first flash 4file rom on your device
Plez check this maybe help you
https://forum.xda-developers.com/sa...torial-root-november-security-update-t3715661
Your bootloader must be updated
seli1987 said:
Hi i think you have to first flash 4file rom on your device
Plez check this maybe help you
https://forum.xda-developers.com/sa...torial-root-november-security-update-t3715661
Your bootloader must be updated
Click to expand...
Click to collapse
Hi thanks for the reply. But the day before i read this post, i flashed the latest firmware from sammobile which is the rom i told in the post (BTC2). Doesnt latest firmware include latest BL? Where can i find the current version of my BL in my phone?
thewalekk said:
Hi thanks for the reply. But the day before i read this post, i flashed the latest firmware from sammobile which is the rom i told in the post (BTC2). Doesnt latest firmware include latest BL? Where can i find the current version of my BL in my phone?
Click to expand...
Click to collapse
Try again flash 4 file frimware and let device start to system after that reboot to download mod and flash vbmeta.tar and let your device start to system
After that reboot to stock recovery and wipdata and cach and reboot to download mod and now flash twrp
The wrong is with your bootloader if you cant fix it try to search your problem in google
You are not only one have this problem
I did every thing from scratch. Even lock and unlock the bootloader.
I am tring to make sence. Vbmeta is "verified boot". So the idea is trick the phone with our own bootloader so that we can flash twrp.
Since i cant flash twrp, vbmeta should be updated.
Am i right?
thewalekk said:
I did every thing from scratch. Even lock and unlock the bootloader.
I am tring to make sence. Vbmeta is "verified boot". So the idea is trick the phone with our own bootloader so that we can flash twrp.
Since i cant flash twrp, vbmeta should be updated.
Am i right?
Click to expand...
Click to collapse
Unlock bootloader, factory reset, unsure oem is unlocked and grayed out in settings >developer options.
Then flash vbmeta, manual reboot to download mode, flash twrp, boot to twrp, factory reset in twrp , flash magisk zip then factory reset again, now boot system.
The vbmeta you flash is empty and allows flashing third party zips.
Hiii, i did almost everthing, but when i boot in recovery and go to mount, system partition read-only is checked. already tried 4 for times reboot to recovery but still checked.
Yes, i slide right to allow to modify. Any suggestion ?
BubSystemS said:
Hiii, i did almost everthing, but when i boot in recovery and go to mount, system partition read-only is checked. already tried 4 for times reboot to recovery but still checked.
Yes, i slide right to allow to modify. Any suggestion ?
Click to expand...
Click to collapse
Go ahead with the steps. Ignore mount system.
Let's see what happens
Worst scenario, you soft brick the phone or bootloop which can be fixed by flashing stock rom again.
Make sure you have stock rom and you backup your data
Any way to pass SatefyNet?
Instal this path in Magisk:
https://github.com/kdrag0n/safetynet-fix/releases/download/v1.1.0/safetynet-fix-v1.1.0.zip

Phone goes into fastboot mode after I reboot, can't get into system or recovery

My phone keeps getting stuck on fastboot mode.
I'll flash the standard MIUI ROM using the MiFlash Tool, then I flash a custom recovery and a custom ROM(EvolutionX in this case), everything works and I can set up my phone, but as soon as I reboot I can no longer boot into android or recovery. i've tried flashing multiple recoveries using fastboot and straight up booting a recovery using "fastboot boot recovery.img" but it still always go to fastboot. The only solution is to start the process all over again, and obviously that's just not an option since I can never turn my phone off after that.
Any tips?
I think I got it solved, at least I got it to reboot into Android and TWRP.
I used this guide, but I'll write the steps I took here in case you're having the same issue. I wound up using xiaomi.eu MIUI rom, but it shouldn't matter what you use, I'll assume you're stuck in fastboot.
Do "fastboot flash vendor vendor.img", you get this vendor.img from the fastboot version of the official MIUI ROM, after you decompress the .tar.gz it should be in the "images" folder
Do "fastboot flash recovery twrp.img" then "fastboot boot twrp.img", this should flash twrp as your recovery and then boot into it, for some reason it only worked with the official twrp, not orange fox.
Assuming you got into TWRP you should now flash the latest firmware(I got mine from xiaomifirmwareupdater.com) make sure you download just the firmware not the entire rom, mine was named something like fw_raphael_miui... .zip
Format data (not wipe, format, it's a separate option in TWRP), it should ask you to type yes, so do that.
Flash whatever ROM you want
Hopefully this helps you, I hate finding forum posts marked "solved" but with no instructions. I also tried the "vbmeta_dv_shivsom.img" method some threads mentioned but it didn't work
Here's a pastebin of the guide I used in case the original link goes down
You can get all the files I mentioned from xiaomifirmwareupdater.com and the official TWRP site
Out of all that, the one instruction that solves it is the format data step. This is the magic step required. You always need to do this when flashing over MIUI.
Flashing vendor was totally irrelevant.
This will tell you what you need to do.
Simple Guide to flashing successfully
Here's a quick guide to some of the basics. Which recovery. ---------------------------- Use the latest from here. https://forum.xda-developers.com/k20-pro/development/recovery-unofficial-twrp-xiaomi-redmi-t3944363/post79823568 Do not use Orange...
forum.xda-developers.com
Thanks a lot man! I'm having this issue and it is beyond annoying. I've lost so much time with this BS.
Edit: Does not help actually
I just had the same problem with my Lamentablet.
I was trying stuff up and restarted it in fastboot mode and got stuck there.
So, ways to deal with it:
adb reboot recovery
rebooted the tablet in recovery mode. All I had then was to press the power button to activate Reboot. Solved! From now on it boots normally.
Meanwhile I had discovered that by typing
fasboot continue
the tablet would resume, but at the next reboot cycle, power down + up cycle or reboot after a crash, the tablet would reboot into fastboot mode...
And I found this out when it crashed (it's not called a Lamentablet for nothing!).
Luckily I had a PC with Linux around. It didn't have the software installed but drivers were already in the Kernel and installing adb and fastboot was a matter of mere seconds. If I didn't have an easily ready PC at hand, this tablet would have become a brick until plugged in and rebooted...
OMG Thanks dude.... I'm literally working to installing custom rom on redmi 7a from stock rom but I don't know what reason that make my phone always stuck on fastboot when format data, before this was fine.
Osga21 said:
I think I got it solved, at least I got it to reboot into Android and TWRP.
I used this guide, but I'll write the steps I took here in case you're having the same issue. I wound up using xiaomi.eu MIUI rom, but it shouldn't matter what you use, I'll assume you're stuck in fastboot.
Do "fastboot flash vendor vendor.img", you get this vendor.img from the fastboot version of the official MIUI ROM, after you decompress the .tar.gz it should be in the "images" folder
Do "fastboot flash recovery twrp.img" then "fastboot boot twrp.img", this should flash twrp as your recovery and then boot into it, for some reason it only worked with the official twrp, not orange fox.
Assuming you got into TWRP you should now flash the latest firmware(I got mine from xiaomifirmwareupdater.com) make sure you download just the firmware not the entire rom, mine was named something like fw_raphael_miui... .zip
Format data (not wipe, format, it's a separate option in TWRP), it should ask you to type yes, so do that.
Flash whatever ROM you want
Hopefully this helps you, I hate finding forum posts marked "solved" but with no instructions. I also tried the "vbmeta_dv_shivsom.img" method some threads mentioned but it didn't work
Here's a pastebin of the guide I used in case the original link goes down
You can get all the files I mentioned from xiaomifirmwareupdater.com and the official TWRP site
Click to expand...
Click to collapse
thanks bro. flashing vendor after a format from twrp did the good

Categories

Resources