Resetting an application to its factory state on Android may be necessary in a variety of situations: from bugs and freezes to the need to free up space or delete personal data before selling the phone. But not all users know that simple deletion via Play Market or the Applications menu does not always equate to a complete reset. Traces remain in the system: cache, temporary files, account settings and even fragments of databases.
In this article we will look 5 proven methodshow to reset an Android app - from standard tools to advanced methods using ADB and safe mode. We will pay special attention to the nuances: what exactly is deleted with each method, how to restore data after a reset (if possible), and why some applications โreturnโ even after complete removal. We will also consider how to bypass the restrictions of system applications that cannot be deleted in the usual way.
Important: the reset procedure may differ depending on the version of Android (from Android 10 to Android 14) and the manufacturer's shell (MIUI, One UI, ColorOS etc.). If your device is running Android Go or custom firmware, some menu items may be missing.
1. Standard reset via Android settings
The easiest and safest way to reset an application is to use the built-in system tools. This method is suitable for most users and does not require root privileges or technical knowledge. Here's how to do it:
- Open
Settings โ Applications(on some devices the path may look likeSettings โ Applications and notifications โ View all applications). - Find in list the desired application and tap on it.
- Select item
Storage and cache(or simplyMemoryon older versions of Android). - Press
Clear cache, then -Clear data(orReset settings).
What the following are deleted:
- ๐ Cache โ temporary files that the application creates to speed up work (images, cached pages, etc.).
- ๐๏ธ Data applications โ settings, saved games, chat history (in messengers), downloaded files inside the application.
- ๐ Accounts โif the application supports login through an account (for example, VK or Instagram), you will have to log in again.
What is NOT deleted:
- ๐ Files created by an application in a package
/sdcard/Android/data/[package_name](for example, downloads from Telegram or screenshots from games). - ๐ Application updates - if you clear the system application data (for example, Google Play Services), it will return to the factory version.
โ ๏ธ Attention: On some devices (for example, Xiaomi or Huawei) after clearing the data, the application can be automatically updated to the latest version via Play Market. To avoid this, disable auto-update for a specific application in advance.
โ๏ธ Preparing to reset the application
2. Complete removal of the application (including files on the memory card)
If you need to not just reset the settings, but delete an application without a traceincluding all associated files, follow these steps. This method is relevant for applications that save data on an external drive (for example, games with large caches or instant messengers).
Instructions:
- Delete the application in the standard way: long-press the icon on the main screen โ
Deleteor viaSettings โ Applications โ Delete. - Connect your phone to the computer (or use a file manager, for example, Total Commander).
- Go to folder
/sdcard/Android/data/and find the folder with the name of the application package (for example,com.whatsappfor WhatsApp). - Delete this folder manually.
| Files type | Where are they stored | Are they deleted with standard deleting |
|---|---|---|
| Application cache | /data/data/[package]/cache |
Yes |
| Application data | /data/data/[package]/ |
Yes |
| Files on the memory card | /sdcard/Android/data/[package]/ |
No |
| System application updates | /data/app/[package]-1/ |
No (return to the factory version) |
To search for the application package name, you can use the utility App Inspector (available in Play Market) or ADB command:
adb shell pm list packages | grep "keyword"
โ ๏ธ Attention: Manually deleting folders may cause other applications to crash if they use shared libraries. For example, deleting a folder com.google.android.gms will break the operation Google Play Services.
3. Reset through safe mode (for system applications)
Some applications (especially those pre-installed by the manufacturer, the so-called bloatware) cannot be deleted or reset using standard methods. In such cases, it will help safe mode - a special Android operating mode in which all third-party applications are disabled.
How to reset a system application:
- Hold down the power button until the shutdown menu appears.
- Hold your finger on the item
Turn off(orTurn off power) until a request to switch to safe mode appears. On some devices (for example Samsung), you need to hold down the power button and selectSafe Modein the menu that appears. - After reboot, open
Settings โ Applicationsand find the desired system application. - Now you will have the opportunity to clear the cache and data (on some devices, even disable or delete).
- Restart the phone in normal mode.
Examples of system applications that can be reset in this way:
- ๐ฑ Google Play Music (
com.google.android.music) - ๐บ Samsung Knox (
com.sec.knox) - ๐ก Mi Browser on Xiaomi (
com.android.browser)
If the application cannot be deleted even in safe mode, you can disable. This hides it from the menu and stops background processes, but does not free up disk space.
To quickly find system applications, sort the list in the Applications menu by size or alphabetically. Pre-installed apps usually have names in English and start with com.android. or com.[brand].
4. Using ADB for a deep reset
For advanced users who want to completely reset an application, including all traces of it on the system, the tool Android Debug Bridge (ADB)is suitable. This method requires connecting the phone to the computer and enabling USB debugging mode, but allows you to make the reset as clean as possible.
Step-by-step guide:
- Enable
Developer modeon the phone: go toSettings โ About phone โ Build numberand tap on it 7 times. - Go back to
Settings โ System โ For developersand enableUSB debugging. - Connect your phone to your computer and install ADB drivers (can be downloaded from the official website Google).
- Open the command line (or Terminal on Mac/Linux) and check the connection:
adb devices
If the device is listed, run the command to reset:
adb shell pm clear [package_name]
For example, to reset Facebook:
adb shell pm clear com.facebook.katana
What the command does pm clear:
- ๐งน Removes all application data (
/data/data/[package]/). - ๐๏ธ Clears the cache.
- ๐ Resets permissions.
- ๐ Removes accounts associated with the application (if they are not synchronized with the system).
โ ๏ธ Attention: ADB commands have low-level access to the system. Incorrect use (for examplepm clearfor system components likecom.android.settings) can lead to k phone malfunction. Before experiments, create a backup viaadb backup.
How to find the name of the application package without ADB?
Open the Play Market, find the application and copy the URL. The package name will be after id=. For example, in the link https://play.google.com/store/apps/details?id=com.whatsapp the package name is com.whatsapp.
5. Reset via Recovery Mode (for advanced users)
If the application is so โingrainedโ into the system that it cannot be removed even through ADB (for example, viruses or deeply integrated bloatware), the last option remains - resetting through Recovery Mode. This method is suitable for devices with an unlocked bootloader and custom recovery installed (for example, TWRP).
Instructions:
- Turn off the phone.
- Hold the combination of buttons to enter
Recovery Mode(usuallyPower + Volume up, but may vary depending on the model). - In the recovery menu, select
Advanced โ File Manager(or a similar item). - Go to
/data/data/and find the folder with the package name of the problematic application. - Delete the folder and restart the device.
Warnings:
- ๐จ This method does not work on stock recovery (for example, on most phones Samsung or Huawei without root).
- ๐ง Deleting system folders can lead to bootloop (loop loading).
- ๐ After such manipulations, flashing may be required.
If you are not sure of your actions, it is better to use safer methods (for example, ADB) or contact a specialist.
Resetting via Recovery Mode is the most radical method, but it requires unlocked bootloader and custom recovery. On most modern smartphones (especially those with Android 12+), this method is blocked without root access.
What to do if the application returns after a reset?
Some applications (especially system ones or pre-installed by the manufacturer) may automatically recover after uninstallation. This happens due to:
- ๐ Automatic recovery functions to Play Market (settings โ โAutorecoveryโ).
- ๐ฆ Manufacturer policies (for example Samsung or Xiaomi forcefully install their applications after a reset).
- ๐ค Synchronization with account Google (if the application was installed previously).
How to disable auto-recovery:
- Open Play Market โ
Settings โ General โ Auto-recovery applicationsand disable this feature. - For system applications, use the command ADB:
adb shell pm uninstall -k --user 0 [package_name]
This command removes the application for the current user (--user 0), but leaves it on the system (option -k preserves the cache and data, but the application will not display or work).
If the application is returned due to manufacturer policy, the only way to get rid of it permanently is obtaining root access and uninstallation through Titanium Backup or similar tools. However, this will void the warranty and may interfere with the operation of the system.
FAQ: Frequently asked questions about resetting applications
Is it possible to restore data after resetting the application?
If you cleared only the cache - yes, the main data (for example, correspondence or game saves) will remain. If you clicked Clear data or used pm clear, restoration is only possible from a backup copy (if it was created in advance via Google Drive, Titanium Backup or manually).
For some applications (for example, WhatsApp) backups are created automatically in /sdcard/WhatsApp/Databases. They can be restored by reinstalling the application and copying the file msgstore.db.crypt14 back.
Why does the application ask for an update after a reset?
This happens if you reset system applicationwhich was updated via Play Market. After clearing the data, it returns to the factory version, and the system offers to update it to the latest available version. To avoid this, before resetting, disable auto-update for this application in the system application. How to reset all applications at once? data-i="263">. Please note that this will delete Play Market.
How to reset all applications at once?
To completely reset all applications and settings to factory state, use the function Reset settings in the menu Settings โ System โ Reset. Please note that this will remove all data on the phoneincluding photos, contacts and installed applications. Make a backup copy first!
If you only need to reset application settings (without deleting personal data), select Resetting application settings in the same menu.
Is it possible to reset an application without losing your account?
No, if the application is linked to an account (for example Instagram, VK, banking applications), clearing data will lead to logout from your account. However, some applications (for example Telegram) allow you to save account data in the cloud and restore it after logging in again.
What to do if the โClear dataโ button is inactive?
This means that the application is system protected from changes. Try:
- Use safe mode (section 3 of the article).
- Disable the application via ADB (command
pm disable-user [package]). - Get root access and remove it via Root Explorer.
On some devices (for example, Huawei s EMUI) system applications can be disabled through the menu Settings โ Applications โ Three dots โ Show system processes.