How to open locked numbers on Xiaomi phone: all working methods

Hidden or locked numbers on Xiaomi smartphones are a common problem that users face after updating MIUI, resetting settings or activating Hidden Space. Unlike the standard blacklist where contacts are simply ignored, this is about numbers that disappear completely from the phone book, call log or even system logs. The reasons can be different from accidental transfer to hidden storage to synchronization failures with Mi Account.

In this article, we will discuss 5 proven ways to return access to locked numbers, from basic MIUI settings to advanced methods using ADB and restore backups. Particular attention will be paid to the nuances for different models (Redmi Note 12, POCO X5, Xiaomi 13T) and firmware versions. If you are not sure which method will suit your situation, click through to the section with the diagnosis of the problem - there you will find a checklist to determine the cause of the lock.

Why numbers get blocked: 7 main reasons

Before you start unlocking, it is important to understand why the contacts disappeared. MIUI has several mechanisms that can hide the numbers from the user:

  • πŸ”’ Hidden Space Activation is an embedded feature MIUI that creates a parallel space with individual contacts, messages and applications. Numbers from this space are not displayed in the main profile.
  • πŸ“± Resets without detachment Mi Account – after resetting to factory settings, some contacts may remain tied to the old account and not sync.
  • πŸ”„ Sync conflict – if you used multiple accounts (Google, Mi Account, SIM- card), contacts could be duplicated and blocked by the system as β€œjunk.”
  • πŸ›‘οΈ Antivirus or Security MIUI β€” The built-in Security App sometimes labels numbers as β€œfraudulent” and hides them without notice.
  • πŸ“² Error firmware updates – after major updates (e.g., from MIUI 13 to MIUI 14) data from system applications may disappear.
  • πŸ”§ Manual editing of the contact database – if you manually edited contacts.db files via Root or ADB, visibility tags could be damaged.
  • 🚫 Operator locking is rare, but it happens that a mobile operator (e.g., MTS or Beeline) locks numbers at the SIM- card level.

Important: if the numbers disappeared after upgrading to MIUI 14+ on Xiaomi 13/14 models, first check the "Sync" section in Mi Account - there could work a bug with duplicate contacts, which is corrected only through the reset of the cache of the "Contacts" application.

πŸ“Š How long have you been dealing with the problem of hidden numbers?
Less than a week.
1-2 weeks
More than a month.
I remember.

Diagnosis: How to determine the cause of the blockage

Before you use radical methods (like resetting your phone), make a simple diagnosis that will help narrow down the possible causes and save time.

Check the Hidden Contacts folder in the Contacts app (swipe left in the main menu)

Open Settings β†’ Memory β†’ Contacts and see how much space is occupied (if 0 KB – contacts are deleted)

Go to Settings β†’ Accounts β†’ Mi Account β†’ Synchronize and turn on / off contact sync

Try calling a β€œdisappeared” number from another phone – is it defined as locked?

Check out Hidden Space (double swipe on the lock screen down)

-->

If you find at the diagnostic stage that:

  • πŸ“± Contacts are displayed in Hidden Space β†’ go to the hidden space section.
  • πŸ”„ Sync with Mi Account disabled or suspended β†’ Use the recovery method through your account.
  • πŸ—‘οΈ The Contacts folder in your phone memory is empty β†’ try recovering from a backup.
  • πŸ”§ None of the points helped β†’ remain advanced methods with ADB.

⚠️ Warning: If you use Xiaomi EU ROM (castom firmware), some system features like Hidden Space may not work properly, in which case you should try to reflash the phone to the official global version MIUI first.

Method 1: Unlocking through Hidden Space

Hidden Space is a secure area in MIUI where users can move contacts, messages and apps to hide them from prying eyes, and if you or someone else activated this feature, numbers could move there without your knowledge.

To check and return contacts:

  1. Unlock your phone and swipe down the lock screen twice (the gesture works on MIUI 12 and later).
  2. Enter the password from Hidden Space (if you don’t remember – see the section about password reset).
  3. Open the Contacts app in hidden space.
  4. Select the desired numbers (long-press β†’ ticks) and click Export or Move to the main space.

If you can’t log in to Hidden Space because of a forgotten password, there’s a workaround through Settings β†’ Passwords & Security β†’ Hidden Space β†’ Forgot the password. The system will suggest resetting it via Mi Account, but this will remove all data from the hidden space!

πŸ’‘

If you have a Redmi Note 11 or older, try an alternative way to log in to Hidden Space: open Settings β†’ About the phone and 5 times click on the version MIUI. In the menu that appears, select Additional settings β†’ Hidden Space.

Xiaomi modelSupports Hidden Space?Max: Contacts in Hidden Space
Xiaomi 13/13 ProYes (MIUI 14+)Unlimitedly
Redmi Note 12 Pro+Yes (starting with MIUI 13)5000
POCO X5 ProYes (requires upgrade to MIUI 14)3000
Redmi 10ANo (stripped version of MIUI)β€”

