What data is cleared in Android system Settings?

  • 2020-06-12 10:35:55
  • OfStack

What will be removed If you click Clear Data Button in the System Application

One of today's story popped up on cleaning up data in system Settings, and then started thinking about how this cleaning function in system applications would actually clean up that data. Then began to study to com. mx. browser, for example, thinking about first for/data/data/com mx. browser under every 1 to establish a symbol file, folder, here for 1. txt, then perform data cleansing operation, finally compare results. First, go through the folders before the data.


/data/data/com.mx.browser # ls
lib
files
databases
shared_prefs
app_thumbnails
cache
app_webIcons
app_appcache
app_databases
app_geolocation

Create 1 flag for each folder (and verify that the folder is deleted)


/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 a data cleansing operation. View the results of the cleanup data operation.


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

Check out lib


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

In general, finding Settings in the system, cleaning up data in the application, will clean up files and folders that remove the lib folder (including internal files). p. s. / sdcard Android data/this directory is also associated with the package name, but the system of data cleaning not clean up the relevant information from this directory.


Related articles: