Search This thread

Leonniar

Senior Member
Sep 23, 2021
83
4
Hello guys, I recently formatted data on my phone to fix a bootloop I had. After fixing everything, SIM card and wifi was not working, I downloaded the Official Stock ROM of my phone and flashed bluetooth, modem, dsp and dtbo. The original plan was to run "flash_all_except_storage.bat" but that kept throwing errors. After I flashed those things I booted successfully and unlocked my phone. Problem is Wifi still doesn't work. So once again got into fastboot, tried running "flash_all_except_storage.bat", once again it threw an error, so I restarted my phone and ever since I can't boot into system. Whenever I restart it goes straight into fastboot, Power off and on again goes to fastboot, I can boot into TWRP, rebooting from there still goes into fastboot mode. I fix a problem and 2 more take it's place, I really need your help here.
Thanks a lot !

Edit:
Fix Attempt 1 (FAILED): I tried formating data through TWRP as I read online, it did not work
Attempt 2 (FAILED): Used
Code:
fastboot continue
and got this error:
Code:
Resuming boot                                      FAILED (remote: 'Failed to load image from partition: No Media')
fastboot: error: Command failed

Attempt 3 (HALF FIX): After some digging I realized after a failed attempt to run "flash_all_except_storage.bat", the boot was erased. I tried flashing only the boot.img and the phone booted up with the wifi working as well. Problem is after a reboot I go back into fastboot and I have to flash boot.img again to boot into system.

Here is recovery.log Pastebin
 
Last edited:

Rares6567

Senior Member
Apr 5, 2022
231
27
Hello guys, I recently formatted data on my phone to fix a bootloop I had. After fixing everything, SIM card and wifi was not working, I downloaded the Official Stock ROM of my phone and flashed bluetooth, modem, dsp and dtbo. The original plan was to run "flash_all_except_storage.bat" but that kept throwing errors. After I flashed those things I booted successfully and unlocked my phone. Problem is Wifi still doesn't work. So once again got into fastboot, tried running "flash_all_except_storage.bat", once again it threw an error, so I restarted my phone and ever since I can't boot into system. Whenever I restart it goes straight into fastboot, Power off and on again goes to fastboot, I can boot into TWRP, rebooting from there still goes into fastboot mode. I fix a problem and 2 more take it's place, I really need your help here.
Thanks a lot !

Edit:
Fix Attempt 1 (FAILED): I tried formating data through TWRP as I read online, it did not work
Attempt 2 (FAILED): Used
Code:
fastboot continue
and got this error:
Code:
Resuming boot                                      FAILED (remote: 'Failed to load image from partition: No Media')
fastboot: error: Command failed

Attempt 3 (HALF FIX): After some digging I realized after a failed attempt to run "flash_all_except_storage.bat", the boot was erased. I tried flashing only the boot.img and the phone booted up with the wifi working as well. Problem is after a reboot I go back into fastboot and I have to flash boot.img again to boot into system.

Here is recovery.log Pastebin
Can you flash full rom with mi flash tool
 

Leonniar

Senior Member
Sep 23, 2021
83
4
I don't believe so. The problem I originally had was that after a restart the phone was booting into fastboot. But if I didn't restart the phone was working fine, cellular, wifi google services everything. So in order to fix that I flashed the full stock rom and that's how I ended up in the restart loop in the first place.

https://forum.xda-developers.com/t/decrypting-xiaomi-mi10t-pro-internal-storage.4544271/page-2#posts
Here are all the details, I started from a completely different problem and ended up here. They entire process I took is in that thread
 
Last edited:

Rares6567

Senior Member
Apr 5, 2022
231
27
I don't believe so. The problem I originally had was that after a restart the phone was booting into fastboot. But if I didn't restart the phone was working fine, cellular, wifi google services everything. So in order to fix that I flashed the full stock rom and that's how I ended up in the restart loop in the first place.

https://forum.xda-developers.com/t/decrypting-xiaomi-mi10t-pro-internal-storage.4544271/page-2#posts
Here are all the details, I started from a completely different problem and ended up here. They entire process I took is in that thread
There is no volume buttons problem?
If no maybe you should reflash whole phone, fastboot, recovery, all, using edl ig.... I don't have this phone or any Snapdragon phone, so I don't really know....
 

Leonniar

Senior Member
Sep 23, 2021
83
4
Yeah I did, I used the flash_all.bat that comes with the ROM file and pretty much replaced everything. I tried to run it a couple of times and it failed mostly but I was able to run it twice I think (without changing anything, just running it again and again at some point it worked)
 

Rares6567

Senior Member
Apr 5, 2022
231
27
Yeah I did, I used the flash_all.bat that comes with the ROM file and pretty much replaced everything. I tried to run it a couple of times and it failed mostly but I was able to run it twice I think (without changing anything, just running it again and again at some point it worked)
So then why your phone goes to fastboot?
 

Leonniar

Senior Member
Sep 23, 2021
83
4
I really don't know, after running flash_all the second time now my phone is stuck in a restart loop. Shows the MI logo and restarts. I can manually boot to recovery or fastboot but if I leave it on it's own it keeps turning on and off
 

Rares6567

Senior Member
Apr 5, 2022
231
27
I really don't know, after running flash_all the second time now my phone is stuck in a restart loop. Shows the MI logo and restarts. I can manually boot to recovery or fastboot but if I leave it on it's own it keeps turning on and off
🤔 It seems that this a software bug ig, can you try go to recovery and flash the rom?
 
  • Like
