Accessing the Android file system is a basic task that every user faces. However, even a simple operation of viewing the contents of the internal memory or SD card can turn into a puzzle: manufacturers limit the capabilities through shells like MIUI or ColorOS, and Android 11+ tightened the rules for working with storage. In this article, we will analyze all the current methods - from the standard file manager to commands ADB and custom recovery - and also explain why some folders remain inaccessible even after obtaining root access.
It is important to understand: the level of access depends on the version of Android, device model and purposes. For example, to transfer photos to a PC, a connection via MTPis enough, but to edit system files in /data/data/, you will need to unlock the bootloader and install Magisk. We have structured the methods by complexity - from simple to advanced - so that you can choose the best option without unnecessary risks.
1. Standard access through a file manager
The most secure and universal way is to use built-in or third-party file manager. On pure Android (for example Pixel or Nokia), all you need to do is open the application Files from Google. On devices with custom shells (Samsung One UI, Xiaomi MIUI), the path may differ, but the logic remains the same.
What can be done through the standard manager:
- ๐ View and edit files in folders
Download,DCIM,Documents. - ๐ Copy/move data between internal memory and SD card (if supported).
- ๐๏ธ Delete unnecessary files (except system ones).
- ๐ Use search by file name (in some managers - by content).
Method limitations:
- ๐ซ No access to folders of other applications (
/data/data/com.app.package/). - ๐ซ You cannot edit system files in
/system/or/vendor/. - ๐ซ On Android 11+ applications can see only your own folders in
Android/data/iAndroid/obb/.
โ ๏ธ Attention: On some devices (for example, Huawei s EMUI) the built-in file manager can hide system folders even if you have root. In this case, use third-party applications like Solid Explorer or FX File Manager.
2. Connecting to a PC via MTP (Media Transfer Protocol)
Protocol MTP is the main method of transferring files between an Android device and a computer. It works on all modern smartphones and does not require additional settings. To activate the mode:
- Connect the phone to the PC via
USB-C(orMicro-USBfor older models). - In the notification shade, click on the option
USB for file transfer(the name may vary). - Select mode
File transfer (MTP).
Then the device will be displayed in This computer (Windows) or Finder (macOS) as a removable disk. You can:
- ๐ฅ Copy files in both directions (for example, download music or upload photos).
- ๐ View the folder structure (except for hidden system ones).
- ๐๏ธ Format the SD card (if it is connected as a portable storage).
Problems and solutions:
- ๐ The device is not detected: Try a different cable (preferably the original one), check the USB port on the PC, update the drivers (
ADB Driverfor Windows). - ๐ Folders cannot be opened: On Android 11+, some directories are hidden - use
ADB(section 4) or a file manager with root. - ๐ข Slow transfer speed: Connect via
USB 3.0(blue port) or use an OTG adapter to directly read the SD card.
โ ๏ธ Attention: On devices Samsung s One UI 5.0+ When connecting to a PC for the first time, you may need to unlock the screen and confirm the trusted device. Without this, MTP access will not work.
| USB mode | Description | Available actions |
|---|---|---|
File transfer (MTP) |
The main protocol for data exchange | Reading/writing files (except system files) |
Transferring photos (PTP) |
Optimized for working with images | Only access to folder DCIM i Pictures |
USB modem |
Internet distribution from the phone | No access to files |
Charging |
Power supply only USB | No access to files |
3. Using an SD card as portable or internal storage
If your device supports microSD, you can expand the memory or transfer part of the data to it. There are two modes of operation of the card:
- Portable storage: The card works as a removable disk. Files can be copied directly through a PC or file manager. Suitable for media files, documents.
- Internal. storage (Adoptable Storage): The card is formatted as part of the system memory. Applications can be transferred to it, but the card cannot be removed without losing data.
How to set up:
- Insert the SD card into the slot.
- Go to
Settings โ Storage. - Click on the card name โ
Configure. - Select mode (
PortableorInternal). - When selecting internal storage, follow the instructions for formatting.
Limitations:
- ๐ซ Adoptable Storage does not work on all devices (for example, Samsung and Huawei disabled this function).
- ๐ซ Class cards
UHS-I(fast) may not be supported by older smartphones. - ๐ซ When used as internal storage, the card cannot be removed for reading on another device.
โ๏ธ Preparing the SD card for use
4. Advanced access via ADB (Android Debug Bridge)
The tool ADB allows you to manage the Android file system via the PC command line. This is useful when:
- You need to copy files from protected folders (
/data,/system). - Bulk deletion or movement of files is required.
- Standard methods (MTP, manager) do not work due to errors.
How to connect:
- Enable
USB debugginginSettings โ About phone โ Build number(press 7 times) โFor developers โ USB debugging. - Connect phone to the PC and confirm the trusted device.
- Open the command line (Windows) or terminal (macOS/Linux) and enter:
adb devices
If the device is displayed in the list, you can work with files:
adb pull. /sdcard/Download/C:/Backup/ # Copy the Download folder to the PCadb shell ls /data/data/ # View the list of application folders
adb shell cp /sdcard/file.txt /data/local/tmp/ # Copy the file to the system folder
Critical note: ADB commands with root access (for example, adb root) only work on unlocked devices with custom recovery or Magisk. On stock firmware, access will be limited.
โ ๏ธ Attention: Some manufacturers (for example, Xiaomi) block ADB commands for working with system ones partitions even with debugging enabled. In this case, you will need to unlock the bootloader.
5. Full access via root and custom recovery (TWRP)
If you need unlimited access to all memory partitions (including /system, /data, /vendor), you will need:
- Unlock bootloader (bootloader).
- Install custom recovery (TWRP).
- Get root access via Magisk.
Advantages of the method:
- ๐ Full control over the file system (including hidden folders).
- ๐ ๏ธ Ability to edit system files (for example,
build.prop). - ๐ฆ Backup and recovery via TWRP.
Risks:
- ๐ฅ Loss of warranty (on most devices).
- ๐ด Possibility of bricking in case of errors in commands.
- ๐ก๏ธ Vulnerability to malware (if you use root carelessly).
Step-by-step guide for Xiaomi (for example Redmi Note 10 Pro):
- Unlock the bootloader via
Mi Unlock Tool(requires linking Mi account). - Install TWRP via
fastboot flash recovery twrp.img. - Boot into recovery (
Power + Vol Up) and flash Magisk. - Use Root Explorer or
ADB with root accessto access files.
What happens if you delete system files?
Deleting or editing files in /system can lead to a bootloop, camera failure, loss of network or complete inoperability of the device. For example, deletion. /system/priv-app/TeleService.apk on Xiaomi will deprive you of the ability to make calls. Always make a backup in TWRP before making changes!
6. Cloud services and remote access
If physical access to the device is limited (for example, the phone is lost or is located in another place), you can use cloud services:
- ๐ฅ๏ธ Google Drive: Automatic folder synchronization
Download,DCIM. - ๐ฑ Mi Cloud (for Xiaomi): Backing up contacts, notes, photos.
- ๐ Termux + SSH: Remote file management via terminal (requires configuration).
How to set up automatic synchronization with Google Drive:
- Open the application
Google Drive. - Go to
Settings โ Backup. - Enable the option
Backup folders devices. - Select folders to synchronize (for example,
DCIM/Camera).
Cloud service restrictions:
- ๐ซ No access to system files or data from other applications.
- ๐ซ Download speed depends on the Internet connection.
- ๐ซ On some devices (for example, Huawei without Google services) you will need alternatives like Yandex Disk.
If you urgently need to copy files from a phone that does not turn on, try connecting it to the PC in Fastboot mode and use the command fastboot pull /sdcard/. will work if the partition /sdcard is not encrypted.
7. Working with hidden and protected folders
Some folders in Android are hidden from the user by default. These include:
/data/data/โ application data (databases, cache)./system/โ system files (read only without root)./root/โ root partition (accessible only via root)./storage/emulated/0/Android/โ foldersobbidata(limited on Android 11+).
How to access them:
| Folder | Access method | Required rights |
|---|---|---|
/data/data/ |
ADB with root or file manager with root | Root |
/system/ |
Read only without root; recording - with root | Root (for recording) |
/storage/emulated/0/Android/obb/ |
Through ADB or specialized managers (for example, Mixplorer) | Without root (limited) |
/sdcard/.thumbnails/ |
Any file manager with showing hidden files enabled | Without root |
Example command for copying an application database via ADB:
adb pull /data/data/com.whatsapp/databases/msgstore.db C:/Backup/
โ ๏ธ Attention: On devices with File-Based Encryption (FBE), such as Pixel 6 or Samsung Galaxy S22, access to /data even through ADB with root may be limited until the screen is unlocked after a reboot.
On Android 11+, accessing other application folders (Android/data/) requires either root or using the command adb backup (but not all applications support this method).
FAQ: Frequently asked questions about accessing Android memory
Is it possible to access the phone's memory without root?
Yes, but with limitations. Through the standard file manager or MTP, you will only see user folders (Download, DCIM). system files or application data (/data/data/) will require root access or ADB with an unlocked bootloader.
Why does the PC not see the phone via USB?
The reasons may be different:
- ๐ Faulty cable or port (try another USB cable, preferably original).
- ๐ฅ๏ธ There are no drivers (install
Google USB Driverfor Windows). - ๐ฑ The mode
MTPin the phone notification shade is not selected. - ๐ On some devices (for example, OnePlus), you need to additionally allow access to
Settings โ System โ Advanced โ Developer options โ Default USB configuration.
How to copy files from the phone if the screen broken?
Methods depend on the state of the device:
- ๐ If the phone turns on and responds to touches: connect the mouse via
OTG adapterand unlock the screen, then useMTP. - ๐ป If the screen does not work, but USB debugging was enabled previously: connect to the PC and use
ADB pull /sdcard/ C:/Backup/. - ๐ง If all else fails: remove the microSD (if used as portable storage) or contact a service center to extract data via
ISP(for containerseMMC/UFS).
Is it possible to recover deleted files from Android memory?
Recovery is possible, but with reservations:
- ๐๏ธ For internal memory: Use apps like DiskDigger or EaseUS MobiSaver, but the chances are low - Android overwrites deleted data faster than Windows.
- ๐ For SD cards: Connect it to the PC via a card reader and scan using Recuva or PhotoRec.
- โ ๏ธ Important: Do not write new files to the device after deletion - this reduces the chances of recovery.
On devices with FBE encryption (Android 10+) recovery is almost impossible without root.
How to transfer applications to an SD card?
The method depends on the Android version and manufacturer:
- ๐ฑ Android 6-9: Go to
Settings โ Applications โ Select application โ Storage โ Edit โ SD card. - ๐ฑ Android 10+: Most manufacturers have disabled this feature. An alternative is to use the SD card as internal storage (Adoptable Storage), but this formats the card and binds it to the device.
- ๐ฑ Samsung/One UI: There is no function for transferring applications to SD, but you can move media files some data.
For forced transfer you will need root and an application like App2SD.