fix mi account authorization'

Fix Mi Account Authorization | Unbrick Xiaomi | EDL Mode

Mi Flash Tool Unauthorized for this Operation OR Your Account is Unauthorized for this operation OR Authorized Service Account required OR Device is stuck on DA mode. If you have ever tried your hands on the custom developments via your Xiaomi device, chances are you might have actually gone through at least one of these four messages. In this guide, we will show you how to fix all these errors. This will ultimately help you to fix the Mi Account Authorization issue and hence unbrick your Xiaomi device via EDL mode. Follow along for the complete instructions.

account unauthorized

Xiaomi devices are always known to provide feature-rich devices at affordable prices. Well, one shouldn’t look any further than its ever-popular Redmi Note series. And if you are willing to spend a little bit more, then there is always the Poco series waiting for you. Although both these companies are no longer part of Xiaomi, still everything else, from the underlying OS to all the features, stands the same. And with each new offering, it is scaling up the popularity charts.

Along the similar lines, it has quite an impressive track record when it comes to custom developments. There are a plethora of custom ROMs, tweaks, mods, and TRWP support for its various devices. But as you might be aware by now, these customizations and modifications bring in some associated risks with itself. If your device ends up in a bootloop, you could still access the fastboot mode and flash the stock firmware. But unfortunately, that is not always the case.

In some cases, if you have tweaked the device partition, be it the system partition for flashing ROMs or the boot partition (Project Treble)/Recovery partition (non-Project Treble devices) for flashing TWRP or simply the vendor partition, you could end up with a bricked device, if not done correctly. Well, be it a soft-brick or a hard-brick, it really proves to be quite a challenging task to get your device back to working condition.

Mi Account Authorization Issue

The recent changes bought in by Xioami have made the matter even worse. In this guide, we will show you how to deal with the Unauthorized for this operation issue. But first, let’s check out more about this error and try to understand it in-depth. Then we will show you how to fix this error which will ultimately fix Mi Account Authorization issue. Once that is done, you could then easily flash the stock firmware and unbrick your Xiaomi device. Follow along.


We wouldn’t go into complete detail because most of our readers would rather be interested in the solution than the reasons. In simplest of words, Xiaomi is directly responsible for this issue. With this feature, only the persons directly associated with the authorized service centers could access this tool now. A normal user could at the most download this tool but when they hit the flash button, they will be greeted with an error message. This simply spells out “Unauthorized Xiaomi account” and you cannot proceed ahead.

There are countless many people scamming the concerned device owners by “selling” them credentials of Authorized Xiaomi Account. While we have many reasons to believe that it is indeed a scam, but the unfortunate bunch of users ends up going for that trick. But not anymore. Today, we will show you how to unbrick your Xiaomi Device using the mi Flash Tool but without the need for an authorized Xiaomi account. It goes without saying that the Mi Account Authorization issue will also be fixed. Follow the below steps for that.

Fix Mi Account Authorization Issue and Unbrick Xiaomi Device

So here is what we will be doing. We have got hold of the patched Firehose (prog_emmc_firehose_8953_ddr.mbn) file for your Xiaomi device. In other words, the file has been modified from an authorized Xiaomi account that you could directly flash onto your device.

Once this Firehose file has been flashed, your Xiaomi device will be unbricked and ultimately the Mi Account Authorization issue will also be fixed. Here are all the required instructions in this regard. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.


For your device to be effectively recognized by your PC in EDL mode, you need to install Qualcomm HS-USB QDLoader 9008. So go ahead and install the said drivers onto your PC.


First off, download and install the Android SDK Platform Tools. This will be needed so that your device gets recognized in the fastboot mode. As of now, your device wouldn’t be able to Fastboot, but later on, during the flashing process, it will be booted to fastboot from EDL mode. And at that point in time, this tool will come in handy.


Next up, download and install the Mi Flash Tool onto your PC. This will be needed to flash the stock firmware file.

NameXiaomi Mi Flash Tool
Size82.3 MB
DownloadDownload Link


