How to remove the password from Xiaomi Redmi 7: step-by-step instructions

Why Redmi 7 is blocked and what to do first

Xiaomi Redmi 7 can be blocked for several reasons: you forgot the pattern lock, entered the wrong PIN-5 times in a row, or the device was transferred to you with a password already set, 80% of the time the problem is solved without contacting the service center - the main thing is to act on the proven schemes.

Before you start taking drastic measures like factory resets, check the obvious: an internet connection (you need to unlock it via Mi Account), a battery charge (at least 30%, otherwise the process will be interrupted), and a backup. If the phone syncs with your Xiaomi account, the chances of recovering access without losing files are much higher.

Important: Modern versions MIUI (12) enhance protection against unauthorized access, which means that bypassing the lock through the engineering menu or "holes" in the firmware is almost impossible without data loss. MIUI 10–14.

Method 1: Unblocking with Mi Account (if an account is linked)

The safest way to do this is to use a Mi Account that works if:

  • πŸ“± The phone is connected to a mobile network or Wi-Fi
  • πŸ”‘ Remember the username and password from Xiaomi account
  • πŸ”„ Synchronization is enabled on the device (checked in Settings) β†’ Xiaomi account)

Instructions:

  1. On the lock screen, click Forgot your password? (bottom of the screen).
  2. Choose Unblock with Mi Account.
  3. Enter the email or phone number associated with the account.
  4. Confirm the entrance via SMS or email (the code will come to the mail / phone).
  5. Create a new password or pattern lock.

πŸ’‘

If the button "Forgot password?" does not appear, try to enter any password 5 times in a row - the system will offer alternative ways to unlock.

⚠️ Note: If the Find Device option was enabled on the phone, additional confirmation may be required after unlocking via Mi Account. SMS. Xiaomi also limits the number of login attempts – after 10 failed attempts, the account is blocked for 24 hours.

Method 2: Recovery Mode (Data Loss)

If Mi Account is not tied or you don't remember the login details, you have a hard reset via Recovery Mode, which deletes all the data on your phone, including photos, contacts and apps. SD-map SIM-map, if they are installed.

Step-by-step:

  1. Turn off Redmi 7 with a long press of the power button.
  2. Press the Power Button + Volume Up button for 10-15 seconds at the same time until the Mi logo appears.
  3. Release the buttons – you will be taken to the Recovery menu (management is carried out by the volume and power buttons).
  4. Select the Wipe Data option β†’ Wipe All Data.
  5. Confirm the action by choosing Confirm.
  6. After reset, select Reboot β†’ Reboot to System.

Turn off the phone from charging

Extract SIM and SD-map

Make sure that the battery is >30%

Prepare a backup copy (if you have access to the PC)

-->

⚠️ Attention: On some firmware MIUI 13+ After the reset, you may need to enter data from Mi Account, which was previously tied to the phone (even if you don't remember it), this is Xiaomi's protection against theft.

Unlocking methodMi Account requiredLoss of dataDifficulty
Through the Mi Account.Yes.No.⭐
Reset to RecoveryNo (but may be required after resetting)Yes.⭐⭐
Fastboot (via PC)No.Yes.⭐⭐⭐
Bypassing ADBNo.No (only for old firmware)⭐⭐⭐⭐

Method 3: Unlocking via Fastboot (for advanced users)

This is a good way to do this if you have access to a computer and you're willing to work with Fastboot.

  • πŸ’» PC Windows/Linux/Mac
  • πŸ”Œ USB-cable (original)
  • πŸ› οΈ Utilities. ADB and Fastboot (download from Android site)
  • πŸ”‹ Charging the phone >50%

Instructions:

  1. Install ADB/Fastboot on PC and connect Redmi 7 in Fastboot mode: (a) Turn off the phone. (b) Press <Power button> + < Volume down button> before the screensaver with a rabbit in a hat-eared.
  2. Open the command prompt (Windows) or terminal (Mac/Linux) in the folder with ADB.
  3. Check the connection of the device by command: fastboot devices should appear serial number of the phone.
  4. Run reset: fastboot erase userdata fastboot erase cache fastboot reboot
What if Fastboot can’t see the phone?
1. Check. USB-cable - use the original from Xiaomi. 2. Install drivers for Redmi 7 (you can download on the Xiaomi website in the "Support" section). 3. Try another one. USB-port (preferably) USB 2.0 on the back of the PC). 4. Disable the antivirus - it can block ADB. 5. Reinstall the platform-tools (sometimes an older version, such as 29.0.5, helps).

