How to reset Redmi 5 to factory settings without password and login

The situation when the owner of the Xiaomi smartphone forgets the pattern lock or digital PIN-Code is one of the most common problems in service practice, and this issue is especially acute if the device is locked and access to a Google or Mi Account is lost. For the Redmi 5, released a few years ago, there are proven ways to restore access that do not require expensive hardware.

It is important to understand that modern Android security systems, such as FRP (Factory Reset Protection), are designed to protect the ownerโ€™s data from theft. Therefore, the process of bypassing lock or completely resetting settings requires a clear follow-up to the algorithm of actions. Any improper movement can lead to a software lock of the device known as a โ€œbrickโ€.

In this guide, we will look at several methods, from standard login to Recovery mode to more complex computer manipulations, how to properly prepare the gadget, what risks exist and what to do if the system requires confirmation of an account after cleaning.

Preparation for discharge procedure and precautions

Before you start active action to unlock the Redmi 5, you need to make sure that the device is ready. First check the battery level. If the charge is less than 50%, connect the smartphone to the original charger and wait at least 30 minutes. Interrupting the reset process due to battery discharge can damage the system partition.

The next critical point is the presence USB-Some methods require a stable connection to your PC, and it is also worth trying to remember at least some of the data from your Google account, since after a reset, the system can request confirmation of the owner.

โš ๏ธ Note: All data in internal memory (photos, contacts, messages) will be permanently deleted. If you have synced, check the Google Photos or Mi Cloud cloud from another device before starting.

If you plan to use a computer, make sure it has the basic ADB drivers installed. Xiaomi often requires installing specific drivers, which can be found on the developerโ€™s official website or in specialized utilities. Without the right drivers, the computer simply wonโ€™t see the phone in debugging mode.

Don't try to guess the password endlessly. After several failed attempts, Redmi 5 can lock for 15, 30 minutes, or even 12 hours. It's a security mechanism that prevents automatic code selection by attackers.

Resetting through Recovery Mode (Standard Method)

The most affordable way to get back to the device is to use the built-in recovery menu, which works even if the lock screen doesn't respond to touch, but the volume and power buttons are good, and you don't need a computer or any additional software.

To enter Recovery mode on Redmi 5, you need to turn off your smartphone completely. Then press the volume button and the power button at the same time. Hold them until the Mi logo appears, then release the power button, but continue to keep the volume until the main menu appears.

โ˜‘๏ธ Pre-reset check

Done: 0 / 4

In the menu, the navigation is done with volume buttons (up/down), and the choice of item is confirmed by the power button. You need to find Wipe Data or Clear Data. In some versions of MIUI firmware, this item can be hidden in the submenu.

Once the cleaning command is selected, the system will ask for confirmation of the action, often requiring you to type in the word "yes" or select "Confirm." Newer versions of MIUI may require you to enter a password from the Mi Account, which makes this method useless if the account is unknown. However, on older versions of Android (which is true for Redmi 5), resets often go without further questions.

The cleaning process takes 2 to 5 minutes. Once completed, the screen will display a message "Data wiped successfully." Select Reboot or Reboot to System. The first turn on after the reset will last longer than usual - this is normal, the system configures files.

Bypassing Google Account Lockdown (FRP) After Resetting

If after a standard reset you are faced with an activation screen, where you need to enter a password from a Google account that you do not remember, then FRP protection worked. This is standard Android protection, and you can bypass it on Redmi 5 in several ways, since this device is based on fairly old versions of Android (7.1 Nougat), which have known vulnerabilities.

One popular method is to use TalkBack. When you turn on your phone, in the greeting phase, quickly tap five times on the screen or swipe two fingers from the bottom up to call up the special feature menu. Find TalkBack and activate it. The voice assistant will let you draw gestures on the screen.

The essence of the TalkBack method
By drawing an L with your finger on the screen with TalkBack enabled, you can call a context menu that will let you go to your phone settings, turn off Wi-Fi, or launch a browser to reset your account, a method that requires precision and patience as management becomes complex.

There is also a method of using SIM-Put the cards in. SIM-If you have a card on your phone that's turned off, turn it on and wait for the lock screen. You can access this phone from another number. When you get an incoming call notification, press the answer button and then select Add a new call at the same time. This can open the dial screen, where special codes (for example, ##4636##) can be accessed in the test menu and then in the settings.

If the software methods donโ€™t work, thereโ€™s a firmware option left. For Redmi 5 (codenamed rosy), there are many custom recaps, such as TWRP, that allow you to format a data partition and delete account files directly through the file manager.

โš ๏ธ Attention: Installation of custom recaveri TWRP If the bootloader is locked, this method will not work without an official request from Xiaomi, which takes 3 to 7 days.