You now have to extract the stock firmware file inside the platform-tools folder. For the unaware, the platform-tools is the same folder where the installation of Android SDK Platform Tools has taken place.


As of now, we have the patched firehose file of over 600+ Android devices. These were the most-requested devices and hence we managed to grab the patched firehose file for them. If your device is not on the list (chances of which are very rare), please let us know in the comments. We will provide you with your device-specific firehose file.

All the files are compressed inside a single ZIP file. Extract the file and get hold of your device’s firehose file.


firehose xiaomi unbrick

You now have to replace the stock Firehose file with the just downloaded patched Firehose file. The complete name of the file will be something like (prog_emmc_firehose_8953_ddr.mbn). So go to the platform-tools folder where you have extracted the stock firmware and head over to the firmware’s Image folder. Then paste the patched firehose file there. It will then ask for replacing the existing file. Click on Replace the file in the destination. This will then replace the stock prog_emmc_firehose_8953_ddr.mbn with the patched one.


Now that the firehose file has been replaced, it is time to flash that stock firmware. For that, your device needs to be booted to the EDL Mode. For most of our readers, that will already be the case. If not, then power off your device and then press and hold the Power + Volume Down buttons together and immediately connect your device to PC.

Your device will then boot to the EDL mode and you might notice the blinking of LED light as well. In some cases, you might not be able to turn off the device. So in that case, your only bet is to wait till your device gets completely discharged. You might also get the “FAILED (status read failed (Too many links))” error message while booting to EDL. Simply ignore this message as it wouldn’t conflict with the EDL Mode.


We have now installed all the necessary software and drivers, and have the firmware with a patched firehose file. It is now time to flash this firmware file via Mi Flash Tool.

flash firehose xiaomi

  1. For that, connect your Xiaomi or Redmi device to PC via USB cable.
  2. Then launch the Mi Flash Tool and click on Refresh. This will show the COM <number> or in some cases, your device ID. If you see any of these two, then you are good to go.
  3. Now click on Select. Browse to the extracted firmware folder (which should be inside the platform-tools folder) and select it. Make sure to select the entire folder (and not any single file).
  4. Then select the Clean All option from the bottom menu bar. This will wipe all the data but that should be the least of your concern as of now. A working device
  5. Finally, hit the Flash button. You will now no longer get the Mi Flash Tool Unauthorized for this Operation, Authorized Service Account required, or any other Mi Account Authorization issue.
  6. The entire flashing process will take a few minutes and when that is done, your device will reboot to the Android system. In some cases, it might only boot to fastboot. You will then either have to use the hardware key or fastboot reboot command to boot your device to the system.

Method 2: Unbrick Xiaomi Devices without Patched Firehose File

If your device is in a bootloop or soft bricked, then you don’t need the Patched Firehose File (prog_emmc_firehose.mbn) or the prog_firehose_ddr_unbrick.elf file. Well, you wouldn’t even need the Mi Flash Tool or the authorized Mi Account. You could easily unbrick your Xiaomi/Mi/Redmi Devices by using the device-specific Fastboot Commands. Just refer to the guide specific to your device and your device will be up and running again. (If your device is missing from the below list, do let me know in the comments sections of any of these guides, I will quickly cover it up).

Method 3: Bypass SP Flash Tool Authorization

There’s more good news coming to your side! If your Xiaomi device is powered by a MediaTek chipset, then there is a way to bypass the authorization. In other words, you could now bypass the SLA and DAA authorizations of the SP Flash Tool. This way you would be in a position to flash the firmware onto your Xiaomi device, after booting it to Download Mode.

Once the force-flashing of the firmware is complete, your device will be booted to the OS. Here’s the complete instruction for the same: Bypass MediaTek SP Flash Tool SLA DAA Authentication.

Concluding Remarks

That is it. With this, we conclude the guide on how to fix the Mi Account Authorization issue and unbrick your Xiaomi device via EDL Mode. As mentioned before, the patched firehose file that we have uploaded is for Redmi 6 Pro | Redmi S2 | SDM_660_6X_Max3_Note7 | whyred_Note_5.

