How to unlock Xiaomi Redmi Note 7 if you forget the graphical password: from reset to bypass without losing data

Why Redmi Note 7 is blocked and what to do

Graphic password on Xiaomi Redmi Note 7 – a convenient alternative PIN-It’s easy to forget, especially if you rarely unlock your phone or have recently changed the combination. Unlike current models with fingerprint sensors or facial recognition, the Redmi Note 7 (released in 2019) relies on classic protection techniques, making it difficult to unlock without knowing the key.

The main problem: on the Redmi Note 7 with MIUI 10-12, there is no official way to reset a graphical password through a Xiaomi account unless it was linked to an email. This distinguishes it from new models where Find Device allows you to remotely unlock the device. However, there are workarounds - from using Recovery mode to connecting to a PC using ADB or Fastboot. Next, we will analyze all the methods, from the most secure (without data loss) to radical (complete reset).

Method 1: Unblocking through your Mi Account (if linked)

The easiest method is to use a Xiaomi account, but it only works if:

  • πŸ“§ You have previously logged in to Mi Account on your phone and have not disabled sync.
  • πŸ”„ The device is connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ You remember your account login and password (or you can restore them via email).

Instructions:

  1. On the lock screen, enter the wrong graphical password 5 times in a row.
  2. Click on this label and select Unblock via Mi Account.
  3. Enter your email and password from your Xiaomi account. If two-factor authentication is enabled, confirm your login via SMS or backup code.
  4. Follow the system’s hints – the phone unlocks without a data reset.

⚠️ Note: If an error appears after entering the account data, it means that it was not possible to unlock it:

  • πŸ”Œ The phone is offline (check the Wi-Fi connection).
  • 🚫 Mi Account has been deleted or blocked.
  • πŸ”„ You are trying to log in from another region (for example, the phone is bought in China and the account is registered in Russia).
πŸ“Š You link your Xiaomi account to your phone?
Yeah, always.
Only on new models
No, I don't see the point.
Forgot if the account is tied

Method 2: Password bypassing through ADB (without data loss)

The method is suitable if the Redmi Note 7 is debugging on USB and has access to the computer. This is the only way to unlock the phone without resetting, but it requires preliminary preparation. If the debugging was not activated in advance, move to the next method.

What you need:

  • πŸ–₯️ Computer with Windows/Linux/macOS.
  • πŸ”Œ USB-cable (original, without damage).li>
  • πŸ“¦ Installed Xiaomi drivers and tool ADB (You can download from the official Android website).

Step-by-step:

  1. Connect the Redmi Note 7 to your PC via USB.
  2. Open the command prompt (cmd on Windows or Terminal on macOS/Linux) and type:
adb devices

If the device appears in the list, do:

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

After the reboot, the graphical password will be reset, and if the su command is not working, then there are no root rights on the phone, try an alternative method:

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

Install Xiaomi drivers|Download Platform Tools with ADB|Enable debugging on USB on the phone (if you had access)|Connect the original USB-cable|Check the visibility of the device in ADB-->

⚠️ Note: If after the execution of commands the phone hangs on the logo MI, So locksettings.db files have been corrupted, and you'll need to reset them completely through Recovery.

What if the ADB can’t see the device?
If the adb device command returns an empty list: 1. Check if debugging is enabled by USB in the developer settings (Settings) β†’ The phone. β†’ Version. MIUI β€” Press 7 times, then return to the Additional Settings β†’ For developers. 2. Try another one. USB-cable or port. 3. Install drivers manually via Mi PC Suite. 4. Reboot your phone and PC.

Method 3: Recovery Mode (complete data cleanup)

If previous methods fail, you can still reset hard through recovery mode, which deletes all data, including photos, contacts, and apps, and only use it if:

  • πŸ” You don’t remember your graphical password and you haven’t tied your Mi Account.
  • πŸ“΅ Debugging by USB not included.
  • πŸ’Ύ You don’t need to save data from your phone.

Instructions:

  1. Turn off the Redmi Note 7 with a long press of the power button.
  2. Press the Power Button + Volume up simultaneously and hold for 10-15 seconds until the MI logo and Recovery menu appear.
  3. Use volume buttons for navigation and power button for selection. Select a language (e.g. English).
  4. Go to Wipe Data β†’ Wipe All Data and confirm the reset.
  5. Once you have finished, select Reboot β†’ Reboot to System.