Method 2: Recovery with Mi Account (if contacts are synchronized)

If your contacts were linked to Mi Account and synced to the cloud, they can be returned even after a phone is reset.

  • πŸ”„ Synchronization was activated before the numbers were lost.
  • πŸ“± You use the same Mi Account as before.
  • πŸ—ƒοΈ There is a backup in the cloud (checked at i.mi.com).

Instructions for remediation:

  1. Open the Settings. β†’ Accounts. β†’ Mi Account.
  2. Make sure that the contact sync slider is on, and if not, turn on and wait 5-10 minutes.
  3. Go to Settings β†’ About Phone β†’ Backup and Reset β†’ Restore from Backup.
  4. Select the latest backup (note the date!) and click Restore Contacts.

If the cloud doesn’t have a copy, try an alternative way:

  1. Visit i.mi.com from your computer.
  2. Sign in with your Mi Account.
  3. Go to the Devices section β†’ [Your phone] β†’ Backup copies.
  4. Download the archive with contacts (.vcf format) and import it to your phone via Contacts β†’ Import / Export.

⚠️ Warning: On some models (Redmi 9A, POCO M3), the cloud reconnection function may be disabled by the manufacturer, in which case use the ADB method or contact Xiaomi with proof of account ownership (purchase check, IMEI).

Method 3: Recovery from Local Backup

If sync with Mi Account has been disabled but you have made local backups, chances of numbers being returned remain.MIUI automatically creates contact backups once a week and saves them to /MIUI/backup/AllBackup folder.

To recover the data:

  1. Connect your phone to your computer via USB (file transfer mode).
  2. Go to the Internal Memory folder β†’ MIUI β†’ Backup β†’ AllBackup.
  3. Find the file with the.bak extension and the latest date (e.g., the file with the file file file file file file file file file, contacts_20260515.bak).
  4. Copy it to your desktop and rename it to contacts.vcf.
  5. Send the file back to your phone and import through Contacts β†’ Import/Export β†’ Import from your device.

If the AllBackup folder is not available or empty, try to find backups elsewhere:

  • πŸ“ /sdcard/MIUI/backup/ β€” for older versions MIUI (up to 12-th).
  • πŸ“ /data/com.android.providers.contacts/databases/ – This is where the contact database (contacts2.db) is stored, but access to the folder requires Root.
  • πŸ“ /sdcard/Download/ - Sometimes backups are saved here manually.
What to do if the backup is damaged?
If you import a.vcf file, you may try 1. Open it on your computer via Google Contacts or Outlook, sometimes these services recover broken data. 2. Use online tools like VCF Repair (upload files only to trusted sites!). 3. Remove numbers manually: open.vcf in your notebook and copy the lines that start with TEL; (this is the phone number).

Method 4: Unlocking through ADB (for advanced users)

If the standard methods don’t work, the most radical (but effective) method is working with Android Debug Bridge (ADB).

  • πŸ”§ Contacts are not displayed either in the main or in the hidden space.
  • πŸ“± Synchronization and backups don't help.
  • πŸ› οΈ You are ready to manually manipulate system files.

First, prepare your phone and computer:

  1. Turn on Developer Mode: Settings β†’ About Phone β†’ MIUI version (click 7 times).
  2. Activate USB Debugging in Settings β†’ Additional β†’ For developers.
  3. Download ADB Tools to your computer and unpack it into the C:\adb folder.
  4. Connect your phone to your PC via USB (select File Transfer Mode).

Now run commands in Command Prompt (Windows) or Terminal (Mac/Linux):

cd C:\adb


adb devices




adb shell




su




cd /data/data/com.android.providers.contacts/databases




ls -l

You should see the contacts2.db file, which is the contact database. To export all numbers (including hidden numbers), do:

sqlite3 contacts2.db ".headers on" ".mode csv" "select * from raw_contacts;" > /sdcard/contacts_dump.csv


exit




exit




adb pull /sdcard/contacts_dump.csv C:\

The contacts_dump.csv file will be saved to your computer. Open it in Excel or Google Sheets and find the phone number column (data1). Copy them and import them back to your phone via Contacts β†’ Import.

⚠️ Attention: Su commands require Root rights. If your Xiaomi isn't rooted, use an alternative method: adb backup -f C:\contacts.ab -noapk com.android.providers.contacts This will back up contacts in the contacts.ab file, which can be converted to.vcf using tools like Android Backup Extractor.

πŸ’‘

If contacts are duplicated or displayed in hieroglyphics after working with ADB, clear the Contacts cache (Settings β†’ Applications β†’ Application Management β†’ Contacts β†’ Clear the cache).

