The situation when you pick up your Redmi 9 and realize that you have forgotten the pattern key is familiar to many users. This causes panic, especially if the device stores important contacts, photos or access to banking applications. The lock screen is the first line of protecting your personal information from unauthorized access, but sometimes it becomes an insurmountable barrier for the owner himself.

Fortunately, the ecosystem Android and the shell MIUIinstalled on Xiaomi smartphones provide several scenarios for solving this problem. Methods range from a soft password reset via Google account to a hard factory reset, which will return the phone to factory settings. The choice of a specific path depends on whether security services have been pre-configured and whether you have access to the Internet.

In this article we will analyze in detail all possible options for the model Redmi 9. We will not use dubious apps from unverified sources that may contain viruses. Instead, let's look at the official and safe tools built into the system, as well as standard recovery modes.

Reset through the Find My Device service from Google

The most civilized way to regain access to a smartphone without losing data (in some cases) or with minimal losses is to use the service Find My Device. This tool is built into the operating system Android by default and works if the phone is logged in Google account, geolocation is enabled and there is an Internet connection (Wi-Fi or mobile network).

First, you will need any other device with access to Internet: computer, tablet or friend’s phone. Go to the official website of the service and log in using the same Google accountthat is used on the blocked Redmi 9. The system will automatically detect the location of your device and offer several actions.

⚠️ Attention: The “Lock” function in the Find My Device service allows you to set a new temporary password that will replace a forgotten pattern. However, on modern versions of Android and MIUI, this option may not be available for security reasons.

If the option to change the password is not available, the “Erase” option remains. This action will delete all data from the internal memory, including photos, applications and settings, but will remove the screen lock. Once wiped, your phone can be set up as new or restored from a backup.

💡

Before using the wipe feature, make sure your phone is connected to a network. If it is offline, the command will be executed only after the next time the device goes online.

The remote control process is as follows:

  • 📍 Open the website android.com/find and log in to your account.
  • 📱 Select yours in the list of devices Redmi 9.
  • 🔒 Press the “Clean device” button and confirm the action.
  • ⏳ Wait for the command to complete on your smartphone (the screen will go dark and the reset will begin).

Using the Mi Cloud account and the Find Device function

Smartphone owners Xiaomi i Redmi have an additional advantage - cloud service Mi Cloud. The function Find Device in the Xiaomi ecosystem often works even more stable than the solution from Google, especially in regions with unstable operation of the search giant's services. For this method to work, you must have Mi-account on your phone and activate the device search function in the settings.

Go to the i.mi.com website from any browser. Enter your login and password Mi-account. If the system requires a verification code, which should be sent to a locked phone, this method, unfortunately, will not work, since you will not be able to read the SMS. However, if you have synchronization or two-factor authentication enabled via an authenticator application on another device, you will be able to log in.

In the interface Mi Cloud select your Redmi 9icon. You will have access to the “Lost Mode”, which allows you to remotely lock the device with a new password or immediately execute the “Wipe Data” command. The second option will completely delete the pattern along with all information in the internal memory.

What happens during a remote reset via Mi Cloud?

When you execute the Wipe Data command, the phone reboots into recovery mode, where the data partition is formatted. This takes from 2 to 10 minutes depending on the amount of space used.

It is important to understand the difference between resetting via Google and resetting via Xiaomi. The service Mi Cloud is more closely integrated with the firmware MIUI, so the command is executed faster. However, after such a reset, during the first setup, the phone will definitely ask for the password from Mi-account (Mi Cloud Lock protection) to make sure that the device is not stolen.

Parameter Google Find My Device Xiaomi Mi Cloud
Network requirement Required (Wi-Fi or LTE) Required (Wi-Fi or LTE)
Data saving No (full reset) No (full reset)
Probability of success High Very high for MIUI
Additional protection Request for Google account Request for Mi account (FRP/Mi Lock)
📊 Which account did you have active on Redmi 9?
Google only
Mi Account only
Both accounts
I don’t remember either one

Hard Reset via Recovery mode

If the remote methods did not work due to lack of Internet on the phone or forgotten account passwords, the only reliable option remains - Hard Reset (hard reset) via the menu Recovery. This method does not require a network connection or knowledge of any passwords, but it is guaranteed to delete all user data from the device.

To get into recovery mode on Redmi 9, you must completely turn off the smartphone. Then you need to hold down a combination of buttons: the volume up key (Volume Up) and the power button (Power). Hold them simultaneously until the logo Redmi or Miappears, then release the power button, but continue to hold the volume.

⚠️ Attention: The touch screen does not work in the Recovery menu! Navigation is carried out using the volume buttons (up/down), and the selection of an item is confirmed with the power button. Be extremely careful not to select the wrong menu item.

When the main menu appears Recovery, first select a language (usually English or Simplified Chinese is available). Then use the Volume buttons to move to Wipe Data and confirm the selection with the Power button. In the next menu, select Wipe All Data and confirm the action by selecting Confirm.

☑️ Algorithm of actions in Recovery

Done: 0 / 5

The formatting process will take some time. A progress bar will be displayed on the screen. Once the operation is completed, the phone will automatically reboot. The first boot after a reset may last longer than usual - up to 5-7 minutes, as the system optimizes applications and creates new partitions.

