The internal memory of a smartphone becomes clogged as imperceptibly as dust in the corner of the room - until there is critically little space. High-resolution photos, application updates, game caches and hidden system files eat up gigabytes, and the phone starts to slow down, overheat and give errors when installing new apps. But donโt rush to buy a memory card or a new gadget: up to 70% of the occupied space you can free it up yourself if you know what exactly to clean and how to do it safely.
This article contains proven methods memory cleaning on Android (relevant for versions 10โ14), from basic (removing duplicate photos) to advanced (cleaning /data/app via ADB). We will look at which files can be deleted without risk to the system, and which files should not be touched, even if they take up a lot of space. Let's dwell separately on myths: for example, why clearing the cache does not always help, and why "empty" folders in the root directory are needed.
Warning for owners of budget smartphones with 16โ32 GB of memory: if after all the manipulations there is less than 10% free space left, consider transferring some of your data to SD card (if supported) or cloud storage. But first, try everything described below - often this gives +5โ15 GB immediately.
1. Application cache: what is it and is it worth clearing it?
Cache is temporary files that applications create to speed up work. For example, Instagram saves thumbnails of stories, and Google Maps saves map fragments so as not to reload them. The problem is that many apps do not limit the cache size, and over time it grows to several gigabytes.
How to check the cache size:
- ๐ฑ Open
Settings โ Storage(on some firmware -Memory). - ๐ Tap on the "Cached data" section (or "Other applications" โ "Cache").
- ๐ The system will show the total volume - usually from 500 MB to 3-5 GB.
Is it possible to delete the cache? Yes, but with reservations:
- โ Safe: cache of instant messengers (WhatsApp, Telegram), social networks, browsers.
- โ ๏ธ Caution: game cache (for example Genshin Impact or PUBG Mobile) - clearing it will lead to re-loading of textures the next time you start it.
- โ Do not touch: system application cache (
com.android.systemui,com.google.android.gsf), if you donโt know what they are responsible for.
How to clear:
- Go to
Settings โ Applications. - Select a app (for example, YouTube) โ
StorageโClear cache. - For mass clearing, use
Settings โ Storage โ Cached data โ Clear(on some firmware the option is hidden in the "Advanced" menu).
โ ๏ธ Attention: Clearing the cache Google Play Services or Google Play Market may lead to application update errors. If problems occur after cleaning, reboot your phone.
2. Multimedia: photos, videos and โinvisibleโ duplicates
Photos and videos are the main โeatersโ of memory. Even if you regularly delete unnecessary pictures, the following remain in the gallery:
- ๐ธ Duplicates: Google Photos and other galleries create copies when editing (original + edited version).
- ๐ฅ Screenshots: automatically saved to a folder
Pictures/Screenshots. - ๐ Hidden folders: messengers (WhatsApp, Viber) store media in
/storage/emulated/0/WhatsApp/Media. - ๐ Miniature: a folder with thumbnail images (
.thumbnails), which can weigh up to 1 GB.
How to find and delete:
- Duplicates: Use applications like Files by Google ("Cleanup" tab โ "Duplicates") or CCleaner.
- Screenshots: Open the gallery, sort by date and delete unnecessary ones (or transfer to the cloud).
- Media from messengers: B WhatsApp go in
Settings โ Storage โ Storage managementand sort by size.
For advanced users: to see all media files, including hidden ones, use a file manager (for example, Solid Explorer) and turn on the display of hidden folders in the settings. Pay special attention to the folders:
/storage/emulated/0/DCIM/.thumbnails/storage/emulated/0/Pictures/Screenshots
/storage/emulated/0/Download
Before mass deleting photos, check if they are linked to your Google Photos account. If enabled. "Backup" function, originals can be safely deleted from the device, leaving them in the cloud.
3. Applications: remove unused and "heavy" apps
The average weight of one application on Android is 50โ150 MB, but games and social networks can take up to 1โ2 GB. Often users install apps โat onceโ and forget to remove them. How to find and remove unnecessary ones:
Step 1. Analysis of installed applications
- ๐ Go to
Settings โ Applications โ All applications. - ๐ Sort by size (tap on the three dots in the upper right corner โ
Sort by size). - ๐๏ธ Delete apps that you have not used for more than a month (with the exception of system ones, marked with the icon Android).
Step 2. Cleaning up leftovers after uninstallation
Even after uninstallation, applications often leave โtailsโ in the /data/data and /sdcard/Android/datafolders. To remove them:
- Use Files by Google (tab "Cleaning" โ "Residual files").
- Or manually check the folders:
/storage/emulated/0/Android/data/storage/emulated/0/Android/obbDelete folders with the names of deleted applications (for example,
com.tencent.igfor PUBG Mobile).
Step 3. Transferring applications to SD card
If your phone supports Adoptable Storage (for example, Xiaomi, Samsung s Android 6โ9), you can transfer some applications to the memory card:
- Insert SD card (preferably class 10 or UHS-I).
- Go to
Settings โ Applications, select the app โStorageโChangeโSD card.
โ ๏ธ Attention: Not all applications support transfer to SD. System apps and some games (for example, Genshin Impactcannot be transferred. after removing the card, applications will not work on it.
โ๏ธ Checklist for cleaning applications
4. Downloads: the folder that everyone forgets to clean
Folder Download (or "Downloads") - a real dump of unnecessary files. The following accumulate here:
- ๐ PDF documents (tickets, receipts, instructions).
- ๐ต MP3 files from instant messengers or browser.
- ๐ฆ APK files (application installation packages).
- ๐ผ๏ธ Pictures and memes saved โfor laterโ.
How to clean:
- Open any file manager (for example, built-in
Filesor Total Commander). - Go to
/storage/emulated/0/Download. - Sort files by date or size and delete unnecessary ones.
To automate the process:
- ๐ค Use Files by Google ("Cleaning" tab โ "Downloads").
- ๐ Set up automatic deletion of old files in Google Photos (if backup is enabled).
Important: the folder Download may contain files necessary for the operation of some applications (for example, maps for Osmand or models for 3D printers). Before deleting, check if they are in use.
5. System files: what can be deleted without risk?
In the root directory Android there are files that take up space, but are not always needed by the user. They can be divided into three categories:
| File type | Examples | Can they be deleted? | How to clear |
|---|---|---|---|
| Logs and dumps | /data/anr, /data/tombstones |
Yes | Via ADB or Root Explorer |
| Residual update files | /cache, /data/ota_package |
Yes | Manually or via Settings โ Storage โ Clear |
| Dalvik-cache files | /data/dalvik-cache |
Only if available root | Via TWRP or adb shell |
| Temporary file folders | /data/local/tmp |
Yes | Any file manager |
To clean system files without root access:
- Go to
Settings โ Storage โ Clean(or "Release location"). - Select the "System files" or "Other files" category.
- Confirm deletion (usually error logs and temporary files).
For users c root:
adb shell
su
rm -rf /data/local/tmp/*
rm -rf /cache/*
โ ๏ธ Attention: Deleting files from/systemor/vendorwithout root access can lead to briku the device (complete failure). Do not experiment with folders whose names are unfamiliar to you.
What is Dalvik-cache and why should you not clean it manually?
Dalvik-cache are optimized versions of applications for the Dalvik virtual machine. Removing them will lead to the recompilation of all apps the next time they are launched, which will take a lot of time and resources. It makes sense to clear this folder only when resetting to factory settings or after updating the firmware.
6. Cloud storage and backups: hidden memory hogs
Many users are unaware that cloud services (Google Drive, Dropbox, Yandex.Disk) can synchronize files not only to the cloud, but also back to the device. For example, if you enabled the "Offline files" option in Google Drive, then all documents will be downloaded to the phone and take up space.
How to check and clear:
- ๐ Open the cloud storage application (for example, Google Drive).
- ๐ Go to the "Offline" or "Available without connection" section.
- ๐๏ธ Delete unnecessary files or disable offline access.
Also check the backups:
- ๐ In Google Photo go to
Settings โ Backup and synchronization. If "Original quality" is turned on, the photos take up the full volume. - ๐ฑ In Settings Android check
System โ BackupCopies of SMS, call logs and settings can be stored here.
To save space:
- ๐ผ๏ธ Select "High quality" instead of "Original" - this will save up to 80% of space. Google Photos Choose "High Quality" instead of "Original" - this will save up to 80% of space.
- ๐ Disable automatic media downloading in instant messengers (Telegram, WhatsApp).
7. Advanced methods: ADB, root and factory reset
If after all the manipulations there is critically little free space left (less than 1 GB), it's time for radical measures. These methods require caution, but can free up to 30% of memory.
Method 1. Cleaning via ADB (without root)
Tool Android Debug Bridge (ADB) allows you to delete system files that are not accessible through the standard interface. For example, you can clear the cache of all applications at once:
adb shell pm clear --user 0 com.android.providers.media
adb shell pm clear --user 0 com.google.android.gms
Method 2. Removing pre-installed applications (bloatware)
Manufacturers often install unnecessary apps (Facebook, Netflix, games) that cannot be removed using standard methods. data-i="258">Method 3. Reset to factory settings root or ADB this is possible:
adb shellpm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.netflix.mediaclient
Method 3: Factory reset
A last resort that removes all dataincluding applications, settings and files. Before resetting:
- ๐ Back up your important data. (contacts, photos, SMS).
- ๐ Write down logins/passwords for accounts.
- ๐ง Go to
Settings โ System โ Reset settings โ Delete all data.
โ ๏ธ Attention: On some firmware (MIUI, ColorOS), resetting does not delete files from the /sdcard folder (internal memory). After resetting, check it manually.
Resetting to factory settings is the most effective way to free up memory, but it deletes all data only if other methods are used. did not help, and make a backup copy first.
8. Prevention: how to avoid filling up the memory in the future
In order not to return to cleaning every couple of months, set your phone to automatically save space:
- ๐ Limit the application cache: T Google Play Store turn off auto-update or set a limit for mobile data.
- ๐ธ Set up cloud storage: In Google Photos enable "Delete copies from device" after backup.
- ๐ต Disable auto-downloading of media: In WhatsApp i Telegram prevent automatic downloading of photos/videos.
- ๐ Check the storage regularly: Once a month, run a memory analysis via
Settings โ Storage.
Useful applications for automatic cleaning:
- ๐ค Files by Google - removes garbage and suggests optimization.
- ๐งน SD Maid (requires root) - cleans residual files and databases.
- ๐ DiskUsage - visualizes which files take up the most space.
And the last tip: if your phone supports OTG, buy a flash drive with a connector USB-C or Micro-USB. This is a cheap way to expand memory without buying a new SD card.
FAQ: Frequently asked questions about clearing memory on Android
โ Is it possible clearing the Android/obb folder? Will this harm the games?
The folder obb contains additional data for games and applications (for example, graphics or levels). If you delete files from here, the games may stop launching or start downloading data again. Delete only the files of games that you have already deleted from the phone.
โ Why does memory not be freed for long after clearing the cache?
Caches are temporary files, and applications create them again when they are used. If the memory quickly runs out, the problem is not in the cache, but in a large number of media files, unused applications or system junkCheck the partitions. above.
โ How to transfer applications to an SD card if there is no such option in the settings?
Starting from Android 6.0, some manufacturers (Samsung, Huawei) have limited this function. Alternatives:
- Use root and application App2SD.
- Transfer only part of the data (for example, game cache) via
Settings โ Applications โ Storage โ Change. - Buy a phone with support Adoptable Storage (for example, Xiaomi or Motorola).
โ What to do if the phone says โMemory fullโ, but the settings show 10+ GB free?
This is a typical error on firmware MIUI, ColorOS and some versions. Reasons: Android. Reasons:
- The file system is damaged (a reboot or reset will help).
- The system reserves space for updates (for example, OxygenOS on OnePlus).
- Applications cannot write data due to permissions errors.
Solutions:
- Restart the phone.
- Empty the folder
/cachevia TWRP or ADB. - Check your phone for viruses (for example, via Malwarebytes).
โ Is it possible to delete the DCIM folder? There are only empty folders there.
Folder DCIM (Digital Camera Images) is created automatically to store photos and videos. Even if it is empty, It is not recommended to delete it - some cameras and applications may stop working. If the folder is taking up space, check hidden files (turn on display of hidden folders in the file manager) and delete unnecessary thumbnails (.thumbnails).