What data is purged from the Android system setup? _android

Source: Internet
Author: User
Tags touch

What'll be removed If you click the clear Data Button in the System application

One of today's story suddenly mentions the cleanup data in the system setup, and then it starts to think about how the cleaning function of the system's application cleans up the data. So began to study, taking Com.mx.browser as an example, the idea is probably first for the/data/data/com.mx.browser under each folder to create a logo file, here for 1.txt, and then perform cleanup data operations, the final comparison results. First, the situation of the various folders before the data is made clear.

Copy Code code as follows:

/data/data/com.mx.browser # ls
Lib
Files
Databases
Shared_prefs
App_thumbnails
Cache
App_webicons
App_appcache
App_databases
App_geolocation

Create a flag for each folder (while verifying that the folder is deleted)

Copy Code code as follows:

/data/data/com.mx.browser # Touch Lib/1.txt
/data/data/com.mx.browser # Touch Files/1.txt
/data/data/com.mx.browser # Touch Databases/1.txt
/data/data/com.mx.browser # Touch Shared_prefs/1.txt
/data/data/com.mx.browser # Touch App_thumbnails/1.txt
/data/data/com.mx.browser # Touch Cache/1.txt
/data/data/com.mx.browser # Touch App_webicons/1.txt
/data/data/com.mx.browser # Touch App_appcache/1.txt
/data/data/com.mx.browser # Touch App_databases/1.txt
/data/data/com.mx.browser # Touch App_geolocation/1.txt

Perform cleanup data operations. View the results of performing cleanup data operations.

Copy Code code as follows:

/data/data/com.mx.browser # ls
Lib
/data/data/com.mx.browser #

View Lib situation

Copy Code code as follows:

/data/data/com.mx.browser # CD lib/
/data/data/com.mx.browser/lib # ls
1.txt
/data/data/com.mx.browser/lib #

In general, the settings in the system, the cleanup data in the application, and the files and folders that are removed from the Lib folder (including internal files) are cleaned out. p.s./sdcard/android/data/This directory is also related to the package name, but the cleanup data in the system will not clean up the relevant information in this directory.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.