💡

Hard Reset is a “nuclear” option that solves the blocking problem in 100% of cases, but at the cost of complete loss of data not synchronized with the cloud.

Bypassing blocking via USB debugging (ADB)

This method is only suitable for advanced users and only works if (USB Debugging) was activated on the phone before blocking in the “For Developers” menu. If this function has been disabled, this method will not work, and the computer simply will not see the device in debug mode. USB debugging (USB Debugging) in the "For Developers" menu. If this function has been disabled, this method will not work, and the computer simply will not see the device in debugging mode.

You will need to install drivers ADB and Fastboot on the computer, as well as download a minimum package of platform tools (Platform Tools). Connect the locked Redmi 9 to the PC via the original USB cable. Open the command line (CMD) or PowerShell in the ADB tools folder.

Enter the command to check the connection:

adb devices

If the list displays the serial number of the device with status device, then the connection is established. To delete a file with a pattern key, enter the following command:

adb shell rm /data/system/gesture.key

Or, to delete a file with a PIN code:

adb shell rm /data/system/password.key

After successfully completing the command, restart your phone. The lock should disappear and you will be able to log in without entering a password. The data is completely saved.

⚠️ Attention: On Android 9 and higher, including MIUI versions based on Android 10/11, access to system files via ADB without root access may be limited. The command may not work if the phone is not rooted.

Specifics of FRP Lock on Xiaomi

After performing a factory reset (via Google, Mi Cloud or Recovery), a protection mechanism is triggered on modern smartphones FRP (Factory Reset Protection). This is an anti-theft system that links the device to the last entered Google account or Mi account.

When setting up for the first time after a reset, Redmi 9 will ask you to enter the password for the account that was synchronized with the phone before the lock. This is done so that an attacker who steals the phone and resets it cannot gain access to the device. If you don't remember the password for this account, the phone will be bricked for normal use.

There are complex workarounds for FRP, including using special cables, vulnerabilities in the browser, or installing third-party APK files through the accessibility menu. However, these methods are constantly covered by security updates MIUI and Android.

Why is FRP so difficult to bypass?

Manufacturers regularly patch vulnerabilities in system applications (for example, in Wi-Fi or TalkBack settings) that were previously bypassed. What worked a month ago may be useless today.

The only legal and reliable way to remove an FRP lock is to remember your account details. If the account was corporate or access was lost forever, you will need to contact an authorized service center Xiaomi with documents confirming the purchase of the device (receipt, warranty card).

Preventing blocking and creating backup copies

So that the “forgot the key” situation does not repeat and does not lead to data loss, It is necessary to correctly configure the security system in advance. Modern smartphones offer convenient alternatives to complex pattern keys that are easier to remember or require no input at all.

Set up biometric security. Redmi 9 equipped with a rear-panel fingerprint scanner and face unlock function. These methods are not only faster, but also more reliable, since biometrics cannot be “forgotten.” Leave the pattern key only as a backup method in case your finger is damaged or face unlock does not work.

  • 🔐 Regularly change passwords for Mi and Google accounts and write them down in a safe place.
  • ☁️ Enable automatic synchronization of contacts and photos with the cloud.
  • 📝 Write down your SIM card and screen unlock PIN in a physical notepad.
  • 🔄 Make full backups to an external hard drive or PC once a month.

Use password managers. Special applications, such as Bitwarden or a built-in password manager Googlecan store not only passwords for websites, but also notes with important device access codes. Access to such storage is protected by one master password, which is easier to remember than a dozen different combinations.

💡

Save a screenshot of the screen with account settings and device serial number (IMEI) to a cloud storage that is accessible from other devices. This will make it easier to restore access in a critical situation.

Frequently asked questions (FAQ)

Is it possible to unlock Redmi 9 without losing data?

You can unlock the phone without losing data only if the remote password change via Google Find My Device works (which is rare on new ones Android) or if you have USB debugging enabled and are using ADB. In all other cases, including resetting via Recovery and Mi Cloud, the data will be deleted.

What should I do if the phone asks for an account after the reset, but I don’t remember it?

This is an FRP lock. You need to try to regain access to your Google or Mi account through the password recovery procedure on another device. If this is not possible, a visit to the service center with a purchase receipt will be required to prove ownership.

Will apps like Bypass FRP Tool help?

Most of these apps are fraudulent or contain viruses. Those that work require specific conditions (old firmware versions, availability of drivers, payment). On Redmi 9 with the current MIUI, their effectiveness tends to zero, and the risk of damaging the system is very high.

How many times can you enter the pattern key incorrectly?

Usually the system allows you to enter the wrong key 5 times. After this, the phone is blocked for 30 seconds. With each subsequent unsuccessful cycle, the blocking time increases (up to 5, 10, 30 minutes). After many attempts, you may be required to enter the PIN code from your Google account.

Does unlocking the bootloader affect the removal of the pattern?

Unlocking the bootloader does not itself remove the pattern from a running system. Moreover, unlocking the bootloader on Xiaomi often requires an unlocked screen and active internet. This is a separate procedure, which also leads to a complete data reset.