Are you trying to free up space on your smartphone, but the “Clear cache” button in the application settings does not work? Or does nothing happen after pressing, but the memory is still occupied? This problem occurs on Android all versions - from outdated Android 7 Nougat to new ones. Most often, it is associated with system failures, access rights, or frozen application processes. Android 15. Most often it is associated with system failures, access rights, or frozen application processes.
In this article we will examine 7 proven ways forced cache clearing - from simple (reboot, safe mode) to advanced (commands ADB, reset settings). You will also learn why the cache may self-healing after deletion and how to avoid it. At the end - answers to frequently asked questions and a table comparing methods by efficiency.
Why the cache is not deleted in the standard way
The reasons depend on the version Android and model smartphone. On devices with MIUI (for example, Xiaomi Redmi Note 12) the problem is often related to system optimization, but on “pure” Android (for example, Google Pixel 7) - with application rights. Here are the main culprits:
- 🔄 System crash: Damaged cache files block its deletion. Often occurs after a sudden power outage or force closing of an application.
- 🔒 Limitations manufacturer: Some brands (for example Huawei or Samsung) block cache removal for system applications through the GUI.
- 📱 Root access or custom firmware: On devices with root access or unofficial firmware (for example, LineageOS), standard cleaning methods may not work.
- 🛑 Hung application: If the application process is frozen, the system cannot access its files cache.
On devices with Android 12+, the cache of some system applications (for example, Google Play Services) can be protected by the Android Runtime (ART) mechanism, which blocks its removal without reboot. This is done to speed up the system, but sometimes leads to a “stuck” cache.
Before embarking on radical methods, check:
- If there is free space on the device (less than 10% of the memory can block file operations).
- Is the power saving mode turned on - it can suspend background cleaning processes.
- Isn't the application a system one (for example,
com.android.systemui).
Method 1: Reboot the device
The simplest, but effective method in 30% of cases. When you reboot, the system automatically closes all processes, including those that block access to the cache.
How to do it correctly:
- Close all applications through the recent tasks menu (swipe up and hold).
- Press and hold the power button, then select “Restart.”
- After turning on, immediately try clearing the cache of the problematic application through
Settings → Applications → [Application name] → Memory → Clear cache.
If The "Clear cache" button is still grayed out, move on to the next method. On some devices (for example Samsung Galaxy S23) you may need double reboot to turn off the phone completely, wait 30 seconds and turn it on again.
On smartphones with a processor MediaTek (for example, Realme 9 Pro) after a reboot, cleaning the partition Dalvik-Cache via recovery helps. But this requires root access or custom recovery.
Method 2: Clearing the cache in Safe Mode
Safe Mode loads Android without third-party applications, which allows you to delete the cache of even those apps that usually block the process. The method works on all versions Androidincluding Android 14.
Instructions:
- Turn off the device.
- Press and hold the power button until the manufacturer's logo appears, then immediately press and hold the decrease button volume.
- Hold it until the phone boots into safe mode (at the bottom of the screen there will be an inscription “Safe Mode”).
- Go to
Settings → Applications, find the problematic application and clear its cache. - Restart the device in normal mode.
If the “Clear cache” button in safe mode became active, but after exiting it the cache returned, it means that the application automatically restores it upon startup. In this case, disabling autostart applications will help (section “Autostart” in the battery settings).
What to do if you can’t enter safe mode?
On some devices (for example, OnePlus or Oppo), to enter safe mode you need to release the power button after the logo appears and immediately hold down the volume down button. If it doesn’t work, try holding both buttons (power + volume down) until it loads completely.
Method 3: Force stop the application
Sometimes the cache is not deleted because the application is actively running in the background. Forced stop removes this blocking.
Step-by-step guide:
- Open
Settings → Applications → [Application name]. - Click “Force stop” (on some firmware — “Stop”).
- Wait 10-15 seconds, then return to the “Memory” section and try clearing the cache.
If the “Force stop” button is inactive (gray), it means:
- 🔧 The application is a system one (for example,
Android System WebView). - 🔒 You do not have enough rights (on devices with corporate policies or MDM profiles).
- 📵 The application is blocked by the device administrator (relevant for work phones).
On Android 13+ after a forced stop, the “Application has stopped” notification may appear. it is normal.
Close the application through the recent tasks menu
Check if it is a system one
Disable notifications from the application (optional)
Wait 30 seconds after stopping before clearing the cache-->
Method 4: Clearing the cache via ADB (for advanced)
If standard methods do not help, you can use Android Debug Bridge (ADB) a debugging tool that allows you to manage system files through your computer. The method works on all versions Android, but requires enabling the mode. developer.
What you will need:
- 💻 A computer with installed drivers for your smartphone.
- 🔌 USB cable (preferably original).
- 📥 Utility ADB Tools (download and unpack it into a separate folder).
Instructions:
- Enable developer mode on your phone: go to
Settings → About phone → Build numberand click on it 7 times. - Go back to the main settings, open the "For Developers" section and enable "USB Debugging".
- Connect the phone to the computer, select the file transfer mode (
MTP) and confirm permission to debugging. - Open the command line (
cmd) in the folder withADBand enter:
adb devices
(The name of your device should appear.)
adb shell pm clear --user 0 name.package.application
To find out the name of the package, use the command:
adb shell pm list packages | grep "application_name"
⚠️ Attention: The command pm clear deletes all application data, and not just the cache! If you only need to clear the cache, use:
adb shell pm clear-user --user 0 name.package.application
But this method does not work on all firmware.
ADB allows you to clear the cache of even system applications, but requires caution - the wrong command can cause the phone to malfunction.
Method 5: Reset application settings
If the cache is not deleted, but you do not want to resort to ADB, try resetting the application settings to factory settings. This will delete all its data, including the cache, but will save the apk file itself.
How to do:
- Go to
Settings → Applications → [Application name]. - Click “Storage” → “Reset settings” (or “Delete data”).
- Confirm the action.
⚠️ Attention: This method will delete:
- 📁 All saved files inside the application (for example, downloads in the browser).
- 🔑 Logins and passwords (if you do not use autofill).
- ⚙️ User settings (themes, languages, etc.).
After resetting, the application will be the same as after the first installation. If the cache starts to accumulate again, check the application for viruses using Malwarebytes or Dr.Web Light.
Method 6: Clearing the cache partition via Recovery
If the cache is not deleted by any of the above methods, the last resort remains - clearing the cache partition via recovery. This will not delete your data, but will reset all temporary system files.
Instructions for standard recovery:
- Turn off the phone.
- Hold down the button combination to enter recovery (usually Power + Volume up, but on some models - Power + Volume down).
- Use the volume buttons to select “Wipe cache partition” (on some devices - “Clear cache”).
- Confirm your choice with the power button.
- After cleaning, select “Reboot system now.”
⚠️ Attention: On devices with custom recovery (for example, TWRP) do not confuse “Wipe Cache” with “Wipe Data” - the second will delete all your files!
This method helps if:
- 📱 The cache is not deleted due to a system failure.
- 🔄 Applications are constantly rebooted.
- 🛑 The phone slows down after updates Android.
If, after clearing the cache through recovery, the phone began to work faster, but the problem returned after a few days, check the free space on the device. If it is less than 1 GB, the system begins to aggressively cache data.
Method 7: Deleting the cache through a file manager (with root access)
If you have root access, you can manually delete cache files through a file manager (for example, Root Explorer or Solid Explorer). This method is risky, but effective for stubborn applications.
How to find and delete the cache:
- Open a root-enabled file manager.
- Go to the folder
/data/data/[name.application package]/cache. - Select all files in the folder and delete them.
- Restart the device.
⚠️ Attention:
- 🚨 Deleting files from folders
/systemor/vendorcan lead to brick device (firmware failure). - 🔧 Not all files in the folder
cachesafe to delete - some may be critical for the operation of the application. - 📵 After deleting the cache manually, the application may be unstable until the next update.
If you are not sure of your actions, it is better to use ADB (method 4) or contact a service center.
Comparison of cache clearing methods
| Method | Complexity | Efficiency | Risks | Is a PC required |
|---|---|---|---|---|
| Reboot | ⭐ | 30% | No | No |
| Safe Mode | ⭐⭐ | 60% | No | No |
| Forced stop | ⭐ | 40% | No | No |
| ADB | ⭐⭐⭐⭐ | 90% | Deleting application data | Yes |
| Resetting application settings | ⭐⭐ | 80% | Data loss | No |
| Cleaning via Recovery | ⭐⭐⭐ | 95% | Resetting system settings | No |
| Manual cleaning (root) | ⭐⭐⭐⭐⭐ | 99% | Device brick | No |
For most users, the optimal solution will be a combination safe mode + force stop. If this does not help, use ADB or clearing through Recovery.
Frequently asked questions
Why does the cache return after clearing?
This is normal behavior - cache is created anew when using the application. However, if it grows too quickly (for example, from 10 MB to 1 GB per day), this may indicate:
- 🐞 An application error (update it or reinstall it).
- 📡 Poor Internet connection (the application is caching data due to frequent interruptions).
- 🕵️ Hidden mining or virus (check your phone with an antivirus).
To reduce the cache size, disable auto-loading of multimedia in instant messengers (for example, in Telegram or WhatsApp).
Is it possible to clear the cache for all applications at once?
Yes, but not on all firmware Methods:
- On Android 11+: go to
Settings → Memory → Clear cache(button at the bottom of the screen). - On MIUI (Xiaomi):
Settings → Memory → Cleaning→ select “Cache”. - On Samsung One UI:
Settings → Device maintenance → Memory → Clear now.
⚠️ Attention: Mass clearing the cache can lead to a temporary slowdown of the phone, as the system will rebuild the cache again.
What to do if the "Clear cache" button is gray?
This means that:
- 🔒 The application is system (for example,
Google Play Services). - 📵 You do not have enough rights (relevant for work phones with MDM).
- 🔧 The cache is protected by a mechanism
Android Runtime(on Android 12+).
Solutions:
- Use
ADB(method 4). - Clear the cache via
Recovery(method 6). - Disable the application (if it is not critical for the system).
Is it dangerous to clear the cache regularly?
No, but there are nuances:
- ✅ Pros: Space is freed up, some applications work more stable.
- ❌ Cons:
- Applications take longer to load (cache speeds up re-launch).
- Some games or social networks may freeze when first opened after cleaning.
- Frequent cache clearing can lead to Android 10+ Frequently clearing the cache can lead to accelerated memory wear (due to increased write cycles).
Optimal frequency: 1 time every 1-2 months or when there is insufficient memory.
How to clear the cache for Google Play Services?
Google Play Services is a system application, and its cache is often not deleted using standard methods:
- Open
Settings → Applications → Google Play Services → Storage → Space management → Clear all data. - Use
ADB:
adb shell pm clear com.google.android.gms
⚠️ Attention: After cleaning Google Play Services Google services (for example, synchronization or geolocation) may temporarily not work. Reboot your phone to restore functionality.