⚠️ Note: After being reset via Fastboot, the phone may request data from Mi Account if previously tied.This is due to the Anti-Theft feature in the MIUI. If you do not remember the account details, you will need official unlocking (cost) ~1500–3000 β‚½ service-centre).

Through the Mi Account.

Reset to Recovery

Fastboot/ADB

I went to the service center.

Never blocked your phone.-->

Method 4: Password circumvention ADB (only MIUI 10–11)

This method only works on older firmware (MIUI 10 or MIUI 11) and requires that the phone be enabled to debug USB before locking. If you don't activate this option in advance, it won't work.

Instructions:

  1. Connect Redmi 7 to your PC via USB.
  2. Open the command line and check the connection: Adb devices
  3. Delete the password files: adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key adb shell rm /data/system/locksettings.db adb shell rm /data/system/locksettings.db-wal adb shell rm /data/system/locksettings.db-shm
  4. Reboot your phone: adb reboot

After the reset, the password should be reset, and if not, repeat the steps or try another method.

πŸ’‘

USB debugging should be enabled ASAP, and if you activate it after blocking it, this method won't work.

Method 5: Officially Unblocking through Service Center

If all of the above methods did not help, you can contact an authorized Xiaomi service center.

  • πŸ”’ Phone requires Mi Account data after reset and you don't remember it.
  • πŸ“± The device was bought from hands and tied to someone else’s account.
  • πŸ› οΈ You are afraid to manipulate your own firmware.

The cost of unlocking in 2026:

  • Mi Account reset (if your phone is yours but you forgot your data) – 1000-1500 β‚½.
  • Unblocking someone else’s account (check or sales contract required) – 2000–3500 β‚½.
  • Flashing with full reset - 1500-2500 β‚½.

⚠️ Note: Some "private masters" offer unlocking through EDL-It works, but it has risks:

  • 🚨 Could burn. EMMC-Memory (the phone will become a brick").
  • πŸ”“ After the firmware may remain binding to Mi Account.
  • πŸ“‰ Xiaomi warranty is cancelled.

Official Xiaomi service centers in Russia can be found on the website mi.com/ru/service/center. Before visiting, check by phone whether they are engaged in unlocking accounts - not all centers provide this service.

How to avoid blocking in the future

To avoid the problem of the Redmi 7 being blocked again, follow the simple rules:

  • πŸ” Use a fingerprint or facial recognition as an additional way to unlock (you can configure in Settings). β†’ Screen locking).
  • πŸ“ Write it down. PIN-code or pattern lock to a safe place (e.g., Google Keep or notebook).
  • πŸ”„ Regularly back up through Settings β†’ System system β†’ Backup.
  • πŸ“§ Link Mi Account and enable sync (this will help restore access).
  • πŸ”§ Turn on Debugging. USB (for advanced users) in Settings β†’ The phone. β†’ Version. MIUI (press 7 times) β†’ Additional settings β†’ For developers.

If you often forget passwords, consider using Smart Lock, a feature that automatically unlocks your phone in trusted places (such as at home or work). β†’ Screen locking β†’ Smart Lock.

πŸ’‘

In MIUI 14, the β€œEmergency Access” function appeared – you can add a button to the lock screen to quickly call a trusted number (for example, your second phone).

Frequent Questions (FAQ)

Can I unlock Redmi 7 without losing data?
Yes, but only if: The phone is linked to Mi Account and you have access to email/phone. Previously, USB Debugging (for ADB method) was enabled. In all other cases, the data will be deleted.
What if the phone asks for an old Mi Account after a reset?
This is Xiaomi's protection from theft. Solutions: Remember your account information (try to restore your password on account.xiaomi.com); Go to the service center with your phone records (check, sales contract); If you bought your phone from hand, contact the previous owner and ask them to delete the device from your account.
Does unlocking work through the engineering menu (#3646633##)?
No. The engineering menu (#4636## or #3646633##) does not contain password reset options. These codes are designed to diagnose network and hardware, not bypass locks.
Can I unlock Redmi 7 via Google Account (like Samsung)?
No. Unlike Samsung or older Android devices, Xiaomi doesn't support unlocking through Google Account. The only official way is Mi Account.
How long does it take to unblock at the service center?
Depending on the load: Mi Account reset (if you provided data) - 10-30 minutes, unlock someone else's account (with verification of documents) - 1-3 days, flashing - 1-2 hours. It is worth checking the terms by phone before the visit.