Xiaomiโ€™s โ€œFill Empty Cellsโ€: What It Means and How to Fix It

You've seen a cryptic notification on your Xiaomi screen, whether it's a smartphone, TV or tablet, "Fill in the empty cells" -- and you don't know what it's about -- that phrase can come up in different scenarios, whether it's when you set up internal memory, when you reset it to factory settings, or even when you update your firmware. In this article, we'll look at what's behind the term "empty cells," why the system asks you to fill them, and most importantly, how to do it safely and without losing data.

Now, let's just say, this is not a bug, but a feature of the MIUI file system (or HyperOS in new models), a term that comes from technical documentation, meaning unused memory blocks that need to be initialized to make the device work properly. Most often, the problem occurs on devices with eMMCs or after an emergency power outage. Next, the details for each case.

Why there is a message about empty cells

The message "Fill in the empty cells" is a system response to a mismatch between the physical and logical structure of the memory.

  • ๐Ÿ”„ Resetting to factory settings without full formatting: system detects โ€˜junkโ€™ blocks left over from old data.
  • โšก Unconditional power outage during file writing (for example, when the battery is discharged to 0%).
  • ๐Ÿ“ฑ Update firmware with errors: new versions MIUI/HyperOS They can work with memory parts differently.
  • ๐Ÿ› ๏ธ Repair or replacement of the drive: if the memory chip (eMMC/UFS) has been replaced, the system requires its initialization.

On Xiaomi TVs (Mi TV A2, P1, Q2), the message can appear after a reset or when an external drive with a damaged file system is connected. In smartphones (Redmi Note 12, POCO X5, Xiaomi 13T), experiments with custom firmware or manual partitioning changes via TWRP are more often to blame.

โš ๏ธ Note: If a message appears after each device is turned on, it may indicate a hardware fault in the drive, in which case filling the cells will have a temporary effect, but the problem will return.

What are โ€œempty cellsโ€ from a technical point of view?

In the context of Xiaomi, empty cells are the uninitiated memory blocks in the file system, and to get a sense of the point, let's take a look at the following terms:

  • ๐Ÿ“ฆ File system (F2FS, EXT4, exFAT is the โ€œmapโ€ on which a device finds and records data.
  • ๐Ÿงฑ Blocks (clusters) โ€“ Minimum storage units (usually 4โ€“64 KB).
  • ๐Ÿ”ณ Empty cells are blocks that physically exist but are not marked in the file system as being writeable.

When the system detects such blocks, it suggests that they be โ€œfilledโ€ โ€” that is, that low-level formatting is done to bring the logical structure into line with the physical one โ€” it is not the same as normal file deletion: the process affects service areas of memory that the user does not see.

termWhat does it mean?Example of Xiaomi
Empty cellsNon-initiated memory blocksPost-reset message on Redmi 10
FragmentationBreaking files into non-adjacent blocksSlowing down after long use
TRIMA command to clean unused SSD blocksAutomatically executed in HyperOS
Bad blocksDamaged memory cellsPersistent recording errors on POCO M4 Pro

On devices with eMMC chips (such as budget Redmis), empty cells may appear more often due to the features of the memory controller, which does not support the TRIM command.

๐Ÿ“Š Which Xiaomi device you are facing a problem with?
Smartphone
Television
Tablet
router
Other

When to fill empty cells and when not

Not all messages require immediate action, but here are the criteria by which to judge the situation:

โœ… The cells need to be filled if:

  • ๐Ÿ”ง The device does not turn on or load only in Fastboot.
  • ๐Ÿ“‰ Memory shows the wrong amount (for example, 64 GB instead of 128 GB).
  • ๐Ÿ”„ After reset, the system fixes itself on the logo MI.
  • ๐Ÿšจ Errors such as โ€œI failed to installโ€ /dataยป into TWRP.

โŒ It is not necessary to fill the cells if:

  • ๐Ÿ“ฑ The message appeared once after the update and is not repeated again.
  • ๐Ÿ”„ The device is stable, but in logs (Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ Core) has memory warnings.
  • ๐Ÿ’พ You are using an external drive (a flash drive or a flash drive). SD-map) and the message refers to it.

