How To Guide Different Method for Installing Poco F3 Fastboot rom - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

For those stuck in fastboot mode, I'm going to talk about installing fastboot rom by following a different path. I tried different methods because I was constantly getting errors with Mi flash. I can say that I found a 100% solution with the method below.
First of all, download and install the following files on your computer.
1: Minimal adb
2: Toll all in one
3: And drivers.
4: The fastboot rom you will use
------------------------------------------------
1: Extract the downloaded rom to the folder with winrar.
2: Run minimal adb. keep it open
3: Run tool all in one.
4: Connect the phone to PC in fastboot mode.
5: Tool all in one will see your phone. If it does not see it as poco, select it as generic and introduce it.
6: Choose to flash factory images
7: Choose xiaomi fastboot rom flasher
8: Select yours unzipped rom folder
9: Run flash rom.
10: Wait 5-8 minutes and finish.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Alternative programs:
XiaomiADBFastbootTools (Java)
https://github.com/Szaki/XiaomiADBFastbootTools
XiaoMiTool (v2)
https://www.xiaomitool.com/
Both can be used in Windows, Linux and macOS.
Bootloader unlock can be done with XiaoMiTool (v2) for Linux and macOS.
Mi Phone Assistant v4.2 Beta Official! With Unofficial English translate by TomHenson!
https://c.mi.com/thread-3049986-1-0.html​
Mi-Flash
https://xiaomiflashtool.com​
Mi-Flash Pro
https://miflashpro.com​
TOOL ALL IN ONE
https://forum.xda-developers.com/t/3358711/​
MIFLASH[GUIDE]⚙ USE XIAOMI FLASH TOOL
FOR ALL XIAOMI BOOTLOADER MUST BE UNLOCKED https://new.c.mi.com/global/post/101245 https://en.miui.com/unlock/index.html ----------------------------------------------------------------------------------------------------------- All your data...
forum.xda-developers.com

pl1992aw said:
Alternative programs:
XiaomiADBFastbootTools (Java)
https://github.com/Szaki/XiaomiADBFastbootTools
XiaoMiTool (v2)
https://www.xiaomitool.com/
Both can be used in Windows, Linux and MAC.
Bootloader unlock can be done with XiaoMiTool (v2), good alternative for Linux and MAC to try unlock bootloader.
Click to expand...
Click to collapse
I tried xiamitool v2. I got similar errors on it too

entekss said:
I tried xiamitool v2. I got similar errors on it too
Click to expand...
Click to collapse
Show what error you get.
There are people flashing with Mi-Flash that always gives errors, but the phone still successfully flashed and bootup.
Some errors are saying the bootloader is not locked, but the flashing process are success.
Flash fastboot ROM can be even done with just double click on the "Flash all.bat" file from the fastboot ROM. All these programs are running those scripts which is already inside fastboot ROM.

pl1992aw said:
Show what error you get.
There are people flashing with Mi-Flash that always gives errors, but the phone still successfully flashed and bootup.
Some errors are saying the bootloader is not locked, but the flashing process are success.
Flash fastboot ROM can be even done with just double click on the "Flash all.bat" file from the fastboot ROM.
Click to expand...
Click to collapse
everyone's problem may be different. I've been trying to install rom for two days. I tried all fastboot roms with miflash and xiaoMitool. I failed in all. I wanted to share when I was successful in this method. Anyone who wishes can use whatever they want.

entekss said:
everyone's problem may be different. I've been trying to install rom for two days. I tried all fastboot roms with miflash and xiaoMitool. I failed in all. I wanted to share when I was successful in this method. Anyone who wishes can use whatever they want.
Click to expand...
Click to collapse
Everyone's problem may be different, so still need to see what error encountered. Some people cannot use Mi-Flash because they accidently locked bootloader. In this kind of cases, even the tool you mentioned can't help. So still need to post what error encountered.
Of course. I put alternative programs so anyone who wishes can use whatever they want.
The tool you mentioned can only be used in Windows, but it also can work on non-Xiaomi phones like OnePlus, some ROG/Asus, ZTE, Nubia etc.
There will be from time to time some people asking how to do it on Linux or macOS, so they need alternative programs.

This worked for me on my poco f3. Was having issues with mi flash. Thanks for sharing

Related

