How to upgrade Xiaomi if you donโ€™t have enough memory: 7 proven ways

Updating the firmware on Xiaomi smartphones is a procedure that usually takes place automatically. But what if the system suddenly emits an error โ€œNot enough memory to updateโ€? This problem is typical for devices with a small built-in storage capacity (16-32 GB), where after the system is not enough memory to update? aรฑos There is a critically low level of free space use, and in this article we will examine all possible causes and ways to eliminate them, from the basic (cache removal) to the radical (reset to factory settings).

Itโ€™s important to understand that the error is not just due to the memory load, but also due to file system fragmentation, MIUI/HyperOS malfunctions, or even the /cache partition misconfigured. We tested the solutions on models from Redmi Note 7 to Xiaomi 14 Pro โ€” all methods work regardless of the firmware version. If you see a notification โ€œX MB is required for an update, Y MB is availableโ€, follow the instructions below.

Why is Xiaomi not updated due to memory shortage?

The reason always lies in one of three factors:

  • ๐Ÿ“ฑ Physical space shortage: firmware weighs 1.5-3 GB, and free less than 1 GB. The system blocks the update to avoid crashes.
  • ๐Ÿ—‘๏ธ Clogged: Temporary application files and systems take up up to 50% of memory, but do not appear in standard storage.
  • ๐Ÿ”ง Failures in memory: damaged partition /data or /cache prevents the unpacking of update files.

For example, on the Redmi 9A with 32 GB of memory, users often encounter an error even if the settings show 2-3 GB of free space, the fact that the system reserves some memory for mission-critical operations, and these reserves are not counted in the schedule of use, and the problem can occur when trying to update through the Ota Update (manual), if the downloaded firmware file is corrupted.

๐Ÿ“Š How often do you update your firmware on Xiaomi?
Automatically as soon as the new version is released
Only if there are critical bugs
Six months
Never update.

Method 1: Freeing memory manually (without resetting)

Start with the obvious: delete unnecessary files, but don't just limit yourself to photos and videos: often the culprits are:

  • ๐ŸŽฎ Cache games (such as Genshin Impact or Call of Duty Mobile can take up to 10 GB).
  • ๐Ÿ“ฅ Downloads: APK-files, archives, documents you havenโ€™t opened in a long time.
  • ๐Ÿ“บ Offline content from YouTube Premium, Netflix or TikTok.
  • ๐Ÿ“ folder DCIM/.thumbnails โ€” Photo and video miniatures that can be safely removed.

How to clean:

  1. Open the Settings โ†’ Storage.
  2. Click Free Place (in MIUI 14+) or Clean (in HyperOS).
  3. Select file categories to delete. Pay special attention to the Cash app item.
  4. Use the built-in memory analyzer (available on MIUI 12+) to find the largest files.

๐Ÿ’ก

If you have Google Play Services or Mi Video with a cache of >500MB, manually clean them through Settings โ†’ Applications โ†’ Application Management.

Once cleaned, restart the device and try to upgrade again.If less than 1.5GB is free, move on to the next method.

Method 2: Clean Update Cache and Dalvik-Cache

System cache, including Dalvik-cache (Android virtual machine cache), can take up to 1-2 GB, but does not appear in standard storage.

Instructions:

  1. Turn off your smartphone.
  2. Press the Power button + Volume up to enter Recovery Mode.
  3. Select Wipe & Reset โ†’ Wipe Cache (use volume buttons for navigation, power for confirmation).
  4. Confirm the action and wait for the completion.
  5. Go back to the main menu and select Reboot โ†’ System.
What is Dalvik-Cache and Why Should It Be Cleaned?
Dalvik-cache is an optimized version of installed applications that are designed to make them work faster. When you upgrade your system, old cache files can conflict with new ones, which leads to installation errors. Cleaning this partition causes the system to reassemble the cache, eliminating possible conflicts.

If the update still does not pass after cleaning the cache, try to remove the firmware file manually:

  1. Connect your smartphone to your PC and enable File Transfer Mode (MTP).
  2. Go to the Internal Storage folder โ†’ downloaded_rom.
  3. Delete the file with the.zip extension (for example, miui_HMNote9ProINGlobal_V12.0.1.0.QJZINXM_...).
  4. Download the firmware again through Settings โ†’ About the phone โ†’ System update.

Method 3: Transfer applications to SD-card (if supported)

Some Xiaomi models (such as Redmi 9/9A/9C or Poco M3) support microSD memory expansion. If your device is one of them, you can transfer some applications to the card, freeing up internal memory.

How to check for support:

  1. Insert microSD (UHS-I U3 or higher is recommended).
  2. Go to Settings โ†’ Storage โ†’ Memory Map.
  3. If you have the option to format as internal memory, your device supports portability.

How to move applications:

  1. Format the card as an internal memory (all data on it will be deleted!).
  2. Go to Settings โ†’ Applications โ†’ Application Management.
  3. Select an app (like Facebook or Spotify) and click Storage โ†’ Change โ†’ Memory Map.
Xiaomi modelMicroSD Support as Internal MemoryMax. Map size.
Redmi 9A/9CYes.512GB
Poco M3Yes.512GB
Redmi Note 10 ProNo.1 TB (only as portable storage)
Xiaomi 12/13 seriesNo.โ€”

๐Ÿ’ก

Transfer of applications to SD-The card may slow down their performance, especially if the class card UHS-I U1 Use this method only for rarely used programs.

Method 4: Update via Fastboot (if nothing helps)

