Status da exceed max num (0xc0070005) Xiaomi: Reasons and 7 Ways to Fix

Status Da exceed max num error 0xc0070005 β€” One of the most frustrating problems faced by Xiaomi smartphone owners when trying to flash a device through MiFlash or update software. DA (Download Agent, which blocks further firmware manipulation, most often on Redmi Note models 8/9 Pro, Poco X3 and other devices with Qualcomm Snapdragon processors.

The challenge is that once this code is in place, the device can stop being defined by the computer, hang on the Mi logo, or even not turn on at all, and 80 percent of the time, the problem is solved without going to the service center, but requires that instructions be followed accurately. In this article, we will discuss 7 proven methods of correcting an error, including working with the EDL-Mode, modify firmware files and bypass restrictions through the engineering menu.

Before you start repairing, it is important to understand: the mistake 0xc0070005 It's a software restriction that Xiaomi has put in place to protect against unauthorized access to the bootloader, but it sometimes works when legitimate actions are taken, like flashing after a factory reset or installing a custom recaveri.

What does a mistake mean? 0xc0070005 And why does it appear?

Code. 0xc0070005 Exceeds the maximum number of attempts to write to a section DA (Download Agent).” This section is responsible for the interaction between the flash tool (MiFlash, QFil) and the hardware of the smartphone:

  • πŸ”“ Unauthorized unlocking of the bootloader (without official permission)
  • πŸ“± Installation of unofficial firmware on blocked devices
  • πŸ”„ Repeated attempts to make a firmware in EDL-mode (emergency loading)
  • πŸ› οΈ Recovery of bricks through third-party tools

In practice, the error occurs in three scenarios:

  1. When running through MiFlash after several failed attempts.
  2. When using utilities like XiaoMiTool or Mi Unlock with an interrupted process.
  3. When trying to bring the device back to life after a β€œsoft brick” (hang on the logo).

Technically, the restriction works at the level of Qualcomm: the chipset blocks access to the system. DA-This does not depend on the version of the MiFlash or the operating system on the PC. Moreover, some Xiaomi models (for example, the Redmi Note 10 Pro) have a β€œhidden counter” that is reset only through service commands.

πŸ“Š Which Xiaomi model did you have a mistake with? 0xc0070005?
Redmi Note 8/9 Pro
Poco X3/X3 Pro
Redmi Note 10/11
Mi 10/11
Another model

Preparation for correction: what to do before the beginning

Before you start repairing, follow the mandatory preparatory steps:

Install the latest version of MiFlash (v2023.4.25 or newer)

Download the official firmware for your model (Fastboot version)

Connect the smartphone to the back USB 2.0 port (not via hub!)

Disable antivirus and firewall on PC

Charge your phone to at least 50%-->

Pay special attention to the choice USB-The front ports on the PC case often do not provide stable power, which leads to a communication breakdown in the PC. EDL-Also check the integrity of the cable: it is better to use the original from Xiaomi or certified USB-TypeC.

If the device is not defined as Qualcomm by Device Manager HS-USB QDLoader 9008, try it out:

  1. Keeping the volume down.+ and Volume – simultaneously when connected to a PC.
  2. Use the test point for forced transfer to the EDL.
  3. Check the drivers through Zadig (should stand) libusb-win32).

⚠️ Note: Do not use utilities like Miracle Box or UFi Box to bypass the restriction, and they may damage eMMC memory on some Xiaomi models released after 2021.

Method 1: Resetting the counter DA through the engineering menu (for unlocked downloaders)

If your smartphone turns on (albeit with errors) and it unlocks the bootloader, you can try resetting the meter through the engineering menu. 60% Devices with Snapdragon processors 6xx/7xx.

Instructions:

  1. Enter the code in the phone app: ##4636##.
  2. Go to the Testing section β†’ Single Test β†’ DA Auth Status.
  3. Press Clear. DA Counter (if the option is active).
  4. Restart the device and repeat the firmware.

If the paragraph DA Auth Status is not available, try an alternative method:

adb shell


su




echo 0 > /sys/class/qseecom/da_counter

⚠️ Attention: On some firmware (MIUI 13+) access DA Auth Status is locked. In this case, go to method 3 or 4.

πŸ’‘

If the engineering menu doesn’t open, try entering the code through the Testing app (hidden in the developer settings).

Method 2: Modification of firmware (removal) DA-file)

One of the most reliable methods is to remove DA-files from the firmware package before installation. This bypasses the meter check, but requires precise steps to be taken.

Step-by-step:

  1. Download the official Fastboot firmware for your model from the Xiaomi Firmware website.
  2. Uncancel the firmware file (a folder with the.tgz extension should appear).
  3. Remove files from the image folder: da_auth.img da_auth_signed.img da_auth_rl.img (if)

flash_all.sh

flash_all.bat

--da-auth

MiFlash

This method works on 90% of devices, but has risks:

  • 🚨 Possible loss IMEI (is resolved by restoration through QCN)
  • πŸ”„ Some models (Redmi Note 11) require additional patching of lpm.elf.
  • πŸ“΅ May be lost communication (corrected by flashing the fashion) NVRAM)

πŸ’‘

Removal DA-File modification is the most versatile method, but requires precise follow-up of instructions. A mistake in modifying the firmware can lead to a complete brick".

Method 3: Using a patched MiFlash (bypassing restrictions)

If a standard MiFlash is an error, you can use a modified version to bypass the check. DA. Such collections are distributed on forums XDA Developers and 4PDA.