โš ๏ธ Note: On Xiaomi TVs (e.g. Mi) TV Q1) filling empty cells can cause all Smart settings to reset TV, including linked accounts and saved channels. Backup through Settings โ†’ Account and security โ†’ Backup.

Create a backup copy of data (photos, contacts, messages)|Charge the device to at least 50%|Disable two-factor authentication in Mi Account (if you plan to reset)|Prepare the cable. USB Connecting to a PC (in case of errors)-->

How to fill empty cells on a Xiaomi smartphone

The procedure depends on whether the device is turned on and whether there is access to the recovery menu.

๐Ÿ“ฑ Method 1: Recovery menu (if the phone is turned on)

  1. Go to Settings โ†’ About Phone โ†’ MIUI version and 7 times click on the line with the version to activate the developer mode.
  2. Return to Settings โ†’ Additional โ†’ For developers and enable USB debugging.
  3. Turn off the phone, then press Volume Up + Power to enter Recovery.
  4. Select Wipe & Reset โ†’ Wipe All Data (some models call it Format Data).
  5. Confirm the action and wait until it is completed (may take 5-15 minutes).

If Recovery doesnโ€™t have Format Data, your device is using dynamic partitions (starting with MIUI 12 on Android 10+).

fastboot erase userdata


fastboot format:ext4 userdata

These commands are executed via Fastboot on a PC with Xiaomi drivers installed.

๐Ÿ› ๏ธ Method 2: Fastboot (if the phone is not turned on)

You will need a computer with Xiaomi tools installed (Mi Flash Tool or Platform Tools).

  1. Turn off the phone and press Volume Down + Power to log into the Fastboot.
  2. Connect the device to your PC and execute the command: fastboot devices (should display the serial number of your Xiaomi).
  3. Enter fastboot erase userdata fastboot erase cache fastboot format:ext4 userdata fastboot format:ext4 cache
  4. Reboot the device with command: fastboot reboot

โš ๏ธ Attention: On models with UFS 3.1 (e.g. Xiaomi 12 Pro, Redmi) K50) team format:ext4 In this case, use the official firmware via the Mi Flash Tool with the Clean All option.

๐Ÿ’ก

If after filling the cells, the phone loads into an endless bootloop (cyclical reboot), try flashing the device in EDL mode using the MiFlashPro tool. This will require an authorized Xiaomi account (you need to send a request to unlock the bootloader).

Features for Xiaomi TVs

On Mi TV and Redmi TV, the procedure is different because of a different system architecture: Here, "empty cells" are more often associated with damage to the /data partition, where the settings and application cache are stored.

๐Ÿ“บ Method 1: Reset via menu (if TV is turned on)

  1. Go to Settings โ†’ Account and Security โ†’ Resetting.
  2. Select Reset all settings (do not Reset network settings!).
  3. Enter. PIN-code (default 0000 or 1234).
  4. Wait until the end (the TV will restart 2-3 times).

๐Ÿ”Œ Method 2: Hardware reset (if the TV does not respond)

If the TV is stuck on the logo or does not respond to the remote:

  1. Turn the TV off the socket.
  2. Press the Source (or Menu) button on the TV body.
  3. Without releasing the button, connect the power.
  4. Hold the button for 10-15 seconds until the recovery menu appears.
  5. Select Wipe Data using volume buttons and confirm with OK button.

On TVs with an Amlogic processor (such as the Mi TV A2 43) you may need to reset your Wi-Fi and log in to your Mi Account to unlock Smart TV features after a reset.

What to do if the TV needs to be activated after resetting
After a hardware reset, some Xiaomi models (such as the Mi TV P1) may request an activation code to unlock features. To get it: 1. Go to the Mi Account site and log in. 2. In the Devices section, find your TV and generate a code. 3. Enter the code on the TV screen. If the device does not appear in the list, try reconnecting it to the Internet via an Ethernet cable.

