How to unlock Xiaomi phone in a child: effective methods

When a child installs a complex pattern lock or digital pin and then forgets it, it is common for parents to find that access to the device is completely lost and Xiaomi’s built-in security mechanisms don’t allow them to log in, a protective measure designed to keep data from outsiders, but in the case of their own children, it becomes an obstacle.

There are several proven ways to regain control of your smartphone, but it’s important to understand the risks. A complete data reset is the most reliable but radical method that will result in the loss of all photos and games not stored in the cloud. Before you start taking decisive action, you need to assess whether you have access to a Google or Mi Account account associated with the device.

In this article, we will discuss all the current methods, from software utilities to hardware buttons. If the device is enabled with the function “Find device”, a standard reset via Recovery may not help without a password from your account.

Use the “Find Device” function from Google

The most civilized way to do this is to not only locate a gadget, but also to remotely change the lock password or erase the data, which requires that the locked phone has the Internet on and geolocation activated, and if the child has time to turn off Wi-Fi or mobile network, this method, alas, will not work.

You'll need a computer or other smartphone with Internet access, go to the official search service website and log in to the same Google account that was used on the child's locked device, and the system will automatically try to locate the device.

  • 📍 Select the desired device from the list at the top of the screen if there are several of them.
  • 🔒 Click the “Block Device” button to set a new temporary password.
  • 🗑️ Use the “Clean the Device” option if the data is not important and you just need to unlock the device.

Once you've done the cleaning command, the phone will restart and all the data will be deleted, and this will return the gadget to the factory settings, so if you've chosen to change your password, in a few minutes you can enter a new code on the lock screen and access the system.

⚠️ Warning: Remote cleaning only works when there is an active network connection. If the phone is turned off or in flight mode, the command will only be executed after the network appears.

It is important to note that once reset via Google, you may need to confirm the account owner.This is a standard anti-theft procedure known as FRP (Factory Reset Protection).Be prepared to enter the username and password from the account you just used to reset.

Recovery Mode (Hard Reset)

If remote methods are not available, a recovery mode built into MIUI or HyperOS firmware comes to the rescue, a method that doesn't require the phone to have internet on the phone at the time of the procedure, but requires physical access to the control buttons, and is effective 99% of the time when the pattern lock is forgotten.

To enter recovery mode, you need to turn off your smartphone completely. Then press the key combination: usually a volume button and a power button. Hold them until the Mi logo appears, after which the power button can be released while keeping the volume still.

☑️ Algorithm of actions in Recovery

Done: 0 / 1

In the menu that appears on the screen, the navigation is done with volume buttons (up/down), and the choice is confirmed by the power button. You need to find the Wipe Data item and select it. Next, the system will request confirmation, often requiring you to press Confirm or enter the word "yes".

The formatting process takes 10 to 30 seconds. Once it's finished, the phone will suggest going back to the main menu (Back to Main Menu) or reboot. Choose a reboot, and the device will start a long first run, like after you buy it.

Xiaomi modelButton combinationFeatures of the menu
Redmi Note 8/9/10Volume + and NutritionThe sensory menu is not working.
Xiaomi Mi 11/12/13Volume + and NutritionMi Account Confirmation Required
Poco X3/X4/X5Volume + and NutritionYou can log in to Fastboot instead of Recovery
Redmi 9/10/11Volume + and NutritionStandard text menu

It is worth considering that new models with an updated version of MIUI after reset via Recovery may appear activation screen, requiring the password from the Mi Account that was previously tied, an additional security measure that can not be circumvented by a simple reset.

What to do if the buttons do not respond?
If the button combination does not trigger the Recovery menu, physical buttons may be damaged or the battery may be drained. Try charging your phone for 30 minutes. Some models also require you to connect a USB cable to your computer when the buttons are pressed.

Unlocking with Mi Account (Find Device)

Xiaomi ecosystem owners often link devices to a Mi Account to sync contacts and cloud photos, and if you know the username and password of a child’s account (or this is your account), you can use Find Device on i.mi.com.

