How to Reset Your Graphic Password to Xiaomi Without Losing Data

When you forget your pattern lock or digital pin on your smartphone, it always causes panic. Owners of Xiaomi, Redmi and Poco devices often face a screen lock that completely blocks access to the system. The worst scenario at this point is the prospect of a complete reset that will inevitably destroy all photos, contacts and correspondence.

Fortunately, current versions of MIUI and Android provide several loopholes to restore access. In this article, we will detail the working methods of bypassing locks that allow you to save user files. It is important to understand that the effectiveness of each method depends on the firmware version and security presets.

Before you start taking action, you need to be very clear about the situation, if the device did not have USB debugging or Mi Account enabled, some advanced methods may not work, but there is a high chance of success when using cloud services or specific interface vulnerabilities.

Use of the Mi Cloud cloud service

The most effective and official way to unlock is to use the built-in Find Device feature, which only works if the locked gadget has logged in to Mi Account and activated Internet access via mobile network or Wi-Fi.

You'll need any other gadget with network access to start with, go to the official Xiaomi cloud storage site, and it'll request authorization, which requires a login and password from an account tied to a locked phone.

Once you successfully log in to the device management interface, select your smartphone from the list of available devices. You will open a control panel where, among other things, the functionality will be an "Unlock" button, clicking on it will delete the current pattern lock or digital code.

⚠️ Note: Using this feature will only delete the lock screen password, but will not affect your personal files. However, if Mode Lost is enabled, the phone can be completely cleaned remotely, so read the button captions carefully.

It is worth noting that after such an unlock, the system may require re-entering the password from the Mi Account the next time it reboots for security reasons, a standard anti-theft procedure that cannot be circumvented without the owner’s data.

πŸ“Š Have you ever had a screen lock on Xiaomi?
Yeah, I forgot my password.
No, I'm using Face ID.
Blocked by the virus
Not yet.

Unlocking the Device with Google Find My Device

An alternative option for devices with pure Android or active integration of Google services is the Find Device utility, which is especially useful if you haven’t used a Mi Account but your Google profile has been active.

To use this method, go to the appropriate Google service from your computer or other smartphone, the system automatically determines the location of all devices where you log in to your profile.

In the management interface, select the "Block" option, which does not lock the phone again, but allows you to set a new temporary password that replaces the forgotten pattern lock, enter the new code twice and confirm the action.

  • πŸ“± Make sure the internet is on on the blocked device.
  • πŸ” The new password must be digital (usually) 4-6 figure).
  • ⏳ After setting the password, wait. 15-20 minutes.
  • πŸ”„ Enter a new code on the lock screen instead of the pattern lock.

The effectiveness of this method in recent versions of MIUI can vary, as the manufacturer often changes the priorities of locking methods, but on older models or global versions of firmware, this method works quite often.

πŸ’‘

If the internet on your phone is off, try unlocking it through Bluetooth headphones or smartwatches if they are paired to activate data transfer.

Unlocking through Safe Mode

Sometimes the screen lock is not caused by system restrictions, but by a third-party application that has implemented its own layer of protection or a virus-blocker, in which case it helps to download in safe mode, which disables all third-party software.

To enter this mode, you need to turn off your smartphone completely. Then press the power button. Once the Mi or Android logo appears, release the power button and immediately press the volume button. Hold it until the system is fully loaded.

In the lower left corner of the screen, you'll see "Safe Mode." If in this state the phone doesn't ask for a password or lets you log in, then there's a problem in the app. You need to find and remove suspicious software through settings.

Action.Activation buttonVolume buttonThe result
ShutdownHold on-Shutdown menu
Reboot.Let go-The appearance of the logo
Entrance to Safe ModeLet goHold (-)Download without third-party applications
Getting out of the regimeA normal reboot.Don't touch it.Regular working hours

Once you remove a malicious or conflicting application, simply restart the device in the usual way. If the password was set by system means, this method will not help to remove the lock, but will diagnose the cause of the problem.

What to do if the buttons do not respond?
If the screen is not working or the buttons are damaged, connect USB-mouse-wise OTG-This will allow you to control the interface and enter a password or remove the locking application without touchscreen.

Use of the Smart Lock function

Smart Lock is a handy tool that allows you to keep your device unlocked in certain conditions. If you have previously set up trusted places, devices or facial recognition, this can be a salvation.

Check if the phone is connected to a trusted Bluetooth device, such as headphones, smartwatches or a car stereo. When actively connected to a trusted gadget, the screen often remains accessible without entering a password.

It's also worth trying to move to a place that's been labeled "Trusted." Geolocation can automatically unblock if the appropriate setting has been activated in advance. GPS-coordinate.

In some cases, Face Recognition helps if it has been configured as an additional unlocking method, and even if the primary method is a pattern lock, the system may offer an alternative when looking at the screen.

⚠️ Warning: Smart Lock only works if it has been pre-configured in the security menu.If you've never activated trusted devices or places, this method won't work.

Specificity of unlocking depending on the version of Android

The procedure for bypassing protection depends on the version of the operating system. Owners of older devices based on Android 9 Pie and below have more room for maneuver than users of new models.

On Android 10 and above, Google has significantly increased security, and password swaps through Google often don't work. ADB-if previously the scoring has been included USB.

For those with debugging enabled, you can connect your phone to your computer and type a command to delete the key-store file. This requires installing drivers and the Android SDK platform. The command looks like deleting gesture.key or password.key files from the system folder.

adb shell rm /data/system/gesture.key


adb shell rm /data/system/password.key

Once the command is executed, you need to restart the device. The screen may still display the input field, but any character set or swipe will work, since the system no longer checks the password hash.

β˜‘οΈ Pre-reset check

Done: 0 / 4

What to do categorically can not be done

When trying to regain access to the phone, users often make mistakes that lead to irretrievable data loss. Most importantly, do not rush to perform Hard Reset via Recovery Mode if the goal is to save information.

Resetting over the receptacles (a combination of volume and power buttons when the phone is off) is guaranteed to delete all data, an extreme measure that should only be resorted to in cases of complete despair, when information is not important.

Also beware of questionable software from the Internet that promises to hack any phone in 5 minutes, most of which contain viruses or require payment, without providing a real solution for modern versions of MIUI.

πŸ’‘

Any method that requires flashing or resetting through Recovery will result in data loss. Use only remote control or interface bypass methods.

Frequently Asked Questions (FAQ)

Can I reset my password if my phone is turned off?
No, remote reset via Mi Cloud or Google requires that the device be on and connected to the network. If the phone is turned off, turn it on first, wait for the Internet connection, and then apply unlock methods.
What if you forget your Mi Account and password?
In this case, it is almost impossible to restore access without losing data: you will have to contact official Xiaomi support with a receipt for the purchase of the device to confirm ownership, so they help untie the account.
Will Google Find My Device on Redmi Note?
Yes, the method works across all Redmi and Poco devices, as they share a single Google ecosystem of services, with an active Internet connection at the time of the unlock attempt.
Will my photos be deleted if I enter the wrong password 10 times?
No, after 10 wrong attempts, the phone will only temporarily lock for a certain time (from 30 seconds to several hours), the data will not be deleted unless you have turned on the automatic reset function after many unsuccessful attempts.