When a user forgets a pattern lock, PIN-The unlock code or password on its Xiaomi Redmi 9 is one of the most stressful.The screen of the device becomes inaccessible, turning into a black rectangle that responds only to the vibration or sound of notifications, but does not let you into the content. It is important to remain calm at this point, as panic attacks can result in a complete blocking of your Google or Mi Account account without the possibility of recovery.
Modern Android security systems and MIUI shells are designed to protect the owner’s personal data from prying eyes as much as possible, which is why there is no magic button or secret code that would allow you to simply unblock without losing data unless you have pre-configured remote management tools. However, there are proven methods to return access to the device, although in most cases they will require a complete reset.
In this article, we will take a look at all the available ways to unlock Redmi 9, from using cloud services to forced entry into recovery mode, learn how to properly perform Hard Reset so as not to damage the smartphone software, and what steps to take if the system requires confirmation of an account after a reset.
⚠️ Note: Most unlocking methods with a forgotten password involve the complete deletion of user data. If the device was not synced, photos, contacts and correspondence can be lost irretrievably.
Use the “Find Device” function from Google
The first and most gentle method worth trying is the built-in Google Find My Device service, which only works if a blocked Redmi 9 has logged in to a Google account, has internet enabled (via Wi-Fi or mobile data) and has geolocation activated. If these conditions are met, you can delete your password remotely without losing files.
To start the procedure, you need to take any other device (computer, tablet or phone friend) and go to the official website of the Google support service. Sign in under the same account that is used on the locked smartphone. the system automatically determines the location of your Redmi 9 and will offer several actions: call, block or erase data.
Select the Erase Device option, which will not only delete the forgotten password, but also the entire contents of the internal memory, returning the phone to a factory state, and once the process is complete, the phone will reboot, and you can configure it as a new one by setting a new, more secure password.
- 🔑 Requires an active Internet connection on a locked device.
- 📍 Geolocation must be enabled in the settings before blocking.
- 📧 You need to remember the login and password from the Google account.
- 📱 The method does not work if the phone is turned off or in flight mode.
Reset via Recovery (Hard Reset) menu
If there is no Internet access or Google services are not working, the only reliable option is to use Recovery Mode. This is a low-level menu built into Xiaomi firmware that allows you to control the system bypassing the main Android interface.
To enter recovery mode on Redmi 9, you need to turn the device off completely. Then press the Volume Up and Power button at the same time. Hold them until the Mi logo appears, then release the power button, but keep the volume down until the main Recovery menu appears.
Navigation in this menu is done with volume buttons (up/down), and the choice of item is confirmed by the power button. You need to find the Wipe Data section, then select Wipe All Data and confirm the action by selecting Confirm. The reset process will take a few seconds, after which the phone will prompt you to return to the main menu (Back to Main Menu) and restart the system (Reboot).
☑️ Preparation for Hard Reset
⚠️ Warning: After resetting via Recovery, Android security system (FRP) You may need to enter a password from a Google account that was synced to your phone earlier, which is a theft protection that you can't get around with simple methods.
Unlocking through Mi Cloud
Xiaomi smartphone owners often register their own Mi Account to use cloud features. If your Redmi 9 has enabled Find Device in your Mi Account settings, you can unlock the screen through your browser, a method similar to Google’s, but using the manufacturer’s servers.
Go to i.mi.com from any device and log in by entering your phone number or email linked to your Mi Account. In the cloud service interface, select your device from the list. If your device is online, the option to unlock or clear the data will be available.
Unlike Google, Mi Cloud sometimes allows you to simply delete the lock screen password without completely resetting, but this feature depends on the MIUI version and regional settings. If the Unblock option is not available, use Clear Device, which will result in a complete reset.
| Parameter | Google Find My Device | Mi Cloud | Recovery Mode |
|---|---|---|---|
| Internet availability | I'll be sure. | I'll be sure. | Not required |
| Data retention | No (deletion) | Maybe. | No (deletion) |
| Difficulty | Low. | Low. | Medium |
| Account dependency | Mi Account | No. |
What is FRP Lock?
Using the ADB command to delete password files
For more advanced users who previously included on their Redmi 9 mode Debugging USB (USB Debugging, there's a method of removing the system file that stores the password hash, which allows you to unlock the phone without losing data, but it only works on older versions of Android and requires you to have a computer.
You'll need to install ADB drivers on your PC and connect your smartphone with a cable. You'll need to enter a command through the command line that will delete the gesture.key or password.key file from the system folder. After you reboot, the phone won't ask for the old password.
adb shell rm /data/system/gesture.key
adb shell rm /data/system/password.keyIt is worth noting that on modern versions of MIUI 12/13/14, this method often does not work due to enhanced security protocols, and without pre-authorized debugging via USB, connecting the phone to the computer to execute commands will not work, since a request for access permission will appear on the lock screen.
- 💻 A computer with installed software is required ADB.
- ⚙️ Pre-installed menu for developers".
- 🔌 The cable must be in good working order and transmit data.
- 🚫 On new versions of firmware, the method may not be effective.
Google Account Problem (FRP) After Reset
A common situation after a Hard Reset is done is when an activation screen appears, where the system requires you to enter an email and password from a Google account that was previously synced to the device, which is a standard owner verification procedure, and if you forget that password, the device will turn into a brick for the average user.
In this case, don't try to guess the password repeatedly - the account will be temporarily blocked. The best solution is to restore access to the Google account through a computer or other device using the "Forgot password" procedure. After changing the password, wait 24 hours before trying to enter on the dropped phone - this is a security requirement of Google.
If you cannot restore access to your account, and your phone is yours (there is a purchase check), the only legal way is to contact an authorized Xiaomi service center. FRP upon presentation of documents confirming the ownership of the gadget.
💡
Always write your Google account and Mi Account details to a secure location (notebook, password manager) that will save you hours of time and nerves in case of loss of access or breakage of your smartphone.
Prevention of blocking and safety advice
To avoid the “forgetting your password” situation from catching you off guard in the future, it’s recommended that you set up alternative unlock methods. Xiaomi Redmi 9 features a fingerprint scanner on the back and a facial recognition module. Using biometrics is not only more convenient, but also safer, since you can’t “forget” your finger.
You should also back up your important data regularly. MIUI has autosynchronization with Mi Cloud or Google Photos. Even if you have to reset your phone to factory settings, your contacts, photos and notes will be restored immediately after you enter your account.
Don't set up too complex graphic keys that are difficult to replicate in a stressful situation, but avoid simple combinations like "1234" or "g-shaped shapes" that are easy to match. PIN-6-digit code combined with fingerprint unlocking.
💡
Regular data synchronization and biometric unlocking are the best protection against loss of access to information when a forgotten password is set up.