Reactions: alecxs

Leonniar

Senior Member
Sep 23, 2021
83
4
I could try but I am not sure how to do that. My rom comes in a .tgz format and not .zip and all guides mention you need a .zip file
 

Rares6567

Senior Member
Apr 5, 2022
231
27
I could try but I am not sure how to do that. My rom comes in a .tgz format and not .zip and all guides mention you need a .zip file
So where u downloaded the fastboot rom, there is a recovery rom too :

Be sure u download the recovery rom not fastboot.
Btw use your miui version u had
 

Attachments

  • IMG_20230201_175145.jpg
    IMG_20230201_175145.jpg
    163.1 KB · Views: 6

Rares6567

Senior Member
Apr 5, 2022
231
27
Tho I'm not 100% sure if you flashed the fastboot rom correctly, did u :
1. Open MiFlashTool : download the tool from here if you don't have it ---> https://xiaomiflashtool.com/
2. Select your rom ( make sure your path to the rom isn't long and the folder/folders don't have long names )
3. Connect your phone
4. Click Refresh ( to make your device appear)
5. And click flash
 

Leonniar

Senior Member
Sep 23, 2021
83
4
I didn't do it with MiFlashTool because it kept throwing errors at me whenever I launched it so I tried the flash_all.bat batch file that runs cmd commands and flashes everything. the ROM I installed was the fastboot version. The official website on the recovery ROM stated that "This page shows a single update only" so I assumed it's just an update and not the full ROM. I was also told I should use the fastboot variant in the above mentioned thread
 

Rares6567

Senior Member
Apr 5, 2022
231
27
I didn't do it with MiFlashTool because it kept throwing errors at me whenever I launched it so I tried the flash_all.bat batch file that runs cmd commands and flashes everything. the ROM I installed was the fastboot version. The official website on the recovery ROM stated that "This page shows a single update only" so I assumed it's just an update and not the full ROM. I was also told I should use the fastboot variant in the above mentioned thread
Ok so to fix the error : go to miflashtool folder and create a new folder called : log
 

Leonniar

Senior Member
Sep 23, 2021
83
4
Well I just closed the Install driver window and flashed as is, I got this:
https://prnt.sc/Bk2eaj9w5Lq7 so presumably it failed but my devices rebooted and is now on system set up

Edit:
3 reboots later and phone still boots fine to system
 
Last edited:

NOSS8

Recognized Contributor
Well I just closed the Install driver window and flashed as is, I got this:
https://prnt.sc/Bk2eaj9w5Lq7 so presumably it failed but my devices rebooted and is now on system set up

Edit:
3 reboots later and phone still boots fine to system
This error is normal since you are not re-locking the bootloader.
If some functions are inoperative.
Try to flash the same rom (fastboot) that you had when you bought the phone, probably an A11.
Use clean all(flash_all.bat).

https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Well I just closed the Install driver window and flashed as is, I got this:
    https://prnt.sc/Bk2eaj9w5Lq7 so presumably it failed but my devices rebooted and is now on system set up

    Edit:
    3 reboots later and phone still boots fine to system
    This error is normal since you are not re-locking the bootloader.
    If some functions are inoperative.
    Try to flash the same rom (fastboot) that you had when you bought the phone, probably an A11.
    Use clean all(flash_all.bat).

    https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
    2
    Woah that extremely helpful ! and then I just flash the patched file right ? Hopefully I won't need it but that's great to know. I am planning on rooting 3-4 other devices after this (I found them in my old phone pile while looking for a temporary one since my main needed attention hahaha) thanks for the link as well !
    You must use the boot,vbmeta img of the rom version you are using.
    No need for Twrp or O.F to root.
    Current method to be adapted according to your device.

    1. Find or redownload the TGZ file(fastboot rom) for your current ROM or custom rom
    2. Browse inside the zip file and find boot ,vbmeta,img** under the images folder
    3. Copy this file to a temporary location in your PC first, and then transfer it to your phone
    4. Install the desired version of Magisk app (V23?)
    5. Run the app and choose Install under Magisk
    6. Choose Select and Patch a File, then select the boot.img that was transferred earlier
    7. A process will run and create a new .img file in the same folder where the original one was
    8. Transfer the new file to your PC in the same directory where fastboot.exe is located
    9. Open a command prompt window in that same directory
    10. Reboot your phone to fastboot mode and connect to PC, USB2.0 port. Check for connection by running command fastboot devices.
    11. Run the command fastboot flash boot_ab magiskXXXX.img*

    Once it's completed, run command fastboot reboot and the phone should boot and be rooted.
    *devices with A/B partitions
    **depending on the type of device
    1
    I really don't know, after running flash_all the second time now my phone is stuck in a restart loop. Shows the MI logo and restarts. I can manually boot to recovery or fastboot but if I leave it on it's own it keeps turning on and off
    🤔 It seems that this a software bug ig, can you try go to recovery and flash the rom?
    1
    🤔 It seems that this a software bug ig, can you try go to recovery and flash the rom?
    flashing miui_APOLLOEEAGlobal_V12.5.4.0.RJDEUXM_451a2324af_11.0.zip from stock recovery is good idea, you can do this from MicroSD card to circumvent any usb issues you are obviously facing on fastboot.
    1
    Oh right that worked! I don't know how I missed that ! I hide all the services and apps related to google play store(there is one called "Carrier Services" with google play store logo, hidden that as well). Magisk is already hidden!
    Thanks for the help !
    Your welcome 😁!!!!