Owners of Xiaomi Redmi 5 Plus (codename vince) often face the problem of lack of free space, despite the 32 or 64 GB of internal memory. It is not just in user photos or applications, the system creates dozens of hidden files: cache, log files, remnants of remote programs and even duplicate media. Unlike modern smartphones, Redmi 5 Plus based on MIUI 9-12 does not have a built-in โsmartโ cleaner, so you have to act manually.
The main difficulty is that deleting system files through a standard file manager can cause firmware to fail, especially if it is about folders. /data or /system. In this article, we will understand 7 Safe ways to free up memory, including hidden functions MIUI, ADB-We'll talk about the kind of files you can't touch, even if they take up gigabytes.
1. Analysis of occupied space: what exactly eats memory?
Before you delete something, you need to know which files are taking up the most space. There are two tools on Redmi 5 Plus to do this:
- ๐ Built-in memory analyzer: go to Settings โ Memory of the device. Here, the system will show the categorization (applications, media, systems). /data.
- ๐ Files by Google (formerly Files Go): Googleโs app scans memory and sorts files by type (duplicates, large files, unused files) APK). Suitable for searching for โjunkโ data.
Typical memory eaters on Redmi 5 Plus:
| Type of file | Approximate volume | Can I remove it? |
|---|---|---|
| App cache (.cache) | 1-5 GB | Yeah, no risks. |
| Log files (logs, dumpstate) | 500 MB-2 GB | Yeah, but not all. |
| Remnants of Remote Applications (/data/app-lib) | 200 MB-1 GB | Yes, through ADB. |
| Photo/video duplicates (Thumbs,.nomedia) | 300 MB-3 GB | Yes, manually. |
| System APK (/system/priv-app) | 2โ4 GB | No, the risk is brick. |
Note: the /data/dalvik-cache folder can weigh up to 1GB, but you canโt manually delete it โ itโs restored by the system when you restart, but it takes time and CPU resources. Better clear through Settings โ All apps โ Google Services Framework โ Clear the cache.
2. Cleaning the cache of applications without root rights
The safest way to free up 1-3 GB is to remove the app cache. On Redmi 5 Plus, there are three ways to do this:
- Through MIUI settings: Open Settings โ All apps. Slip three dots in the top right corner โ Size sort. Select an app (like Facebook or Google Play Services) โ Storage โ Clear cache.
- Mass Clean: Go to Settings โ Device Memory โ Clean. You can delete the cache of all applications at once (Clean the bottom of the screen button).
- Using Recovery (if the smartphone is slowing): Turn off the phone โ pinch Power + Volume Up โ select Wipe Cache Partition.This will not affect user data, but will delete the system cache.
โ ๏ธ Warning: Don't confuse Clear cache and Clear data! The second action will delete all the application settings (e.g., logins in messengers or saves in games).
โ๏ธ Safe cleaning of the cache
3. Delete unnecessary system files (without root)
Even without superuser rights, Redmi 5 Plus can delete some system files that donโt affect stability, and the rule of thumb is that donโt touch files in /system and /vendor folders, which will lead to a โbrick.โ
What can be removed:
- ๐๏ธ Log files: folders /data/log, /data/anr, /data/tombstones. It contains error reports and memory dumps, deleted through any file manager (e.g., file manager, FX File Explorer or Solid Explorer).
- ๐ฌ MiniThumbails: folder /data/data/com.android.providers.media/databases It contains thumbnails of media files. You can delete thumbnails. 500 MB).
- ๐ฆ Remains of updates: folder /cache often contains firmware files (update.zip). You can remove them if you donโt plan to roll back to the old version. MIUI.
To access these folders:
- Install FX File Explorer from Google Play.
- Enable the display of hidden files in the manager settings.
- Go to the Root Directory โ Data (if access is denied, use ADB, see the next section).
What happens if you delete /data/dalvik-cache?
4.Use of ADB for deep cleaning
If standard methods don't work, you can connect to your phone via Android Debug Bridge (ADB) and delete files that aren't available through the GUI, which requires a computer and minimal command line knowledge.
Step-by-step:
- Download ADB Tools and unpack it into a folder on your PC.
- On your phone, turn on Settings โ About Phone โ MIUI version (tap 7 times to activate the developer mode).
- Return to Settings โ Additional โ For developers and enable USB debugging.
- Connect Redmi 5 Plus to your PC and in the command line (in the folder with ADB) do: Adb devices Must appear device with a serial number.
- To remove the cache of all applications: adb shell pm trim-caches 1000G (where 1000G is a conventional value meaning "clean everything").
Other useful ADB-Teams for Redmi 5 Plus:
- Removal of memory dumps: adb shell rm -rf /data/tombstones/*
- Cleaning Dalvik cache (reboot required): adb shell rm -rf /data/dalvik-cache/*
- List of the largest folders in /data: adb shell du -h /data | sort -rh | head -n 10
โ ๏ธ Attention: Command rm -rf If you don't specify the right path, you can erase critical data. Always double-check the path and backup through adb backup before mass deletion.
๐ก
If ADB Can't see the device, try changing it. USB-cable (original or data support required) and enable the option "Cancel authorization" in the developer settings USB-debugging".
5. Removal of duplicates and unnecessary media files
Photos, videos and music often take up the lion's share of memory. On Redmi 5 Plus, the problem is compounded by the fact that MIUI creates duplicate folders:
- DCIM/.thumbnails โ miniatures for the gallery
- Pictures/Screenshots โ screenshots (can weigh 3-5 MB each)
- Download: Downloaded files that are often forgotten to delete.
- MIUI/Theme โ Themes and wallpapers downloaded through MIUI Themes.
How to find and remove duplicates:
- Use the Duplicate Files Fixer app (scans by content, not name).
- For manual verification, sort files in FX File Explorer by size: duplicates are often the same weight.
- Delete the.thumbnails folder โ it will recover automatically, but it will weigh less.
Pay special attention to the folder MIUI/Camera โ There may be some bad ones here. HDR-Photos (files with.tmp extension) that do not appear in the gallery, but take up space.
6. Disabling and removing embedded applications
MIUI on Redmi 5 Plus comes with dozens of pre-installed apps that canโt be removed by standard means, but can be disabled or uninstalled via ADB.
List of safe applications to disable:
- ๐ต com.miui.player โ Music (if you use Spotify or VK Music);
- ๐ฐ com.miui.video - Video (replaceable to video) MX Player);
- ๐ com.miui.notes โ Notes (if synced with Google Keep);
- ๐ com.miui.browser - Browser MIUI (Use Chrome better);
- ๐จ com.android.themes โ Themes (unless you change the design).
How to turn it off:
- Go to Settings. โ All applications.
- Select the unnecessary application โ Disable (the button will become active only for system applications).
How to remove via ADB:
- Connect your phone to your PC and execute: adb shell pm uninstall --user 0 com.miui.player (replace com.miui.player with the desired application package).
- To return the application, use: adb shell cmd package install-existing com.miui.player
โ ๏ธ Note: Do not remove applications with com.android, com.qualcomm or com.xiaomi packages (e.g. com.xiaomi.finddevice is responsible for finding the phone). GPS mobile.
๐ก
Disabling system applications does not free up disk space, but stops their background activity, which saves battery power and RAM.
7. Factory reset: when is it justified?
If all previous methods failed, the last resort is hard reset, which on Redmi 5 Plus will delete all user data, but will put the phone back out of the box, including cleaning:
- All installed applications and their data;
- Multimedia files (photos, videos, music);
- Settings of Wi-Fi, Bluetooth and accounts;
- System cache and temporary files.
How to reset:
- Save important data on your PC or in the cloud (Google Drive, Mi Cloud).
- Go to Settings โ Additional โ Recovery and Reset โ Resetting.
- Choose to erase everything and confirm the action.
Alternative method (if the phone is not turned on):
- Turn off Redmi 5 Plus.
- Press Power + Volume Up to log in to Recovery.
- Select Wipe Data/Factory Reset โ Yes.
- After reset, select Reboot System Now.
โ ๏ธ Attention: On Redmi 5 Plus with an unlocked bootloader reset can cause data loss in the folder /sdcard (internal memory, even if it's formatted as portable storage. Always backup with adb pull /sdcard.