Log in from any browser, log in and select a locked device. Unlike Google, Xiaomi allows you to remotely unlock the screen without losing data, but only if this option was activated in the security settings beforehand.

  • 🌐 Go to the device management page in the Mi cloud.
  • 🔓 Click the "Unlock" icon (Unlock).
  • ✅ Confirm the action by entering a security code if required.

If the remote unlock option was not enabled in advance, the service will only offer the “Erase Data” function, which will completely clear the internal memory by deleting all applications, photos and settings, and then the phone will be as new.

💡

Always create a separate Mi Account for your child and keep your password in a safe place, allowing you to manage your device remotely at any time without asking your child for an access code.

It's important to understand the difference between a Mi Account and a Google account. Xiaomi's current smartphones can have both security systems. If the phone asks for a Mi Account password after a reset and you don't remember it, unlocking the device will be extremely difficult without a purchase check.

Using ADB to delete password files

For advanced users, there is a method of unlocking through debugging USB (USB This only works if the debugging function was enabled in the Developer Menu before locking and the computer was previously authorized to work with the phone.

You'll need to install Xiaomi drivers and the ADB utility on your computer. Connect your phone with a cable and run the command line in the folder with ADB. The essence of the method is to delete system files that store password hashes and graphics keys.

adb shell rm /data/system/gesture.key


adb shell rm /data/system/password.key




adb shell rm /data/system/locksettings.db

Once the commands are executed, you need to restart the device, you can enter any password on the lock screen or swipe anywhere - the lock should disappear, but on new versions of Android, this method works less and less due to the increased security.

⚠️ Attention: Attempting to enter commands ADB non-debugging USB Moreover, frequent failed attempts to connect can temporarily block the port. USB phone-on.

If debugging wasn't enabled, it's not a good method, and you shouldn't download dubious programs that promise "magical" unblocking without conditions -- they're usually viruses or just fraud.

Service centers and official unblocking

In cases where nothing helps, or if you are afraid of damaging the software, it remains to turn to the professionals. Xiaomi's official service centers can unlock the device, but only if proof of ownership is provided.

You'll need an original box and a receipt to buy the device, and without these documents, the technicians can't unblock the device, because the phone could be wanted or stolen, and that's a strict company policy.

📊 What children most often forget?
pattern lock
Digital. PIN-code
Password from Google account
Password from Mi-account

The cost of an authorized service is usually fixed and model-dependent, and informal workshops may offer a re-flashing service that will also solve the problem, but will deprive you of an official warranty if it was still in effect.

Sometimes it’s easier and cheaper to buy a new budget smartphone than to spend time and money restoring an old one, especially if the data inside isn’t of high value. However, if important photos are left on the device, the service center is the only chance to save them without losing data (in rare cases).

Preventing blocking in the future

To prevent this from happening again, it’s wise to set up parental controls.The Google Family Link app lets you set time limits, filter content and, most importantly, know the unlock password or change it remotely.

It is also recommended to regularly back up important data to the Google Photos cloud or to your computer.In the event of an emergency reset, you will only lose the installed applications, but save memories and documents.

💡

Parental control is not only a time limit, but also a guarantee that you can always restore access to your child’s device in the event of a forgotten password.

Explain to your child the security and the importance of saving passwords, write down the access codes in a notebook, or use a password manager that only you have access to, which will save you nerves and time in the future.

Frequently Asked Questions (FAQ)

Can I unlock Xiaomi without losing data?
Without data loss, you can only if you have enabled a Mi Account with remote unlock function, or if you remember the old password and change it through Google Find My Device. In other cases, including Hard Reset, the data will be deleted.
What if the phone asks for a password from the Mi Account after the reset?
This is FRP protection. You need to enter the username and password from the account that was synced to the phone before the reset, and if you don't remember them, you can restore the account through the recovery procedure on the Mi Account site, having access to the linked phone number or mail.
Will unlock work if the phone is not on? SIM-map?
For remote methods (Google Find Device, Mi Cloud), the phone needs Internet. SIM-The device must be connected to a Wi-Fi network. if the Wi-Fi is not configured and SIM-No map, remote teams won't reach the phone.
Is it safe to use software to reset your password from your computer?
Most free software on the Internet either doesn’t work with newer versions of Android or contains malicious code. Using official methods (buttons, accounts) is much safer and more reliable for your device and personal data.