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.
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:
- Open the Settings โ Storage.
- Click Free Place (in MIUI 14+) or Clean (in HyperOS).
- Select file categories to delete. Pay special attention to the Cash app item.
- 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:
- Turn off your smartphone.
- Press the Power button + Volume up to enter Recovery Mode.
- Select Wipe & Reset โ Wipe Cache (use volume buttons for navigation, power for confirmation).
- Confirm the action and wait for the completion.
- Go back to the main menu and select Reboot โ System.
What is Dalvik-Cache and Why Should It Be Cleaned?
If the update still does not pass after cleaning the cache, try to remove the firmware file manually:
- Connect your smartphone to your PC and enable File Transfer Mode (MTP).
- Go to the Internal Storage folder โ downloaded_rom.
- Delete the file with the.zip extension (for example, miui_HMNote9ProINGlobal_V12.0.1.0.QJZINXM_...).
- 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:
- Insert microSD (UHS-I U3 or higher is recommended).
- Go to Settings โ Storage โ Memory Map.
- If you have the option to format as internal memory, your device supports portability.
How to move applications:
- Format the card as an internal memory (all data on it will be deleted!).
- Go to Settings โ Applications โ Application Management.
- Select an app (like Facebook or Spotify) and click Storage โ Change โ Memory Map.
| Xiaomi model | MicroSD Support as Internal Memory | Max. Map size. |
|---|---|---|
| Redmi 9A/9C | Yes. | 512GB |
| Poco M3 | Yes. | 512GB |
| Redmi Note 10 Pro | No. | 1 TB (only as portable storage) |
| Xiaomi 12/13 series | No. | โ |
๐ก
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:
- Unpack the downloaded firmware (file with.tgz extension) in the folder on the PC.
- Turn off your smartphone and press the Power button + Volume down to log into Fastboot Mode.
- Connect the device to the PC.
- Launch the Mi Flash Tool, press Select and point the path to the unpacked firmware.
- Select Clean All (total clean) or Save user data (to save data).
- 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:
- Back up important data (photos, contacts, messages) through Mi Cloud or Google Account.
- Go to Settings โ About the phone โ Reset settings.
- Choose to erase all data.
- 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:
- Install ADB on your PC (download Googleโs Platform Tools).
- Turn on USB Debugging on your smartphone (Settings โ About Phone โ MIUI version โ press 7 times, then go back to Additional Settings โ For Developers).
- Connect your phone to your PC and execute the commands:
adb shell
su
rm -rf /data/local/tmp/*
rm -rf /cache/*
rebootThese 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?
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:
- Download firmware in.zip format (for example, with Xiaomi Firmware Updater).
- Move the file to internal memory or SD-map.
- Download to TWRP (Power button + Volume up).
- Press Install, select the downloaded file and swipe your finger for confirmation.
- 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!