How to unlock Xiaomi Redmi 7A if you forget your password: the full guide 2026

The forgotten password on Xiaomi Redmi 7A is a bad situation, but it is solvable. Even if you have never faced unlocking smartphones, you can cope independently without resorting to the services of service centers. The main thing is to choose the right method depending on whether the phone is tied to the Mi Account, whether debugging is enabled by USB and whether there is a backup copy of the data.

In this article, we will discuss all the current ways to unlock the Redmi 7A (including the M1903C3GG and M1903C3GG models), their pros and cons, and give clear instructions on how to minimize data loss. Importantly, on models with a locked bootloader (Bootloader), some methods may not work, this applies to phones purchased after 2020. If you are not sure about the status of the bootloader, check it with a fastboot oem-info device.

1 Unlocking through Mi Account (if phone is tied)

The safest way is to use a Xiaomi account (Mi Account) that works even if you don't remember the lock screen password, but remember the Mi Account login details.

Instructions:

  • πŸ“± On the lock screen, click Forgot Password? (or Forgot Password).
  • πŸ”‘ Enter the email or phone number associated with the Mi Account.
  • πŸ“§ Confirm the entrance through SMS or email (depending on your settings).
  • πŸ”“ After authorization, the system will offer to reset the password of the lock screen.

If the buttons Forgot your password? no, try entering any password 5 times in a row - a hint about unlocking through Mi Account should appear. Please note: this method does not work if:

  • 🚫 The phone is not connected to the Internet (Wi-Fi or mobile network).
  • 🚫 Find the device is disabled in the settings.
  • 🚫 Mi's account was not tied to the phone.

⚠️ Note: If you have previously changed your Mi Account password but have not updated it on your phone, you may not be able to log in.In this case, try to restore your account through account.xiaomi.com.

πŸ“Š You link your phone to your Mi Account?
Yeah, always.
Only if required
No, I don't see the point.
I don't know what it is.

2.Reset via Recovery Mode (Hard Reset)

Hard reset is a universal method, but it removes all data from your phone, including photos, contacts and apps. Use it if other methods are not available. On Redmi 7A, the reset is done via Recovery Mode.

Step-by-step:

  1. Turn off the phone with a long press of the power button.
  2. Press Volume Up (+) and Power 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 (navigation is carried out by volume buttons, the choice is by the power button).
  4. Select Wipe Data β†’ Wipe All Data β†’ Confirm.
  5. After reset, restart your phone via Reboot.

If the menu is in Chinese, focus on the location of the items:

  • πŸ”Ή The first item is reboot (Reboot).
  • πŸ”Ή The second is a reset (Wipe Data).
  • πŸ”Ή Connection with a PC (Connect with MiAssistant).

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

⚠️ Note: Some of the Redmi firmware 7A After Hard Reset, you may need to enter data from the previously linked Mi Account (protection) FRP). If you don't remember your username/password, your phone will turn into a brick.Before resetting, make sure you know your account details!

3. Unlock via ADB (if USB debugging is enabled)

The method is suitable for users who have previously activated debugging by USB (USB Debugging) in the developer settings. If this feature is enabled, you can delete the password file via ADB data-free.

What you need:

  • πŸ–₯️ Computer with Windows/Linux/macOS.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“¦ Installed drivers Xiaomi and ADB Tools.

Instructions:

  1. Connect Redmi 7A to your PC via USB.
  2. Open the command prompt (Windows) or terminal (Linux/macOS) in the folder with ADB.
  3. Enter the commands in order: adb devices (to display your phone) adb shell su rm /data/system/gesture.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
  4. After resetting, the password will be reset.

If the su command doesn’t work (no root rights), try an alternative method:

adb shell am start -n com.android.settings/.ChooseLockGeneric

This command will open a password change menu where you can set a new PIN/pattern lock.

πŸ’‘

If ADB doesn’t see the device, try reinstalling drivers via the Mi PC Suite or manually pointing the path to drivers in Windows Device Manager.

4. Unlock via Fastboot (for advanced users)

This method requires an unlocked bootloader and is suitable if debugging is disabled by USB.It allows you to flash your phone through Fastboot, but erases all data and can lead to a loss of warranty.

What needs to be done:

  • πŸ“₯ Download the official firmware for Redmi 7A (Choose the version of Fastboot).
  • πŸ”§ Install Mi Flash Tool on PC.
  • πŸ”‘ Unlock Bootloader through Xiaomi’s official tool (requires a tied Mi Account).

Firmware process:

  1. Turn off the phone and press Volume Down (-) + Power to log into the Fastboot.
  2. Connect the phone to the PC.
  3. Launch the Mi Flash Tool, select the downloaded firmware and press Flash.
  4. Wait until the end (10-15 minutes).

