Xiaomi smartphones based on MIUI As time goes on, even flagship models start to slow down, for reasons ranging from overloaded memory to unoptimized background processes. But in 90% of cases, slow work can be corrected without visiting the service center โ it is enough to configure the system correctly and use hidden firmware functions.
This article is not just a collection of standard tips like "clean up the cache," but we're going to break down the system mechanisms. MIUI, What really affects productivity: from shutdown MIUI Optimization (yes, it's not a myth!) to fine-tune the CPU core through an engineering menu.All methods tested on the Redmi Note 12 Pro+, Poco F5 Xiaomi 13 Ultra with the latest firmware versions.
Important: some recommendations require unlocking the bootloader or root rights, and we'll highlight these points separately, they'll only be suitable for advanced users, and beginners will have enough basic methods from the first sections.
1.Diagnostics: Why Xiaomi has become slow
Before you can optimize, you need to understand the root of the problem. MIUI There are built-in tools for performance analysis:
- ๐ Activity monitor: shows which applications are loading the processor. Path: Settings โ The phone. โ Activity monitor (tap 5 times on "Version" MIUIยป, if there is no clause).
- ๐ Battery statistics: displays background processes. Go to Settings โ Battery โ Battery usage and sort by "Operation time in the backgroundยป.
- ๐จ Failure log: if the phone is "freezing", check Settings โ Memory. โ Failure log: Frequent errors miui.analytics or com.xiaomi.mipicks are a sign of system services problems.
Critical information: if the activity monitor process kswapd0 or kworker is constantly loading CPU 30%+, This indicates a lack of RAM and active use of the paging file, in which case only expansion will help. RAM via zRAM (Section 5) or disabling unnecessary services.
| Symptoms. | Probable cause | Decision |
|---|---|---|
| Lags when opening applications | Lack of RAM, fragmentation of storage | Cache cleanup, zRAM setup, background processes disable |
| Hanging when scrolling the menu | Animation overload MIUI or crashes in Launcher | Disable animations, reset launcher, transition to Nova Launcher |
| Heat and slow work in games | Trottling the processor due to overheating or limitations MIUI | Setting up Game Turbo, shutting down MIUI Optimization, replacement of thermopaste (for older models) |
| Long load after restart | Too many autoloading applications or a corrupted file system | Cleaning up the autoload through ADB, check-in |
โ ๏ธ Note: If the Xiaomi phone began to brake immediately after the update MIUI, Don't rush to reset your settings. First, check the firmware version in Settings. โ The phone, for example, in MIUI 14.0.4 for Redmi Note 11 was a download bug CPU The system process mediaserver - it was fixed only in 14.0.6. In such cases, only a rollback or waiting for a patch will help.
Basic Optimization: What You Can Do Without Root
Start with these methods โ they require no special knowledge and are safe for the system.
Clearing cache and debris
V MIUI The cache doesn't clear the same way as on pure Android. Use the combination:
- Normal cleaning: Settings โ Memory. โ Clean (removes only the user cache).
- Deep cleaning: Settings โ Annexes โ Application management โ Filter (three dots) โ Show all the processes. Here, select system applications like com.miui.analytics and manually clear their cache.
- Dalvik-cache Cleanup: Requires a Reboot in Recovery (Clutch Power) + Volume up when turned on and select Wipe Cache Partition.
Hidden trick: After cleaning the cache, restart the phone in Safe Mode (clip Power, then long tap on "Switch offยป โ ยซSafe Mode Restart. It turns off all third-party apps -- if the phone is fast, the problem is exactly one of the installed software.
Disable animations and visual effects
MIUI She's known for her beauty, which eats resources to speed up the interface:
- ๐จ Turn off animations: Settings โ Special facilities โ Remove animations (turn on this switch).
- ๐ Switch to "Easy Mode": Settings โ Screen. โ Display mode โ Light (removes shadows and gradients).
- ๐ Turn off smooth transitions: in Settings โ About the phone tap 7 times on the "Version" MIUIยป, Then go back to โSettingsโ. โ Additionally. โ Developer โ The scale of the window/transition animation and install 0.5x.
Clear the cache of system applications|Disable animations in settings|Reboot to Safe Mode for the test|Remove unused applications through ADB|Disable Auto-Update Software-->
Control of autoload and background activity
MIUI aggressively holds apps in memory even when they're not needed to limit it:
- Manual setting: Settings โ Battery โ Choice of battery mode โ Setting. For each application, select โLimit background activityยป.
- Autoboot List: Settings โ Annexes โ Application management โ Autorun. Turn off autoboot for all applications except instant messengers and system services.
- ADB-Deep cleaning commands (without root): adb shell pm disable-user --user 0 com.miui.analytics adb shell pm disable-user --user 0 com.xiaomi.mipicks adb shell pm disable-user --user 0 com.miui.systemAdSolution Teams Will Disable Xiaomi Analytics and Advertising Services.
โ ๏ธ Attention: Do not turn off through ADB System processes like com.android.phone or com.miui.securitycenter will result in lost communications or security issues. XDA Developers for your model.
3. Advanced optimization: engineering menu and hidden settings
These methods require caution, but give a noticeable increase in productivity.
3.1. Shutdown MIUI Optimization
MIUI Optimization is Xiaomi's proprietary layer that manages memory and processes. Unfortunately, it often performs worse than standard Android:
- Unlock the developer settings (7 taps by "Version") MIUIยป In Settings โ The phone).
- Go to Settings. โ Additionally. โ For developers and find an option MIUI Optimization (can be called Optimization) MIUI optimization).
- Turn it off and restart the phone.
What does it mean?
- โก Increased time in the background for applications (for example, the music will not stop after 5 minutes).
- ๐ Multitasking improves โ apps stay in memory longer.
- โ ๏ธ But: battery consumption may increase by 5-10% as the system stops aggressively killing processes.
๐ก
After the blackout MIUI Optimization install the Greenify app (requires root) to manually manage hibernation applications.This will help balance performance and battery consumption.
Customization of the processor core through the engineering menu
In the engineering menu (#4636##) you can manually adjust the CPU settings. Careful: the wrong values can lead to overheating!
For most Xiaomi smartphones on Snapdragon, the optimal settings are:
- ๐ง CPU Input Boost Duration: Install 500 ms (reduces touch delays).
- ๐ฅ Thermal Engine: Turn off MI Thermald (if the phone doesnโt overheat) is the removal of clock speed restrictions.
- ๐ถ Preferred Network Type: Select to Save Resources LTE only (if not necessary) 5G).
For MediaTek processors (for example, in Redmi Note 12), additional options are available:
- ๐ CPU Governor: Choose performance for maximum performance or ondemand for balance.
- ๐พ I/O Scheduler: Set CFQ to SSD-Noop or noop for eMMC.
โ ๏ธ Note: Changing the kernel settings on MediaTek processors can lead to a hard brick (total loss of performance) if incompatible values are selected. Before experimenting, check the supported settings for your model on the computer. 4PDA or XDA.
Optimization of the file system
Over time, the file system fragments, which slows down the read/write. MIUI There is no built-in defragmenter, but it can be:
- ๐ Use fstrim to optimize storage (requires) ADB): adb shell fstrim -v /data adb shell fstrim -v /cache Run this command once a month.
- ๐ Switch to switch to F2FS (If your phone supports you, you need to re-flash the section. /data through TWRP. Detailed instructions are available for Poco F1, Redmi K20 Pro and other models with UFS 2.1+.
What is it? F2FS and whether to cross?
4. Expansion of RAM: zRAM and swap
Shortage RAM โ The main reason for the lag on budget Xiaomi, you can solve this without upgrading hardwareยป.
Setting up the zRAM
zRAM is compressed RAM in the Linux kernel. MIUI It is disabled by default, but it can be activated:
- Install Termux from F-Droid (not from Google Play!).
- Enter commands: su echo 1 > /sys/block/zram0/reset echo 4G > /sys/block/zram0/disksize mkswap /dev/block/zram0 swapon /dev/block/zram0 Here. 4G โ virtuality RAM (can be indicated 2G or 6G model-wise).
- To keep the changes after the reboot, add these commands to the script. /data/adb/post-boot.d/99zram.sh.
Recommendations for zRAM sizes:
| Physical RAM | Optimal zRAM | Note |
|---|---|---|
| 3-4 GB | 2-3 GB | It doesnโt make sense anymore, there will be a lot of stress on the CPU |
| 6GB | 3-4 GB | The Perfect Balance for Multitasking |
| 8-12 GB | 4-6 GB | It only helps if you use heavy games. |
Alternative: swap file on internal memory
If zRAM doesn't work, you can create a swap file on the internal drive, minus the increased wear and tear of the memory.
- In Termux, do su dd if=/dev/zero of=/data/swapfile bs=1M count=2048 mkswap /data/swapfile swapon /data/swapfile Here's a count.=2048 creates a file size 2 GB.
- To turn off swap: swapoff /data/swapfile rm /data/swapfile
โ ๏ธ Note: Do not create a swap file on a microSD card, which will critically slow down the system due to low read/write speeds. 9A), As this will reduce the life of the storage.
๐ก
zRAM is more efficient than a swap file, because it uses compression in memory rather than writing to disk. 4xx) zRAM can create additional stress on the CPU.
5. Optimization for Games: Game Turbo and Hidden Chips
If your Xiaomi is slowing down in games, the standard Game Turbo doesn't always help.
5.1 Game Turbo setup
By default, Game Turbo limits performance to reduce heat. To remove the restrictions:
- Open Game Turbo (Icon in the App Menu or through Settings) โ Special facilities โ Game Turbo).
- Choose a game, then:
In the "Settings" section, activate ยซ4D-Vibration and Tactile Feedback โ This reduces delays when touching.
5.2 Acceleration GPU through the engineering menu
For Adreno phones (such as Snapdragon) 7xx/8xx) frequency can be increased GPU:
- Install. 3C Toolbox or Kernel Adiutor (requires root).
- Find the section GPU And increase Max Frequency by 10 to 15 percent of the standard. For example, for the Adreno 640 (in the Snapdragon 855), the default frequency is 585 MHz, you can raise it to 650 MHz.
- Donโt touch Min Frequency โ it can cause overheating.
Examples for popular chipsets:
| Processor | GPU | Stock frequency (MHz) | Recommended acceleration (MHz) |
|---|---|---|---|
| Snapdragon 732G | Adreno 618 | 825 | 900โ950 |
| Snapdragon 865 | Adreno 650 | 675 | 720โ750 |
| Dimensity 1200 | Mali-G77 MC9 | 850 | 900โ920 |
5.3. Disabling restrictions MIUI play-off
MIUI limiting FPS In games, even if iron allows more, to remove the constraints:
- Install Magisk and module MIUI Debloater.
- In the module settings, disable services: com.miui.gamebooster com.xiaomi.gamecenter.sdk.service
- Reboot your phone and check it out. FPS into GFX Tools or GameBench.
How to determine:
- Unlock the bootloader via Mi Unlock Tool (requires Xiaomi account binding and wait 7 days).
- Install. TWRP For your model (instructions for 4PDA).
- Download the core with XDA or Telegram channel of the developer and go through TWRP.
- After installation, do the wipe. dalvik/cache.
โ ๏ธ Note: Some custom cores turn off Widevine L1, Why Netflix and Disney are+ It will be available in a resolution below Full. HD. Before installing, check on the forums if the Widevine kernel supports.
6.2. Transition to custom firmware
If MIUI Too busy, consider alternatives:
- ๐ฑ Pixel Experience is pure Android with Google updates. X3, Redmi Note 10.
- โก LineageOS is a stable firmware with minimalist interface, a good choice for Mi 9 or Mi. A3.
- ๐ฎ Corvus OS โ firmware for gamers with advanced performance settings.
Cons of custom firmware:
- โ No official camera support (you will need to manually install GCam).
- โ Possible problems with NFC or IR-blaster.
- โ Ban in Mi Account (if you are stitching through the unofficial version).
๐ก
Before installing custom firmware, check if it supports OSS Camera HAL (for the operation of the camera; and VANT (This information is usually listed in the first post of the firmware topic on the XDA.
7 Hardware Methods: When Nothing Helps
If software optimization fails, the problem may be hardware.
Replacement of thermopaste
Overheating is a common cause of trottling (automatically lowering the CPU frequency), and on phones older than 2 years, the heat paste dries out.
- Buy the Arctic Thermopaste MX-4 Or the Thermal Grizzly Kryonaut.
- Disassemble your phone (see YouTube for instructions for your model for โdisassembly [model]โ).
- Clean the old paste with alcohol, apply the new thin layer (no more rice grain).
Models where it is relevant: Poco F1, Redmi Note 8 Pro, Mi 9T โ They have a weak cooling system.
Replacement of the storage device
If the phone brakes even after reset, it may be the fault of a slow eMMC. On some models (for example, the Redmi Note 7) you can replace the memory chip with a faster one.
- โ ๏ธ This is a difficult soldering work - do not take without experience.
- ๐ฐ Cost of replacement UFS 2.1 can exceed the price of the phone.
- ๐ง After replacement, you need to re-strip the phone.
The alternative is to use the phone as a โsecondaryโ device (for example, for calls and instant messengers), transferring heavy tasks to a PC or tablet.
8 Prevention: How to avoid future slowdowns
To ensure that Xiaomi does not slow down over time, follow these rules:
- ๐ต Donโt install cleaners like Clean Master โ they only make things worse by constantly working in the background.
- ๐ Reboot your phone once a month to Recovery and choose Wipe Cache Partition.
- ๐ฅ Turn off auto-update apps in Google Play and update software manually.
- ๐ Do not let the battery discharge below 10% โ this accelerates battery degradation, which leads to trottling.
- ๐ Store at least 10% of free space on an internal drive (for example, 128 GB should be free 12-13 GB).
It is also useful to keep track of updates. MIUI. For example, in MIUI 15 for Xiaomi 13 added a feature Smart RAM Expansion, which automatically distributes memory between applications, can be enabled manually in older versions. ADB:
adb shell settings put global smart_ram_expansion_enabled 1๐ก
Create a task in Tasker or MacroDroid that will automatically clear the cache and reboot the phone once a week, and this will prevent the accumulation of garbage.