Introduction: Why Redmi 7 requires authorization when running a firmware
Xiaomi Redmi 7 (codenamed onc) has become one of the brandβs most popular budget devices due to its balanced specs and affordable price. However, owners often face a problem: when trying to reflash the device through Fastboot or Recovery, the system requires data from the Mi Account, even if the device was reset to factory settings. This lock is part of Xiaomiβs policy to combat theft and unauthorized use of devices.
Complicating matters, many users buy Redmi 7s with their hands without access to the original account of the previous owner. In such cases, standard firmware methods through the Mi Flash Tool or TWRP become unavailable. Fortunately, there are workarounds, both official (through unlocking the bootloader) and informal (using modified firmware or exploits). In this article, we will discuss all the current ways to update Redmi 7 without binding to the Mi Account, their pros, cons and potential risks.
Preparation for firmware: what you need to know before starting
Before you start firmware, it is important to assess the current state of the device and prepare the necessary tools. Redmi 7 can be in one of three states:
- π Works normally but requires authorization when resetting or updating;
- π¨ Blocked on Mi-account after reset (This device is locked);
- π Β«Brick" (not included, got stuck on the Xiaomi logo).
The state of the firmware depends on the choice of method, for example, for a working device, unlocking the bootloader via Fastboot is suitable, and for a locked one, you will need to unlock the bootloader through Fastboot. EDL-Emergency Download Mode or special scripts:
Download the official firmware for Redmi 7 (version) V12.x.x.x or newer)|Install Qualcomm drivers HS-USB QDLoader 9008 for the EDL|Prepare. OTG-cable-in EDL|Backup the data (if the device is turned on)|Charge the battery at least 50%-->
Critically, firmware through informal methods (such as TestPoint or Deep Flash Cable) can result in loss of IMEI, denial of warranty service or complete failure of the device.
Method 1: Unlock the bootloader via Fastboot (official method)
The safest, but longest way is to officially unlock the bootloader through Xiaomi, which is suitable if the device is turned on and you have access to the developer's settings.
- Activate Developer Options by clicking 7 times on the Build Number in Settings β About Phone.
- Enable USB Debugging and OEM Unlocking in the Developer Menu.
- Link the device to the Mi Account in Settings β Additional β Unlock the bootloader.
- Download Mi Unlock Tool and log in to the program.
- Connect Redmi 7 in Fastboot mode (press Power + Volβ) and follow the instructions of the program.
β οΈ Note: Xiaomi may refuse to unlock if the device was purchased less than 7 days ago or the account is not tied to the phone.
Officially via Mi Unlock Tool|Through EDL TestPoint|Used custom Recovery.|Never unlocked.|Another way.-->
| Method of unlocking | Implementation time | Risks. | You need a Mi Account? |
|---|---|---|---|
| Official (Mi Unlock) | 3 to 14 days. | Minimum | Yes. |
| EDL + TestPoint | 10.30 minutes | High (brick risk) | No. |
| Deep Flash Cable | 5-15 minutes | Medium (loss of IMEI) | No. |
| Castom Recovery (TWRP) | 15-40 minutes | Medium (not working on locked devices) | Sometimes. |
Method 2: Firmware through EDL-mode (for locked devices)
If Redmi 7 is locked on a Mi Account or turned into a brick, the only way to work is through EDL (Emergency Download Mode).
- π Cable USB-A β USB-A (adapter OTG);
- π₯οΈ Windows PC and Qualcomm Drivers HS-USB QDLoader 9008;
- π.mbn firmware (e.g. Redmi 7 Global Stable);
- π§ Mi Flash Tool or QFil.
Instructions for entering the EDL:
- Turn off the phone.
- Connect the cable to the PC, but not to the phone.
- Press the Vol button on your phone.+ volβ simultaneously.
- Connect the cable to the phone, holding the buttons for 10-15 seconds.
- Device Manager should appear Qualcomm HS-USB QDLoader 9008.
What if the PC doesnβt see the device in EDL?
β οΈ Attention: Firmware through EDL Without official permission, Xiaomi may be blocked. IMEI. To avoid this, use a firmware marked EDL Authorized or reinstate IMEI after the firmware with tools like SN Writer Tool.
Method 3: Using Deep Flash Cable (alternative to TestPoint)
Deep Flash Cable is a modified version of the USB-cable that simulates a short circuit on the Redmi 7 contacts, forcibly transferring it to the EDL. This method is suitable if the standard method of entering emergency mode does not work:
- π§ Stolen iron and solder;
- π USB-cable;
- π Resistor 300-500 kΞ©;
- π Tester for circuit check.
Connection diagram:
USB (from the PC side)
|
β³ (seal the resistor between +5V and D+)
|
Micro-USB (from the phone side)After the cable is assembled:
- Connect the cable to the PC.
- Press the Vol+ phone and connect the cable.
- Hold the button for 10-20 seconds until Qualcomm HS-USB QDLoader 9008 appears in Device Manager.
π‘
If you donβt want to solder the cable yourself, you can buy the Deep Flash Cable ready for Xiaomi on AliExpress (search on βXiaomi EDL Cableβ).
Method 4: Firmware through custom Recovery (TWRP)
If the Redmi 7 bootloader is already unlocked, but the device requires authorization when reset, you can install custom Recovery (such as TWRP) and flash the modified firmware. This method is not suitable for devices with a locked bootloader!
Step-by-step:
- Download TWRP for Redmi 7 (version 3.5.2 or later) from twrp.me.
- Rename the file to recovery.img and place it in the folder with ADB.
- Connect your phone in Fastboot mode and execute the command: fastboot flash recovery.img
- Download to TWRP (Press Power + Vol+).
- Make Wipe β Format Data (this will remove the link to your Mi Account).
- Sweep through custom firmware (like LineageOS or Pixel Experience).
β οΈ Attention: After installation TWRP standard OTA Xiaomi won't work. To get the original Recovery back, run it through Fastboot:
fastboot flash recovery stock_recovery.imgIMEI Recovery After Firmware
One of the most unpleasant consequences of the unofficial firmware Redmi 7 is the loss of the product. IMEI (Without it, the phone will not be able to connect to mobile networks. IMEI:
- Find out the original IMEIs of your device (they are listed on the box or under the battery).
- Download the SN Writer Tool or QCN Rebuilder.
- Enter IMEI manually via Engineer Mode (type ##4636## β Information β IMEI SV).
- Or pass it. QCN-file via QFil in EDL-mode.
If you can't recover the IMEI, try flashing the modem part (non-hlos.bin and modemst1.bin) from the official firmware.
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbnπ‘
Never use generators. IMEI orthodox IMEI-This is illegal and could result in the device being blocked by the operator.
Frequent mistakes and their solutions
When you run Redmi 7, you often run into typical problems, and here are the most common ones and how to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Mi Flash: "Flash is not done" | Incompatible version of firmware or drivers | Use the firmware marked for onc and update the Qualcomm driver |
| Fastboot: "device not found" | There are no ADB drivers or cables that are faulty | Install Minimal ADB and Fastboot and check the cable |
| The phone does not turn on after the firmware | The boot.img file is incorrectly selected or system.img | Repeat the firmware with the correct version or restore via EDL |
| TWRP: "Unable to mount /data" | Encrypted Data Section (FBE) | Make Format Data β Yes. TWRP |
If none of the methods worked, check:
- π Battery charge (minimum 30%);
- π Quality. USB-cable (it is better to use the original cable);
- π₯οΈ Windows Version (Windows 11 may have problems with Qualcomm drivers).