Action.DescriptionImplementation time
Entrance to RecoveryClutch Power + Volume Up5-10 seconds
Choosing a languageNavigation with volume buttons1-2 minutes
Wipe All DataComplete resetting of settings3-5 minutes
Reboot.First launch after reset5-10 minutes

πŸ’‘

If the phone asks you to enter the old graphical password after reset, the Wipe Data process has not ended. Repeat the steps or try the method through Fastboot (see next section).

Method 4: Unlocking via Fastboot (for power users)

This method is suitable if the Recovery is not available or the reset through it did not work.

  • πŸ–₯️ Computer with Fastboot installed and Xiaomi drivers.
  • πŸ”Œ Original. USB-cable.
  • πŸ“„ Firmware file for Redmi Note 7 (download from the official website).

Step-by-step:

  1. Turn off the phone and put it in Fastboot mode: press the Power button + Volume down for 10 seconds.
  2. Connect the device to your PC and open the command line in the folder with Fastboot.
  3. Check the connection by the team:
fastboot devices

If the device is displayed, do:

fastboot oem unlock

Then, swipe the stock firmware:

fastboot flash all [name file firmware.zip]

⚠️ Attention: The fastboot oem unlock command will unlock the bootloader, which can lead to:

  • πŸ”“ Loss of warranty (if it is still valid).
  • πŸ› οΈ The need to re-link the Mi Account.
  • πŸ“‰ Possible errors in the update MIUI future.

πŸ’‘

Use Fastboot only if other methods have failed, which requires technical skills and can lead to a device blinking when you do the wrong thing.

Method 5: Contact Xiaomi Service Center

If the self-unblocking attempts have not been successful, you can contact the official service center.

  • πŸ“± The phone is under warranty.
  • πŸ’° You are not willing to risk data or device bribing.
  • πŸ”§ You have no experience working with ADB/Fastboot.

What you need to unlock in the service:

  • πŸ“„ Passport or document confirming purchase.
  • πŸ” Mi Account details (if linked).
  • πŸ’³ Payment for the service (cost varies from 500 to 2000 rubles depending on the region).

Where to find a service center:

  1. Go to the Xiaomi support website.
  2. Choose a country and a city.
  3. Find the nearest authorized center on the map.

⚠️ Warning: Unofficial workshops may offer unlocking in 5 minutes, but often use illegal methods (e.g. firmware through the Internet). EDL), what:

  • 🚨 Violates the terms of the guarantee.
  • πŸ” It can lead to data leakage (if the wizard copies your files).
  • πŸ“‰ Causes problems with updates MIUI future.

How to avoid blocking in the future: 5 tips

To avoid the problem of forgotten passwords again, follow these guidelines:

  1. Link your Mi Account: Even if you don’t use the cloud, email binding will allow you to unlock your phone through Find Device.
  2. Enable USB debugging: This will open access to unlock through ADB. Activated in Settings β†’ About Phone β†’ MIUI version (click 7 times), then in For Developers β†’ Debugging over USB.

πŸ’‘

If you often forget passwords, install the AppLock app from Google Play, which allows you to block individual applications with simple, simple and simple rules. PIN-without complicating the entire phone.

FAQ: Frequent questions about unlocking Redmi Note 7

Can I unlock my phone without losing data if USB debugging has been disabled?
No. Without the debugging enabled and the Mi Account tied, the only way is to reset completely through Recovery or Fastboot. If your phone had important data, try retrieving the memory card (if you have one) before reset, the files on it will remain intact.
What if the phone asks for an old password after reset?
This means that the reset was incorrect. Repeat the Wipe Data procedure in Recovery or run the stock firmware through Fastboot. If the problem persists, it may be that the phone has activated FRP (Factory Reset Protection) function, which will require input from the last associated Google account.
Can I unlock Redmi Note 7 through my Google account?
No. Unlike pure Android phones, Xiaomi devices do not support unlocking through Google Account. The only official way is by linking Mi Account.
Will unlocking through Find Device work if the phone is turned off?
No. Find Device only works when your phone is on with Internet access. If the device is turned off, charge it first (at least 10-15%) and connect it to Wi-Fi.
Can I recover data after resetting through Recovery?
Theoretically yes, but only if: πŸ’Ύ Mi Cloud Backup was enabled on the phone (check backups at i.mi.com). πŸ”§ You use specialized programs like Dr.Fone or EaseUS MobiSaver, but their effectiveness on Xiaomi with data encryption is minimal.