Question First time trying to install a custom ROM, ended up with a boot-loop. Don't know how to fix.

I tried installing Pixel Experience on my Poco F3 (using Windows10), for some reason I end up in a boot-loop.
Now I'm trying to restore an official ROM but the .bat provided with those just simply closes after typing Y (warning message) and entering.
Ofcourse, as a total noob would, I don't really have an idea what version was installed before other than I updated to the latest MIUI (through the phone itself) a week ago.
Kind of in a pickle here, phone unusable :x
I assume that developer mode is unlocked and the bootloader unlocked?
- Install mimimal ADB & fastboot in Windows
- remove cable between phone and computer
- turn off handy
- Run Fastboot CMD in Windows
- turn handy on with " POWER and VOL-"
- connect cell phone with computer
- in Fastboot CMD type" FASTBOOT DEVICES " (now you should see a number)
if no number appears there, the device is not recognized. Reinstall the driver, try another USB port and/or new USB cable.
If the number appears, download the correct fastboot ROM and install it with the MiFlashTool.
Nimesco said:
I tried installing Pixel Experience on my Poco F3 (using Windows10), for some reason I end up in a boot-loop.
Now I'm trying to restore an official ROM but the .bat provided with those just simply closes after typing Y (warning message) and entering.
Ofcourse, as a total noob would, I don't really have an idea what version was installed before other than I updated to the latest MIUI (through the phone itself) a week ago.
Kind of in a pickle here, phone unusable :x
Click to expand...
Click to collapse
did u try running the .bat file as administrator?
keyoke87 said:
did u try running the .bat file as administrator?
Click to expand...
Click to collapse
Yes I have.
Running the PixelExperience bat as Administrator causes it to close after launch, without any messages.
Running the MIUI bat as Administrator does exactly the same thing as without, shows warning, I type Y and enter, prompt closes.
beicuxhaven said:
I assume that developer mode is unlocked and the bootloader unlocked?
- Install mimimal ADB & fastboot in Windows
- remove cable between phone and computer
- turn off handy
- Run Fastboot CMD in Windows
- turn handy on with " POWER and VOL-"
- connect cell phone with computer
- in Fastboot CMD type" FASTBOOT DEVICES " (now you should see a number)
if no number appears there, the device is not recognized. Reinstall the driver, try another USB port and/or new USB cable.
If the number appears, download the correct fastboot ROM and install it with the MiFlashTool.
Click to expand...
Click to collapse
I downloaded the minimal ADB & fastboot for Windows, ran the command and I can see a number for my device, so I'm guessing thats fine.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Then I downloaded the MiFlashTool (latest) and on startup I already get an error:
Pressing "Continue" removes the error dialog and then stays on the driver update screen with "waiting"
Nimesco said:
I downloaded the minimal ADB & fastboot for Windows, ran the command and I can see a number for my device, so I'm guessing thats fine.
View attachment 5362453
Then I downloaded the MiFlashTool (latest) and on startup I already get an error:
View attachment 5362455
Pressing "Continue" removes the error dialog and then stays on the driver update screen with "waiting"
Click to expand...
Click to collapse
Is not the latest, this is the latest : https://xiaomiflashtool.com/download/xiaomi-flash-tool-20210226
X0PIRAT3 said:
Is not the latest, this is the latest : https://xiaomiflashtool.com/download/xiaomi-flash-tool-20210226
Click to expand...
Click to collapse
Thank you, I found out just a little after making the post. The Xiaomi websites are a real mess! There's a bunch of different ones out there, but most of them are out of date.
With that latest version, I managed to reinstall MIUI although the tool itself said it encountered an error. (I asume it failed to send the restart command or something like that, because after restarting myself I was greeted with the MIUI first use setup)
Now I got my phone working, I can't wait to break it again ;-)
Any suggestions on what Custom ROM looks the cleanest and works best at the moment?
Nimesco said:
Thank you, I found out just a little after making the post. The Xiaomi websites are a real mess! There's a bunch of different ones out there, but most of them are out of date.
With that latest version, I managed to reinstall MIUI although the tool itself said it encountered an error. (I asume it failed to send the restart command or something like that, because after restarting myself I was greeted with the MIUI first use setup)
Now I got my phone working, I can't wait to break it again ;-)
Any suggestions on what Custom ROM looks the cleanest and works best at the moment?
Click to expand...
Click to collapse
Syberia Project <3
Go to my Bench post : https://forum.xda-developers.com/t/send-youre-antutu-benchmark-geekbench-score.4291519/
I post all rom's i tried and his Antutu Benchmark score