Method 5: Reset the Hidden Space Password (if you forgot access)

If you’re sure the numbers are hidden in Hidden Space but don’t remember the password, there are two official ways to reset it:

  1. Through Mi Account (without data loss): Go to Settings β†’ Passwords & Security β†’ Hidden Space β†’ Forgot password. Select Reset password via Mi Account. Enter username and password from Xiaomi account. Confirm reset (SMS or email code will come). Important: This method only works if Mi Account was tied to the phone before creating Hidden Space.
  2. Through Phone Reset (with Data Loss): Go to Settings β†’ About Phone β†’ Settings Reset. Choose Delete All Data. Once rebooted, Hidden Space will be deactivated, but all data will be deleted irrevocably.

If both methods fail, an informal workaround remains (requires Root):

  1. Install a file manager with Root support (such as Root Explorer).
  2. Go to /data/system/users/0/.
  3. Find the hidden_space.xml file and delete it.
  4. Restart the phone and Hidden Space will be reset.

πŸ’‘

On Xiaomi 12T and later, the hidden_space.xml file may be called secure_space_config. Also check the /data/system/secure_space/ folder.

How to Avoid Re-Blocking Numbers: 5 Rules

To avoid the problem of hidden contacts, follow these recommendations:

  • πŸ”„ Export your contacts regularly: back up.vcf once a month via Contacts β†’ Import/Export and save the file to the cloud (Google Drive, Mi Cloud).
  • πŸ”’ Don’t use Hidden Space for important contacts: If you need to hide numbers, you’d better move them to a separate group in Google Contacts and turn it off.
  • πŸ“± Check sync: After updating MIUI, go to Settings β†’ Accounts and make sure that contact sync is enabled for Mi Account and Google.
  • πŸ›‘οΈ Turn off automatic lock: in Settings β†’ Security β†’ Lock numbers, check if your contacts are added to the blacklist by mistake.
  • πŸ”§ Do not edit system files manually: Changing contacts.db or other databases without a backup often results in lost contacts.

If you often experience sync issues, consider using third-party contact apps, such as:

  • Simple Contacts is a lightweight application with export to the cloud.
  • Contapps – Supports groups and backups.
  • Google Contacts is the most reliable option for syncing between devices.

Frequent Questions (FAQ)

Can I get my contacts back if my phone is not turned on (brick)?
Yes, but only if you have a backup or sync with Mi Account/Google enabled. In this case: Restore your phone via Fastboot (instructions for your model look at Xiaomi Firmware Updater). Once the system is restored, log into your Mi Account - contacts should sync automatically. If sync is not working, try to restore data via ADB in Recovery mode (command line skills are required). If backups are not available, the chances of returning numbers are minimal - they are stored in internal memory, which is often corrupted.
Why are the contacts displayed without names (numbers only) after recovery?
This is a typical problem when importing from damaged backups or encoding conflicts. Solutions: Check the.vcf file in a text editor β€” if the names are??? or characters, the file is corrupted. Try to restore it through VCF Repair. Import contacts one by one: sometimes mass imports knock down the encoding. Open.vcf to Google Contacts, copy one contact and export it separately. Clear the cache of the Contacts app (Settings β†’ Applications β†’ Contacts β†’ Clear cache) and reboot the phone.
How to transfer contacts from Hidden Space to the new Xiaomi phone?
There are two ways: Export Hidden Space on your old phone. Export contacts to the.vcf file (Contacts β†’ Import/Export β†’ Export to your device. Transfer the file to your new phone and import it. Mi Account: Make sure your old phone has Hidden Space contacts synced with Mi Account. On the new phone, log in to the same Mi Account and enable sync. Contacts from the hidden space will appear in the Hidden Contacts folder on the new device. Import: If you transfer data to another phone, you will only use the Mic sync sync, for example, and don't use the Samsung account.
Can I restore contacts after resetting the phone to factory settings?
Yes, but only if: πŸ”„ Synced with Mi Account or Google was enabled. πŸ“± You use the same account as before the reset. πŸ—ƒοΈ Your phone or SD- card has backups (folder /MIUI/backup/). If none of this works, try data recovery software like Dr.Fone or EaseUS MobiSaver, but the odds are low - after the reset, the internal memory is overwritten.
Why are some numbers displayed and some not?
This can happen for several reasons: Group Filtering: Contacts can have a filter enabled (click on the funnel icon in the top right corner and select All Contacts). If the same contact is saved in both Mi Account and Google, the system can hide the duplicate. β†’ Accounts. β†’ Synchronization: Operator restrictions: some mobile operators (e.g. Tele2) block the display of numbers from certain prefixes (e.g. short service numbers). Database failures: if contacts are partially displayed, clear the Contacts app data (Settings) β†’ Annexes β†’ Contacts β†’ Clear the data) and restart the phone.