How to find out the number of contacts in the phone Xiaomi: all working methods

How many contacts are stored in your Xiaomi? This question can arise for various reasons, from trivial curiosity to having to free up memory before transferring data to a new phone. Unfortunately, the manufacturer has not added a separate contact counter to MIUI, so users have to look for workarounds.

In this article, we will discuss 5 reliable ways to find out the exact number of entries in the phone book on Xiaomi, Redmi and other devices. POCO β€” From standard functions to advanced tools like ADB. You will learn which methods work without root rights and where you need to connect to a computer, and we will also explain why the number of contacts in different services (MIUI, Google, SIM-The map may be different and how to fix it.

Method 1: Using the standard Contacts app in MIUI

The easiest method is to use the built-in Contacts app, but here's the caveat: MIUI doesn't show the total number of records directly, but it allows you to estimate the number through export.

Open the app and follow the following steps:

  • πŸ“± Slip on three points in the upper right corner (menu).
  • πŸ“€ Select "Import/ExportΒ» β†’ Β«Export to deviceΒ».
  • πŸ“„ The system will prompt you to save contacts to a.vcf file. At this stage, a line with the number of entries will appear at the bottom of the screen, for example: 487 contacts have been exportedΒ».

This works on all versions of MIUI (including MIUI 14 and HyperOS), but only counts local contacts stored in the phone's memory. If you use sync with a Google Account, the figure will be incomplete.

πŸ’‘

To see the number of contacts on SIM-map, go to Contacts β†’ Three points. β†’ Settings β†’ Contact management β†’ SIM-This will show you the number of records, but without the possibility of mass export.

Method 2: View through Google Contacts (for synchronized records)

If your contacts are synced to a Google Account, the most accurate way is to use the web version of Google Contacts, which will show all the records, including duplicates and hidden ones.

Instructions:

  1. Open your browser on your phone or computer and go to contacts.google.com.
  2. Sign in with the same account that is linked to the phone.
  3. In the left side menu, select β€œOther contacts” (if you want to count all) or a specific group.
  4. The top right corner will display the total number, such as β€œ1–50 out of 742.”

The advantage of this method is that it takes into account all synchronized contacts, including those hidden in MIUI due to filters (for example, contacts from messengers), but if the synchronization is disabled, the data will be incomplete.

πŸ“Š Where do you keep most of your contacts?
In the memory of the phone
Nana SIM-map
On Google Account
On another cloud service

Method 3: Using a file manager (for power users)

Contacts in Xiaomi are stored as a database of contacts2.db along the way:

/data/data/com.android.providers.contacts/databases/contacts2.db

Access to this file is possible only with root rights or through ADB. If you have root, use any file manager (like Root Explorer) to open the database and count entries in the table. raw_contacts.

Without root, you can use the ADB command:

adb shell content query --uri content://com.android.contacts/raw_contacts | grep "count="

This command returns the line count = 512, where 512 is the number of contacts.

What if the ADB does not recognize the device?
Make sure that USB debugging is enabled in the phone settings (Settings β†’ About Phone β†’ MIUI version – tap 7 times on version, then go back to Settings β†’ Additional β†’ For Developers β†’ Debugging by USB). Also check the drivers on PC and cable (better use the original one).

Method 4: Export to VCF file and count lines

If previous methods don't work, you can export contacts to a.vcf file and count the number of records manually, which is universal and works on all versions of MIUI.

Steps:

  • πŸ“± Export contacts via the Contacts app (see Method 1).
  • πŸ“Ž Send a.vcf file to your computer (for example, via Mi Drop or email).
  • πŸ“Š Open the file in a text editor (for example, Notepad)++) and find the number of lines with BEGIN:VCARD β€” Each line corresponds to one contact.

Make sure your sync with Google is turned off (if you only need to count local contacts)

Check the free space on the device (exporting a large number of contacts can take up to 100 MB)

Use the original cable to transfer the file to the PC

