Users of modern smartphones are often faced with the need to look deeper into the internal structure of the operating system. Standard Android settings provide only basic information about the size applications and amount of memory used, hiding the real file structure. However, to diagnose errors, recover lost data, or study the operation of specific software, direct access to directories is required.
The process of viewing system files has changed dramatically with the release of Android 11 and subsequent versions. Previously, any file manager could easily show the contents of a folder /Android/data, but now Google has tightened its security policy, limiting access to these directories without special rights. This was done to protect user data from malware, but made life difficult for advanced enthusiasts.
In this article we will look at all the legal and technical ways to bypass restrictions and see what exactly is stored inside your smartphone. We'll look at methods from simple settings to using USB debugging so you can choose the best option for your device model.
Standard system settings and memory analysis
The easiest way to get initial information about how much space it takes up app, located in the settings menu. This method will not show individual files, but will give a clear idea of โโโโthe distribution of space between the application code itself, user data and the cache.
To access this information, you must go to the section Settings โ Applications โ All Apps. Here you will see a complete list of installed software. When you select a specific item, the system will display a storage usage summary table. Please note the difference between the "App Size" and "User Data" items.
If you notice an abnormally large volume in the data section, this may indicate an accumulation of logs, databases, or media files inside a closed container. Clearing the cache through this menu is safe and will not delete your personal settings, while the "Clear data" button will reset the app to its factory state.
โ ๏ธ Warning: Forcibly stopping the application before viewing data may lead to the loss of unsaved progress in games or current sessions in instant messengers. Always save important information before manipulation.
It is worth considering that shell interfaces from different manufacturers may differ. On devices Samsung the path can be through the "Application Manager", and on Xiaomi through the advanced settings in the "About phone" menu. Details of the menu implementation may change with each firmware update, so check the current guides for your model.
Access to the Android folder through file managers
Starting with the eleventh version of the mobile operating system, access to the directory /Android/data i /Android/obb for third-party applications was blocked. This means that popular conductors like Total Commander or the built-in Google Files will not be able to display the contents of these folders without additional steps.
However, there is a workaround that allows you to open access to these hidden resources without gaining root access. You will need a special file manager, for example Solid Explorer or CX Explorer, which can request system permission to access these directories through the standard Android interface.
When you try to enter the folder Android the system will display request for permission. Once confirmed, you will be able to view application-specific files. This is especially useful for finding game saves or messenger configuration files that are stored in these protected sections.
- ๐ Install an advanced file manager from the Play Store that supports working with SAF (Storage Access Framework).
- ๐ When entering the folder
Android/dataclick the "Use this" button folder" in the system dialog. - ๐๏ธ Now you can see the file structure, but copying or deleting may be restricted by security policy.
It is important to understand that even with this method, some system files will remain hidden. Full access to the entire file system, including root directories, is only possible if you have permissions Root, which we will discuss below.
If the standard permission dialog does not appear, try clearing the cache of the file manager itself or restarting the device before trying to enter the Android folder again.
Using developer mode and USB debugging
For those who need deeper analysis without obtaining root access, developer mode is an excellent tool. Enabling this mode allows access to USB debugging, which allows the computer to interact with the phone's file system at a lower level.
To enable this mode, go to Settings โ About phone and quickly click 7 times on the "Build number" item. After this, a new section โFor Developersโ will appear in the main settings menu. Inside, you need to activate the switch USB debugging.
By connecting your smartphone to the computer with a cable, you can use command line tools to extract data. This is the most reliable way to get copies of databases or configurations if the application does not allow you to export them using standard means.
adb pull /sdcard/Android/data/com.example.app/files backup_folder
This command will copy all files from the specified application directory to a folder on your computer backup_folder. This is a safe method that does not require system modification and works on most modern devices with debugging enabled.
โ๏ธ Preparing for USB debugging
Viewing data through a computer and ADB Shell
Toolkit Android Debug Bridge (ADB) provides powerful capabilities for system analysis. With its help, you can not just copy files, but also view the directory structure, access rights, and even run processes inside the application's isolated environment.
After connecting the device and setting up ADB, you can enter the device shell with the command adb shell. From here you access the Android console. To view a list of all installed packages and their paths, use the command pm list packages, which will display a complete list of identifiers.
Knowing the exact name of the package (for example, com.whatsapp), you can go to its directory. However, remember that without root access, access to /data/data/ will be denied even through ADB. You will only be able to work with publicly accessible sections of internal memory.
| ADB command | Description of action | Requires Root |
|---|---|---|
adb shell ls /sdcard/Android/data |
View application folders in internal memory | No |
adb shell pm path com.package.name |
Searching for the installation path of a specific application | No |
adb shell run-as com.package.name |
Running a shell on behalf of a specific application | No (for debug ones) |
adb pull /data/data/... |
Extracting system data applications | Yes |
Using the command run-as is a unique opportunity for developers. If the application has a "debuggable" status, this command will allow you to enter its context and read files from a private folder without having to root the entire phone.
โ ๏ธ Warning: ADB commands give a high level of access to the system. Erroneously deleting files through the console can lead to applications not working or data loss beyond recovery.
What to do if the device is not detected in ADB?
Make sure that drivers for your manufacturer are installed on your computer (Google USB Driver, Samsung Driver, etc.). Try replacing the USB cable with the original one and switching the phone connection mode to โFile Transferโ (MTP) instead of โCharging Onlyโ.
Full access with root access and specialized software
The only way to gain absolute control over the file system is to obtain superuser rights (Root). This removes all Android security restrictions, allowing you to view and edit any files, including system libraries and databases of other applications.
To work with such a system, you will need specialized file managers, such as Root Explorer, Mixplorer or Solid Explorer with Root mode enabled. These applications can mount partitions in read-write mode, which is critical for modifying configurations.
The rooting process is individual for each device model and often leads to loss of warranty. In addition, many banking applications and services with SafetyNet protection will stop working on modified devices without additional masking settings.
- ๐ root access give access to the folder
/data/data, where the most valuable application data is stored. - โ๏ธ Allows you to change access rights (chmod/chown) for system files.
- โ ๏ธ High risk of โbrickingโ the device if system components are carelessly removed.
Access to the /data/data folder is possible only with root access or on devices with an unlocked bootloader in developer mode for debugged applications. This is a key limitation of the Android security architecture, which cannot be bypassed programmatically on stock firmware.
Obtaining root access opens up maximum opportunities for analysis, but irreversibly violates the integrity of the security system and can make the device vulnerable to viruses.
Analysis of cache and temporary application files
A significant part of the data that takes up space on a smartphone is the cache. These are temporary files that applications create to speed up work: thumbnails of images, downloaded video fragments, temporary logs of network requests.
Viewing the cache often helps to understand why an application is running slowly or taking up gigabytes of space. In folders cache inside application directories you can find thousands of small files that are safely deleted without losing the user's personal data.
However, some applications use the cache aggressively, storing files there that logically should be stored in permanent storage. Analyzing the contents of these folders through a file manager allows you to identify such anomalies and manually clear โgarbageโ that automatic cleaners may miss.
Regular checking of cache volume is especially important for social networks and instant messengers, which are prone to temporary files growing. If you see that the cache takes up more space than the application itself, this is a reason to do a deep clean.
Is it possible to view application data without root access?
Yes, partially. You can view files in a folder /Android/data through special file managers using the SAF system permission. You can also view shared files in the internal memory and use ADB for debugged applications.
Is it safe to delete files from the Android/data folder?
Deleting files from this folder may lead to resetting application settings, losing game saves or cached data (for example, offline maps). Delete files only if you understand their purpose or want to completely reset the application.
Why do you need USB debugging to view files?
USB debugging allows you to use your computer to manage your phone's file system through ADB commands. This provides more flexible options for copying and analyzing data than standard applications on the smartphone itself, especially for hidden system folders.
Why is the Android/data folder empty or inaccessible?
Starting with Android 11, access to this folder for third-party applications is limited by the security policy (Scoped Storage). It is not empty, but standard explorers do not have rights to display its contents without special system permission.