Failed to install global rom via mi flashing tool, now phone stuck on fast boot. - Xiaomi Mi 8 Questions & Answers

Solved !!!
I was able to flash global miui 9.5.
Hi ,
So after finally the bootloader is unlocked I tried to flash the global rom via mi flash tool.
Update failed and an error message is update crc list failed !
I tried flashing back the chinse rom and I get the same error.
I can boot the device to recovery mode, but its mi recovery 3.0, I have 3 options:
1.wipe data
2. boot to system
3. connect via pc suite
tried with pc suite but it says my device isn't supported.
The computer recognizes the device via MiFlash tool but in adb via cmd when I type adb devices I get blank row and its unable to find the device.
how can I make my phone usable again please?
I have tried many things I found on google but nothing worked.
Thank you all

Hi
Is fastboot mode able?
Try to unlock again.

what do you mean able?
the phone is recognized via Mi Flash tool but in adb via cmd it is not recognized.
I waited 700 hours for the unlock and the phone is unlocked.
can you explain please what is fastboot able and what do you mean to try to unlock again?
thx

Hi
Could you start the phone in fastboot mode?

StupiduserHH said:
Hi
Could you start the phone in fastboot mode?
Click to expand...
Click to collapse
yes the phone is in fastboot mode, and I cant back to normal mode for regular use.
I tried to unlock again like you said it the program said the device is already unlocked.

Have you tried the first option, wipe data?