If your device does not belong to this list, then please let us know the complete device name. We will upload your device’s patched firehose file over to Google Drive and share the link with you. Apart from that, if you have any other issues, do let us know in the comments section below. Read Next: Enable USB Debugging on a Broken Android Device Screen? Here is a Workaround

About Chief Editor

147 thoughts on “Fix Mi Account Authorization | Unbrick Xiaomi | EDL Mode”

    1. Hi Akshat, we have updated the guide and added the Patched Firehose file for over 600+ Android devices. You should definitely find your device in that list 🙂

      1. You provided patched ffirehorse for Qualcomm devices but what about mtk device like redmi 9 (lancelot)? do you have any link for patched auth files ?

        1. Unfortunately, I don’t have them for MediaTek devices. As soon as I get hold of it will add the download link to this guide

          1. hi I opened the bootloader and then I installed an old modified ROM from inside the recovery. My phone entered edl com mode 10. It does not work inside the fastboot and the screen is black. My phone died. What is the solution? k30 4g poco x2. China My device requires a Xiaomi developer account prog_ufs_firehose_sdm7150_ddr.elf

      2. hi I opened the bootloader and then I installed an old modified ROM from inside the recovery. My phone entered edl com mode 10. It does not work inside the fastboot and the screen is black. My phone died. What is the solution? k30 4g poco x2. China My device requires a Xiaomi developer account

      3. Hi there! Pls help me I have poco x3 pro … I can not find my patch firehouse file …so what is my patch firehouse file

    2. prog_ufs_firehose_sm6150_ddr.elf
      Xiaomi redmi note 10
      help me please

    3. Please share if you have got the process for RN5Pro working. Could not locate the file . My phone has to go through EDL mode as Power and Vol Down does not work. Device when connected to computer does not appear but QUALCOMM port flashes. Tried EDL mode it just stops at Authorization and Hello packet issues with other version did not try with this methods. If this is working would want to give a try as Xiamoi denied giving auth and also service center denied to take deadphones . May be if I go to a local repair shop they will ask to change board. Before that if this works would want to try EDI . This method is convincing if it works so checking if anyone has tried .. Kindly help. Thank you for the detailed write up

  1. I have a Redmi Note 7 Pro, the firehose file is:
    it was not in all of your attachment files, wonder if you can modify this file & upload.
    Thank you very much.

  2. hi redmi note 8 thanks alot for what ur doing fo us users …ok i was flashing to global version and my cable dissconnected and now its a brick cant get to fastboot (bricked) is there any chance for mi to fix my phone again??

  3. Hola, en la carpeta img de la Rom Global que le quiero meter aparecen estos archivos, me los podría devolver modificados? Tengo el móvil brickeado y no me deja flashear porque me pide autentificación.


    Me aparecen esos tres. Mi móvil es un Xiaomi Mi 10

    Muchísimas gracias!

  4. Hi dear
    Thanks for your appreciated help for the people..
    I personally need a help hope you can help me.
    I flashed my phone xiaomi redmi note 8 pro with a global ROM but i forgot and active this clean all lock and the ROM that i installed says that ”this Mui version can’t be install in this device” and the bootloader is locked i can’t flash the phone it says ”FAILED (remote: not allowed in locked state)”

    1. Hi, could you please try changing the USB port on your PC/laptop. if you are using the USB 3.0 port then please switch to USB 2.0. Likewise, you may also change the USB cable and see if it rectifies your issue or not. Some users have reported success on carrying out these steps on Windows 7, rather than on Windows 10. Try out these tweaks and then let me know the results.

  5. hey dude can u pls help me? i am continuously searching for the patched package of redmi note 7 pro. the name of the file would be like this “prog_emmc_firehose_Sm6150_ddr” pls if u have it then share it. thanks in advance

    1. Unfortunately not yet Gelmi. As soon as I managed to find one, I will upload it on Drive and will add the link in this post.

  6. Hard Brick,bootloader lock and stock on fastboot ,boot loop,won’t start my Redmi Note 8 Pro 128Gb/8RAM CN version…please help me!

    1. Hi, I am currently writing an article on how to Unbrick Xiaomi Device with Locked Bootloader via EDL Mode. As soon as it is done, will publish it stroahfway. Sorry to keep you waiting .

    1. Give me a few days and I will cover up a guide on How to Unbrick Xiaomi Device with Locked Bootloader via EDL Mode. Sorry to keep you waiting.

  7. hi there buddy I bricked my phone no fast boot ,no recovery, just when I connect it to pc
    recognizes as 9008 port., how can I fix it. do u have patched from for redmi note 7 pro

  8. Hi, there are many require an EDL flash for 11 Pro and ultra when changing from stock Chinese to EU via fastboot. Can you see if you can acquire the firehouse patched file for this if it is still required? I can’t see any sign of it, so not sure if a patched version is still required for an EDL flash.
    Thank you.

  9. Hey, would request you to add the firehorse file for Redmi Note 10 (Indian Variant) goes by mojito
    It’s a relatively newer device and didn’t find that in the list. Any help would be appreciated.

  10. I tried to flash the patched firehose file for POCO F1, but received error in MiFlash tool “System Exception: programmer transfer error 4 at programmertype)…….so and so”
    But the flash happens successfully with original firehose file but it asks for EDL authentication.
    Could you please help?

  11. I need a patched file for the POCO M3 IS IN EDL MODE, due to a bad update, only Qualcom Loader recognizes me on the PC but when I want to flash it asks me for an authorized account please help.

  12. Hello sir, I have gone through the devices but didn’t find Poco F3’s patched file, can you please advise the file name if I am missing it? My device was just hard bricked and not going into fastboot, I am really worried

  13. Hi,
    Mi Xiaomi Mi 11 Lite 5g (Renoir) stucks in EDL Mode.
    Could you Provide me with the modded firehose file, please? I am really frustrated as the store where I bought it can not Provide Service because the IT is broken…
    I would be very happy!

  14. Good, very good post and thanks for helping this community … I would like you to help me with the firehose of the redmi note 10 pro. prog_ufs_firehose_sm7150_ddr, I would appreciate it in advance, thank you.

  15. Hi,
    I need the files for Xiaomi Poco F3 global version.
    Their names are prog_ufs_firehose_sm8250_ddr_5.elf & prog_firehose_lite.elf

    Thank you!

  16. Dear admins, first of all many thanks for this nice article. Since I am facing issues with a MI 9(cepheus), the files were not super helpful since the prog_ufs_firehose_sdm855_ddr.elf is missing in all the patched ones. Could you please patch this one too, since the Snapdragon 855 is built into many devices?
    Appreciate it if you would be able to find a bit of time for this device too.
    Many thanks!


  18. Hello i have followed your instruction but when comes to the firehose file i have none for poco f3 can you please send me the files for poco f3 global?

  19. Bonjour,

    Est-il possible d’y ajouter le Mi10T ?

    Je ne trouve pas le fichier dans le dossier complet et je n’arrive pas à flasher en mode EDL :/


  20. I would like to thank you for your help,

    Please is there a Patched Firehose File copy for Redmi k30 4G (phoenix -Poco x2) available?

    Please accept my sincere thanks.

  21. Sadly, it does not work on pocophone f1. It returns a random error if i patch the firehose.
    Might be because the firehose in the original file is “prog_ufs_firehose_sdm845_ddr” while in the patched firehose found in this post it’s called something like “prog_ufs_firehose_sdm845_ddr_beryllium_ef1”.
    Also, here in italy xiaomi doesn’t seem to help, so i have no idea of what to do.

  22. Hello,

    I have a bricked Xiaomi 12S Ultra. I am getting the “Your account is unauthorized for this operation”. I am using MiFlash 2022.5.7.0 and Flash tool v7.6.8.


Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.