Keep a backup of your contacts before experimenting.-->

This is accurate, but it takes time. For example, a file with 800 contacts will have about 10,000 to 15,000 lines, so it's more convenient to use a script or a search function in the editor to calculate.

Method 5: Analyzer Apps from Google Play

Google Play has specialized tools for analyzing contacts, for example:

  • πŸ” Contact Analyzer – shows the number of contacts, duplicates and statistics by group.
  • πŸ“Š Simpler Contacts – offers advanced filters and record counter.
  • πŸ”„ Copy My Data – allows you to transfer contacts and show their number before exporting.

Warning: Some apps request access to contacts for advertising purposes. Before installing, check reviews and permissions in the manifest.

πŸ’‘

Google Play apps are convenient, but they can collect your data. Use only proven high-ranking (4.5+) utilities.

Why are the number of contacts in different services different?

A common problem with Xiaomi users is the discrepancy in the number of contacts between the two companies. MIUI, Google and SIM-- The reasons:

SourceWhat's in mindWhat Ignores
MIUI (local)Contacts in phone memoryGoogle Contacts, SIM, Hidden Records
Google ContactsAll synchronized recordsLocal contacts without synchronization
SIM-mapSIM entries (limit ~250)All other sources
Analyzer applicationsDepends on the settings (can show everything)Hidden system contacts

To unify the data:

  1. Open Settings β†’ Accounts β†’ Google β†’ Contact Sync and enable it.
  2. In the Contacts app, click on three points β†’ Contact Management β†’ Contacts Merge (if there are duplicates).
  3. Check the filters in the app (the funnel icon in the upper right corner) - it's possible some contacts are hidden.

πŸ’‘

If contacts are lost after synchronization, check the Archive folder in Google Contacts – sometimes entries are moved there automatically.

Frequent Mistakes and How to Avoid Them

When counting contacts, users often face problems:

⚠️ Note: If you delete your contacts from your phone but they stay on Google, the next time you sync, the recordings will return. To avoid this, clear the shopping cart in Google Contacts ("More" sectionΒ» β†’ Β«BasketΒ»).

Error 1: Export shows 0 contacts. Solution: Make sure that all sources (not just SIM or Google) are displayed in the Contacts app settings.

Error 2: ADB does not give out the number of contacts. Solution: Check if the USB debugging is enabled and if the command is correctly entered (see Method 3).

Error 3: After importing contacts, the number of contacts decreased. Solution: This involves combining duplicates. Check the archive in Google Contacts.

⚠️ Note: When using cache cleaner applications (such as Clean Master), temporary contact files may be deleted, causing them to disappear from the local database. Always back up before optimizing.

Can I find out the number of contacts without export?
Yes, but only if the contacts are synced with Google. Go to contacts.google.com, the number will appear in the top right corner. For local contacts without export or ADB, this is not possible.
Why did the contacts disappear after the reset?
When reset, local contacts stored in the phone’s memory are deleted. If sync with Google has been disabled, you can only restore them from a backup (if it was created through Settings β†’ System β†’ Backup).
How to count the contacts on two SIM-card?
MIUI Not adding up contacts from different SIM To find out the total number: Go to Contacts β†’ Three points. β†’ Settings β†’ Contact management. Choose the first one. SIM-A map and write down the number. Repeat for the second. SIM. Add up the numbers.
Can remote contacts be restored?
Yes, if they were synced with Google: Go to contacts.google.com. On the left menu, select "More" β†’ "Cancel Changes." Specify the time range (up to 30 days ago). For local contacts, recovery is only possible from a MIUI backup.
How to transfer contacts from Xiaomi to iPhone without loss?
The most reliable way: Export contacts to a.vcf file (see Method 1). Send the file to an email. On your iPhone, open the email and import.vcf via an attachment. Alternative: sync your contacts with Google, then add that account to your iPhone (Settings β†’ Contacts β†’ Accounts β†’ Add Google account).