After the firmware, the phone will look like new, but:

  • πŸ”„ All data is deleted.
  • πŸ”’ You may need to re-authorize your Mi Account.
  • πŸ“± Warranty can be cancelled (if Bootloader is unblocked unofficially).
What to do if the Mi Flash Tool is in error?
Error 0x80070002 means that the drivers are not installed. Reinstalle them manually through Device Manager. Error 0x80070005 is not enough. Run the program on behalf of the administrator.

5. Alternative methods (without loss of data)

If you don’t want to lose data, try these methods:

MethodConditionsRisks.Difficulty
Find Device (Mi Cloud)Phone is connected to the Internet, Find the device is enabledNo risk.⭐
Reset via Safe ModeA third-party launcher (e.g., Nova Launcher) is installedIt might not work on the stock firmware.⭐⭐
Use of TWRP (Castom Recovery)TWRP installed, backup availableRisk of damaging the system⭐⭐⭐
Bypassing through EDL ModeYou need an authorized Xiaomi accountHigh risk of "bricking"⭐⭐⭐⭐

The most reliable of the alternative methods is unlocking through the Mi Cloud:

  1. Go to i.mi.com.
  2. Sign in to your Mi Account.
  3. Select Redmi 7A from the list of devices.
  4. Click Delete Data or Unblock (depending on the version of the interface).

6. What should I do if nothing helps?

If all of these methods fail, there are two options:

  • πŸ”§ Contact the Xiaomi service center (official or authorized), you will need a check or box to confirm ownership.
  • πŸ› οΈ Using an unlock fee (e.g., through services like DC-Unlocker or Octoplus) is a semi-legal method that could violate the warranty.

Before the service visit:

  • πŸ“„ Take with you documents on the phone (checks, warranty card).
  • πŸ”‹ Make sure your phone is at least 30 times charged%.
  • πŸ” If you remember, write it down. IMEI (typing *#06# on another phone).

⚠️ Note: Some "masters" offer to unlock the phone through firmware using boxes (for example, UFi or EasyJTAG). IMEI Official Xiaomi service centers do not use such methods.

πŸ’‘

If you bought a phone with your hands, the chances of unlocking without the previous owner's data are minimal, and 90% of the time you will need proof of purchase (check, contract).

7.How can we avoid problems in the future?

To avoid running into a blocked Redmi 7A again, follow these tips:

  • πŸ” Use a fingerprint or facial recognition in addition to a password.
  • πŸ“ Write your passwords in a secure location (e.g., Google Keep or Google Keep). 1Password).
  • ☁️ Regularly back up your files via Mi Cloud or Google Drive.
  • πŸ”§ Turn it on. USB Debugging and OEM Unlock in Developer Settings (in case of future problems).

Also useful:

  • πŸ“‘ Set up Smart Blocking (Settings) β†’ Screen locking β†’ Smart locking so that the phone unlocks in trusted networks (such as homes).
  • πŸ”„ Check periodically if the phone is linked to Mi Account (c Settings) β†’ Mi Account).

πŸ’‘

On Redmi 7A, you can set up automatic unlocking over a Bluetooth device (for example, a smartwatch). To do this, select Trusted Devices in the lock settings and add the gadget.

Frequently Asked Questions (FAQ)

Can I unlock Redmi 7A without losing data?
Yes, but only if: USB debugging enabled (ADB method), the phone is tied to Mi Account and connected to the Internet, custom recovery (TWRP) with backup installed, in all other cases, the data will be lost.
What if after Hard Reset, your phone needs an old password?
This is FRP (Factory Reset Protection) protection. To get around it: Enter the data from the last Mi Account you have attached. If you don't remember the password, restore access via account.xiaomi.com. If the account is not yours (the phone is bought by hand), contact the previous owner or service center with proof of purchase.
Can I unlock Redmi 7A through the Engineering Menu?
No. The engineering menu (#4636###) does not provide features for resetting the lock password, but is designed to diagnose the network, battery and sensors.
How much does it cost to unlock in the service center?
The cost depends on the method: Official service Xiaomi: 1000-3000 rubles (with the guarantee remaining); informal workshops: 500-1500 rubles (risk of loss of warranty); firmware through EDL: 2000-5000 rubles (high risk). Prices are relevant for 2026 and can vary depending on the region.
How to check if Bootloader is unlocked on Redmi 7A?
Turn on the phone in Fastboot mode (clamp Volume Down + Power) and connect to the PC. Then, in the command line, type: fastboot oem device-info If the answer has a line Device unlocked: true, the bootloader is unlocked. If false - locked.