Your Xiaomi is slowing down, apps are slow to open, and animations are twitching? That's no reason to run to the service center. In 90% of cases, the problem is solved by software methods - without disassembling the device and replacing components. Even the low-end Redmi or Poco models can run faster if you set them up properly. MIUI and optimize background processes.
Smartphone performance depends on three key factors: RAM load, storage state, and firmware efficiency. In this article, weโll look at unique techniques for Xiaomi that donโt work on other Android devices โ such as hidden settings. MIUI Optimization or cache management features in the shell, you will learn how to bring back the old โshwingโ even older models like the Redmi Note 5 or Mi 8, without resorting to radical measures like flashing.
Important: All methods tested on current versions MIUI 14/15 (Android 13/14) and compatible with most of the brand's devices. 2019 Some items may require adaptation - we will warn about this separately.
1.Diagnostics: Why Xiaomi is slowing down?
Before optimizing, you need to understand the root of the problem. Xiaomi often suffers from:
- ๐ Overloaded autoload โ MIUI aggressively adds apps to auto-run, even if you donโt use them.
- ๐๏ธ Clogged cache - system cache (/data/dalvik-cache) and the cache of applications can take up to 5-7 GB.
- ๐ Background activity โ MIUI Hiding part of the process from the standard task manager.
- ๐ ๏ธ Unoptimized animations โ the shell defaults to heavy transitions that slow down on weak chips.
To accurately identify the bottleneck, follow these steps:
- Open the Settings. โ The phone. โ Version. MIUI and tap 7 times on the "Kerole" line - this will turn on the developer mode.
- Back to Settings โ Additionally. โ For developers and find Process Statistics (or Use of RAM).
- Look at which apps consume the most memory in the background, if there are messengers or social networks at the top, there is a problem with booting, if system processes (com.miui.home, android.system) need to clear the cache.
The critical point: if you see the statistics of the processes kswapd0 or kworker with a high load on CPU โ This is a sign of a degradation of flash memory, and in this case, only replacing the drive or completely resetting with flashing will help.
2. Cleaning the system: remove garbage and cache
MIUI It's known for actively cacheing data, but rarely cleaning it automatically. 6-12 A smartphone can choke on unnecessary files for months of use. Here's how to fix it without losing data:
Clearing the application cache
The safest way is to remove the cache for all applications at once:
- Go to Settings โ Applications โ Application Management.
- Slip on the three dots in the top right corner and select Sort by size.
- Select apps with large cache (usually YouTube, Telegram, Google Play Services) and click Clear Cache.
For deep cleaning, use a hidden function MIUI:
Enter the dialer in ##4636##
Select "Use Statistics" โ "Use of RAM"
Click Clear Cache (this will remove dalvik-cache, which is equivalent to rebooting in recovery with wipe cache)System debris disposal
MIUI creates temporary files that are not automatically deleted:
- ๐ Use a file manager (such as Mi File Manager) and go to the folder /storage/emulated/0/MIUI/ โ delete all contents.
- ๐๏ธ Find it in the same file. /storage/emulated/0/Android/data/ and delete the folders of applications that you have deleted long ago (they can stay and take up space).
- ๐ To search for large files, use the command in ADB: adb shell du -ah /sdcard/ | sort -rh | head -n 20 It'll show the top.-20 the heaviest files on the device.
๐ก
If you clean the cache, it's normal to slow down the applications, and the system will restore the data that it needs. 1-2 The day of use, but without the "junk" residues.
2.3 Cleaning through Safe Mode
If the smartphone is slowing down so much that it does not respond to commands, try safe mode:
- Press the power button before the off menu appears.
- Press and hold the โSwitch offโ option โ a suggestion will appear to go to Safe Mode.
- This mode has disabled all third-party apps, and if the phone is fast, it's one of the apps that you've installed that's to blame.
Backup of important data|Check the battery charge (minimum 50%)|Remember logins/passwords from accounts|Disable two-factor authentication for 1 hour (in case of blocking)-->
3. MIUI Optimization: Hidden Performance Settings
MIUI It has hidden functions that are not visible in the standard interface, and activating them can significantly speed up the smartphone.
3.1. Shutdown MIUI Optimization
This feature is designed to be smooth in animations, but on weak devices, it only slows down the system.
- Activate the Developer Mode (as in Section 1).
- Go to Settings โ Additional โ For developers.
- Find the items: Disable MIUI Optimization (or) MIUI Optimization) Limit background processes (set โNo background processesโ or โMaximum 2 processesโ) Window animation, transition animation, animation scale โ set the value to Disable animation or 0.5x
Attention: on some firmware disconnection MIUI Optimization can cause themes to fail. If the theme is lost after the reboot, return the settings and use alternative methods.
Configuring the task scheduler
MIUI It kills the background aggressively, but sometimes it interferes with multitasking:
| Parameter | Recommended value | The effect |
|---|---|---|
| Limitation of background processes | Maximum 3 process | Reduces the load on RAM, but retains multitasking |
| Not to keep up the action | Disconnected. | Prevents the closure of applications when the screen is blocked |
| Optimization of MIUI | Disconnected. | Removes unnecessary system checks, speeds up the launch of applications |
| Animation of transitions | 0.5x or Disconnected | Speeds up visual transitions between screens |
Change in performance mode
V MIUI There are hidden performance profiles that can be activated through ADB:
adb shell settings put global power_profile 1 # Economy mode
adb shell settings put global power_profile 2 # Balanced (default)
adb shell settings put global power_profile 3 # Performance
adb shell settings put global power_profile 4 # Game mode (maximum frequency CPU/GPU)For continuous use of the game mode (relevant to the Poco F-series or Black Shark):
adb shell settings put global force_game_mode 1๐ก
Changing the productivity profile through ADB It resets after the reboot. Use Tasker or MacroDroid automation for permanent effect.
4.Manage autoload and background processes
One of the main reasons for the brakes is the auto-run of unnecessary applications. MIUI By default, it allows autoloading of almost all programs, including Xiaomi system services, which are often not needed.
Manual shutdown of the autoload
Method 1: Through Security Settings
- Go to Settings โ Applications โ Application Management โ Autorun.
- Sort the applications by the date of last use.
- Turn off autoplay for all apps you donโt use daily (especially Facebook, AliExpress, Mi Video, and other heavyweight services).
Method 2: ADB (for advanced users)
adb shell cmd appops set < application package > RUN_ANY_IN_BACKGROUND deny
Example for Telegram:
adb shell cmd appops set org.telegram.messenger RUN_ANY_IN_BACKGROUND deny4.2.Use of Greenify (without root)
Greenify allows you to freeze background processes without superuser rights.
- Install Greenify from Google Play.
- Activate the no root mode in the application settings.
- Add to the list of โwinterโ messengers, social networks and other applications that should not work in the background.
- Enable the Aggressive Doze option (required) ADB): adb shell dumpsys deviceidle force-idle
What apps should not be added to Greenify?
Limitation of synchronization
Background synchronization is one of the main causes of battery and brake discharge, and disable it for unnecessary accounts:
- Go to Settings โ Accounts and Synchronization.
- Select an account (such as Mi Account or Google).
- Turn off sync for unnecessary data (e.g. Mi Cloud Photos or Google Play Music).
Use of swap zone (Swap)
If you don't have enough RAM (2-3 GB, you can create a paging file on internal memory, and it's not a substitute for physical RAM, but it can help you avoid killing background processes.
Instructions (root or Magisk required):
1. Install a terminal (e.g., Termux).
2. Enter commands:
su
dd if=/dev/zero of=/data/swapfile bs=1M count=1024
mkswap /data/swapfile
swapon /data/swapfile
3. To make swap constant, add a line to /etc/fstab:
/data/swapfile none swap sw 0 0Attention: a swap file on flash memory will speed up the wear of the drive. Do not use this method constantly - only in emergency cases (for example, to start a heavy game โ 1-2 GB.
Dalvik optimization and ART
Android system uses the Dalvik/ART Optimizing these components can speed up the launch of programs on the 15-20%:
- Go to Settings โ Applications โ Application Management.
- Slap three points. โ Show system-based.
- Find Dalvik Cache and ART, clean their cache and data.
- Restart the phone โ the system will reassemble the cache, which may take 5-10 minute.
6 Hardware Methods: When Software Optimization Does Not Help
If all of these methods fail, the problem may be in the hardware, and here's what you can do without disassembling the device:
Checking the status of the storage device
Degradation of flash memory (eMMC or UFS) โ The reason for the brakes on old Xiaomi is frequent. ADB:
adb shell
su
cat /sys/block/mmcblk0/device/life_timeCompare the values obtained with the table:
| Meaning life_time | Status of memory | Recommendations |
|---|---|---|
| 0-0x0F | Excellent. | The drive is almost new, optimization is not required |
| 0x10-0x3F | Good. | You can continue using, but avoid heavy loads |
| 0x40-0x7F | Average. | Reduce the number of recordings (disable the camera cache, transfer applications to the camera) SD) |
| 0x80 higher | Critical | Drive on the verge of failure - get ready to be replaced |
Replacement of heat-conducting paste
Overheating of the processor (Snapdragon or Mediatek) leads to trottling - artificially reduced performance.If your Xiaomi heats up above 60ยฐC in simple tasks may have dried thermopaste.
Signs of a problem:
- ๐ก๏ธ The phone is heating up even in standby mode.
- โก Productivity is falling through 10-15 play-off.
- ๐ The battery is discharged for 2-3 hourly with minimum load.
So the solution is to replace the heat paste.
- Buy a high quality paste (such as Arctic) MX-6 Or the Thermal Grizzly Kryonaut).
- Disassemble your phone (see YouTube for instructions for your model for โdisassembly modelโ).
- Clean the old paste from the processor and radiator (use isopropyl alcohol).
- Apply the new paste in a thin layer (as thick as a sheet of paper).
Warning: Disassembling your phone is not warranty-free. If your device is warranty-free, contact your service center with a complaint about overheating, which is legally required to replace the heat paste free of charge if the problem is confirmed.
Disconnection of unused modules
Xiaomi often has hardware modules that you donโt use, but they consume resources:
- ๐ก NFC โ If you do not use contactless payments, disable in Settings โ Connections โ NFC.
- ๐ถ 5G โ on budget models (Redmi Note 10) 5G) module 5G It increases energy consumption. 4G In Settings โ SIM-maps and mobile networks โ Type of network.
- ๐ฎ Game Triggers โ on Poco and Black Shark, turn off Settings โ Additionally. โ Gaming functions.
- ๐ Second microphone โ if you donโt use stereo recording, turn off the engineering menu: ##36446337## โ Audio โ Mic Setting โ Mic Mode โ Mono
7. Alternative firmware: when MIUI self-retard
If all the techniques didn't work, it might be the firmware itself that's to blame. Xiaomi is known for downloading MIUI a lot of unnecessary services (especially on global versions:
7.1. Transition to EU-version MIUI
Xiaomi.eu is a modified version of the MIUI No bloatware, and better optimization:
- ๐ No Advertising in System Applications.
- ๐ More privacy settings.
- โก Updates are more common than on the global version.
- ๐ ๏ธ Built-in tools for cleaning the system.
How to determine:
- Unlock the bootloader through the Mi Unlock Tool (instructions on the official website).
- Download the firmware from Xiaomi.eu (choose the version for your model!).
- Install it through TWRP (Castom Recovery).
Note: Some models (Redmi Note 11 and later) require a 7-day Mi Account to be linked to the device to unlock the bootloader.
Installation of custom firmware (AOSP)
If MIUI It is not very good, you can install a clean Android (AOSP) Or firmware like LineageOS, Pixel Experience:
- ๐ฑ No unnecessary services Xiaomi.
- ๐ More smooth animation.
- ๐ Better privacy.
Cons:
- โ ๏ธ The camera may not work (you need separate modes like this). ANX Camera).
- ๐ Possible deterioration of autonomy.
- ๐ ๏ธ No official support (updates coming from community).
List of supported devices and instructions look for XDA Developers.
Recoil on the old version MIUI
Sometimes new versions MIUI If you've got the brakes after the upgrade, you can roll back:
- Download the required firmware version from miuirom.org.
- Go to Settings โ About the phone โ System update.
- Slap the icon ยซโฎยป โ Select a firmware file and specify the downloaded file.
- Confirm the rollback (the data will not be erased, but it is recommended to make a backup).
๐ก
Reverse to the old version MIUI It can only be done within a single major update (e.g., with a MIUI 14.0.5 by 14.0.3) Moving to an older branch (e.g. with MIUI 15. MIUI 14) requires full flashing via fastboot.