Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account

Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account 1

Xiaomi Redmi Note 7 is a most-wanted device of the year. It sports a 48MP dual-camera setup. It is another level of iteration of Redmi Note 5.

Unfortunately, being a celebrity of mid-range Android phone does not make it invulnerable to damage. System failure, inappropriate flashing, or simply bad luck could be one of the causes of a bricked device.

Flashing a global stable MIUI ROM on the Chinese Redmi Note 7 variant but getting stuck in bootloop is a good example of bad luck.

This could happen to anyone or anybody including Redmi Note 7 users. No matter what their level of Android knowledge is. Whether they are a novice, an enthusiast, or a flashing maniac.

A long time ago, there is a hack to fix any Xiaomi devices with a locked bootloader. This hack is implementable through a special download mode called EDL. It stands for Emergency Download Mode.

Unfortunately, Xiaomi has killed that mode.

Flashing maniacs couldn’t just stand still with reality. They came with another workaround called Test-point mode. This mode is basically similar to EDL but is achievable through connecting two points in the circuit board of the phone.

Nowadays, another type of protection has been implemented by Xiaomi. Users who go for EDL Test-point method are no longer able to flash MIUI Fastboot ROM without authorized Mi account.

Currently, there is no universal workaround or hack that works on all Xiaomi devices to bypass this restriction.

Luckily, several hacks have been available for certain devices including Xiaomi Redmi Note 7 codename Lavender.

When we talk about Redmi Note 7, it refers to all of its variants but not Redmi Note 7 Pro codename Violet.

There are basically three variants of this device: China, India, and Global. The first two variants are obvious. The last one, however, refers to the device released in any other countries except the first two.

All of its variants have the same specifications except the Indian one. Redmi Note 7 India comes with an only 12MP+5MP camera setup, while China and Global variant come with the 48MP+5MP camera setup.

This workaround is workable on all of Redmi Note 7 variants. Just make sure you use the correct MIUI ROM build for your device.

Words of caution:

This tutorial is for those have no access nor time to visit nearest Xiaomi service center. We still recommend you to bring your device there.

We hold no responsibility of any further damage that may happen to your phone. Please proceed with caution.


  1. Windows computer either a PC or a Laptop. Windows 8/8.1/10 64-bit is recommended.
  2. A USB data cable. Make sure it’s a data cable and not a charging-only cable.
  3. Download Xiaomi ADB & Fastboot driver on your computer.
  4. Download Qualcomm QDLoader USB Driver (zip).
  5. Download Qualcomm QFIL Flashing Tool (zip).
  6. Download prog_emmc_firehose_Sdm660_ddr.mbn (.mbn).
  7. Download appropriate MIUI Fastboot ROM for your device (.tgz).
  8. A tweezer.
ALSO READ:  17 Steps to Flash Orange Fox TWRP On Redmi Note 7 (Lavender)

How to Unbrick Redmi Note 7

Follow these steps to fix a bricked Redmi Note 7 lavender. Please do not attempt to try it on Redmi Note 7 Pro violet since both have different chipset (and is basically different devices).

Step 1. Install Xiaomi ADB Fastboot Driver on your computer.

Step 2. Extract Qualcomm QDLoader USB driver. Run the Setup file to start installing the driver on your computer.

Step 3. Extract the QFIL tool (QFIL-QualcommFlashImageLoader-v2.0.1.9.zip) file to any folder on your computer. You’ll get a folder called “Qualcomm_Flash_Image_Loader_v2.0.1.9”.

Step 4. Extract the MIUI Fastboot ROM .tgz file. Please use the correct build of your phone. Use MIUI Global Stable ROM for Redmi Note 7 global variant, use China Stable ROM for the China variant, and use India Global Stable ROM for India variant. Make sure the ROM has ARB4 or simply use the latest version available.

Step 5. Copy the prog_emmc_firehose_Sdm660_ddr.mbn to the fastboot ROM folder that you have it extracted previously (Step 3). Put inside the “images” folder.

Step 6. Remove or unplug the SIM tray of your phone.