Using Fastboot and Computer to Reset

Fastboot is a low-level interface that allows you to interact with your phone directly from your computer. It's a more powerful tool than Recovery. To log into Fastboot on Redmi 5 off, press both the volume button and the power button at the same time, and the image of a hare repairing an android will appear on the screen and the inscription "FASTBOOT".

Connect your phone to your PC through USB-The computer must be installed Mi Flash Tool or a set of platform tools Android SDK (ADB & Open the command line (CMD) In the tool folder, enter the link check command: fastboot devices. If the serial number is displayed in response, the link is established.

๐Ÿ“Š What Resetting Method Have You Tried?
Recovery menu
Fastboot mode
Service centre
I haven't tried anything yet.

Fastboot uses fastboot erase userdata to completely reset, and it forcibly deletes the user data partition, but if FRP protection is enabled on the phone, this command may not remove the link to the Google account, and the password request will be repeated when you download it.

A more radical method is to run the stock ROM through the Mi Flash Tool in "Clean All" mode, which completely rewrites the system partition and the data partition, and you'll need to download the Redmi 5 (rosy) firmware from the official website, unpack the archive and indicate the path to it in the program.

It is important to choose the correct firmware mode. The Mi Flash Tool has three options: "Clean All" (clean up data), "Save User Data" (save data), and "Clean All and Lock" (clean uploader and lock).

Comparison of Access Restoration Methods

The choice of method depends on your technical training and the condition of the device. Below is a table that will help you determine the best way to solve the problem for Redmi 5.

MethodA PC is needed.Risk of data lossDifficulty
Recovery MenuNo.100%Low.
Google Find My DeviceYes.100%Low.
TWRP / Custom RecoveryYes.100%Tall.
Service centreNo.100%Minimum

The Google Find My Device method only works if the phone has been enabled with internet and geolocation. You go to Google from another device, select your Redmi 5 and send the "Clean the Device" command. The phone must be online to execute the command.

Using TWRP requires prior training and having an unlocked bootloader.This is the best way if standard methods don't help, but it requires command line skills and an understanding of Android file structure.

๐Ÿ’ก

If you plan to sell the phone, be sure to log out of your Mi Account and Google account before resetting, which will save the new owner from activation issues and you from possible questions about blocking.

Common Errors and How to Resolve Them

Often, users experience the phone go into an endless bootloop after reset, which can happen if the data recording process is interrupted or if a broken firmware is installed. In the case of Redmi 5, this can also be due to damage to the MIUI system files.

If the phone is hanging on the Mi logo for more than 10 minutes, try forcefully rebooting it by holding the power button for 15-20 seconds. If that doesn't help, you'll have to re-open the Recovery mode and try the Wipe All Data item or reflash the device via Fastboot.

Another common mistake is choosing the wrong firmware version. Redmi 5 has global (Global), European (EEA) and Chinese (China) versions. Trying to install Chinese firmware on a global device (or vice versa) without changing the region can lead to communication modules failure or complete system failure.

โš ๏ธ Warning: Never interrupt the firmware process by removing the cable USB. This is guaranteed to lead to the need for soldering of the memory chip or complex software resuscitation in the service.

Also worth mentioning is the driver problem: If your computer can't see your phone in Fastboot mode, try installing Qualcomm HS-USB QDLoader 9008 drivers. Sometimes this requires temporarily disabling the driver digital signature check in Windows.

Questions and Answers (FAQ)

Can I reset Redmi 5 without losing photos?
Unfortunately, if you forget your password and canโ€™t log in, a factory reset removes all user data, including photos, contacts and apps, and can only be saved if you have enabled automatic sync with Google Photos or Mi Cloud.
What if after resetting the phone asks for a password from the old Mi Account?
This is anti-theft protection. You need to remember your login and password. If that's not possible, you'll need to contact a Xiaomi authorized service center with a receipt for the purchase of the device to confirm ownership. Third-party services can offer paid removal of the lock through the server.
How long does it take to reset Xiaomi Redmi 5?
The process of cleaning the data takes about 2-5 minutes, but the first turn on after a reset can last up to 10-15 minutes, as the system optimizes applications and creates new configuration files.
Will extraction help? SIM-card-overlock?
No, extraction. SIM-The card does not affect protection. FRP Or a pattern lock, and it's locked to the device and the accounts. Google/Mi, It's not a SIM card. SIM-A card may be needed for some methods of bypassing through the dialing menu.

๐Ÿ’ก

The most reliable way to avoid problems with a forgotten password is to regularly back up your data and write your credentials to a secure location.