Xiaomi Redmi 5, released in 2017, is still a popular budget smartphone due to its reliability and the possibility of upgrading to the market. MIUI But over time, even this "unkillable" machine starts to slow down, overheat and emit "not enough memory" errors, and the reason is not because of the "aging" of the iron, but because of a clogged system: application cache, residual files, duplicate photos and unnecessary ones. APK It takes up gigabytes of space.
Unlike the new models with 128 GB of memory, Redmi. 5 In the basic version, it has everything. 16 GB, of which the user is available about 10-12 GB, and the Android system. 7.1.2 (or updated MIUI 11/12) self-employed 4-5 GB, and standard applications from Xiaomi β more 1-2 GB: After a year of active use of free space remains less 1 GB, which leads to disruptions.
This article is not just a collection of "delete unnecessary files" tips. 4 Cleaning level: from basic garbage disposal to deep system optimization with Redmi features 5 (codename rosy. you'll learn how to safely remove before 30-40% Unnecessary data without root rights, what settings MIUI Smartphones are slowing down, and why Xiaomiβs standard βcleanerβ removes only the tip of the iceberg.
1 Preparation: What to do before cleaning
Before you start deleting files, follow three critical steps: skipping them risks losing contacts, photos, or even locking your smartphone.
First, check the battery power. The deep cleaning process may take up to 30-40 It's a minute, and a bit of interruption will cause a file system error β β₯50%. If the battery is worn out (capacity is lower) 70% from the factory, connect Redmi 5 charging with the original cable - cheap analogues can cause overheating.
Second, back up critical data. Even if you don't plan to reset your settings, clearing the cache of some applications (e.g. com.android.providers.contacts) can cause you to lose contacts.
- π± Local Copying: Transfer the photo/video to a memory card or PC via a computer MTP (Transfer of files").
- βοΈ Xiaomi Cloud: Go to Settings β Xiaomi account β Mi Cloud and enable sync for Contacts, Notes and Gallery".
- π Third-party services: Google Drive is suitable for messages and calls (setting in Settings) β System system β Backup).
Third, determine the current state of memory. Go to Settings. β Memory and write it down:
Total volume (16 GB or 32 GB).
- Occupied space (if) >14GB of 16GB β Cleanup is urgently needed).
- Section "System Memory" (should be β€5GB; if more, a reset is required).
β οΈ Note: If in the "Memory" section you see the "Other" item in volume >3GB is a sign of fragmented files that cannot be deleted by standard means, but will require manual cleaning (see section 4).
Basic cleaning: remove garbage without software
Start with built-in tools MIUI. They're removing up to 1-2 GB of unnecessary data without affecting personal files.
Step 1. Clean up the app cache
- Open Settings β Applications β All applications.
- Slip on the three dots in the upper right corner and select Sort by size.
- Select cache apps >100 MB (e.g. YouTube, Facebook, MIUI Gallery).
- Click Clear Cache (not "Clear Data"!).
Step 2: Removing unnecessary APK and update
- π¦ Go to Settings. β Memory. β Files. APK Remove all unused installation packages.
- π B Settings β Annexes β Application management β System Updates Delete Old Update Files (They Can Weigh Up to 1.5GB).
Step 3: Cleaning up downloads and baskets
- π Open the Files app (com.android.fileexplorer) and go to the Download folder. Delete everything except the current documents.
- ποΈ In the Gallery, go to the Recycle Bin and clean it (files are stored there for 30 days and take up space).
Step 4: Disconnecting the garbage loading
Many apps (e.g. Mi Video, Mi Music) automatically download content in the background to prevent it from happening:
- Go to Settings β Battery and Performance β Autostart Management.
- Turn off auto-run for all applications except instant messengers and system services.
βοΈ Checklist of basic cleaning
3. Deep Cleanup: Hidden Files and System Garbage
Built-in tools MIUI leave out:
- Residual files after uninstallation of applications (folders) /data/data/).
- Logs of the system (/data/log/), weighable 500 MB.
- Duplicate photos and videos created MIUI Gallery in editing.
- Google Play Services cache (com.google.android.gms) that often exceeds 1GB.
Deleting them will require manual access to the file system, using two methods:
Method 1. Through the Files application (without root)
- Open Files and activate the hidden folder display (click on three dots) β Settings β Show hidden files).
- Move to the /storage/emulated/0/ and delete: Folder DCIM/.thumbnails (sketches of photos, before 200 MB. Folder. Android/data/ β This is where game and application data is stored. Delete the remote folders. MIUI/debug_log (log of errors, before 1 GB).
Method 2. ADB (skilled)
If you know me, ADB, execute commands to clean the cache of all user applications:
adb shell pm list packages -f | grep -E '^/data/app' | cut -d= -f1 | xargs -n1 adb shell pm clearTo clean up the Google Services cache:
adb shell pm clear com.google.android.gmsβ οΈ Note: Do not manually delete files in folders: /system/ β This will lead to a device blink. /data/dalvik-cache/ β Dalvik cache, required for application operation. /data/app-lib/ β If you're in doubt, you'd better skip the file.
What to do if the phone stops after cleaning?
4. MIUI Optimization: Disabling Unnecessary Functions
Xiaomi Redmi 5 is working on the MIUI, And that's the default, which includes a lot of background processes, and if you turn them off, you'll free up to 500 MB of RAM and reduce the heat.
What can be safely disabled:
| Function | Path in settings | Savings in resources |
|---|---|---|
| Interface animation | Settings β The phone. β Version. MIUI (tap 7 times to unlock Developer Settings, then Developer Settings β Scale of animation (off.) | β The load on GPU 15% |
| Auto-Update MIUI | Settings β The phone. β Updating the system β Settings (β) β Auto-update (off.) | β Background activity at 5% |
| Mi Cloud (if not used) | Settings β Xiaomi account β Mi Cloud β Synchronization (offset.) | β Network traffic at 20% |
| Smart help (MSA) | Settings β Advanced settings β Smart help. β Turn off all switches. | β Use of RAM on 100-150 MB |
Autostart optimization:
Many Xiaomi system applications are automatically launched to disable them:
- Install App Inspector from Google Play.
- Find apps with rights BOOT_COMPLETED (for example, com.miui.weather2, com.miui.videoplayer).
- Turn off auto-start via Settings β Battery β Autostart control.
π‘
If gestures stop working after the functions are turned off (for example, double tap to wake up), return the settings to Settings. β Lock screen and password β Additional settings.
5. Memory cleanup with third-party applications
Standard "cleaner" in MIUI It only removes surface debris:
1. SD Maid (requires root for full functionality)
- π§Ή Deletes residual files (corpses) after uninstallation of applications.
- ποΈ Cleaning up the databases (DB Vacuum, reducing their size by 20-30%.
- π Finds duplicate photos and videos (including hidden.nomedia folders).
For Redmi 5 without root, AppCleaner is suitable β it removes cache and temporary files deeper than the built-in tools.
2. Files by Google
- π Automatically finds large files (>100 MB) and unused applications.
- π Offers to clean up junk files (e.g..apk,.tmp).
- βοΈ Integrated with Google Drive for backup.
3. CCleaner (only for cache cleanup!)
Do not use the Optimization function β it kills background processes that are on Redmi. 5 s 2/3 GB of RAM will lead to even bigger brakes:
- ποΈ Cleaning up the app cache.
- π₯ Delete files from Download and DCIM.
β οΈ Note: Do not use "radiation boosters" (e.g. Clean Master, DU On Redmi 5, they: Increase wear and tear on flash memory due to frequent write operations. MIUI, This will cause a cyclical reboot, slowing down because of the constant scan in the background, and the only safe way to free up RAM is to restart the phone.
Extreme measures: reset to factory settings
If after all the manipulations of the free space is less than 1 GB, and the smartphone slows down when opening even standard applications, there is a hard reset. On Redmi 5, this can be done in two ways:
Method 1. Through the settings menu (stores data on the memory card)
- Go to Settings β Additional β Recovery and Reset β Resetting.
- Select Delete all data (do not Reset settings!).
- Confirm the action and wait for the reboot (it will take 5-10 minutes).
Method 2. Through Recovery (if the phone is not turned on)
- Turn off Redmi 5.
- Press the Power button + Volume up until the Mi logo appears.
- In the Recovery menu, select Wipe Data β Wipe All Data (control β volume buttons, confirmation β power button).
- After reset, select Reboot.
What to do after the discharge:
- π§ Donβt restore backup through Mi Cloud β it will bring back all the trash.
- π² Transfer applications to the memory card (if installed) through Settings β Annexes β Move it to SD.
- π« Donβt install antiviruses and βoptimizersβ β they will only worsen performance.
π‘
The factory reset on Redmi 5 only removes user data, not system updates. If you want to roll back to the factory firmware, you'll need firmware through Fastboot.
7.Prevention: How to avoid repeated clogging
To prevent Redmi 5 from becoming a brick in a month, follow these rules:
1. Control of installed applications
- π΅ Remove unused programs immediately after installation.
- π Before installation, check the size APK Google Play (Do not play games) >500MB).
- π Use Lite versions of apps (e.g. Facebook Lite, Messenger Lite).
2. Data storage configuration
- π· In the Gallery, turn off Auto-Save Screenshots (Gallery Settings) β Additionally).
- π΅ In Mi Music and Mi Video, turn off Auto Cover Download.
- βοΈ Configure Google Photos to automatically upload photos to the cloud, and then delete local copies.
3. Regular cleaning
- ποΈ Once a week, run the built-in cleaner (Security) β Cleanup).
- π Check the Download folders once a month and DCIM presence of unnecessary files.
- π Reboot your phone once every 3 months β it clears up tmpfs (Temporary core memory).
π‘
If you often shoot videos, set the camera to record in resolution. 720p instead 1080p. The difference in quality is minimal, and the place is saved by 2 times.