How to unlock Xiaomi Redmi phone: from pattern lock to Mi Account

Forgot the password from Xiaomi Redmi? Phone locked after failed attempts to enter the pattern lock? Or maybe you bought a used device with a tied someone else's Mi Account? In any of these situations, unlock is possible - the main thing is to choose the right method.

Modern Xiaomi smartphones are equipped with multi-level protection: from standard PIN-It's all about the code, biometrics, cloud-based linking to your account, but even if you lose access to all of that data, there's a way out. In this article, we'll look at all the current ways to unlock, from official (via Find Device) to technical (using Fastboot and other tools). EDL-Important: some methods require prior preparation, so read carefully and choose the right option.

⚠️ Warning: Hard Reset will remove all data from your phone, including photos, contacts and apps. If encryption is enabled on your device, you may need to enter your old password even after resetting.

1 Unlocking through Mi Account (official method)

If your Redmi is linked to a Mi Account and you have access to the mail or phone number associated with it, this method is the easiest and most secure. 11/12/13, Redmi 10/9/8 others.

Algorithm of action:

  • πŸ“± On the lock screen, tap "Forgot password?" (or "Forgot password?" on English firmware).
  • πŸ”‘ Choose the method of recovery: SMS (If the number is attached or e-mail.
  • πŸ“§ Enter the confirmation code received by mail/phone and set a new password.
  • πŸ”“ The phone is unlocked automatically after changing the password in the account.

If the β€œForgot Password?” button is missing, try entering any password 5-10 times in a row – the system can offer a recovery option through Mi Account.

⚠️ Note: On some firmware (especially Chinese) after 10 failed attempts, the phone may lock for 24 hours.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note 10/11/12
Redmi 9/9A/9C
Redmi 8/8A
Redmi 7/7A
Another model

2.Reset via Recovery Mode (Hard Reset)

Hard Reset is a universal way to unlock, but it completely erases data from the phone. Suitable for all Xiaomi Redmi models, including the Redmi Note 12 Pro+ and Redmi A2. The main condition is that the phone must be disabled Mi Cloud Lock (lock through the Mi Account), otherwise after reset you will need to enter a login / password from the previous owner.

Resetting instructions:

  1. Turn off the phone with a long press of the power button.
  2. Press the combination of Loudness up + Power and hold for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data (use volume buttons for navigation, power button for confirmation).
  4. Confirm the action by selecting Wipe All Data.
  5. After the process is complete, select Reboot.

The phone will reboot and suggest that you configure it as new, and if you request Mi Account data after the reset, you have a typical lock on your device, and then you go to the Fastboot method.

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

3. Unlock via Fastboot (for advanced users)

The method via Fastboot is suitable if:

  • πŸ”’ Phone blocked by Mi Account after reset.
  • πŸ“± The device is off. OEM Unlock (unlocking the bootloader).
  • πŸ–₯️ You have a computer with Xiaomi drivers installed and Mi Flash Tool program.

Step-by-step:

  1. Download and install the Mi Flash Tool and Platform Tools (for ADB and Fastboot).
  2. Turn off your phone and put it in Fastboot mode: Press Volume Down + Power.
  3. Connect your phone to your PC via USB.
  4. Open the command line in the folder with Platform Tools and type: fastboot oem device-info If in the answer Device unlocked: false, then the bootloader is blocked.
  5. Download the firmware for your model from the Xiaomi Firmware Updater website (choose the Fastboot version).
  6. Unpack the firmware and in the Mi Flash Tool, point the path to the file folder. Press Refresh, then Flash.

⚠️ Note: After being firmwareed through Fastboot, the phone may require activation via Mi Account if previously linked to the account.In this case, official proof of ownership from Xiaomi will be required (through a support request with a purchase check).

What if the Mi Flash Tool can't see the phone?
1. Check if Qualcomm or MediaTek drivers are installed (depending on your Redmi processor). 2. Try another one. USB-3. disable the antivirus - it can block the work of the Mi Flash Tool. 4. Run the program on behalf of the administrator.

4.Use of EDL mode (for complex cases)

EDL (Emergency Download Mode) is an emergency firmware mode that allows you to bypass lock even when the bootloader is locked. Suitable for models on Qualcomm processors (Redmi Note 10 Pro, Redmi K40, etc.).

What you need:

  • πŸ’» Windows computer.
  • πŸ”Œ Cable USB Type-C (preferably original).
  • πŸ“¦ Firmware in.mbn or.elf format for your model.
  • πŸ› οΈ QFil or Mi Flash Pro.

Instructions:

  1. Turn off the phone.
  2. Close the Test Point contacts on the motherboard (requires disassembly of the phone) or use ADB-command: adb reboot edl (only works if enabled) USB Debugging).
  3. Connect your phone to your PC – Qualcomm HS-USB QDLoader 9008 should appear in the Device Manager.
  4. Start QFil, select firmware and press Download.

