System directory /data is one of the most protected and important sections in the operating system architecture Android. This is where application user data, system settings, databases and cache are stored, which cannot be cleared by standard means. An ordinary user, opening a standard file manager, will never see this folder, since access to it is blocked at the kernel level for the sake of device security.
The need to access this section often arises when deeply diagnosing failures, transferring saves from games without cloud synchronization, or manually deleting โgarbageโ that takes up gigabytes of space. However, starting with version Android 11, Google has tightened its security policy by introducing the Scoped Storage mechanism, which made direct access to /data/data almost impossible for ordinary applications without obtaining privileged rights.
In this guide, we will look at all the legal and technical ways to find and open the data folder. We'll look at methods for both rooted users and those who prefer to use USB debugging via a computer. It is important to understand the risks: incorrect actions in system partitions can lead to data loss or inoperability of the smartphone.
Structure of the data partition and its purpose
The partition data is mounted as a separate logical volume in the device file system. Its main function is to isolate the data of each installed application. Inside this directory, each app has its own folder with the package name, for example com.whatsapp or com.google.android.youtube. This structure prevents unauthorized access of one application to the files of another.
Inside the folder of a specific application there are usually subdirectories files, databases, code_cache and shared_prefs. All your correspondence, progress in games, logins and passwords are stored here in encrypted form. The system Android strictly ensures that processes with normal user rights (UID) cannot read the contents of other folders in the section /data.
โ ๏ธ Attention: Directly editing files inside a folder
/data/datamay violate the integrity of the application database. This often causes the app to stop launching or crash when opened. Always create backup copies before making changes.
Users often confuse the system folder /data with public storage, which was also previously called internal storage. Modern versions of the OS clearly distinguish between these concepts. Public files (photos, downloads) are now located in /storage/emulated/0, while critical application data is hidden deep in the system partition, access to which requires superuser authorization.
Why is the data folder hidden?
Hiding the data folder is implemented at the Linux kernel level, on which Android is based. This is to protect against malware that could steal your personal data by simply requesting permission to read the storage. Without root access or ADB, access to this path is physically blocked for ordinary file manager applications.
Searching for the data folder on devices without root access
For smartphone owners who do not want or cannot get root access, there is the only official way to interact with system files - using USB debugging (ADB). This method requires a computer and driver installation, but it allows you to view the contents of protected sections without violating the device warranty.
You must first activate developer mode. To do this, go to Settings โ About phone and quickly click 7 times on the item Build number. After the message โYou have become a developerโ appears, return to the main settings menu, find the new section System โ For developers and turn on the toggle switch USB debugging.
Connect your smartphone to the computer with a cable. The device screen will ask you to allow debugging from this computer - be sure to click Allow. Next, using the command line on your PC, you can enter the device shell. Enter the command adb shell, and then go to the desired directory with the command cd /data/data.
โ๏ธ Preparing to work with ADB
It is worth noting that even through ADB without root access you can only view the list of folders, but you will not always be able to copy their contents outside if the shell process does not have the appropriate read rights. However, for diagnosing and checking the presence of files, this method is the most secure and effective solution for ordinary users.
Access to data through root access and file managers
Having superuser rights (Root) removes all file system restrictions Android. Once you have them, you can use advanced file managers such as Root Explorer, Solid Explorer or MT Managerto directly access the /datapartition. These applications ask for permission to use SU privileges when they are first launched.
After granting permissions in the file manager, you must enable a special mode, often called โMount R/Wโ (mount as read/write). By default, the system partition is mounted read-only to prevent accidental changes. Activating this mode allows you not only to open, but also to edit, delete or move files inside the folder data.
- ๐ Open the root directory
/in the file manager with superuser rights. - ๐ Go to the folder
data, and then to the subfolderdata(path/data/data). - ๐ Find the desired application by package name (for example,
com.android.chrome). - ๐ Copy the necessary files to the internal memory (
/sdcard) for safe editing.
โ ๏ธ Attention: Changing access rights (chmod) to system folders may cause the application to lose the ability to read its own settings. If you have changed the rights, return them to the original values (usually for folders and
755for folders and644for files).
Using root file managers gives complete freedom of action, but requires great care. Deleting a critical file, for example packages.xml in a directory /data/systemmay result in the phone booting only in recovery mode. Always have an up-to-date system backup on hand before starting to work with root files.
Use the โBackupโ function in your root manager before deleting any files from the folder. data. This will allow you to roll back changes in one click if the system starts to become unstable.
Access features in Android 11, 12, 13 and later
Starting from Android 11Google has implemented strict restrictions on access to the folder Android/data in the public domain. storage. Although this is not a system partition, users often look for it to access the game cache and offline maps. Standard explorers now show this folder empty or hide its contents. To bypass this limitation without root access, you can use special file managers that request access through the system interface. A striking example is an application /data/data, users often look for it to access the game cache and offline maps. Standard Explorers now show this folder empty or hide its contents.
To bypass this limitation without root access, you can use special file managers that request access through the system interface SAF (Storage Access Framework). A striking example is the application Files by Google or specialized utilities like ZArchiverWhen you try to enter a folder Android/data such an application will redirect you to the system window, where you need to click the โUse this folderโ button and confirm the action.
B versions Android 13 and 14 the restrictions have become even stricter: access to media files of other applications is completely blocked. Now, even using SAF, it is difficult to access other people's data. The only reliable way is to use a computer through the protocol MTP in combination with ADB, or obtaining root access, which completely ignore Scoped Storage policies.
It is important to distinguish between the concepts: folder /data/data (system, always hidden) and folder /storage/emulated/0/Android/data (custom, hidden in new versions of the OS). The methods for accessing them are radically different, and confusion between them often leads to the fact that users cannot find the necessary files, believing that they have been deleted by the system.
Using terminal emulators on a smartphone
If you do not have a computer at hand, but have root access, you can manage files directly from the smartphone screen using a terminal emulator. Applications like Termux (with limitations) or Terminal Emulator for Android allow you to enter Linux commands directly. This is a powerful tool for those who are used to working with the command line.
After launching the terminal, you must obtain superuser rights by entering the command su and confirming the request in the pop-up window of the root access manager. After the symbol appears # instead $ you will get full access. To view the contents of the data folder, use the command ls -l /data/data. It will display a detailed list of all applications and access rights to them.
sucd /data/data
ls -la
Using the terminal, you can not only view, but also bulk change rights or delete files using scripts. For example, the command chmod 777 /data/data/com.example.app will open full access to the specific application folder for all processes. However, use such commands with extreme caution, as they reduce the security of the device.
Comparison table for access methods
To choose the best way to gain access to system files, letโs compare the main methods according to key parameters. Each of them has its own advantages and disadvantages depending on your goals and the version of the operating system.
| Access method | Presence of Root | Complexity | Security | Functional |
|---|---|---|---|---|
| Standard Explorer | No | Low | High | Public files only |
| ADB (via PC) | No | Medium | High | View and copy |
| Root manager | Yes | Low | Medium | Full access and editing |
| Terminal (Su) | Yes | High | Low | Full system control |
As can be seen from the table, for one-time file extraction operations the method with ADBis best suited. It does not require opening the system and maintains the warranty. For constant work with system files and deep modification of the firmware, an indispensable tool will be Root manager.
The safest way to access the data folder for an ordinary user is to use ADB through a computer. It does not require root access and minimizes the risk of system damage.
Restoring access and solving problems
Often users are faced with a situation where a folder is visible, but files are not copied, or access is denied even with root access. This may be due to the fact that the partition is mounted in Read-Only mode. In such cases, it is necessary to remount the partition with write rights.
File managers with root access usually have a button Mount R/W in the top panel. Clicking on it switches the mode of working with the file system. If you are working through a terminal, use the command mount -o remount,rw /data. After completing this operation, you will be able to freely write and modify files in the protected directory.
โ ๏ธ Attention: On devices with data encryption (entire disk encryption), access to the folder
/datais impossible until the user unlocks the screen at least once after turning on the phone. Until this point, the partition is encrypted and inaccessible even to root processes.
Another common problem is changing the path structure in different firmware. On some custom firmware (for example, LineageOS or Pixel Experience), the paths may differ slightly from the stock versions. Android. Always check the current directory structure using the command lsbefore trying to navigate to a hard-coded path.
What to do if the phone went into bootloop after changing data?
If after editing files in the data folder the phone stops booting, try going into Recovery Mode and clearing the cache (Wipe Cache Partition). If this does not help, you will need a full Factory Reset or restore from a system backup.
Frequently asked questions (FAQ)
Can I delete the data folder to free up space?
Absolutely not. Deleting the contents of the folder /data will lead to the deletion of all installed applications, your accounts, settings and personal data. The phone will turn into a โbrickโ or boot into the factory settings state, losing all information. You need to free up space by clearing the cache of specific applications or deleting media files.
Why canโt I see the Android/data folder on the new phone?
This is a security limitation introduced in Android 11 and strengthened in newer versions. The system hides the contents of this folder from third-party file managers. To see the files, use Google's built-in Files explorer or connect your phone to your computer in file transfer mode (MTP).
Is it safe to give root access to a file manager?
It is only safe if you trust the application developer. Popular managers like Solid Explorer or Root Explorer are time-tested. However, do not give root access to unknown applications from unverified sources, as they will have full access to all your data, including passwords and banking applications.
Where are game saves stored without the cloud?
Most often they are located along the path /data/data/game.package name/files or /sdcard/Android/data/game.package name/files. To access the first path you need root access or ADB, the second requires a special file manager with access via SAF on new versions of Android.
Will the IMEI or serial number change when accessing data?
No, simply viewing or copying files from a folder /data does not affect the device's hardware identifiers such as IMEI or serial number. However, changing specific system files in the section /data/property theoretically can affect the software settings of the network, but this requires deep knowledge and is not recommended.