Folder Data on Android is one of the most mysterious directories for ordinary users. It stores critical application files, system settings and user data, but remains hidden from view by default. Many people are faced with the need to find this folder when transferring data, making backups, or troubleshooting app errors. However, standard file managers do not show it, and attempts to gain access often end with a message about lack of rights.

In this article we will figure out where the folder is physically located /data in the structure Android, how to get to it without root-rights and with them, as well as what to do if access is blocked. We will pay special attention to the nuances for different versions of the OS - from Android 10 to Android 14, where Google has tightened its security policy. If you have ever wondered why some applications โ€œrememberโ€ your settings after reinstallation, while others do not, the answer lies in this directory.

We warn you in advance: working with the folder /data requires caution. Incorrect actions may result in system failure or data loss. If your goal is simply to free up space or transfer files, it may be worth considering alternative methods (we'll also talk about them below).

Transferring data between devices|Recovering deleted files|Fixing errors in applications|Curiosity, I want to see what's inside|Other-->

1. Where is the Data folder physically located on Android

The folder /data is a system partition that is created during installation Android on the device. It is located in the root directory of the file system and has the following path:

/data/

However, it will not be possible to see it through the standard file manager (for example, Files by Google or Mi File Manager). The fact is that Android restricts access to system partitions based on security principles:

  • ๐Ÿ“ Custom files - stored in /storage/emulated/0/ (this is what you see in the gallery or explorer).
  • ๐Ÿ”’ System data โ€” are hidden in /data/, and access to them is limited.
  • ๐Ÿ› ๏ธ Privileged applications (for example, Titanium Backup) may request extended rights.

Inside /data there are several key subfolders:

  • ๐Ÿ“ฑ /data/app/ - installed applications (APK files and OBB cache).
  • ๐Ÿ‘ค /data/data/ โ€” personal data of each application (settings, databases, cache).
  • ๐Ÿ“ /data/media/ - symbolic link to user storage (/storage/emulated/0/).
  • ๐Ÿ”ง /data/system/ - system settings (Wi-Fi, Bluetooth, accounts).

On devices with root-rights, the path will be displayed directly. Without them, workaround methods will be required, which we will discuss later.

โš ๏ธ Attention: On some firmware (for example, MIUI or ColorOS) the path may change due to customization by the manufacturer. If you do not find the folder at the standard address, check the structure through ADB Shell (command ls /data).

2. How to open the Data folder without root access

If your device does not have rootaccess, the ability to work with /data is very limited. However, there are several legal ways to access individual files:

Method 1: Through ADB (Android Debug Bridge)

The tool ADB allows you to execute commands on the device via a computer. To copy files from /data:

  1. Enable USB debugging in the developer settings (Settings โ†’ About phone โ†’ Build number (press 7 times) โ†’ For developers).
  2. Connect the phone to the PC and run in the terminal:
    adb pull /data/data/com.example.app/ ./backup/

    (replace com.example.app to your application package).

Method 2: Backup via Android Backup Service

Some applications (for example, Swift Backup or OAndBackupX) can create data backups without rootusing built-in mechanisms Android. Minus - not all files are copied completely.

Method 3: Using applications with extended rights

Applications like FX File Explorer or Solid Explorer can request access to /data via ADB or special plugins. To do this:

  • ๐Ÿ”Œ Connect to your PC and do:
    adb -d shell pm grant com.example.fileexplorer android.permission.READ_EXTERNAL_STORAGE
  • ๐Ÿ“ฒ In the application itself, activate the mode Root Explorer (if supported).
โš ๏ธ Attention: Starting from Android 11, Google has tightened its access policy to /data/data/ via ADB. On new devices, an application signature or additional manipulations with adb shell.

Install drivers for your device|Enable USB debugging|Download ADB platform tools|Check the connection using the adb devices command|Create a backup copy of important data-->

3. Access the Data folder with root access

If your device has root, The process is simplified. You can use any file manager with support for root-access (for example, Root Explorer or Mixplorer). Algorithm of actions:

  1. Open the manager and grant it root-rights. request.
  2. Go to the path /data/.
  3. To edit system files, remount the partition in write mode:
    su
    

    mount -o rw,remount /data

Inside /data/data/ you will see folders with names in the format com.android.appname โ€”these are application identifiers. For example:

  • ๐Ÿ“ง com.android.email โ€” mail client data.
  • ๐Ÿ’ฌ com.whatsapp โ€” message databases WhatsApp.
  • ๐ŸŽฎ com.supercell.clashofclans โ€” game saves Clash of Clans.

What can you do with root access:

  • ๐Ÿ”„ Copy application databases to transfer to another device.
  • ๐Ÿ—‘๏ธ Delete unnecessary cache or residual files after uninstallation.
  • ๐Ÿ”ง Edit configuration files (for example, build.prop).

What not to do:

  • โŒ Delete system application folders (this will lead to the crash of the OS).
  • โŒ Change access rights (chmod) for critical files.
  • โŒ Edit files in /data/system/ without understanding the consequences.
What will happen if you delete application folder in /data/data?

The next time you start the app, it will create a new folder with default settings, but all user data (saves, logins, cache) will be lost forever. Some applications may stop running if critical files (for example, license keys) were stored in their folder.

4. applications

If you need files from only one application (for example, saving a game or a messenger database), you donโ€™t have to dig through the entire folder /data. Here's how to find the desired directory:

Step 1: Find out the batch name of the application

You can do this in several ways ways:

  • ๐Ÿ” Via Play Market: open the application page - the package name is indicated in the URL (for example, com.whatsapp for WhatsApp).
  • ๐Ÿ“ฑ Via ADB:
    adb shell pm list packages | grep "keyword"
  • ๐Ÿ› ๏ธ Using applications like App Inspector.

Step 2: Go to the application folder

The path will look like this:

/data/data/package_name/

Inside you will find standard subfolders:

Folder Contents Can I edit
databases/ SQLite databases (saves, chats, settings) Yes, but with caution
shared_prefs/ XML files with user preferences Yes
files/ Arbitrary files loaded by the application Yes
cache/ Temporary files (can be cleared) Yes
lib/ Libraries and native code No (risk of crashes)

For example, to transfer game saves Brawl Stars (com.supercell.brawlstars), copy the contents /data/data/com.supercell.brawlstars/files/Supercell/.

๐Ÿ’ก

If you are transferring data between devices, make sure that the application versions are the same. Different assemblies may use incompatible file formats.

5. Alternative ways to work with application data

If access to /data cannot be obtained, consider alternatives:

1. Backup via Titanium Backup (requires root)

The application allows you to create complete backups of application data, including settings and cache. Supports uploading to the cloud or PC.

2. Export data through the app itself

Many apps have built-in export functions:

  • ๐Ÿ“ฑ WhatsApp: Settings โ†’ Chat โ†’ Backup.
  • ๐ŸŽฎ Games: often save progress to your account Google Play Games or Facebook.
  • ๐Ÿ“Š Notes applications (for example, Evernote or Google Keep) are synchronized with the cloud.

3. Using cloud services

Services like Google Drive, Dropbox or OneDrive are often integrated into applications for automatic backup. Check the synchronization settings.

4. Transfer via OTG or memory card

Some applications (for example, Kodi or VLC) allow you to specify the path to save files to removable media. This way you can bypass the restrictions /data.

๐Ÿ’ก

Before any manipulations with application data, check whether it supports cloud synchronization. This is the safest way to transfer information.

6. Risks and cautions when working with the Data folder

Careless actions in /data can lead to serious consequences. Here are the main risks:

  • ๐Ÿ’ฅ Data loss: Deleting or damaging files in /data/data/ is often irreversible. For example, deleting a folder com.whatsapp erases the entire message history.
  • ๐Ÿ”„ Misfunctions applications: Changing files in shared_prefs/ can make the app inoperable.
  • ๐Ÿšจ Device locking: Editing files in /data/system/ (for example, gesture.key or password.key) will reset the pattern or password.
  • ๐Ÿ›ก๏ธ Security breach: Some files contain authorization tokens (for example, for Google Account or banking applications). Their leakage is dangerous.

How to minimize risks:

  • ๐Ÿ”„ Always create a backup copy before making changes:
    adb backup -f backup.ab -apk -obb -shared -all
  • ๐Ÿ“ Keep a change log (which files are you editing and why).
  • ๐Ÿ› ๏ธ Use TWRP Recovery to create a complete image of the partition /data.
โš ๏ธ Attention: On devices with encryption FBE (File-Based Encryption, starting from Android 7) files in /data are encrypted with a unique key. Transferring these files to another device without a key will make them unreadable. Encryption is used, for example, in Pixel, Samsung Knox i Huawei.

7. Common errors and their solutions

Problem 1: The /data folder is not displayed in the file manager

Solution:

  • Check whether the display hidden files mode is enabled.
  • Update the file manager to the latest version.
  • Try an alternative manager (for example Mixplorer with a plugin for root).

Problem 2: ADB gives a "Permission denied" error when accessing /data

Solution:

  • Run the command:
    adb root

    (some devices will require a reboot ADB in root).

  • Check whether USB debugging is enabled in the developer settings.
  • On Android 10+ may need to be disabled adb shell and start again.

Problem 3: After copying files from /data, the application does not see them

Solution:

  • Check the permissions on the copied files:
    chmod 644 file_name
  • Make sure that the path to the files has not changed (some apps check absolute paths).
  • Reinstall the application if it does not update the cache.

Issue 4: The device froze after making changes to /data/system

Solution:

  • Reboot into Recovery Mode and restore the backup.
  • If there is no backup, reset the settings (Wipe Data), but this will delete all data.
๐Ÿ’ก

If you are not sure of your actions, it is better to use specialized tools (for example, Swift Backup for backups or App Cloner for data transfer).

FAQ: Frequently asked questions

Is it possible to access the Data folder on unrooted phone?

Partially. Without root you can view some files via ADB or backup, but full access is not possible due to security restrictions AndroidStarting from Android 11. even ADB has limited rights.

How to transfer game saves from one phone to another?

Methods depend on the game:

  • ๐ŸŽฎ If the game supports Google Play Games, synchronize via account.
  • ๐Ÿ“ For offline games, copy the save folder from /data/data/package_name/files/ (required root).
  • ๐Ÿ–ฅ๏ธ Use Titanium Backup or Helium to create a backup.

Please note that some games (for example, Genshin Impact) store saves on servers and do not allow local transfer.

What to do if you accidentally deleted a folder in /data?

If you have root and it is turned on TWRP, try restoring the data via adb pull from a backup. If not, the only option is to reset the settings. backup is almost impossible due to the peculiarities of the file system /data without backup it is almost impossible due to the peculiarities of the file system ext4.

Is it possible to change the path for storing application data from /data to a memory card?

On most modern devices - no. Android hardly binds application data to the partition /data for security reasons, however, some. customized firmware (for example, LineageOS) support the function Adoptable Storage, which allows you to use an SD card as part of the internal memory.

Why did the Data folder become inaccessible after updating Android?

Most likely, there were changes in the security policy Starting from Android 10, Google introduced the concept Scoped Storagethat limits access to system partitions even for rootapplications. Solutions:

  • Update Magisk and rootmanagers to the latest. versions.
  • Try to roll back to the previous version Android (if possible).
  • Use ADB in mode root (adb root).