Don't panick, since you have fastboot mode it's not bricked. Let's start by booting into TWRP.
Download TWRP and put it in the same directory with your FASTBOOT.exe file.
Open a windows dos prompt and get to the same directory as your FASTBOOT file.
Reboot your phone into FASTBOOT mode.
in your DOS prompt type "Fastboot boot yourrecoveryfilename.img" (change the yourrecoveryfilename.img to the TWRP recovery image file you downloaded)
your phone should reboot into TWRP if there wasn't an error. TWRP won't be permanent (if you reboot out of TWRP it won't retain it), but will allow you to flash ROM.
I've only ever flashed all my ROMs through TWRP, never used anything else since i unlocked the phone.
Let me know how this goes.

fastboot .exe file,where can i get it
_katho_ said:
Have you tried the first option, wipe data?
Click to expand...
Click to collapse
wherecan i download this fastboot file

Hello all.
Big screw up, I think. So I've had my MI 8 for a while now, no issues, until today I decided to install official lineage on it. The bootloader was unlocked. I flashed TWRP, but every time I rebooted the phone, it would go back to stock recovery, not TWRP. So here the issue started:
- Via Mi flash tool, I reflashed global MIUI 10 back to stock. I didn't realize I had relocked the bootloader...
- I tried reflashing TWRP without realizing I had relocked the bootloader.
- Thinking that the TWRP flash was done incorrectly again, I simply wanted to go back to stock, and attempted to use the mi flash tool to reflash, once again, the global stock MIUI 10. the flash tool said it was a success. (I still didn't realize I was on a locked bootloader)
- I am now on a bootloop. I can't get past the stock recovery screen, but I can go into fastboot. The recovery screen has a warning that the ROM cannot be used on the phone.
- I tried re unlocking the bootloader with the unlock tool, but because my Mi account credentials are not input on the phone (the phone was wiped clean), I cannot re unlock it.
What can I do? How can I get out of the bootloop, and hopefully re unlock and flash global rom clean again?

dancarriv said:
Hello all.
Big screw up, I think. So I've had my MI 8 for a while now, no issues, until today I decided to install official lineage on it. The bootloader was unlocked. I flashed TWRP, but every time I rebooted the phone, it would go back to stock recovery, not TWRP. So here the issue started:
- Via Mi flash tool, I reflashed global MIUI 10 back to stock. I didn't realize I had relocked the bootloader...
- I tried reflashing TWRP without realizing I had relocked the bootloader.
- Thinking that the TWRP flash was done incorrectly again, I simply wanted to go back to stock, and attempted to use the mi flash tool to reflash, once again, the global stock MIUI 10. the flash tool said it was a success. (I still didn't realize I was on a locked bootloader)
- I am now on a bootloop. I can't get past the stock recovery screen, but I can go into fastboot. The recovery screen has a warning that the ROM cannot be used on the phone.
- I tried re unlocking the bootloader with the unlock tool, but because my Mi account credentials are not input on the phone (the phone was wiped clean), I cannot re unlock it.
What can I do? How can I get out of the bootloop, and hopefully re unlock and flash global rom clean again?
Click to expand...
Click to collapse
Here I made this thread for you : https://forum.xda-developers.com/mi-8/how-to/how-to-install-roms-resolve-issues-t3911611

tsongming said:
Here I made this thread for you : https://forum.xda-developers.com/mi-8/how-to/how-to-install-roms-resolve-issues-t3911611
Click to expand...
Click to collapse
I finally got around fixing this. It turns out my phone was China, with Global ROM. So I did an EDL test point method and paid someone with an authorized account to access my laptop remotely to Flash the latest China ROM. I waited the required period for bootloader unlocking, and it's back alive!
I'm running official lineage 16, and I'm pretty happy with the results. I'm Using it as a daily driver instead of my all stock pixel 2 XL. No issues.

dancarriv said:
I finally got around fixing this. It turns out my phone was China, with Global ROM. So I did an EDL test point method and paid someone with an authorized account to access my laptop remotely to Flash the latest China ROM. I waited the required period for bootloader unlocking, and it's back alive!
I'm running official lineage 16, and I'm pretty happy with the results. I'm Using it as a daily driver instead of my all stock pixel 2 XL. No issues.
Click to expand...
Click to collapse
That's great news! It sucks that you were tricked into thinking your that phone is a global version. But at least you able to get things permanently sorted.
Sent from my Xiaomi MI 8 using XDA Labs

Agimax said:
Don't panick, since you have fastboot mode it's not bricked. Let's start by booting into TWRP.
Download TWRP and put it in the same directory with your FASTBOOT.exe file.
Open a windows dos prompt and get to the same directory as your FASTBOOT file.
Reboot your phone into FASTBOOT mode.
in your DOS prompt type "Fastboot boot yourrecoveryfilename.img" (change the yourrecoveryfilename.img to the TWRP recovery image file you downloaded)
your phone should reboot into TWRP if there wasn't an error. TWRP won't be permanent (if you reboot out of TWRP it won't retain it), but will allow you to flash ROM.
I've only ever flashed all my ROMs through TWRP, never used anything else since i unlocked the phone.
Let me know how this goes.
Click to expand...
Click to collapse
Hey, so I don't want to spam you, but seems like you really know about this and I desperately need some help...
Could you please take a look at my thread? https://forum.xda-developers.com/xi...nt/help-bricked-mi-mix-2s-installing-t4131269
Thank you

Related

Re-Lock bootloader?

I unlocked my bootloader, installed twrp and several roms to try them out, then decided to go back to stock. Currently have OOS 3.5.4 installed with stock recovery (that came with the toolkit). However, whenever I try to lock the booltloader again, the phone won't boot up. It will bootloop, or just stay off with the led glowing white. I tried to sideload the stock ROM from OnePlus, but it fails after about 45% completion. I tried both 3.5.3 and 3.5.4 and both fail after about 45%. The only way to get the phone to boot again is by unlocking the bootloader again, then it boots just fine. Tried unlocking with the toolkit as well as fastboot oem lock. Both give me the prompt on the phone, then wipe the phone and go into the bootloop.
Any suggestions on how to re-lock the bootloader? I want to be able to get the OTA update, which I think will fail with an unlocked bootloader. Note, I have also tried loading the Nougat update from settings - system update - local upgade (both full and update) and they also fail to load shortly after booting to recovery.
Thanks,
TR
Instead of using the toolkit, try just doing it manually.
fastboot oem lock IS the correct way to lock the bootloader.
If you're running into all those issues, try to reflash the stock rom from the official site. OR try this
NOTE: This WILL wipe everything on your phone so make a backup first!
First Unlock booloader​1. On your phone go into Developer screen (Settings --> Developer Options)
If you don't have this go back to Settings --> About Device. Tap "Build number" 7-10 times to unlok developer options
2. In Developer Options turn on "USB Debugging" and "OEM Unlock"
3. Open ADB in command prompt and go to the directory where ADB is.
Type adb reboot bootloader
4. Once your device is in fastboot mode, type in fastboot devices to make sure your device is listed
5. Type in fastboot oem unlock to unlock your device bootloader
You can check to make sure it was properly unlocked by typing in fastboot oem device-info.
6. Reboot into your system
Files we need​7. Download the following files:
TWRP - https://build.nethunter.com/test-builds/twrp/oneplus/twrp-3.0.2-0-oneplus3t.img
No-verity-opt-encrypt - https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.0.zip
Magisk - http://tiny.cc/latestmagisk
Phh-Superuser - https://forum.xda-developers.com/attachment.php?attachmentid=3988488&d=1483407725
Latest Stable Nougat Rom - http://otafsc.h2os.com/patch/amazon...s3TOxygen_28_OTA_035_all_1612310259_2dc0c.zip
8. Copy all the files to your phone (keep the original on your pc just in case)
9. Load back up to fastboot mode
In ADB type adb reboot bootloader
10. Flash twrp img we downloaded above by typing
fastboot flash recovery twrp-3.0.2-0-oneplus3t.img
11. After this reboot into the system
Install all of our downloaded files through TWRP​12. Now boot into recovery by issuing the following ADB command
adb reboot recovery (you should go into TWRP)
13. Once you're in twrp flash the "no-verity-opt-encrypt-5.0.zip" file OR you can format the data partition to f2fs to prevent the dm-verity error.
14. Now install the stock stable nougat rom we downloaded above
15. Do a factory system wipe / cache & dalvik
16. Install magisk through TWRP
17. Wipe cache/dalvik
18. Install phh SuperUser
19. Now reboot into the system normally.
NOTE: This *COULD* take a while since you did a clean install of nougat so just be patient and you should be good to go after this.
Thanks for the reply.
I did do fastboot oem lock, and it results in an unbootable system. fastboot oem unlock makes it bootable again. Not sure why. Also, whenever I do adb sideload <any_rom> it fails after about 45%. Not sure what's happening. Your instructions would get me to Nougat with TWRP and an unlocked bootloader, which may be what I end up doing, but I was trying to get back to fully stock, and locked again, so that OTA's will work properly. If nothing else works, I will go the route you suggest above.
Thanks again!
I just figured I'd try to get you to a working system/phone. After you get all that working you can probably lock your bootloader back to default. Now, I'm not 100% sure, but I believe that if you have a custom recovery you will need to restore that to stock as well before setting the bootloader back to locked.
TXRangerXDA said:
I unlocked my bootloader, installed twrp and several roms to try them out, then decided to go back to stock. Currently have OOS 3.5.4 installed with stock recovery (that came with the toolkit). However, whenever I try to lock the booltloader again, the phone won't boot up. It will bootloop, or just stay off with the led glowing white. I tried to sideload the stock ROM from OnePlus, but it fails after about 45% completion. I tried both 3.5.3 and 3.5.4 and both fail after about 45%. The only way to get the phone to boot again is by unlocking the bootloader again, then it boots just fine. Tried unlocking with the toolkit as well as fastboot oem lock. Both give me the prompt on the phone, then wipe the phone and go into the bootloop.
Any suggestions on how to re-lock the bootloader? I want to be able to get the OTA update, which I think will fail with an unlocked bootloader. Note, I have also tried loading the Nougat update from settings - system update - local upgade (both full and update) and they also fail to load shortly after booting to recovery.
Thanks,
TR
Click to expand...
Click to collapse
I also have the same problem, after the bootloader lock the phone does not start.
I tried with all the possible procedures, also even the rom flash in local and sideload it does not work, It comes to 45% and then fails.
we will highlight the problem, so everyone will know and maybe there is a solution
m0d hipp¥ said:
I just figured I'd try to get you to a working system/phone. After you get all that working you can probably lock your bootloader back to default. Now, I'm not 100% sure, but I believe that if you have a custom recovery you will need to restore that to stock as well before setting the bootloader back to locked.
Click to expand...
Click to collapse
But of course, you can't relock phone with a non standard recovery. Replace TWRP with the ROMs real recovery and relock will work again.
That's what I figured. Thanks for the confirmation.
Use the unbrick tutorial to go back to stock
This is what i did
https://forum.xda-developers.com/oneplus-3t/how-to/unbrick-unbrick-tutorial-oneplus-3t-t3515306
pitrus- said:
But of course, you can't relock phone with a non standard recovery. Replace TWRP with the ROMs real recovery and relock will work again.
Click to expand...
Click to collapse
I'm sorry, even with the stock recovery but does not work, it was the first thing I did
You can a unbick tutorial. It worked for my OnePlus 3T. Just search up How to unbrick (whatever OnePlus device you have) on Google. Then follow all the instructions carefully. If you need help with it I could try to do a remote session with you. Edit: It will erase all data and you will boot with oos 3.5.3 ( I also had the same issue as you. But I couldn't install any zip with stock recovery or adb side load.
Haven't seen nothing on the fórum about this particular subject, locking the bootloader seems a problem in this phone
enokack said:
Haven't seen nothing on the fórum about this particular subject, locking the bootloader seems a problem in this phone
Click to expand...
Click to collapse
Only if you have modified the phone in some way or another (like rooting and installing twrp) before trying to re-lock.
If you keep it stock, you should be able to re-lock. Or else, just use the Qualcomm restore method to re-lock.
tried this
OK what i did was when the phone was starting and vibrating I push the power bottom and volume down bottom at the same time ,then i connected the phone to the PC,from the panel in the phone there are 3 categories to erase everything on the phone I did it all(1,2,3) and then I put the phone in ADB mode from the control panel in the phone,After that I flash via fastboot the original .zip from one plus for the version 4.0.3 (1.4 GB) ,when it finished I restarted and the phone started normal again,I hope this help someone alse,I was so desesperated:silly:.
I think the problem in re-locking it is the modified boot image. Locked bootloaders don't support those.
re-locking bootloader will getback the warranty ???
No solutions till now
enokack said:
Haven't seen nothing on the fórum about this particular subject, locking the bootloader seems a problem in this phone
Click to expand...
Click to collapse
Its three easy steps, no need to use any toolkit just follow the instructions. https://forums.oneplus.net/threads/...-3-3t-and-go-back-completely-to-stock.456232/
Abrar123 said:
re-locking bootloader will getback the warranty ???
Click to expand...
Click to collapse
Unlocking the bootloader does not void the warranty on this device:
https://oneplus.net/support/answer/will-rooting-or-unlocking-the-bootloader-void-my-warranty
Once I have root, is there a command to re-lock and later eventually unlock the bootloader again?
I remember this was possible with google nexus devices, there was a shell command (require root) that was able to change bootloader status

Help relocking bootloader

Hello team,
I had 4.03 with unlocked BL and TWRP installed. I reinstalled the stock N recovery first. When I use the command "fastboot oem lock" it ask me to say yes and I do, it reboots and flashes the white symbol and reboots, stuck in this bootloop. Anybody seen this before or have a fix? I am trying to restore to stock to sell.
thanks,
Nope I didn't have an issue like you. 2 attempt of going back to stock and never had an issue. Did you successfully flash the stock recovery?
Just use the unbrick meathod it resets everything
kingheri1 said:
Nope I didn't have an issue like you. 2 attempt of going back to stock and never had an issue. Did you successfully flash the stock recovery?
Click to expand...
Click to collapse
Yes- I did flash the stock recovery. But when I do the "fastboot oem lock" it just boot loops- any ideas?
aaronc_98 said:
Hello team,
I had 4.03 with unlocked BL and TWRP installed. I reinstalled the stock N recovery first. When I use the command "fastboot oem lock" it ask me to say yes and I do, it reboots and flashes the white symbol and reboots, stuck in this bootloop. Anybody seen this before or have a fix? I am trying to restore to stock to sell.
thanks,
Click to expand...
Click to collapse
You should never lock the bootloader with non stock recovery or boot image. The security in newer devices is a lot meaner.
There are two ways you can resolve this:
Method 1:
You'll need to unlock the bootloader first. Try getting into fastboot and run "fastboot oem unlock".
If it allows unlocking you're done, just flash everything stock (first the recovery and then OOS 4.0.3 via the ADB option in the recovery). Then, go to fastboot and relock the bootloader. Should work since it worked many times for me.
Method 2:
If it doesn't allow and you're in TWRP you can't do any flashing since the locked bootloader won't allow TWRP to boot.
In this case, contact OnePlus Support via Live Chat and tell them you got a software issue with your phone.
They'll give you links to three files needed for flashing the device. Download those and let them know. They'll flash your device via remote support within a week. No matter what S/W state it is in.
Hope it helps

Mi 9 stuck in Fastboot after TWRP Backup Restore.

Hello,
I tried the latest V11.0.6.0.QFAEUXM ROM but I didn't like it and so I booted into my TWRP recovery and restored the latest fullbackup I made from 2 days ago, then rebooted.
Now I'm stuck in Fastboot loop.
$ fastboot reboot
and
$ fastboot reboot recovery
... have literally no effect, still the phone is stuck in fastboot mode uppon restart.
I read in another thread "just use MiFlash tool and revert to stock rom, do everything all over to rescue your phone".
OK, fine. I start MiFlash, it asks me to unlock my phone... I click unlock. Nothing happens, I click again "try unlock again", then "no need to repeat unlock" appears, nothing happens, the usual menu with the options to flash or install TWRP are missing.
:good: really good! Just as expected. Very user friendly.
Now what?
I had twrp-3.3.1-37-cepheus-mauronofrio.img (SHA-1: A3230E7918A9E3D3D939AA8619B40E47A54F645D) as recovery and my ROM was xiaomi.eu_multi_MI9_V11.0.4.0.QFACNXM_5e64190eb9_v11-10.zip (SHA-1: 714BD02A5D52720C2733E2FDA9730EECE441AE09) before I tried to flash miui_CEPHEUSEEAGlobal_V11.0.6.0.QFAEUXM_1647340073_10.0.zip (SHA-1: BAC6307DA99F766E35A6EDBB0B74D02F73AD2782) and everything went downhill from there.
MiFlash version: miflash_unlock-en-3.5.719.27.zip
Is there more info I can provide?
EDIT / UPDATE:
I've been following the instructions from a Youtube video (links below) by the letter and now at least I'm back in a sane / stock ROM state where I can (have to) redo everything fromm the beginning.
Sources:
https://www.youtube.com/watch?v=GuAHNFjK--o
Instructions:
https://highonandroid.com/android-s...rick-unroot-xiaomi-android-stuck-on-fastboot/
Download site:
https://xiaomifirmware.com/roms/download-official-miui-roms-for-xiaomi-mi-9/
(I downloaded & used "cepheus_eea_global_images_V10.2.17.0.PFAEUXM_20190327.0000.00_9.0_eea_b2470d1b08.tgz")
I chose "clean all" as flash method in that XiaomiMiFlash Tool.
It will reboot into Stock ROM, in my case I chose the EU version.
From there you can activate Developer Options & USB-Debugging again and you're set to go customizing again.
Ohhh looks not amazing
Did you've tried to flash recovery via adb?
Laptapper said:
Ohhh looks not amazing
Did you've tried to flash recovery via adb?
Click to expand...
Click to collapse
I tried:
$ fastboot flash recovery twrp-3.3.1-37-cepheus-mauronofrio.img
$ fastboot reboot recovery
It boots straight into Fastboot again.
I don't even know what to say at this point. I literally only wanted to restore a fullbackup. How can this possibly happen in the first place?
I'm really close to smashing this phone in 1000 pieces...
anthropaki said:
I tried:
$ fastboot flash recovery twrp-3.3.1-37-cepheus-mauronofrio.img
$ fastboot reboot recovery
It boots straight into Fastboot again.
I don't even know what to say at this point. I literally only wanted to restore a fullbackup. How can this possibly happen in the first place?
I'm really close to smashing this phone in 1000 pieces...
Click to expand...
Click to collapse
What I suggest you to do is flash the latest TWRP from Mauronofrio which is 3.3.1-52.
After successfully flashing the recovery, immediately press vol up + power button until it reboots.
Do not reboot using the command line or turn off your phone.
In TWRP, flash the xiaomi.eu ROM version that your backup is based on.
Then perform a restore from the backup that you had made.
Sent from my MI 9 (Cepheus) using Tapatalk
Thanks, but I fixed it already.
As I described / updated in the OP there is a tool with which you can use some firmware roms in tgz format to flash over the fastboot state to get a "stock rom-ish" state back.
Once in the stock rom you have to go through the basic setup routine and then activate USB Debugging, then you can install TWRP, other Roms as per usual.

Cant flash TWRP

Trying to flash TWRp after unlocking bootloader. First time i tried it, said successful but booted to MIUI recovery
2nd time i tried said again successful, booted to TWRP, formatted data.
Phone then wouldnt reboot to TWRP. Instead it going straight to fastboot. I keep trying to flash again, every time saying successful, then it just boots to fastbooot, not recovery. Any ideas, phones dead at the minute
Tones1971 said:
Trying to flash TWRp after unlocking bootloader. First time i tried it, said successful but booted to MIUI recovery
2nd time i tried said again successful, booted to TWRP, formatted data.
Phone then wouldnt reboot to TWRP. Instead it going straight to fastboot. I keep trying to flash again, every time saying successful, then it just boots to fastbooot, not recovery. Any ideas, phones dead at the minute
Click to expand...
Click to collapse
The best way to recover the phone in your situation is to fastboot flash MIUI.
Get the latest MIUI fastboot ROM for your phone from here
https://xiaomifirmwareupdater.com/miui/raphael/
Install it using this guide from the official MIUI forums
https://c.mi.com/oc/miuidownload/detail?guide=2
If you see a blank page on a mobile browser, set it to view in desktop mode, for this page.
Make sure in step 5 you change the option at the bottom of the Mi Flash Tool to 'clean all' before hitting the Flash button.
MIUI will restore stock recovery when it reboots, so you need to do something to fix this. Flashing Magisk or a custom ROM will automatically preserve TWRP.
If you plan to keep MIUI and do not want Magisk, then you need to flash the vbmeta patcher from here
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
You need to flash TWRP, then immediately boot into TWRP.
Code:
fastboot flash recovery <path to twrp>
fastboot oem reboot-recovery
At this point you need to flash something in order to preserve TWRP (either a new custom ROM, Magisk, or the vbmeta patcher)
Cheers. You know this is all familiar. Pretty sure i had the same trouble 3 years ago with my mi mix 2
Anyway, lots of hiccups on the way along with this solution. Got to the point now where it says its flashing but it never stops.
EDIT: Bit more research, shortened the path names. Got an error. Commented out device name, got a different error. Switched to USB 2.0 port an FINALLy im back up and running.
Thank you so much for the help.

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