Many users of smartphones based on Android face strange files in the device memory or on the memory card, the names of which consist of a set of characters or contain the word crypt. Often such objects are discovered when connecting a gadget to a computer or when using file managers. A natural question arises: what kind of data is this, can it be deleted and will this lead to the loss of important information or system failures.
In fact, files with the name crypt or extensions of the form .crypt12, .crypt14 most often refer to the messenger database WhatsApp, containing encrypted backup copies of correspondence. However, in system folders there may be other objects with similar names that are responsible for encrypting the data of the device itself. Understanding the nature of these files is critical to properly clearing memory without the risk of deleting chats or security settings.
In this article, we will examine in detail the origin of the files crypt, their role in the ecosystem Android and instant messengers, and also provide step-by-step guide for safely managing them. You will learn how to distinguish a system encryption file from a chat backup, and what actions to take if disk space runs out.
The nature of crypt files and their main purpose
The term crypt is an abbreviation for the English word cryptography (cryptography). In the context of the operating system Android this indicates that the contents of the file are encrypted with a special algorithm. Without the appropriate decryption key, it is impossible to read the information inside such a container with ordinary text editors. This is a fundamental mechanism for protecting user data from unauthorized access.
Most often, users see files with names like msgstore.db.crypt14 or simply crypt in messenger directories. These files represent backup copies your correspondence, created automatically at a certain time of the day. The messenger encrypts the message database before saving, so that even if an attacker gains physical access to the file, he cannot read personal correspondence.
However, not all files with this name are related to chats. System partitions, such as /data or /system, may contain service encryption files necessary for the operation of the Full Disk Encryption function (full disk encryption) or File Based Encryption. Deleting such system objects may cause the device to stop booting or require a factory reset with complete loss of data.
โ ๏ธ Attention: Never delete files named
cryptfound in the root system folders (/system,/data,/vendor) unless you are 100% sure of their purpose. This may compromise the integrity of the bootloader or the device's security mechanism.
Their location and extension help to distinguish between file types. Backups of instant messengers are usually located in user folders accessible through the file manager, while system encryption keys are hidden from normal viewing without root access. Understanding this difference allows you to avoid fatal errors when clearing the storage.
Crypt files in instant messengers: WhatsApp and others
The most common situation faced by smartphone owners is file detection msgstore.db.cryptXX. Here XX denotes the version of the encryption algorithm used by a specific version of the application. For example, crypt14 or crypt15. These files are created by the application WhatsApp daily, usually at 2 am if the local backup function is enabled.
Each such file contains a complete copy of your correspondence at the time of creation. When restoring the application after reinstallation WhatsApp automatically searches for the latest file with the same extension in the folder Databases and offers to restore message history from it. Without this file, it will be impossible to recover deleted chats if synchronization with the cloud has not been configured (Google Drive).
The problem is that the messenger by default stores several such backup copies for different days. Over time, they take up gigabytes of precious space in the internal memory. If you do not plan to roll back to correspondence from a week ago, old files crypt can be safely deleted, leaving only the most recent one.
To manage these files, you do not need complex utilities. Just go to the file manager and follow the path specific to your version Android. On new versions of the system, the paths to application data have become more secure, but access to the folder with the databases is still possible.
Where to look for crypt files on the device
Searching for encryption and backup files depends on the version of the operating system and the specific application. In modern smartphones, the directory structure has changed due to the introduction of a policy of limited access to files (Scoped Storage). Previously, files were located in open folders, now they are often hidden in system directories. copy Android/media or Android/data.
To find backups WhatsApp, use the built-in explorer or a third-party file manager, such as Files by Google or Solid Explorer. You will need to go to the internal memory section and open the directories sequentially. Please note that the paths may vary slightly on different devices.
- ๐ Standard path (old Android): Internal memory โ WhatsApp โ Databases.
- ๐ Path for Android 11 and newer: Internal memory โ Android โ media โ com.whatsapp โ WhatsApp โ Databases.
- ๐ Path for Telegram (secret chats): Internal memory โ Android โ data โ org.telegram.messenger โ files.
- ๐ System files: Available only through file managers with root-rights in section
/data/data.
If you are using a memory card microSD, check its contents. Some users configure saving backups to an external drive. In this case, the files crypt will be located in a similar folder structure on the card. memory.
Use the search mask ".crypt" in the file manager to instantly find all encrypted files on the device without manually wandering through folders.
Pay attention to the size of the files A fresh correspondence database can weigh from several megabytes to hundreds of megabytes, depending. on the number of media files in chats (if you are configured to include them in the backup). Old files that you do not plan to use often duplicate this volume.
Safely deleting and clearing memory
Cleaning outdated backups is an effective way to free up space on your smartphone. However, it is important to act carefully so as not to delete the only current copy necessary to restore data. In case of failure, before mass deletion, it is recommended to create an up-to-date backup copy to the cloud or manually copy the desired file to your computer.
The deletion process is simple: select files with dates that are not of interest to you (for example, a week ago), and click the delete button. After this, the space will be freed instantly. crypt according. schedule, but old ones will not accumulate if you clean regularly.
โ๏ธ Safe cleaning checklist
There is a nuance with automatic deletion. In the settings of the messenger itself WhatsApp you can limit the number of stored local copies Go to Settings โ Chats โ Chat backup. Although you cannot directly specify the number of local files there, disabling local backup (if such an option is available in your version) or moving the save path to a memory card will help relieve the main memory.
โ ๏ธ Attention: Before deleting files, make sure you have access to account Googlelinked to the messenger. If local files are deleted and the cloud copy is missing or outdated, restoring the correspondence will become impossible.
If you use third-party utilities to clean up โgarbageโ, be careful. Some aggressive cleaners may delete everything. files crypt in a row, considering them unnecessary cache. Always check the list of files proposed for deletion in such apps.
Encryption of system data and access problems
In addition to instant messengers, files marked crypt play a key role in protecting the entire device. Starting with version Android 6.0, data encryption has become a mandatory standard for most certified devices. When turning on the phone, the user enters a PIN code or pattern, which is used to unlock the cryptographic container with user data.
If you see error messages related to encryption or files with strange names in the system logs, this may indicate problems with the partition userdata. In some cases, when trying to unlock the bootloader (bootloader) or obtain root access, the encryption mechanism may conflict with the modified software, leading to a cyclic reboot or requiring a data reset.
| Type file | Location | Can be deleted? | Consequences of deletion |
|---|---|---|---|
msgstore.db.crypt14 |
Databases folder | Yes (old) | Loss correspondence history for the past days |
cryptfs |
System partition | No | Inability to boot the system, loss of all data |
.crypt (temporary) |
Application cache | Yes | The application will recreate the file if necessary |
keymaster |
TEE (TrustZone) | No | Security mechanism breakdown, access denied |
For ordinary users, interaction with system encryption is limited to entering a password when turning on. Interfering with the files responsible for this process requires deep technical knowledge and the availability of tools for working with partition images.
What is TEE and how is it related to crypt?
TEE (Trusted Execution Environment) is an isolated execution environment inside the processor of your smartphone. This is where cryptographic keys are stored and never reach the main operating system. Files associated with TEE are critical for the operation of fingerprint, face unlock and disk encryption.
Recovering data from crypt files
If there is a need to recover correspondence from a local file crypt, the procedure is quite simple, but requires accuracy. You will need a file with the extension .cryptXXwhere XX corresponds to the encryption version supported by the version you have installed WhatsApp. If the versions do not match, the recovery may not work.
The process is as follows: delete the current messenger application, install it again. When you first launch it, after confirming your phone number, the application will offer to find a backup copy. If you renamed the desired file to msgstore.db.cryptXX (removing the date from the name) and placed it in the correct folder, the system will detect it and offer recovery.
Simply copying the file crypt to another phone and trying to open it will not work without access to the original device or setting up an account on the new device that will request keys.
Crypt files are not just archives, but encrypted containers tied to a specific device and account. Transferring a file without transferring your account is useless.
If the file is damaged, recovery is impossible using third-party means, since the encryption algorithms are quite strong. The only chance is to have another, earlier or later copy that was not damaged.
Preventing problems and setting up auto-backup
So that files crypt do not become a problem, but remain a reliable tool for saving data, it is recommended to set up automatic backup to the cloud. This takes the load off the deviceโs internal memory, since local files can be cleaned more often, knowing that the current version is stored on the servers Google or iCloud.
Go to the messenger settings and select the backup frequency. The best option is โDailyโ. Also check if the Wi-Fi download option is enabled to avoid wasting your mobile data. For owners of phones with a small amount of internal memory, this is a critical setting.
Regularly check the available space in your cloud storage. If the quota Google Drive has been exhausted, new files crypt will not be uploaded to the cloud, and you will be left dependent only on local copies that take up space on the phone.
โ ๏ธ Attention: Settings interfaces and file paths may vary depending on the model smartphone (Samsung, Xiaomi, Pixel) and manufacturerโs shell version. Always check the official support materials for your specific device if the standard paths do not work.
Following these simple rules will allow you to keep your file system in order, avoid "out of space" errors and be confident in the safety of your personal correspondence.
Is it possible to open a crypt file on a computer?
No, it is impossible to directly open and read the contents of a file .crypt on a computer without the decryption key, which is stored inside the smartphone. There are third-party utilities that promise decryption, but they often require root access to the original phone to extract the keys and may not be secure.
Why does the crypt file take up so much space?
The file contains the entire correspondence database. If you actively exchange photos, videos and voice messages, and the โInclude videoโ checkbox is checked in the backup settings, the file size can reach several gigabytes. Disabling media files from the backup will significantly reduce the size.
What to do if the phone says โEncryption Errorโ?
This is a serious system error. Try rebooting your device. If the error persists, the data partition may be damaged. In the worst case scenario, a factory reset (Wipe Data) will be required, which will delete all information. Before resetting, if you have access to the files, try copying important data to your PC.
Will crypt files be deleted when resetting the phone?
Yes, when performing a full factory reset (Factory Reset), all user data, including folders with messengers and files crypt in the internal memory, will be permanently deleted. Save important backups to your computer or cloud before this procedure.
How to find the encryption version (crypt12, crypt14)?
The encryption version depends on the version of the messenger application. Usually it is updated automatically when you update the application itself through the store Google Play. Look at the extension of the most recent file in the Databases folder - the numbers after the word crypt are the version of the algorithm.