How to unlock the second space on Xiaomi Redmi 7, if you forgot the password: 5 working methods

What is the second space and why is it blocked?

The second space on Xiaomi Redmi 7 smartphones is an isolated environment with separate apps, files and settings, which is created to distinguish between personal and work data. This feature is useful if you want to hide sensitive information or test applications without risking to the main system. However, this technology has a significant disadvantage: if you forget the password from the second space, access to it will be completely blocked.

Unlike the standard pattern lock or PIN-The second-space password is not synchronized with Mi Account and is not restored through the main screen code. SMS. This means that standard reset methods (like "Forgot your password?" on the lock screen) don't work here. 7 base MIUI 10/11 Does not support fingerprint unlocking for second space – only manual password entry.

In this article, we’ll look at all the ways you can restore access, from the simplest (if you remember your Mi Account) to the most radical (complete resetting). It’s important to understand that some methods can lead to data loss in the second space β€” so try the safe options first.

Method 1: Recovery through Mi Account (if linked to account)

If you've linked it to Mi Account when you create the second space, you've got the best chance of recovering without losing data, and this only works if you:

  • πŸ“± Smartphone connected to the Internet (Wi-Fi or mobile data).
  • πŸ”‘ You remember the username and password from Mi Account that was used when setting up.
  • βš™οΈ Account security settings include the function "Find device".

Instructions for remediation:

  1. On the screen of entering the password of the second space, tap the button Forgot the password? (if it is not, proceed to the next method).
  2. Enter the email or phone number associated with the Mi Account.
  3. Confirm the entrance through SMS-account code.
  4. Follow the system instructions for resetting the second space password.

Is your account linked to your device | Is there Internet access | Remember the login details to Mi Account | Is Find Device enabled in the settings-->

If the buttons forgot the password? no, try another way:

  1. Exit the second space (click "Exit" on the lock screen).
  2. Go to Settings. β†’ Mi Account β†’ Security.
  3. Select Device Management and find your Redmi 7.

⚠️ Note: If you have previously disabled Find Device in your Mi Account settings, this method will not work, and it is not available if your smartphone is not connected to the network.

Method 2: Reset password through Recovery mode (without loss of core space data)

If Mi Account is not tied or you don't remember the login details, the next step is to try resetting through Recovery Mode.This method doesn't affect the main space, but all the data in the second space will be deleted (applications, files, settings), however, it's better than completely resetting the phone.

Instructions:

  1. Turn off Redmi 7 with a long press of the power button.
  2. Press the Power button + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English by default).
  4. Go to Wipe & Reset β†’ Wipe Second Space (on some versions of MIUI, the item may be called Erase Second Space).
  5. Confirm the action and wait for the process to be completed.
  6. Reboot your smartphone with Reboot β†’ Reboot to System.
Action.The resultNote
Wipe Second SpaceRemove password and all data of the second spaceThe main space is not affected.
Wipe DataComplete phone resetRemove everything, including the main space
Reboot to SystemReboot to normal modeUse it after the reset is complete

Once you reboot, the second space will be available without a password, but all the apps and files installed in it will disappear. If this option does not suit you, try the methods below.

Yes, I tried it regularly | But it didn't come in handy | No, I don't know what it is | I don't remember-->

Method 3: Use ADB-Teams (for advanced users)

If you're familiar with Android Debug Bridge (ADB), you can try resetting the second space password through the command line, which requires USB debugging and access to the computer, and if debugging is disabled, it won't work.

Step-by-step:

  1. Connect Redmi 7 to your PC via USB-cable.
  2. Open the command prompt (Windows) or terminal (Linux/macOS) and type:
adb devices

If the device appears in the list, do:

adb shell


pm clear com.miui.secondspace

This command clears the application's data for the second space, which can reset the password, but there's no guarantee of success, because some versions of MIUI block this method with security.

