How to increase the amount of RAM on the Xiaomi smartphone: all ways from simple to radical

Have you noticed that your Xiaomi has started to slow down when multitasking and apps are constantly rebooting? The reason is often a lack of RAM. Smartphone manufacturers are saving on this component, especially in budget models, but there are ways to get around the limitations โ€” both software and hardware.

In this article, we will look at all the available methods to increase RAM on Xiaomi, Redmi and POCO devices, from official MIUI features to non-obvious tricks for advanced users. It is important to understand that not all methods are equally effective, and some can harm the device. We will honestly talk about the pros and cons of each approach so that you can choose the best option.

Before you make any changes, check the current RAM load: open Settings โ†’ About Phone โ†’ System Status โ†’ Memory. If the RAM is less than 20% free in normal use, itโ€™s time to act.

1. Virtual RAM (RAM Expansion) โ€“ the official way from Xiaomi

The easiest and safest method is to activate the virtual memory feature that Xiaomi has added to MIUI 12.5+.It uses a portion of the embedded memory (ROM) as an additional RAM, increasing multitasking.The feature is available on most modern models, starting with the Redmi Note 10 and Xiaomi 11.

How to turn on:

  1. Go to Settings โ†’ Additional settings โ†’ Expanded memory (RAM).
  2. Select the amount of virtual RAM: usually offered 1 GB, 2 GB or 3 GB.
  3. Confirm the action and restart the device.

The effectiveness of the method depends on the model:

  • ๐Ÿ“ฑ Budget smartphones (Redmi) 9A, POCO M3): multitasking ~15-20%, But lags are possible with intensive use.
  • ๐Ÿ“ฑ Mid-segment (Redmi Note 12, Xiaomi 12 Lite): Up to 30% improvement, especially noticeable in gaming.
  • ๐Ÿ“ฑ Flagships (Xiaomi) 13 Ultra, Black Shark 5): minimality (1-5%), As the physical sensing is already enough.

โš ๏ธ Attention: Virtual RAM It speeds up the switching between applications, but it doesn't increase performance in games or heavy tasks. It just keeps background processes active for longer. It also shortens the lifetime of the internal memory (ROM) due to frequent recording cycles.

๐Ÿ“Š What Xiaomi model do you use?
Redmi Note 10/11/12
POCO X3/X4/X5
Xiaomi 11/12/13
Another model
I don't know.

Optimizing Current RAM: 7 Ways to Free Memory

Before you build up your RAM, try to make the most of what you have, and these methods work on all Xiaomi models, including older ones (Redmi 5, Mi A2):

  • ๐Ÿงน Turn off the autoload of applications: Go to Settings โ†’ Annexes โ†’ Auto-run and disable unnecessary programs, especially voracious messengers (Telegram, WhatsApp) and social networks.
  • โšก Activate Performance Mode: In Settings โ†’ Battery โ†’ Select โ€œHigh Performanceโ€ mode (reduces work time but speeds up the system).
  • ๐Ÿ”„ Limit background activity: In Settings โ†’ Annexes โ†’ Manage applications for each application, set โ€œLimit background activityยป.
  • ๐ŸŽฎ Use Game Turbo: For gamers: Enable Settings โ†’ Special facilities โ†’ Game Turbo and add games to the list.The system will prioritize resources for them.