Algorithm of action:

  1. Download a patched MiFlash (e.g. MiFlash Pro or MiFlash Unlock).
  2. Install the drivers for EDL-Mode (use QcomDLoader).
  3. Put the phone in. EDL (The black screen is defined as QHUSB_BULK).
  4. In MiFlash settings, select Clean All and Lock (even if the bootloader is unlocked!).
  5. Press Refresh, then Flash.

Advantages of the method:

  • βœ… It works on locked loaders (but not on all models).
  • βœ… No need to modify the firmware.
  • βœ… Supports Xiaomi on MediaTek (rarely).

Disadvantages:

  • ❌ Risk of Installing Unofficial Drivers (Check Sources!).
  • ❌ The new model (Redmi Note 12) may not work.
Where to download the patched MiFlash?
The most reliable sources are topics on XDA Developers (see your device model) or verified users on 4PDA. Avoid sites with suspicious domains (.xyz,.top) – there are often utilities with viruses.

Method 4: Hardware reset via Test Point (for power users)

If the software methods don't work, you have to reset the meter through Test Point, which requires disassembling the device and closing the contacts on the board.

The following is the example of Redmi Note 9 Pro:

  1. Turn off the phone and remove the back cover (need a mediator and hair dryer).
  2. Find points on the motherboard TP (usually signed or marked on the diagram).
  3. Close your contacts. TP1 and TP2 tweezer.
  4. Connect. USB-cable to PC by holding the circuit.
  5. Release Test Point after the device is determined as QHUSB_BULK.

Test Point coordinates for popular models:

ModelLocation of Test PointNotes
Redmi Note 8 ProNext to the battery, 2 dots under the screenRequires to solder off the battery plume
Poco X3Under the top cover, next to the connector. USBClose on 10-15 seconds
Redmi Note 9SOn the back of the board, next to the memory chipRisk of damage in case of neat closure
Mi 10TUnder a metal screen, 3 dots in a triangleWe need a magnet to fix the circuit.

⚠️ Warning: Test Point failure can short circuit and cause the power controller to fail. If you're unsure of your soldering skills, contact the service.

Method 5: Recovery through Xiaomi Author Account (official method)

If your device was linked to a Mi Account, you can try to restore it through the official Xiaomi service, which only works for devices with a locked bootloader and requires:

  • πŸ“± Access to the original Mi Account linked to the phone.
  • πŸ’» Computer with Mi Unlock Tool installed.
  • πŸ“Ά Stable Internet connection (Xiaomi servers can be blocked) IP frequent).

Instructions:

  1. Download Mi Unlock Tool from the official website.
  2. Sign in to the tool under the same account as on the phone.
  3. Connect the device in Fastboot mode (keep Volume- + Nutrition).
  4. Press Unlock and wait for the restrictions to be reset (can take up to 72 hours).

Limitations of the method:

  • ❌ On some models (Redmi Note 11 Pro)+) You have to wait 168 hours after the first binding.

Prevention of error 0xc0070005: How to avoid recurrence

To prevent the error from returning after a successful correction, follow the rules:

  • πŸ”„ Do not flash the device more than 1 time in 3 days (the Xiaomi limit for the device) DA-section).
  • πŸ“₯ Use only official firmware from the Xiaomi site (avoid "castoms" from unknown developers).
  • πŸ”Œ Always connect the phone to USB 2.0 (blue ports) USB 3.0 can cause transmission errors).
  • πŸ› οΈ Before the firmware check the integrity of the files through MD5-sum.
  • πŸ”’ Do not use the β€œgrey” ways to unlock the bootloader (for example, through Deep Flash Cable).

If you often experiment with firmware, consider buying Xiaomi Authorized service cable. EDL Cable. It allows you to circumvent the constraints. DA legal, but it costs from 50.$ and requires registration in the program for developers.

πŸ’‘

The best prevention is a minimum number of firmware, and every failed attempt increases the risk of blocking. DA-30th%.

FAQ: Frequent questions by mistake 0xc0070005

Can I correct an error without a computer?
No, it's a mistake. 0xc0070005 It's a hardware lock at the Qualcomm processor level, and you need a PC with MiFlash or similar tools to reset it, and the only exception is if the device turns on and you have the bootloader unlocked, in which case you can try resetting the meter through a computer. ADB (see method 1).
Why does the phone not turn on after the error is corrected?
This means that the firmware was installed incorrectly, possible reasons: Critical files from the firmware package were deleted (for example, boot.img). MiFlash Mode (Clean All, not Clean All and Lock) was incorrectly selected. USB-Solution: Repeat the firmware with the official package, pre-checking MD5-file.
Will the warranty work if you contact the service with this error?
No, it's a mistake. 0xc0070005 Xiaomi service centers in 99% of cases refuse free repairs, offering paid recovery (from 3000 to 8000 rubles depending on the model). Exception – if the error occurred after the official OTA-Update (it is difficult to prove).
Can I flash my phone with an error? 0xc0070005 through TWRP?
Only if the device is turned on and you have a custom Recovery installed. In this case: Download the firmware in.zip (not.tgz!). TWRP (Hold the volume.+ + Select Install. β†’ Choose. ZIP β†’ But this method won't reset the meter. DA, The error may return the next time you run through Fastboot.
Which Xiaomi models are most susceptible to this error?
Forum statistics (4PDA, XDA) This is the most common error on: Redmi Note 8 Pro (65% cases X3 NFC (50%) Redmi Note 9 Pro/9S (45%) Mi 9T/9T Pro (40%) Redmi Note 10 Pro (35%) Less complaints about Xiaomi Mi A2/A3 (because of a different type of bootloader and new models on Snapdragon 8 Gen 1/2 (They have a different defense mechanism).