What if the ADB can’t see the device?
If the adb device command does not show your Redmi 7, check: 1. USB In Settings β†’ The phone. β†’ Version. MIUI (Tap 7 times, then return to the additional β†’ For developers. 2. Are Xiaomi drivers installed on your PC (download from the official website). 3. Are you using the original one? USB-cable (not all cables support data transmission).

⚠️ Attention: Misuse of the right ADB Don't execute commands unless you're sure they're there, like a fastboot erase userdata would completely erase all the data on your phone.

Method 4: Remove the second space through settings (if you have access to the main one)

If you can log in to the main space but don't remember the password from the second, it can be completely deleted through standard settings. This method is suitable if you don't need data from the second space.

How to delete:

  1. Open Settings β†’ Special Opportunities β†’ Second Space
  2. Select Remove the Second Space.
  3. Confirm the action by entering a password or fingerprint of the main space.
  4. Wait for the process to be completed (it will take 1-2 minutes).

Once deleted, you can create a new second space from scratch, which is the safest way to do so, because it doesn't affect system files and doesn't require a computer.

πŸ’‘

Before you delete the second space, check if you have any important data stored there, for example, some users store screenshots, notes or backups in the second space, if in doubt, try the ADB or Recovery method first.

Method 5: Complete resetting of settings (extreme case)

If none of these methods work, then all that remains is hard reset, which is a complete factory reset, and it will delete all the data in both the main and second space, so only use this method as a last resort.

How to reset:

  1. Turn off Redmi 7.
  2. Press the Power button + Volume up to enter Recovery.
  3. Select Wipe Data β†’ Wipe All Data (on some versions of MIUI, the option may be called Factory Reset).
  4. Confirm the action and wait for the completion (it will take 5-10 minutes).
  5. Reboot your phone with Reboot β†’ Reboot to System.

Once reset, the phone will turn on as new, and you will have to reconfigure both spaces, and if you have previously synced your data to your Mi Account (contacts, notes, photos), it can be restored after you log in.

⚠️ Note: On some versions of Redmi 7, resetting via Recovery may require you to enter your Mi Account password after rebooting (anti-theft protection.

Frequent Mistakes and How to Avoid Them

When trying to unlock a second space, users often face typical problems, and here are the most common ones and how to solve them:

  • πŸ”Œ "The device is not defined in ADB": Check the cable (use the original), turn on debugging USB And you can install Xiaomi drivers on your PC. Sometimes it helps to change. USB-port.
  • πŸ”’ "The button "Forgot your password?" is inactive: This means that the second space is not tied to Mi Account. ADB.
  • βš™οΈ "After reset via Recovery, the phone requires a Mi Account password: "This is Xiaomi's standard protection against theft. Enter your account details to unlock.
  • πŸ“± "The second space disappeared after the update. MIUI": Sometimes, after major updates, the system automatically removes the second space. Try to recreate it in the settings.

Another common mistake is trying to unlock the second space through service centers. Xiaomi official centers do not provide services to reset the second space password, as this is considered a violation of the privacy policy.

πŸ’‘

If you are unsure of your actions, it is better to consult a specialist than risk the data of the main space. For example, the wrong command in ADB can lead to a phone "brick" (completely inoperable).

Can I recover data from the second space after resetting?
No, if you reset your password through Recovery or delete the space through settings, all the data inside it is deleted without the ability to recover. The only way to save information is to regularly transfer important files to the main space or the cloud.
Why is there no second space after resetting?
If the second space function disappeared from settings after a full reset (Wipe All Data), this may be due to: An outdated version of MIUI (update phone), regional restrictions (on some firmware for China, the function is disabled), and damage to system files (try reflashing the phone via Fastboot).
Can I bypass the second space password through TWRP?
Theoretically, yes, but in practice, it's hard. TWRP allows you to manually delete second-space files, but: You need root rights. You risk damaging system files. You can't install TWRP on Redmi 7 with a locked bootloader without unlocking Bootloader (which erases all data). If you're not an experienced user, you better not take the risk.
Will the second space work after the firmware through Fastboot?
No, running your phone through Fastboot (like the Mi Flash Tool) cleans the device’s memory, including both spaces, and after the firmware, you’ll have to configure the phone from scratch.
Can I use the second space without a password?
Technically, yes, but it violates the logic of the function. The second space is created specifically for data protection, so Xiaomi obliges you to set a password. If you don't need a password, just don't create a second space, use the main one.