Question (SOLVED) Please help! Device Locked After testing Android 12 even though MiFlash says its Unlocked.

Hello all,
Hoping for some help or insight. I flashed a Android 12 build and quickly reverted back to stock before trying to flash a ROM. I'm having trouble flashing anything because it says my device is locked. I tried to lock then unlock the device using MiFlash but ROMs still say my device is locked. I also tried toggling the "OEM Unlocking" in developer options also.
When attempting to install a fastboot rom it says "Command is not allowed on locked devices"
MiFlash shows bootloader unlocked
Xiaomi ADB/Fastboot tools shows unlocked but when I click unlock on the fastboot tab it says token invalid
Any recommendations would be appreciated!
rageyoudown said:
Hello all,
Hoping for some help or insight. I flashed a Android 12 build and quickly reverted back to stock before trying to flash a ROM. I'm having trouble flashing anything because it says my device is locked. I tried to lock then unlock the device using MiFlash but ROMs still say my device is locked. I also tried toggling the "OEM Unlocking" in developer options also.
When attempting to install a fastboot rom it says "Command is not allowed on locked devices"
MiFlash shows bootloader unlocked
Xiaomi ADB/Fastboot tools shows unlocked but when I click unlock on the fastboot tab it says token invalid
Any recommendations would be appreciated!
Click to expand...
Click to collapse
Did you choose Clean all And Lock while flashing on MiFlash tool?
Animesh Singh said:
Did you choose Clean all And Lock while flashing on MiFlash tool?
Click to expand...
Click to collapse
When I try to select the ROM folder it does not find any ROM... Are you talking about XiaomiADBFastbootTools?
Also on the MiFlash Tool what am I supposed to select? It asked for a flash script.
*EDIT* Found the stock firmware, will try to clean all and lock with MiFlashTool
rageyoudown said:
When I try to select the ROM folder it does not find any ROM... Are you talking about XiaomiADBFastbootTools?
Also on the MiFlash Tool what am I supposed to select? It asked for a flash script.
*EDIT* Found the stock firmware, will try to clean all and lock with MiFlashTool
Click to expand...
Click to collapse
Copy the full path of the Stock ROM like i did and paste it to your miflash directory and choose Clean All on lower right of MiFlash.
Also, If you lock your device and HardBrick it, You wont be able to flash anything. So i suggest you to Only use FLASH ALL option on MiFlash
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Animesh Singh said:
Copy the full path of the Stock ROM like i did and paste it to your miflash directory and choose Clean All on lower right of MiFlash.
Also, If you lock your device and HardBrick it, You wont be able to flash anything. So i suggest you to Only use FLASH ALL option on MiFlash
View attachment 5375687View attachment 5375689
Click to expand...
Click to collapse
I figured out the script before seeing your post and I'm in the process of doing a clean all and lock since I thought you implied to do that in your initial post.. Hope it doesn't brick
rageyoudown said:
I figured out the script before seeing your post and I'm in the process of doing a clean all and lock since I thought you implied to do that in your initial post.. Hope it doesn't brick
Click to expand...
Click to collapse
oh. Now you'll be stuck to Stock ROM for quite some time now Just remember to not use Clean All And Lock if you plan to Use Custom ROMs often.
So when I'm attempting to run the script it doesn't finish all the way.. It gets to sending spare 'super' 7/9 then fails with the error "failed to check sparse crc"
*EDIT* solved this by changing two lines in the install script
REM fastboot %* flash crclist %~dp0images\crclist.txt || @ECHO "Flash crclist error" && exit /B 1
REM fastboot %* flash sparsecrclist %~dp0images\sparsecrclist.txt || @ECHO "Flash sparsecrclist error" && exit /B 1
Needed to add REM in the front of both lines.
*EDIT 2*
Script Finished but resulted in the device bootlooping over and over...
*EDIT 3*
Still able to get to fastboot and flash stock image, which doesn't make since because even the stock global 12.5.2 probably needs unlocked bootloader. (tested locking the device and flashing 12.5.2 and it does indeed need an unlocked bootloader).
Tried doing flash all and lock script which also puts the device in a bootloop. Re-unlocked the bootloader. Able to flash global 12.5.2
Still doesn't make sense why I can't flash custom roms and I can flash stock global 12.5.2
I am able to flash certain ROMS like MiuiMix assumingly because its MIUI based... but still not able to flash Custom ROMS. I'm guessing the Pixel Android 12 build I tried out flashed over some of the vendor images but even returning to OEM firmware they aren't being re-flashed
The following helped me when reverting to A11 from A12
Instructions on reverting to Android 11:
Download:
(1) MiFlash20210226
(2) alioth_global_images_V12.5.2.0.RKHMIXM_20210625.0000.00_11.0_global_10b1725c87
(3) Flash_all1.bat (attached to post change to .bat file extension.
Instructions:
Extract all - Place ROM folder into MiFlash directory - Place Flash_all1.bat into ROM directory
Reboot device to fastboot - Open MiFlash and select the ROM path inside the MiFlash folder - Refresh to see device listed - On bottom right corner change blank field to Flash_all1.bat script - Lastly initiate flash
*This wipes all data and returns phone to 12.5.2 global*
rageyoudown said:
The following helped me when reverting to A11 from A12
Instructions on reverting to Android 11:
Download:
(1) MiFlash20210226
(2) alioth_global_images_V12.5.2.0.RKHMIXM_20210625.0000.00_11.0_global_10b1725c87
(3) Flash_all1.bat (attached to post change to .bat file extension.
Instructions:
Extract all - Place ROM folder into MiFlash directory - Place Flash_all1.bat into ROM directory
Reboot device to fastboot - Open MiFlash and select the ROM path inside the MiFlash folder - Refresh to see device listed - On bottom right corner change blank field to Flash_all1.bat script - Lastly initiate flash
*This wipes all data and returns phone to 12.5.2 global*
Click to expand...
Click to collapse
Good to see you did it.

[Solved] Bricked my Redmi Note 8 Pro - trouble using SP Flash Tool

Hey, so at the end of August 2021 I unlocked my phone and flashed the official PixelExperience repository recommended in the wiki along with the 2021-08-24 version of PE (Android 11). Lated I read that to update it I need to do a clean flash so yesterday I went to the recovery and wiped /data, /system, /cache, basically all the 3 options there were, then flashed the latest PE ZIP via ADB sideload. Clicked reboot in the recovery and boom, phone bricked, doesn't react to any key combination, only has the charing LED when connecting to a charger or to PC via USB.
So I've done a little research and found the tutorial at
with this ZIP https://mega.nz/file/A4YSEZaA#0Jk3_jH8uVtMnATciVRtWw2r_SH0NPLq4P6SrGNuwJQ - followed it, but I get stuck on the last step with a red "Download DA 100%" bar at the bottom, which after 2 minutes yields an "ERROR : STATUS_EXT_RAM_EXCEPTION (0xC0050005)" popup.
I tried doing it like 7 times, I found somewhere that this error could be caused by a driver problem and one possible solution is to reinstall the driver. I wasn't sure which driver to reinstall so I just completed the whole procedure again on my different Windows 10 laptop, and it's the same problem. What can I be doing wrong?
I was trying to flash these two files (the "fastboot" versions, right?)
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
so the global and the EEA versions. The phone was bought in Poland (EU) so I assume one of them should be correct, right?
What can I be doing wrong?
Nicofisi said:
Hey, so at the end of August 2021 I unlocked my phone and flashed the official PixelExperience repository recommended in the wiki along with the 2021-08-24 version of PE (Android 11). Lated I read that to update it I need to do a clean flash so yesterday I went to the recovery and wiped /data, /system, /cache, basically all the 3 options there were, then flashed the latest PE ZIP via ADB sideload. Clicked reboot in the recovery and boom, phone bricked, doesn't react to any key combination, only has the charing LED when connecting to a charger or to PC via USB.
So I've done a little research and found the tutorial at
with this ZIP https://mega.nz/file/A4YSEZaA#0Jk3_jH8uVtMnATciVRtWw2r_SH0NPLq4P6SrGNuwJQ - followed it, but I get stuck on the last step with a red "Download DA 100%" bar at the bottom, which after 2 minutes yields an "ERROR : STATUS_EXT_RAM_EXCEPTION (0xC0050005)" popup.
I tried doing it like 7 times, I found somewhere that this error could be caused by a driver problem and one possible solution is to reinstall the driver. I wasn't sure which driver to reinstall so I just completed the whole procedure again on my different Windows 10 laptop, and it's the same problem. What can I be doing wrong?
I was trying to flash these two files (the "fastboot" versions, right?)
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
so the global and the EEA versions. The phone was bought in Poland (EU) so I assume one of them should be correct, right?
What can I be doing wrong?
Click to expand...
Click to collapse
Kirasu2080 said:
You already touch it.
But you cant do it without tricks.
1/Error showed:
- Run bypass again (Runthis.bat)
- Connect your phone without press anything. Hold Power + volume up until Bypass success and release. Then quickly press Download on Sp flash tool
2/Error not show: Stuck at red DA 100% for more than 10s
- Press Stop
- Run bypass again (Runthis.bat)
- Connect your phone without press anything. Hold Power + volume up until Bypass success and release. Then quickly press Download on Sp flash tool
You need do it 2 times to work
(You dont need to add libusb again unless you change other port. Dont recognize can be solve by Power + volume up)
Click to expand...
Click to collapse
Thanks, love you man <3
The only problem I had was that I didn't know that you need to have the runthis.bat window focused or else it won't show updates (new lines), I had the SP Flash Tool window focused at first. After I figured this out though - following your instructions precisely, it worked flawlessly. Much thanks!!! <3
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

How To Guide [Oneplus 9 Pro] Extract partitions on unrooted or locked phone.

This manual will be useful for phones with Oxygen firmware, because very often they are get incremental updates and many users cannot install update with root, cannot find a stock boot, etc.
Also for those who want to unlock the bootloader at the first time and can save the persist patririon.
What are we need:
* MSMTools
* working fastboot
Let's start:
* reboot your phone in fastboot mode
* enter in cmd console
Code:
fastboot getvar current-slot
in that step we determine the current slot to extract the correct partitions
* start MSMTool program
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
* press F8 and you will see this windows
* choose right partitions (if your current slot are b, then choose for example boot_b, etc)
* in Password: field enter oneplus and press Ok
* if you make all right you will see that new button
* press on it, connect your phone and wait.
* selected images are saved on C:\
* profit
P.S. sorry for my english
Are you able to expand this tutorial on how to change partitions or on how to "update" msm so it uses a later version of OOS to unbrick the device?
The actual msm tool for OP9 Pro would install OOS11. But can it be changed to flash OOS12?
this tutorial only for how to extract partitions. android 11, 12, coloros, no matter.
for others can't help you
This part was empty for me:
Command "Fastboot devices" was working..
The tutorial in the first post is somewhat misleading. Fastboot is needed to flash back the partitions. In order for the partitions to be secured with the MSM tool, the phone must be in the EDL mode.
1. that means shutdown the phone
2. Start the MSM tool and press F8 on the keyboard
3. Press both volume keys at the same time and then connect the USB cable
4. Now the tool would have to recognize your phone and the partitions can be selected
The rest is well described in the first post.
I have a question, Im new in xda and I want to backup modest 1/2 and persist. In this post you can do it in MSM but I cannot see modemst1 or 2 in the partitions checkbox. They have another name? Or I cannot backup those partitions via MSM?
Cris092 said:
I have a question, Im new in xda and I want to backup modest 1/2 and persist. In this post you can do it in MSM but I cannot see modemst1 or 2 in the partitions checkbox. They have another name? Or I cannot backup those partitions via MSM?
Click to expand...
Click to collapse
Try Partitions Backup in the play store
TheGhost1951 said:
Try Partitions Backup in the play store
Click to expand...
Click to collapse
Do I need root or unlocked bootloader? Im unroot and with locked bootloader, that's why Im trying to do it like this post
Cris092 said:
Do I need root or unlocked bootloader? Im unroot and with locked bootloader, that's why Im trying to do it like this post
Click to expand...
Click to collapse
You don't need root to backup, but you do to restore the backup.
This is what my phone says when I open partitions backup
So that's why I want to do it via MSM like this post, but I don't know what partitions do I have to check in MSM. I can see persist but modest 1/2 I cant
Cris092 said:
This is what my phone says when I open partitions backupView attachment 5830269
So that's why I want to do it via MSM like this post, but I don't know what partitions do I have to check in MSM. I can see persist but modest 1/2 I cant
Click to expand...
Click to collapse
Sorry for misleading you, other than that not sure how to get the images you want.
Ok so I made backups using this method like 2 days ago, if we ever need to restore them, how do we do it?
immortalwon said:
Ok so I made backups using this method like 2 days ago, if we ever need to restore them, how do we do it?
Click to expand...
Click to collapse
With partitions backup?
TheGhost1951 said:
With partitions backup?
Click to expand...
Click to collapse
No, using the MSM tool to do a flash readback, which saves most of the firmware to the C: drive
If your phone is already on, you can also use the following command in command prompt to use ADB to reboot into EDL.
adb reboot edl
Still waiting for an answer from OP or anyone else: After we have made a flash read-back via MSM, how are these firmware files restored????
immortalwon said:
Still waiting for an answer from OP or anyone else: After we have made a flash read-back via MSM, how are these firmware files restored????
Click to expand...
Click to collapse
Flashed via Fastboot. For example if you extract boot.img from read-back and you want to restore the boot.img. Reboot your device into Fastboot and enter the following command in command prompt on your computer:
fastboot flash boot boot.img.
Depending on what you are flashing, you need to change the command accordingly. e.g vendor_boot.img
fastboot flash vendor_boot vendor_boot.img

How To Guide MiFlash 20220507 – Xiaomi Mi Flash Tool (New)

Mi Flash Tool is a tool by Xiaomi to flash firmware or Stock ROMs on Xiaomi devices.
The tool is simple yet powerful. The process for flashing any file is very tough but this tool made it very simple. Just connect the phone in fastboot mode and select the file and click on flash.
Clean all: Select this one before flashing to wipe everything from the device including storage system data etc.
Save user data: This can be selected when you want to keep the data untouched. But this is not recommended to use in all cases.
Clean all & lock: Clean all is the same as the above one but the lock means it will lock the bootloader again on the device.
Xiaomi frequently releases updates for the Tool with some new features. If the latest version of the tool is not compatible with the smartphone you’re flashing then try flashing it using the older version of the tool.
Keeping this in mind we have also provided links to download Mi Flash Tool (All versions).
Find MiFlash flash tool from the link given below.
MiFlash 20220507 (New)
MiFlash 20220218
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to use Mi Flash Tool
Download the Xiaomi Stock ROM or Firmware for your Xiaomi phone.
Extract the downloaded .tgz file using any extractor like WinRAR (remember the extracted location).
Power off your Xiaomi phone and then press & hold Vol down+power button to boot into fastboot mode.
Open the Mi Flash Tool on PC (search for it on the windows search bar).
Connect your phone with PC using a USB cable.
Click on the refresh button to check your device is connected or not. If it shows anything on the index it means that the device is connected.
Now click on select and locate the extracted firmware folder.
In this Tool, you will see three options below. Select clean all to wipe everything from the device, select Save user data to Save your content, or select clean all and lock to clean everything and lock the bootloader again.
After all these steps click on flash and wait for completion.
It will show the success message after flashing.
Done, this will automatically reboot your device, if not then reboot your device manually. The first bootup after flashing can take time so you don’t have to worry about it.
Nice and simply guide!
Few things to point out:
Instead of "stockfirmware.info" I recommend xiaomifirmwareupdater.com
On most Windows PCs, Windows Update auto-installs generic Android USB drivers, which should work fine.
On other PCs where the phone doesn't get detected, you can install the drivers from within Mi Flash > Driver.
Linux:
Linux already has the drivers. Mi Flash is not available on Linux, so in order to flash the Stock ROM in Fastboot Mode you'll need to run one of the .sh-script files from the ROM-folder directly, which requires SDK Platform Tools (allows you to do Fastboot and ADB commands):
Ubuntu (or other Debian-based distros): sudo apt install android-sdk-platform-tools
Arch-based distros: sudo pacman -S android-sdk-platform-tools
For a visual guide I can also recommend the YouTuber "munchy" who has covered pretty much everything in regards to Xiaomi Modding. e.g. How to revert to Stock ROM, How to flash TWRP / OrangeFox, How to update firmware, How to flash Custom ROM etc.

Categories

Resources