Step 7. Remove the back cover of your phone. Please be careful since all the wires are still connected. We are going to enter EDL mode through Test-point method. You may need something thin but hard like a credit card.

Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account 2

Step 8. Remove the power cable connecting the battery to the board.

Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account 3

Step 9. Connect the USB cable to the computer but do not connect the other end of the cable to your phone just yet.

Step 10. Connect the 2 test points using the tweezer tool then quickly connect the USB cable to your phone.

Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account 4

Step 11. Run the Qualcomm QPST/QFIL flashing tool.

Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account 5

Step 12. Select Flat Build in the Build Type options.

Step13. Click Browse in the Select Programmer then locate the prog_emmc_firehose_Sdm660_ddr.mbn file.

Step 14. Click Load XML then locate the rawprogram0.xml and patch0.xml in the ROM folder.

Step 15. Finally click the Download button.

Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account 6

Step 16. See this message indicating a successful flashing.

Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account 7

Step 17. Reboot your phone using its Power button.

Further Resources:

These YouTube videos my help you to grasp better understanding.

Entering EDL Mode via Test-point Method on Redmi Note 7.

The language is not in English. Sorry! But it will give you better look on how it done.

Flashing MIUI ROM with Qualcomm QFil tool.

The video is not about flashing the MIUI ROM on Redmi Note 7. However, the whole steps are similar. You can use the exact same steps.

MIUI Stable ROM for Redmi Note 7 (Lavender)

Should you have any questions, please do not hesitate to drop comments below.

Credit: Angelline2005 on XDA.


24 thoughts on “Unbrick Redmi Note 7 EDL Test-Point Mode No Authorized Mi Account”

  1. COM Port number:8
    Sahara Connecting …
    Sahara Version:0
    Start Sending Programmer
    Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol
    em QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)
    em QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
    Download Fail:Sahara FailSahara Fail
    Finish Download

        1. Osmar Flores Garcia

          the problem is easily solved:
          Before executing step number 10, first you must execute steps 11 to 14, then just execute step 10 and 15 later, I leave the video link of the video that helped me solve it:

          I thank the creator of the content as I managed to recover a phone that was already dead.

      1. Sahara Connecting …
        Sahara Version:0
        Start Sending Programmer
        Download Fail:Unable to download Flash Programmer using Sahara Protocol
        Download Fail:Sahara FailSahara Fail
        Finish Download

      2. QFil gave this error during processing
        “Download Fail FireHose Fail FHLoader Fail: System cannot find the specified file”

        Any help/theories?

        1. good afternoon, a question rawprogram0.xml and patch0.xml files where can I find them already in the rom they do not come, if I could provide those files I would appreciate it

        2. Hello! Does without disconnecting battery will it work? I didn’t disconnect the battery and tried, it showed Failed Sahara error! Does, it work with the bricked MIUI 11?

        3. QFIL keeps asking for authentication (EDL auth)

          “Only nop and sig tag can be recevied before authentication”
          (same at miflash even older versions)

        4. I was able to unbrick my phone once using this test point method, then after using for about 6 hrs, screen behaved weirdly and phone went dead again. Now getting this error while flashing! Can anyone help

          2021-09-13 00:05:07.110 13: F:\onclite_global_images_V11.0.2.0.QFLMIXM_20210310.0000.00_10.0_global\images\prog_emmc_firehose_Sdm660_ddr.mbn
          2021-09-13 00:05:07.111 00:05:07: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.
          2021-09-13 00:05:07.112
          2021-09-13 00:05:07.112 00:05:07: ERROR: function: sahara_main:924 Sahara protocol error
          2021-09-13 00:05:07.112
          2021-09-13 00:05:07.113 00:05:07: ERROR: function: main:303 Uploading Image using Sahara protocol failed
          2021-09-13 00:05:07.113
          2021-09-13 00:05:07.114
          2021-09-13 00:05:07.114 Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
          2021-09-13 00:05:07.115 Finish Download

Leave a Reply

Your email address will not be published.