Frequent Mistakes and How to Avoid Them

Many users compound the problem by trying to "fix" empty cells in the wrong way, and here are the most common mistakes:

  • ๐Ÿšซ Interrupting the process: if you turn off power while filling the cells, it can lead to a complete loss of access to memory.
  • ๐Ÿ”ง Use of third-party utilities (e.g, SD Maid or DiskDigger: They are not designed to work with Xiaomi system partitions.
  • ๐Ÿ“ฑ Dumping through TWRP Backup free: Custom Recovery may format partitions incorrectly if the version is incompatible with your model.
  • ๐Ÿ”„ Rebooting multiple times in the hope that it will pass: it only increases memory fragmentation.

If you are not sure about your actions, it is better to contact the Xiaomi service center โ€“ especially if we are talking about flagship models (Xiaomi 13 Ultra, Mix Fold 3), where the cost of error can be high.

๐Ÿ’ก

On devices with UFS 3.0/3.1 (flagships 2022-2026), it is not recommended to use fastboot format commands - instead, you should flash the full firmware image through the Mi Flash Tool with the Clean All and Lock option.

Prevention: How to avoid empty cells

Preventing a problem is easier than solving it.

  • ๐Ÿ”‹ Do not allow the battery to drain completely (especially on smartphones with eMMC).
  • โšก Use Original Chargers โ€“ Power surges damage the memory controller.
  • ๐Ÿ“ฑ Regularly update the firmware in new versions MIUI/HyperOS Correcting errors in memory.
  • ๐Ÿ› ๏ธ Avoid dirty firmware (e.g. ported from other models).
  • ๐Ÿ’พ Periodically clear the cache through Settings โ†’ Memory. โ†’ Cleanup.

On Xiaomi TVs, it is also useful:

  • ๐Ÿ“บ Disconnect power via menu (Settings) โ†’ Nutrition โ†’ Turn it off, not with a button on the remote.
  • ๐Ÿ”Œ Use an uninterruptible power supply (UPS) to protect against voltage surges.
  • ๐Ÿ“ Do not store large files (for example, movies in the 4K) In internal memory, it is better to use external memory. SSD.

FAQ: Answers to Frequent Questions

โ“ Why did all the photos disappear after filling the empty cells?
The cell filling procedure involves fully formatting the /data partition where user files are stored. If you haven't made a backup, you can only recover data using specialized utilities (for example, Dr.Fone or EaseUS MobiSaver), but the chances are low - especially if the eMMC memory is used.
โ“ Can empty cells be filled without losing data?
No, it's impossible. Any method (via Recovery, Fastboot, or TWRP) involves completely cleaning the partition. The only way to save data is to backup in advance (for example, through Mi PC Suite or Google Photos for media files).
โ“ On the TV screen Xiaomi is burning "Fill the empty cells" but the remote does not work?
If the remote doesn't respond, try: Connect the keyboard or mouse over USB (most Mi TVs support USB-HID); Use buttons on the TV body (Source + Loudness to log into Recovery); Hold the power button for 30 seconds to force a reboot; if nothing works, only the hardware reset remains (see section on TVs).
โ“ After filling the cells, the phone stopped seeing. SIM-What's the matter?
This may be due to: modem failure (try restarting the device). Partition damage /modem (So, it's solved by flashing through Fastboot. SIM (You need a diagnostic on the service. First, check if you can see it. SIM-map in Settings โ†’ SIM-If you don't, you can swipe the device with the official firmware.
โ“ How long does it take to fill empty cells?
Time depends on: Memory type: eMMC - 5-10 minutes, UFS - 1-3 minutes. Memory size: 128 GB process longer than 64 GB. Method: through Fastboot faster than through Recovery. If the process is delayed more than 20 minutes - this is cause for concern (possibly the device is suspended).