⚠️ Attention: Incorrect firmware in mode EDL It can turn your phone into a brick. Use only the firmware you've tested for your model!

πŸ’‘

Before disassembling your Test Point phone, check out your model's disassembly on YouTube. Contacts are usually located next to the battery and marked as EDL or TP.

5 Unlocking through Find Device (remote)

If your phone has Find Device enabled and it's connected to the Internet, you can remotely unlock it via iCloud (the equivalent of Find My iPhone for Xiaomi), which only works with an active Mi Account and location enabled.

How to do this:

  1. Go to i.mi.com and log in.
  2. Select your Redmi from the list of devices.
  3. Click "Block" (if the phone is already locked, this option may not be available).
  4. Select "Erase data" - the phone will reset to factory settings.

Once reset, the phone will unlock, but all data will be deleted. If the device has activated the Mi Cloud lock, you will need to enter your account information at the first setting.

Unlocking methodPC requiredDeletes the data.It works with Mi Cloud Lock.Difficulty
Mi Account (Password Recovery)❌ No.❌ No.βœ… Yes.⭐ Easy.
Hard Reset (Recovery)❌ No.βœ… Yes.❌ No (requires Mi password)⭐⭐ Middle-Average
Fastbootβœ… Yes.βœ… Yes.❌ No (requires unlocking the bootloader)⭐⭐⭐ Hardly.
EDLβœ… Yes.βœ… Yes.⚠️ Partially (depends on firmware)⭐⭐⭐⭐ Very difficult.
Find Device❌ No.βœ… Yes.❌ No.⭐ Easy.

6. Alternative methods (for older models)

If you have an older Xiaomi Redmi model (e.g. Redmi 4X, Redmi 5A), you can try bypassing the lock via service codes or ADB (if USB debugging is enabled).

Method 1: Service code for resetting

On some firmware works a combination:

##7780##

This code does a soft reset (removes settings but saves files). If it doesn't work, try:

*2767*3855#

Complete reset (all data will be erased).

Method 2: ADB-teams (if included) USB Debugging)

If USB debugging was previously activated on the phone, connect it to the PC and type in the command line:

adb shell rm /data/system/gesture.key

or for PIN-code:

adb shell rm /data/system/password.key

After the reset, the lock will be reset.

⚠️ Note: On newer models (Redmi Note 12 and later), these methods do not work due to enhanced protection. MIUI. They can also work incorrectly on firmware with encryption (File-Based Encryption).

πŸ’‘

On phones with MIUI 12 and later, most of the holes to bypass the lock are closed. If none of the methods worked, only the official unlock through Xiaomi support remains (a purchase check is required).

Frequently Asked Questions (FAQ)

Can I unlock Xiaomi Redmi without losing data?
Yes, but only if: πŸ”‘ You remember the password from Mi Account and the phone is tied to the account (restore via Find Device or Forgot the password?"). πŸ–₯️ The phone's debugging on. USB (USB Debugging and you can use it ADB. In all other cases, the data will be deleted.
What if after Hard Reset, the phone asks for an old password?
This means that the phone has been encrypted, in which case: Try to enter the old password (even if you don't remember it, it sometimes works). If it doesn't work, run the phone through Fastboot or EDL (see sections above). Newer models (Redmi Note 11 and later) may require authorization through Mi Account.
How do I know if my Redmi is locked?
Connect your phone to your PC in Fastboot mode and type in the command: fastboot oem device-info If the answer Device unlocked: false - the bootloader is blocked. To unlock you need: Apply for unlocking through the official Xiaomi website. Wait 7-15 days (depending on the model). Use the Mi Unlock Tool program.
I bought a used Xiaomi Redmi, and it was blocked by the previous owner.
You need to: Check with the seller the details of the Mi Account to which the phone is tied. If the seller does not answer, contact Xiaomi with a check of purchase (even if the check is in your name, but the used phone, the chances are slim). EDL, But it may not work on new models because of the antirollback (hardware rollback protection). ⚠️ When buying Xiaomi, always check if the phone is untied from the previous owner’s Mi Account!
Can I unlock Redmi through the service center?
Yeah, but: πŸ’° This is a paid service (from 1000 to 5000 rubles depending on the model). πŸ“„ A purchase check or a sales contract will be required (to prove ownership). ⏳ The unblocking period is 1 day to a week, official Xiaomi service centers in Russia only unlock phones if they have documents. Informal workshops can offer a β€œbypass” of locks, but this often violates the terms of the guarantee.