How to remove the pattern lock from Xiaomi Redmi 9: the complete guide

The situation when the owner of Xiaomi Redmi 9 forgets the pattern lock or pin code is one of the most stressful for the user: the device turns into a useless piece of plastic and glass, access to contacts, photos and applications is completely closed. Modern Android security systems and MIUI shells are designed to protect the ownerโ€™s data as much as possible, so standard methods of bypassing do not work here.

There are several proven ways to unlock a smartphone, but they require strict follow-up instructions. In some cases, you can save personal files, in others, a complete reset is inevitable. Redmi 9 is based on a MediaTek processor, which provides certain advantages when using specialized firmware, but the standard methods of Google and Mi Account remain primary.

Before you start taking action, you need to assess the risks of data loss. If the device was not enabled sync with the cloud, recovery of photos and correspondence may become impossible. However, return to work gadget is necessary, and below are all the current methods for the model Redmi 9.

Use the โ€œFind Deviceโ€ function from Google

The most civilized and safe way to remove the lock is only available to those users who have previously linked their Google account to the phone and enabled geolocation. Google Find My Device allows you to remotely control your smartphone through any browser. If these settings have been activated, you do not need complex technical manipulation.

To start the process, you need to log into the serviceโ€™s official website from a computer or other phone, enter the login and password from the account that was used on the blocked Redmi 9. The system will automatically try to determine the location of the device if it is connected to the Internet.

In the control interface, you'll see several options: Call, Lock, and Clear the device. We're interested in the cleaning function, and you click on it, and you send a command to your smartphone, which will force you to delete all the data, including the pattern lock.

  • ๐Ÿ“ฑ Make sure that the Redmi 9 has internet (Wi-Fi or mobile data) enabled).
  • ๐Ÿ” Remember the exact login and password from the Google account.
  • ๐ŸŒ Use any device with network access to log in to the site.

โš ๏ธ Note: This method results in the complete deletion of all user data.Photos, contacts and applications will be erased without recovery if there is no backup.

Once the operation is confirmed, the phone will reboot, and the next time it turns on, it will look like a new one just from the store, and you will need to re-set your initial setup and enter your Google account to confirm ownership.

Reset via Mi Account and Find Device

Xiaomi smartphone owners often neglect to create a Mi Account, and this becomes a problem at a critical moment. If you signed up for a Mi Account and enabled Find a Device in the cloud settings, unlocking will go as smoothly as possible, a method often more effective than standard Google, because it works at the MIUI firmware level.

Go to the official Xiaomi cloud service website. Sign in using your credentials. From the device list, select your Redmi 9. If your phone is online, you'll see a map and control panel.

The cleanup function works similarly to Google, but sometimes allows you to bypass some protections if Google services have been blocked or worked incorrectly, the main advantage is deep integration with the MIUI security system.

๐Ÿ“Š Do you use cloud services for backup?
Yeah, all the time.
Only a photo.
Never used it.
I don't know what it is.

It's important to understand that after this cleaning, FRP (Factory Reset Protection) protection will work, which means that when you first boot the phone will require you to enter the password from the Mi Account that was synced to the device before locking, without this password, you will not be able to start the phone.

Hard Reset with Recovery Mode (with data loss)

If your phone doesn't have internet access or accounts are not tied, the only one-size-fits-all option is hardware reset via the Recovery menu, which works regardless of the state of the software, but is guaranteed to delete all data.

To enter recovery mode on Redmi 9, you need to turn the device off completely. Then press the volume button and the power button at the same time. Hold them until the Mi logo appears, after which the power button can be released, while continuing to keep the volume.

You'll see a menu with a few items in English, and you'll have volume buttons (up/down) and power buttons to choose from, and you'll need to find Wipe Data.

โ˜‘๏ธ Preparing for resetting through Recovery

Done: 0 / 4

In the next menu, select Wipe All Data and confirm the action. The system will warn you of the risks. Once the process is complete, select Reboot to restart the smartphone as normal.

โš ๏ธ Attention: On new versions MIUI After resetting via Recovery, you may need to enter a password from the Mi-acca-unt that was previously tied to this IMEI. Make sure you remember this data.

The reset process can take anywhere from 2 to 10 minutes, and do not interrupt it or try to turn off the phone manually until the welcome language selection window appears on the screen.