Additional tricks for advanced:

  • ๐Ÿ› ๏ธ Turn off animation: Activate Settings โ†’ The phone. โ†’ Version. MIUI (Press 7 times to enable Developer Mode, then in Settings โ†’ Additionally. โ†’ For developers, install all animations on 0.5x or turn it off.
  • ๐Ÿ—‘๏ธ Clean the cache regularly: Use the built-in security utility โ†’ Cleaning or CCleaner application (but no more than 1 time per week!).
  • ๐Ÿ”ง Remove System Applications: With the ADB You can uninstall unnecessary Xiaomi services (e.g. Mi Video, Mi Music) Instructions: How to remove system applications through the use of the device ADBConnect your phone to your PC, turn on debugging USB In the developer settings, open the command line and type: adb shell pm uninstall -k --user 0 com.miui.video Replace com.miui.video with the package of the desired application ยซMIUI bloatware listยป..

Disable the autoload of unnecessary applications

Set the performance mode on "High"

Clear the cache through "Security"

Disable animation in the developer settings

Add frequently used games to Game Turbo-->

3. Root access and modification of system files

For risk-taking users, there are ways to actually increase RAM by changing system parameters, which requires root rights and doesn't work on all models.

  • ๐Ÿ”ง Change the build.prop file: Add the line dalvik.vm.heapsize=512m (The value depends on the current RAM. For example, for 4 GB of RAM, you can specify 768m.
  • ๐Ÿ“„ Editing vm.overcommit_memory: In the file /proc/sys/vm/overcommit_memory change 1 (Allows the kernel to allocate more memory than is physically available).
  • ๐Ÿ”„ Swappiness: Increase vm.swappiness (optimal value โ€” 60-80) Makes the system more active in using the paging file.

โš ๏ธ Warning: Incorrect changes to build.prop or system files can lead to bootloop (cyclic reboot) or complete device failure:

  1. Create a backup with TWRP or OrangeFox Recovery.
  2. Check the compatibility of the modifications with your model on the 4PDA or XDA Developers forums.
  3. Use root-enabled file managers (Root Explorer, FX File Explorer).

An example of a successful modification for the POCO F3 (6 GB of RAM):

ParameterReference valueNew meaningThe effect
dalvik.vm.heapsize384m512mReducing lags in games
vm.swappiness6075More aggressive use of swap
vm.vfs_cache_pressure10050Reducing the load on RAM when working with files

๐Ÿ’ก

Before you change your system files, check the current values with the command cat /proc/sys/vm/* in the root terminal, which will help you to return everything back in case of problems.

4. Hardware increase of RAM: is it possible?

Unlike a PC where RAM can be physically replaced, Xiaomi smartphones have RAM soldered to the motherboard, meaning that โ€œjust buy and paste a new barโ€ wonโ€™t work.

  • ๐Ÿ”จ Motherboard replacement: You can find a board from the same model, but with a large amount of RAM (for example, replace the board from the Redmi Note). 10 Pro 6/128 GB version 8/128 GB. Cost from 5 000 before 15 000 ruble + masterwork.
  • ๐Ÿ”ฌ Chip soldering: Some service centers offer to solder RAM chips on the board โ€” 30-40%) And expensive. 20 000 Suitable only for flagships (Xiaomi) 12 Pro, Black Shark 4).

โš ๏ธ Warning: Hardware modifications are warranty-free and can cause the device to operate in an unstable manner, for example, sensors may not work after the board is replaced (gyroscope, NFC) Or a camera before the procedure:

  • Check the compatibility of the boards by model number (Fastboot mode โ†’ Product name).
  • Check with the master whether the IMEI and serial number will remain (otherwise the phone will become a โ€œbrickโ€ for telecom operators).
  • Make sure the new board supports your version of MIUI (otherwise you will have to flash the device again).

Alternatively, if youโ€™re critically lacking RAM, it may be cheaper to sell your current smartphone and buy it for a model with more memory, for example, the difference between the Redmi Note 11 (4/64 GB) and the Redmi Note 11 Pro (6/128 GB) is only 3,000-5,000 rubles in the secondary market.

5. Alternative firmware: Custom ROM with optimized memory management

Some custom firmware (e.g. LineageOS, Pixel Experience, Havoc-OS) offer more flexible RAM management than standard MIUI. They remove unnecessary Xiaomi services and optimize the kernel for better multitasking.

The advantages of custom firmware for RAM:

  • ๐Ÿš€ Bloatware Removal: There are no background processes of MiuiDaemon, Analytics, and other system services that eat up to 500MB of RAM.
  • ๐Ÿ”ง Core settings: You can manually adjust settings LMK (Low Memory Killer โ€“ a mechanism that kills processes when memory is scarce.
  • ๐Ÿ”„ ZRAM/ZSWAP: Enabling real-time memory compression (savings up to) 30% RAM).

How to Switch Custom Firmware:

  1. Unlock the bootloader through the Mi Unlock Tool (requires a Mi Account binding and wait 7-14 days).
  2. Install custom recovery (TWRP or OrangeFox).
  3. Download firmware (like LineageOS 20 for your model) and GApps (if you need Google services).
  4. Flow through recovery by running Wipe โ†’ Format Data (Warning: Delete All Data!).

Recommended Firmware for Popular Models:

ModelRecommended firmwareIncreased RAM (reviews)
Redmi Note 10 ProPixel Experience 13Up to 1 GB of โ€œfreeโ€ memory
POCO X3 ProArrowOS 13Improve multitasking by 40%
Xiaomi Mi 11LineageOS 20Reducing lags in games

๐Ÿ’ก

Custom firmware does not increase performance by actually increasing RAM, but by optimizing its use, but it does require technical skills and lacks warranty.

6. Myths about increasing RAM: what doesn't work

You can find advice on the Internet that is not only useless, but also dangerous.

  • โŒ ยซApplications for RAM cleaningยป (RAM Booster, Clean Master: They only force processes to close, which has the opposite effect of having the system re-load data into memory. MIUI Security โ†’ Cleaning (it just shows you which apps can be closed manually).

โš ๏ธ Note: If you have received a guide that is:

  • Install APK-file RAMยป โ€” It's a virus or a blanket.

๐Ÿ’ก

Before applying questionable tips, check them out on the 4PDA or XDA forums. Usually there are myth-exposing themes for specific Xiaomi models.

FAQ: Frequent questions about increasing RAM on Xiaomi

Can I increase RAM on Xiaomi Redmi 4X (2 GB RAM)?
On older models (released before 2018) there is no official support for virtual RAM. The only working ways are: Optimize current RAM (disable autoboot, remove bloatware via ADB). Install custom firmware (for example, LineageOS 14.1), but the increase will be minimal. Hardware increase or soldering of chips on such models is impractical - the cost will exceed the price of the phone.
How much RAM does RAM Expansion really add?
It doesn't increase physical memory, it creates a swap file on the built-in storage. UFS-memory: UFS 2.1 (Redmi Note 10, POCO X3): growth ~15-20% (markedly). UFS 2.2 (Xiaomi 11T, Redmi K40): before 30% (playable). UFS 3.1 (Xiaomi 12, Black Shark 5): before 40%, But you can have lags when you're under a lot of pressure, compared to smartphones with eMMCs (Redmi). 9A) virtual RAM It is not useful due to the slow reading/writing speed.
Will virtual RAM work if you disable the paging file?
No, it's two related functions. RAM into MIUI zRAM (real-time memory compression) + If you turn off swap (swapoff) -a in the root terminal, virtual RAM To get it back, do su swapon. /dev/block/zram0
Can I increase the RAM on Xiaomi without root?
Yes, but only in two ways: Virtual RAM (official MIUI function), Optimizing current RAM (disable autoboot, clear cache), all other methods (system file editing, custom cores) require root access or unlocked bootloader.
How to check if virtual RAM works?
Use the DevCheck or AIDA64 app: Open the Memory section. See the Swap total string - if the value is greater than 0, virtual RAM is active. In AIDA64, also check ZRAM (must be enabled). Alternative: type in the terminal (requires ADB or root terminal): adb shell free -h The output should be the Swap string: with a non-zero value.