Today, a story suddenly mentioned how to clean up data in the system settings. Later, I began to think about whether the cleanup function of the system application would clean up the data.
So I started my research. Taking com. mx. browser as an example, the idea is probably to first create a mark file for each file under/data/com.mx.browser, which is 1.txt, then execute the data cleanup operation, and finally compare the results.
First, check the folders before data.
/Data/COM. mx. browser # browse
Create a flag for each folder (verify whether to delete the folder at the same time)
/Data/COM. MX. browser # Touch lib/1.txt/ data/COM. MX. browser # Touch files/1.txt/ data/COM. MX. browser # Touch databases/1.txt/ data/COM. MX. browser # Touch shared_prefs/1.txt/ data/COM. MX. browser # Touch app_thumbnails/1.txt/ data/COM. MX. browser # Touch Cache/1.txt/ data/COM. MX. browser # Touch app_webicons/1.txt/ data/COM. MX. browser # Touch app_appcache/1.txt/ data/COM. MX. browser # Touch app_databases/1.txt/ data/COM. MX. browser # Touch app_geolocation/1.txt
Clean up data.
View the result of the data cleanup operation.
/Data/COM. mx. browser # lslib/data/COM. mx. browser #
View lib Information
/Data/COM. MX. browser # cd lib/data/COM. MX. browser/lib # ls1.txt/data/COM. MX. browser/lib #
In general, the system settings are found, and the cleanup data in the application clears the files and folders except the Lib folder (including internal files.
The directory p.s./sdcard/Android/data/is also related to the package name, but the cleanup data in the system does not clear the relevant information in this directory.