How to unlock Xiaomi Mi 9T if you forget the password from the lock screen

The situation when the owner of Xiaomi Mi 9T Cannot access your device because of a forgotten pattern lock or PIN-Modern Android security systems are designed to protect user data from prying eyes as much as possible, but these mechanisms become an obstacle for the legitimate owner in case of forgetfulness. Recovering access to a smartphone is feasible, but it’s important to understand that most methods will require the complete deletion of user data.

Before taking action, you need to evaluate the situation and remember whether any additional security features, such as linking to a Google account or Mi Account, were included. This will determine the choice of the specific way to unlock. In some cases, the system may offer alternative login options, for example, through a fingerprint if it was configured earlier, or unlocking through a trusted device.

In this article, we will discuss in detail all the current methods of removing locks from the screen for the Mi 9T and Mi 9T Pro. You will learn how to use Recovery mode to reset settings, how to remotely control the device through Google services and what to do if the protection against theft is enabled. Carefully follow the instructions so as not to complicate the situation and return the functionality of the gadget.

Using a Google account to reset the lock

The most civilized and least traumatic way for data is to use the built-in recovery function through a Google account. This method only works if a blocked Xiaomi Mi 9T has logged in to Google profile, enabled data transfer and the device is connected to a Wi-Fi network or mobile Internet. If these conditions are met, you do not need to perform a full reset.

To implement this method, you need to go to Google Find My Device from any other device, whether it is a computer or another phone. By entering the username and password from the account that was used on the locked smartphone, you will see a map with an approximate location of the device. From the control menu, select the option β€œErase Device” (Erase Device), which initiates a remote reset.

Once confirmed, the smartphone will be instructed to reboot and delete all user data, including the screen lock password. It is important to note that this method is only effective if there is an active Internet connection. If the phone was turned off or was in an area without network coverage at the time the command was sent, the reset will occur as soon as the device goes online.

  • πŸ”‘ Make sure you remember the password from your Google account, not just the lock screen.
  • πŸ“‘ The method requires a stable connection to the Internet on the most blocked device.
  • ⚠️ All data not stored in the cloud will be permanently deleted during the cleanup process.
πŸ“Š How you normally block the screen of your smartphone?
pattern lock
PIN-code
Fingerprint.
Face ID
Other

Reset via Recovery (Hard Reset)

The most versatile method that works even when the Internet is turned off or accounts are not associated is resetting via Recovery mode. This method is to force the system recovery menu, where the option "Wipe Data" is available. For the Xiaomi Mi 9T, the login procedure has its own features due to the absence of a physical button on the front panel.

To enter Recovery mode, turn off your smartphone completely. Then simultaneously press the volume button and the power button. Hold them until the Mi logo appears, then release the power button, but continue holding the volume button. When the Recovery menu appears on the screen, you can release all the buttons. The navigation in this menu is done by the volume buttons (up/down), and the choice is confirmed by the power button.

In the menu that opens, select "Wipe Data", then "Wipe All Data" and confirm the action by selecting "Confirm". The system will warn you that all data will be deleted. Once the cleanup process is complete, select "Back to Main Menu" and then "Reboot". The first run of the system will take longer than usual, since Android will reassemble system files.

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

⚠️ Warning: After resetting via Recovery, the system will require you to enter a password from a Google account or Mi Account that was synced to the device before locking (FRP), It is almost impossible to get around without the owner’s data.

Remote unlocking via Mi Cloud

Xiaomi smartphone owners often neglect to register Mi Account, but in a situation with a forgotten password, this account can be a salvation.Mi Cloud has functionality similar to Google Find My Device, but specifically tailored to the Xiaomi ecosystem. If your Mi 9T was enabled to search for the device, you can remotely erase data.

To do this, go to the official i.mi.com website from any browser. Sign in using your Mi ID. In the interface, select your device from the list of available. Among the controls will be the "Clear" button (Wipe), pressing this button will delete all data from the phone, including the set lock password.

The advantage of this method is that it works even if the phone is in sleep mode, although the command will only be executed when the network appears, and you can also use Mi Cloud to try to locate the device or turn on the beep if you are not sure where the gadget is.

ParameterGoogle Find My DeviceMi CloudRecovery mode
I need Internet on my phone.Yes (required)Yes (to carry out the command)No.
Data retentionNo (full reset)No (full reset)No (full reset)
DifficultyLow.Low.Medium
Risk of blocking FRPHigh-pitchedHigh-pitchedHigh-pitched
What is FRP and why does it occur?
FRP (Factory Reset Protection) is an Android security mechanism that automatically activates when a Google account is linked. Once you reset your settings through Recovery, the system requires you to confirm that the device belongs to you by requesting a login and password from the last account used, so that thieves cannot use stolen phones after resetting.

Unlock with ADB (for advanced users)

There is a method that theoretically allows you to delete the file with the lock key without losing data, but it only works in specific conditions, we are talking about using debugging over USB (ADB), this method is applicable if the locked Xiaomi Mi 9T was pre-enabled menu "Developers" and activated the item "Debug by USB".

If these conditions are met, connect the phone to the computer through USB-The PC needs drivers installed. ADB. Open the command line and enter the command to check the connection: adb devices. If the device is identified and has the status of "device", you can try to delete the key file.

To delete the key, enter the following command: adb shell rm /data/system/gesture.key (for a pattern lock) or adb shell rm /data/system/password.key (for PIN-After you have completed the command, restart the device. USB It was not turned on before the lock, this method, alas, will not work.

adb shell pm clear com.android.settings

Sometimes it helps to clear the Settings app data through ADB, which can reset the lock screen, but on newer versions of Android this rarely works. In any case, this method only works if you are confident in your actions, as the wrong commands can disrupt the system.

πŸ’‘

If ADB Can't see the phone, try different ones. USB-cables and ports. Some versions of firmware MIUI To confirm the connection, you need to unlock the screen, which makes this method useless with a forgotten password.

Accounts and FRP protection

Once a Hard Reset is successfully performed, users often encounter an activation screen where the system requires you to enter your Google account details -- not a bug or a new password, but standard theft protection -- if you don't remember the password from the Google account that was synced to your phone, the device will remain locked.

Xiaomi may also require a password from Mi Account. If you don’t remember any of the accounts, recovering access becomes a difficult task, requiring a service center to file purchase documents, and proving ownership of the device is the only legal way to unblock FRP without passwords.

To avoid such situations in the future, always write data from important accounts to a safe place, and it is also recommended to configure alternative login methods, such as a backup email or phone number, which will help restore access to Google and Mi accounts.

  • πŸ“„ Keep a check and a box from your smartphone as proof of purchase.
  • πŸ” Use password managers to store credentials.
  • πŸ”„ Regularly check the relevance of backup contacts in security settings.

⚠️ Attention: Attempts to bypass protection FRP Using unofficial software or paid services on the Internet often leads to the installation of malware or complete breakdown of the phone's software.

Prevention and adjustment of biometrics

To make sure that the β€œhow to unlock Xiaomi Mi 9T” problem never comes up again, it’s wise to set up biometric protection methods. The Mi 9T features a fingerprint scanner built into the screen, as well as a face unlock module, which are not only more convenient, but also allow you to bypass the pattern lock in most situations.

Set up Smart Lock in security settings, which allows you to keep your phone unlocked in certain places (like your home) or when you connect to trusted Bluetooth devices (smartwatches, headphones) and reduces the need for constant password entry in a secure environment.

Also, remember to change your password periodically so you don't forget it completely. PIN-A regular backup of data to Mi Cloud or Google Drive will allow you to reset your phone at any time without fear of losing important photos and contacts.

πŸ’‘

Biometrics and Smart Lock are the best ways to avoid forgotten password issues in the future, providing a balance between security and usability.

Can I unlock my phone without losing data?
Unfortunately, on modern versions of Android with enabled data encryption, it is almost impossible to unlock the phone without losing data, if the password is forgotten and the biometrics are not working. Data is protected by a key derived from the lock screen password. The only exception is if USB debugging mode was enabled and there is access to ADB, but this is rare.
What if your phone says β€œToo many attempts to enter a pattern lock”?
In this case, the system temporarily blocks input. You usually have to wait from 30 seconds to 30 minutes. If you have a button "Forgot the key" or "Forgot the password", click on it and try to log in through your Google account. If there are no buttons, you will have to wait for the end of the timer or make a reset.
Will the phone reset if the battery runs out during reset?
The Wipe Data reset process is critically power-dependent. If the battery sits in the middle of the process, the file system may be damaged and the phone will turn into a brick. Always charge the Xiaomi Mi 9T to at least 50-60% before starting recovery procedures.
Will a phone call help to remove the lock?
On older versions of Android (up to 5.0), there was a method where you could slip into the contact or settings menu during an incoming call. On the Mi 9T with its Android version, this method does not work, since the call interface does not give access to the system.