Unlocking through ADB (without data loss)

This is the most difficult method, but the only one that can be used to save photos and contacts, and it only works if the phone has previously enabled USB debugging and the computer has been given permission to access the data.

You will need a computer with drivers installed. ADB Connect the locked Redmi 9 to the PC via USB-If the phone asks for debugging permission, it won't unlock, and it won't work.

Open the command line on the computer in the folder with ADB-Enter a command to delete the file that stores the lock keys. The syntax of the command is as follows:

adb shell rm /data/system/gesture.key

Once you have completed the command, restart the device. If it has been successful, the phone will start without asking for a graphical key. However, on modern versions of Android, this security hole is often closed, and the file can be locked by the system until full authorization.

MethodData retentionWe need the Internet.Difficulty
Google Find My DeviceNo.Yes.Low.
Mi AccountNo.Yes.Low.
Recovery ModeNo.No.Medium
ADB CommandYeah (potentially)No.Tall.
Why can't ADB work?
The /data/system system partition in modern versions of Android is mounted only after the screen is successfully unlocked. Therefore, the gesture.key file deletion command may return the "Permission denied" error or simply fail, since the file system is in secure mode before entering the password.

Firmware via SP Flash Tool (for advanced ones)

Since Redmi 9 is built on the MediaTek platform (MT6765), you can use the SP Flash Tool to restore it. This method allows you to reinstall the system partition, effectively erasing the lock along with the operating system.

You will need to download the official firmware for your particular model (it is important not to confuse the global version with the Chinese one, otherwise the phone may stop catching the network). VCOM for MediaTek processors.

The process is as follows: turn off the phone, press both volume buttons and connect the cable to the PC. In the SP Flash Tool program, select the scatter file from the firmware folder, press the Download button and only then connect the device (if it is not determined automatically).

โš ๏ธ Attention: Flip-through through SP Flash Tool without unlocked bootloader (Unlock Bootloader) is not always possible. MIUI You often need an authorized Mi Flash Pro account, otherwise the process will end in error.

If you have a bootloader unlocked, this method is a "nuclear" solution to software problems, and it completely clears the phone of any user settings, viruses, and forgotten passwords.

๐Ÿ’ก

Before you run your firmware, be sure to find out the exact model of your device in code ##64663## (if available) or on the sticker under the back cover to download the compatible firmware file.

What to do if the FRP protection is working

After any of the above reset methods (except for a successful ADB), the FRP (Factory Reset Protection) system will work. The phone will require you to enter a Google account that was synced with the device before the reset.

This is done specifically to prevent the stolen phone from being reflashed and sold, and if you forget your Google account password, restore it through your computer by going to the Google account recovery page.

If the account is unknown (for example, the phone is purchased from hand), unblock FRP There are almost no legal ways (FRP Bypass, but they require special installations APK-files via Bluetooth or browser that are on new Android security patches 10/11 works with varying success.

๐Ÿ’ก

FRP protection is the last line of defense, and without the data from the previously synchronized account, turning a phone into a working tool is extremely difficult and requires deep technical knowledge.

If nothing helps, you can contact the authorized service center Xiaomi with a check about the purchase, which is the only legal way to remove the lock of the account in case of data loss.

Frequently Asked Questions (FAQ)

Can I unlock Redmi 9 without losing photos?
Without pre-enabled USB debugging and an ADB driver installed, it's almost impossible. All standard methods (Google, Recovery, Mi Account) involve a complete data reset for security purposes.
How many times can you make a mistake when entering a pattern lock?
After 5 wrong attempts, the phone will lock for 30 seconds, and with each successive series of errors, the lock time will increase until you need to sign in through a Google account.
Will a phone call help to unblock?
On older versions of Android, there was a bug that allowed you to access the settings via the call menu. On Redmi 9 with the current MIUI, this method does not work because the call interface is isolated from the system.
What is Mi Unlock and is it necessary?
Mi Unlock is a utility for unlocking the bootloader. It doesn't remove the pattern lock directly, but it's necessary for installing custom recavator or full flashing if standard methods don't work.
Where can I find a check for the service center?
The check can be electronic (a letter in the mail, a screenshot from the bank, a personal store account), as long as the document reads the IMEI of the device or the serial number that matches the locked phone.