The situation when a user forgets the password from the Second Space on a Xiaomi smartphone is quite common, especially if the profile was rarely used or created for temporary purposes. The standard MIUI security mechanism does not allow you to simply log into a hidden partition without verifying your identity, which is logical from the point of view of data protection. However, if access to a Mi or Google account is also lost, the task of unlocking or completely removing this isolated environment becomes much more difficult.
In most cases, the system will require a pattern lock, PIN-If that data is lost, the only way out is often to radically reset the device to factory settings. It is important to understand that Hard Reset will affect not only the hidden profile, but also the main space, so pre-backup of critical files is a must before any manipulations begin.
In this article, we will explore all possible scenarios for getting out of this situation, from attempts to restore access through cloud services to forced memory cleanup. You will learn why simple methods may not work and the risks of fully formatting the internal memory of the device. The only guaranteed way to remove the Second space without a password is a complete reset of the smartphone (Wipe Data), which will destroy all data on the device.
Why the system blocks access and how protection works
The Second Space feature is designed to separate personal and work information, or to give phone access to children without risking sensitive data. The MIUI architecture implements this function as creating an individual user on Android, which implies having your own settings, applications and, most importantly, your own security keys, which is why the password from the main profile is not suitable for logging into the second one.
When you set up security on a hidden profile, the system links it to a local key store. If you forget the password, the system cannot automatically reset it, as this would violate the very concept of security. Any attempt to match the code with a pumpkin method usually results in a temporary lock of input, and after several unsuccessful attempts, the device may require login via a Google account or Mi Account.
To make matters worse, the standard settings menu in the second space is often hidden or limited, and the user cannot simply go to the security section and turn off the protection without knowing the current code, creating a vicious circle that can only be broken by knowing the credentials or resorting to extreme measures.
โ ๏ธ Warning: Attempts to use third-party software to select a password can lead to irreversible damage to the file system MIUI. Do not install dubious applications from unverified sources in the hope of cracking the security.
Itโs also worth noting that modern versions of HyperOS and MIUI 14 have enhanced protocols for encrypting user data, which means that even when you physically connect your phone to your computer without unlocking the second space, the data will remain unreadable, and security will prioritize user experience in such scenarios.
Recovery attempt via Mi Account and Google
The first and least disruptive step should always be to try to restore access through cloud-based accounts, so if you signed in to Mi Account or Google account when you created Second Space, the system could back up the security keys or allow you to reset the password remotely.
This requires you to go to the official website of the Xiaomi or Google cloud service from another device (computer or other smartphone).In the security or search section of the device (Find Device), sometimes the option to block or unlock specific profiles is available, although the functionality for the Second Space is limited there. Most often you just need to change the password from the account, which can sync with the phone if you have an Internet connection.
If the Second Space lock screen shows a message telling you to enter your account password after several failed attempts to enter the pattern lock, this is your chance. Enter current data from Mi Account. Make sure the device is connected to Wi-Fi or mobile network, otherwise the credentials will not pass.
In some cases, logging into the main profile and trying to manage the second one through special application managers, if they were installed in advance, helps, however, if the password is completely forgotten and the accounts are not tied or access to them is lost, this method will not work.
- ๐ Check the possibility of logging in via i.mi.com from your computer.
- ๐ก Make sure your smartphone has an active internet connection to check credentials.
- ๐ Try to recover the password from your Google account if it was used for sync.
- ๐ฑ Check if the password is saved in the password manager of Google or Mi Cloud.
Use of the โForgot Passwordโ function in the lock interface
Interface locking the second space in MIUI often contains a hidden or barely noticeable recovery option after five incorrect attempts to enter a pattern lock or PIN-If you're using code, you might see "Forgot your password?" or a similar prompt on the screen.
The system will ask you to enter the password from the Mi Account that was used when you set up the space, which is the standard verification procedure for the owner, and if you remember the account data but you forgot the local unlock code, this method will allow you to reset the pattern lock and install a new one.
However, if you forget the password from the account itself, this path is closed, in which case the system will not provide an opportunity to bypass the check, you should not expect that after a long wait (for example, in 24 hours), the system will reset itself, for security reasons, this does not happen.
What to do if the recovery button does not appear?
It's important to distinguish between locking the screen and locking the app or space itself. Sometimes users confuse the password from logging in to the password from the Second Space. Make sure you're trying to retrieve the right profile.
The Radical Method: Full Reset (Hard Reset)
When all the soft methods are exhausted, the only working option is Hard Reset, which is a procedure for fully formatting the internal memory of the smartphone, which returns the device to the factory state, in the process of which all user data is deleted: photos, contacts, applications and, most importantly for our task, the Second Space along with its password.
You can reset in two ways: through the settings menu (if you have access to the main space) or through Recovery mode (if access to the system is limited or you want to guarantee that you remove all traces).--WIDGET:checklist:Preparing for Hard Reset: Charge the battery to a minimum 50%|Extract SIM-memory-card|Remember the data from Mi/Google account|Backup of important photos and documents-->
To enter Recovery mode on most Xiaomi smartphones, you need to turn off the device and then pinch the combination of the Volume Up + Power buttons (sometimes Volume Down + Power depending on the model) before the logo appears. In the Recovery menu, the navigation is carried out by volume buttons, and the choice is by the power button.
Select Wipe Data, then confirm the action by selecting Wipe All Data. The system will warn you that all data will be destroyed. Once the process is complete, select Reboot. The phone will reboot as new, and the Second Space will disappear with its password.
โ ๏ธ Note: After reset, the device may require you to enter a password from your Google account (FRP lock) or Mi Account that was synced to the phone before the reset. This is theft protection.
| Resetting method | Data security | Access to the OS is required | Risk of data loss |
|---|---|---|---|
| Through Settings. | You can choose what to remove. | Required (main profile) | Low (controlled) |
| Recovery Mode | Complete removal of everything | Not required | High (100% loss) |
| Mi PC Suite | Complete removal | Requires USB unlocking | High-pitched |
| ADB Commands | Complete removal | Debugging over USB is required | High-pitched |
Alternative ways and working with ADB
For advanced users, there is a possibility to use tools ADB (Android Debug Bridge: This method requires that the smartphone pre-enabled Debugging by USBยป If this option has been activated in the second space or globally, you can try to delete the profile through the command line on the computer.
When you connect your phone to your PC, you have to type a command to delete a specific user. In Android, each space is a separate user ID. The command looks something like this:
adb shell pm remove-userThe problem is to find out the ID of the second space without accessing it, usually ID 10 or 11, but it's risky to rely on it. You can try all users with the adb shell pm list users, and if you guess the ID, the system will delete the profile along with the data.
๐ก
If USB debugging wasnโt enabled in advance, the ADB method wonโt work, as the phone will request permission to connect on the lock screen, which you wonโt be able to confirm.
Another option is to use specialized slits like Xiaomi ADB/Fastboot Tools, which have a GUI, which may offer the option of removing system applications or profiles, but their effectiveness depends on the version of MIUI and the level of access rights.
- ๐ป Install the drivers. ADB and tool platform on the computer.
- ๐ Connect your smartphone with the original cable USB-port.
- ๐ Check the list of users by the pm list users team.
- ๐๏ธ Use the pm remove-user command [id] profile-delete.
Preventing and adjusting safety in the future
To prevent a forgotten password from happening again, it is important to set up the security system correctly when creating new profiles. When setting up the Second Space, MIUI always suggests linking it to the main account or setting a control question.
It is recommended to use biometric unlocking (fingerprint or Face ID) for Second Space, if the phone model supports this feature, this will eliminate the need to remember complex graphic keys, and you can also configure the display of notifications from the second space in the first so that you do not have to constantly switch.
Check regularly which accounts are synced to your device, and having an up-to-date backup in Mi Cloud or Google Drive will allow you to recover contacts and photos even after a full reset, minimizing the damage from loss of access.
๐ก
The most reliable way to avoid access issues is to use the same biometric key (finger) for both spaces and remember the password from the main Mi Account.
If you no longer need Second Space, you should delete it in a regular way through the main profile settings: Settings โ Second Space โ Delete Second Space. This will take a couple of seconds and will not require complex manipulations.