If none of the previous methods worked, you'll have to install the firmware through Fastboot, which requires a PC and a little bit of technical skill, but is guaranteed to bypass memory limitations.

What you need:

  • ๐Ÿ–ฅ๏ธ Windows computer 10/11 macOS.
  • ๐Ÿ”Œ Cable USB Type-C (original or high-quality).
  • ๐Ÿ“ฆ Firmware for your model (download from the official Xiaomi website).
  • ๐Ÿ› ๏ธ Mi Flash Tool (for Windows) or Fastboot Enhance (for Windows) macOS/Linux).

Step-by-step:

  1. Unpack the downloaded firmware (file with.tgz extension) in the folder on the PC.
  2. Turn off your smartphone and press the Power button + Volume down to log into Fastboot Mode.
  3. Connect the device to the PC.
  4. Launch the Mi Flash Tool, press Select and point the path to the unpacked firmware.
  5. Select Clean All (total clean) or Save user data (to save data).
  6. Press Flash and wait until it is completed (5-10 minutes).

Download the correct firmware version for your model |Install Xiaomi USB Drivers |Disable antivirus (it can block Mi Flash Tool) | Charge your phone at least 50% |Prepare a backup of data

-->

Warning: Fastbootโ€™s Clean all option completely erases data, including photos, contacts and apps, and if you donโ€™t back up, it wonโ€™t be possible to recover the information.

Method 5: Reset to factory settings (extreme case)

If all the previous methods failed, it's a complete reset, which is a radical solution, but it's guaranteed to free up memory and eliminate software errors.

How to reset:

  1. Back up important data (photos, contacts, messages) through Mi Cloud or Google Account.
  2. Go to Settings โ†’ About the phone โ†’ Reset settings.
  3. Choose to erase all data.
  4. Enter a password (if required) and confirm the action.

After discharge:

  • ๐Ÿ”„ The smartphone will reboot and offer to configure it as new.
  • ๐Ÿ“ฅ Immediately after setting up, check for updates in Settings โ†’ Updating the system.
  • ๐Ÿ”’ Do not restore data from the backup before the update is completed!

๐Ÿ’ก

If the update doesnโ€™t install after the reset, try disabling Mi Account in your account settings before the update. Sometimes, linking to your account blocks the firmware installation.

Method 6: Using ADB for forced cleaning (for advanced)

If youโ€™re familiar with Android Debug Bridge (ADB), you can manually clear hidden memory partitions that arenโ€™t visible in the standard interface.

Instructions:

  1. Install ADB on your PC (download Googleโ€™s Platform Tools).
  2. Turn on USB Debugging on your smartphone (Settings โ†’ About Phone โ†’ MIUI version โ€“ press 7 times, then go back to Additional Settings โ†’ For Developers).
  3. Connect your phone to your PC and execute the commands:
adb shell


su




rm -rf /data/local/tmp/*




rm -rf /cache/*




reboot

These commands will clear temporary files in /data/local/tmp and /cache, which often block the update. If you don't have root permissions, the su command won't work, skip it.

What if the ADB canโ€™t see the device?
1. Check if debugging is included on USB 2. Install Xiaomi drivers ADB Drivers manually through Device Manager (Windows). 3. Try another one USB-cable (preferably original). 4. Reboot both the PC and the smartphone.

Method 7: Update via TWRP (for users with custom recovery)

If your Xiaomi has TWRP installed, you can upgrade through it without the limitations of a standard recaveri, which is suitable for enthusiasts who have already modified their device.

How to update:

  1. Download firmware in.zip format (for example, with Xiaomi Firmware Updater).
  2. Move the file to internal memory or SD-map.
  3. Download to TWRP (Power button + Volume up).
  4. Press Install, select the downloaded file and swipe your finger for confirmation.
  5. Once installed, run Wipe โ†’ Dalvik/ART Cache and restart.

Note: Updating via TWRP may result in data loss if the firmware is incompatible with your version of MIUI/HyperOS. Always check model and version compliance!

FAQ: Frequent questions about Xiaomi upgrades with memory shortages

Can I upgrade to Xiaomi through OTG-flash drive if there is not enough memory?
Yes, but only on models that support OTG (e.g. Redmi Note 10, Poco X3). Download the firmware on a flash drive, connect it to your phone, then in the Ota Update, select Select a firmware file and specify the path to the file on the flash drive. Make sure the flash drive is formatted in FAT32.
Why is the update not installed after the memory is cleaned?
Probable causes: A damaged firmware file (download again); a mismatch in the firmware region (e.g., trying to install Global on a device with China ROM); antivirus blocking (disable it while you update); Ota Update failure (try updating via Fastboot or Recovery).
How do I know how much memory is needed to update?
Go to Settings. โ†’ The phone. โ†’ Update the system. Click on the icon. โš™๏ธ (settings) in the upper right corner and select Update manually. The system will show the size of the firmware file. Add to this value a minimum of 500 MB for temporary files.
Can I roll back the firmware if after the update there is even less memory?
Yes, but only through Fastboot or TWRP. Download the previous version of the firmware from the official website and manually thread it, and note that rollbacks may cause some applications to malfunction.
Why Xiaomi with 128 GB of memory also writes โ€œnot enough memoryโ€?
This can be due to: Memory splitting into userdata and system (for example, on Xiaomi 11T Pro, ~30 GB is allocated for the system); Mistake in MIUI Storage Analyzer (reboot device); Damage to the file system (reset or firmware via Fastboot will help); Check the actual memory allocation through the DiskUsage or A1 SD Bench application.