How to remove the password from the phone Xiaomi Redmi 8: the complete guide

The situation of the owner forgetting the access code to his smartphone is one of the most stressful in the digital world, especially for popular models such as the Xiaomi Redmi 8, where data protection is implemented at a high level. Trying to remember the combination often leads to locking the device for a certain time, and repeated errors can require a complete firmware reflash or reset to factory settings.

There are several proven ways to restore access to the Android system on your gadget. The choice of the specific method depends on whether the Mi Account was tied, whether debugging is enabled over USB and whether there is Internet access. In this article, we will discuss in detail all legal unlock options, from using cloud services to hardware reset via Recovery mode.

It is important to understand that modern security systems are designed to protect the user's personal data. So in most cases, if you do not remember the code, the only solution is to delete all data from internal memory. Keeping backups in the cloud or on your computer is a critical habit that will save your photos and contacts in this situation.

Using the “Find Device” feature from Xiaomi

The most civilized and safe way to remove the lock screen is to use the official service from the manufacturer. If your Redmi 8 was signed in to Mi Account and enabled the device search function, you can delete the password remotely.

Once logged in, you'll see a map with the location of your gadget. In the device management menu, you'll select the lock or unlock option. The system will request proof of identity, then send a command to the phone. Remote reset only works if the device is connected to a mobile network or Wi-Fi.

⚠️ Note: If the phone is in flight mode or without a SIM card, the command will not be executed until the network is available.

This method not only unlocks the screen, but also erases all data if you can't recover access to the system, and is especially useful in cases of theft or loss of a gadget, allowing you to protect personal information from prying eyes. However, if the service "Find a device" was not activated in advance, this method, alas, will not help.

📊 Do you use cloud services to protect your data?
Yeah, I always do.
Only sometimes.
No, I don't trust the cloud.
I don't know how it works.

Resetting settings via Recovery Mode

If cloud-based methods are not available, the only solution is to force the reset via the recovery menu, which completely clears the internal memory of the smartphone, returning it to the “out of the box” state. To enter Recovery mode on Redmi 8, you need to turn off the device completely and pinch the button combination.

You usually need to hold the power button and the volume button at the same time. When the Mi logo appears on the screen, the power button can be released, continuing to hold the volume button until the menu appears. The navigation in this menu is done with the volume buttons, and the choice of item is done with the on button.

☑️ Algorithm of actions in Recovery

Done: 0 / 4

You can find Wipe Data or Clear Data on the list of options available, and the system will alert you that all files will be destroyed, and once confirmed, the formatting process will begin, which will take a few minutes, and when it is completed, the phone will restart, and you can reset it without asking for the old password.

⚠️ Warning: After a reset, the phone may require you to enter a password from a Google account or Mi Account that was previously synced to the device.

Unlocking with Google Find My Device

An alternative for Android devices is Google’s service: If a blocked Redmi 8 has internet and geolocation enabled, you can control the device through a Google account, a method similar to Xiaomi’s, but using the search giant’s ecosystem.

Go to the service's website from any browser and log in under the same account as your phone. In the management interface, select your device from the list. You have three basic actions: play the audio, lock the device or clean it. We're interested in the cleaning function.

When you select the Clean Device option, all data will be deleted, including the apps installed, photos and most importantly, the lock screen. Factory reset via Google works even if the phone is in sleep mode, the main thing is periodic connection to the network to receive a command.

MethodWe need the Internet.Data retentionDifficulty
Mi CloudYes.No (backups only)Low.
Recovery ModeNo.No.Medium
Google FindYes.No.Low.
ADB (debugging)No (PC needed)Maybe (depending on settings)Tall.
What to do if your phone requires an account after a reset?
If, after resetting through Recovery, the phone requests a Google account password (FRP lock), it means that the protection against theft has worked. You need to enter the username and password of the account that was synchronized with the phone before locking. Without this data, it is almost impossible to unlock the device legally, because this is a security hole in Android. The only way out is to remember the data or contact the service center with a purchase check confirming ownership of the device.

Use of debugging by USB and ADB

For advanced users who have previously enabled the developer mode and activated USB debugging, there is a method to remove lock files via the computer. This method requires the installation of ADB drivers and the presence of a USB cable. It does not delete user data if the system allows you to execute a command without unlocking the screen.

Connect your phone to your computer and open the command line in the ADB tool folder. Enter a command to check the connection. If the device responds with a confirmation, you can delete the files that store passwords and graphics keys. However, on modern versions of Android, this method often does not work without root rights.

adb shell rm /data/system/gesture.key


adb shell rm /data/system/password.key

Executing these commands may reset the pattern lock or PIN-code, but not always effective against complex passwords. The system protection files in new OS versions are encrypted and tied to the hardware key, making simple deletion of files useless. However, on older Redmi 8 firmware, this trick sometimes works.

💡

If you plan to use ADB in the future, be sure to include USB Debugging in the Developer Menu right now while you have access to the phone.It will take a couple of minutes, but it could save you a lot of time in the future.

Third-party unlocking programs

There are many utilities on the Internet that promise instant unlocking of any smartphone, and programs like Dr.Fone, Tenorshare, or iMyFone can really help, but most often they do the same reset via Recovery, just in automatic mode, and free versions of these programs are usually limited in functionality.

Using third-party software carries certain risks. You need to be sure of the reliability of the download source so as not to infect the computer with malware. Also, many “miracle tools” are paid, and payment does not guarantee the result, especially on devices with new security patches.

If you choose to use such software, read the terms carefully. Often programs require the installation of drivers and can conflict with antivirus. Automated reset is convenient for those who are afraid of making a mistake in manual mode, but in fact it is the same Hard Reset, packaged in a beautiful interface.

⚠️ Be very careful with programs that require administrator rights or offer a system hack, 99% of the time it is a scam or a virus that will steal your passwords from banking applications on your computer.

Prevention and backup

To avoid such problems in the future, it is recommended to set up automatic backup. In Xiaomi, this can be done through the Mi Cloud or locally to the memory card. Regular backup of contacts, messages and settings will allow you to quickly restore the phone after any reset.

It's also worth writing your password in a safe place, in a paper notebook or in a password manager on another device, and biometrics like a fingerprint or facial recognition are convenient, but they don't replace the primary password that the system needs to enter periodically.

Smart Lock settings let you leave your phone unlocked in secure places, such as your home or when you connect to a Bluetooth headset, which reduces the frequency of password input, reducing the risk of forgetting it, but does not eliminate the need to remember the code to fully unlock after rebooting.

💡

Regular data backup is the only way to ensure you don’t lose important information when you need to emergency reset your phone settings.

Can I unlock Redmi 8 without losing data?
Unfortunately, on modern versions of Android with data encryption enabled, unlocking the phone without losing data without knowing the password is almost impossible. This is done specifically for security. Unless a specific debugging mode was enabled in advance and the password was not saved in your Google account, the data will have to be deleted.
What if the phone says “Device locked”?
This message means activation of FRP (Factory Reset Protection) protection, you need to enter a Google account that was on your phone before the reset, if you don't remember the password from the account, you need to restore it through the Google site, without which the phone will remain a brick.
How long does it take to reset through Recovery?
The process of formatting and reinstallation takes 5 to 15 minutes depending on the amount of memory, but the first download after reset can take longer than usual — up to 10-20 minutes, as the system optimizes applications.
Will the reflashing help remove the password?
Yes, a full clean flash through the Mi Flash Tool is guaranteed to remove the password and lock FRP if you use the correct firmware version. However, this is a more complex process that requires unlocking the bootloader, which can take from 7 to 15 days of waiting.