The Android folder on Xiaomi smartphones (including Redmi, POCO, and Black Shark) is a hidden system directory that stores app data, cache, OTA updates, and temporary files, and may be needed to clean up garbage, manually update firmware, or recover deleted data. However, by default, the folder is hidden from the user โ it is not visible in the standard MIUI file manager or when connected to a computer.
In this article, we will discuss the 5 proven ways to open the Android folder on Xiaomi โ from simple (via file manager settings) to advanced (using ADB and recovery mode). Also, you will learn which files can be deleted without risk to the system, and which are strictly forbidden to touch. Instructions are relevant for all versions of MIUI (including MIUI ZXXXPH0004QXZ and HyperOS) and models of smartphones released after ZXQPH0005QPHXXXXXXXX.
1. Method: through the standard file manager MIUI
The fastest method is to use Xiaomi's built-in file manager, which allows you to enable the display of hidden folders without additional software.
- Open the Files app (Blue folder icon).
- Slip along three horizontal lines in the upper left corner (menu).
- Select Settings โ Additionally.
- Activate the switch to show hidden files.
- Return to the root directory (/storage/emulated/0/) and you will see the Android folder.
โ ๏ธ Warning: In some versions of MIUI (e.g., MIUI 12.5 for the European region), the option is hidden deeper. If it is not in Additional, try the path: Settings โ About โ Version MIUI (tap 7 times to unlock the developer mode, then go back to the file manager settings).
What to do in the Android folder through the file manager:
- ๐ View the contents of the data subfolders (application data), obb (additional game files), media (multimedia).
- ๐๏ธ Remove the application cache from Android/data/<package_name>/cache (e.g., to clean up the space).
- ๐ Copy backups from Android/backup.
- โ ๏ธ You cannot delete files from Android/ota โ this may interrupt the update process MIUI.
2. Method: Connecting to a computer (Windows/macOS/Linux)
If you need to copy files from the Android folder to your PC or, conversely, download data there (for example, firmware for manual updates), use a USB connection. Importantly, the smartphone must be unlocked, and Xiaomi drivers are installed on the computer (you can download from the official website mi.com).
Step-by-step:
- Connect your smartphone to your computer through USB-cable (preferably original).
- On the phone, select the file transfer mode: File Manager or MTP (in the dropdown notification).
- On PC, open This computer (Windows) or Finder (macOS) โ the device will appear as a removable disk.
- Go to the Internal Memory folder โ Android.
| computer OS | Drivers. | Features of access |
|---|---|---|
| Windows 10/11 | Requires Mi PC Suite or ADB Driver | Can request permission to access files (let me use your phone) |
| macOS | Android File Transfer (official software from Google) | Android folder is visible, but some files may not be copied |
| Linux (Ubuntu/Fedora) | Drivers of mtp-tools and libmtp | Use gMTP or Nautilus to view the game. |
โ ๏ธ Warning: If the Android folder doesn't show up when you connect to your PC, check:
- ๐ Cable โ Some cheap cables only support charging, not data transmission.
- ๐ฑ On the phone in Settings โ Connection and Sharing โ USB File Transfer Mode is selected.
- ๐ฅ๏ธ Antiviruses are disabled on PCs (they can block access to system folders).
๐ก
If you want to copy large files (such as firmware), use a USB 3.0 cable and a port on a computer with high speed support, which will speed up the process by 5-10 times.
3 Method: Using ADB (for power users)
If standard methods donโt work (e.g., on HyperOS smartphones or enterprise devices), you can access the Android folder via Android Debug Bridge (ADB), which requires you to turn on the developer mode and install ADB on your computer.
Instructions:
- Activate Developer Mode: Settings โ About Phone โ MIUI Tap the build number 7 times until a notification appears You became a developer!.
- Return to Settings โ Additional โ For developers and enable: Debugging by USB Unlock OEM (if you plan to modify the system)
Connect the phone to the PC and confirm the debugging permission.
adb shell
ls /storage/emulated/0/AndroidThis will display the contents of the folder.
To copy files from phone to PC via ADB:
adb pull /storage/emulated/0/Android/folder on pcโ ๏ธ Warning: Commands ADB with root rights (e.g., su) may disrupt MIUI or cause warranty loss. Do not use them without a clear understanding of the consequences.
Install Platform Tools from Google| Enable debugging by USB on your phone | Connect the original USB- cable | Check the connection with the adb devices | Download the backup data-->
4. Method: via TWRP Recovery (for unlocked bootloader)
If your Xiaomi has an unlocked bootloader and a custom TWRP recovery installed, you can access the Android folder even if the system isn't booting.This method is often used to recover data after a reset or install firmware.
How to enter the folder through TWRP:
- Turn off the phone.
- Press Volume Up + Power to Enter Recovery.
- From the TWRP menu, select Advanced โ File Manager.
- Go to /data/media/0/Android.
- To copy files, connect your phone to your PC and select Mount โ Enable MTP.
โ ๏ธ Warning: In TWRP, the Android folder can appear as /data/media/0/Android or /sdcard/Android โ that's OK. Don't change files to /data/data/ unless you're sure they're there!
What if TWRP doesnโt see internal memory?
5. Method: Third-party file managers (Solid Explorer, FX)
The standard MIUI file manager has limitations โ it doesnโt show some system files even when the hidden folder mode is turned on, and third-party applications like Solid Explorer or FX File Manager will help.
How to set up Solid Explorer to access Android:
- Install Solid Explorer from Google Play.
- Open the application and provide all the permissions requested.
- Slip on the icon โฐ (menu) โ Settings โ Access to the root directory.
- Enable the option to show hidden files.
- Go back to the root directory and open the Android folder.
Advantages of third-party managers:
- ๐ Root access support (if the phone is rooted)
- ๐ Built-in archiver for.zip and.rar.
- ๐ Connecting to cloud storage (Google Drive, Mi Cloud).
- ๐ Ability to back up folders directly to the cloud.
โ ๏ธ Warning: Some file managers (e.g., ES Explorer) may contain advertising software. Use verified applications from the official store.
Which files in the Android folder can be deleted and which can not
The Android folder contains critical data for the system and applications to work. Incorrect deletion of files can cause crashes, loss of data or inability to update MIUI. Below is a table with allowed and prohibited actions.
| Folder/file | Can I remove it? | Effects of removal | When you need it. |
|---|---|---|---|
| Android/data/<package>/cache | โ Yes. | The application cache will be cleared (data not affected) | Freeing up space, speeding up the application |
| Android/obb | โ Yes (only your files) | Additional game data (e.g. graphics packages) will be deleted | If the game stops working or you need to vacate the space |
| Android/media | โ Yes. | Downloaded media files (music, videos from apps) will be deleted | Cleaning up garbage after using messengers |
| Android/ota | โ No. | MIUI updates will be interrupted, brick is possible | โ |
| Android/backup | โ ๏ธ Partially. | Remove backup copies of applications (can only be restored through them) | If the copies are outdated or take up a lot of space |
๐น Safe actions:
- ๐งน Delete the cache from Android/data/<package>/cache (e.g., Facebook, Instagram).
- ๐๏ธ Clean up the Android/media/com.whatsapp/ folder (media files from WhatsApp).
- ๐ฆ Removal of old updates from Android/data/com.xiaomi.market/update/ (if not needed).
๐น Dangerous actions (can break the system):
- ๐ซ Delete files from Android/ota (updates MIUI).
- ๐ซ Modify files to Android/data/com.android.providers.settings/ (system settings).
- ๐ซ Uninstalling folders with unknown package_name (may disrupt applications).
๐ก
Before deleting any files from your Android folder, back up via MIUI Backup or TWRP. This will allow you to restore the system in case of an error.
Frequent problems and their solutions
When working with the Android folder on Xiaomi, users encounter typical errors, and let's analyze the most common and ways to fix them.
๐ธ Problem: The Android folder doesn't show up even after you turn on hidden files.
Decision:
- Check if access to files is disabled in Settings โ Applications โ Files โ Permissions.
- Restart your phone โ sometimes MIUI resets the display settings.
- Use ADB to check for folder: adb shell ls /storage/emulated/0/
๐ธ Problem: When you connect to a PC, the Android folder is empty or files are not copied.
Decision:
- Try another one. USB-cable (preferably original).
- Enable Developer Mode and activate Debugging over USB.
- On PC, install Mi PC Suite or Google USB Driver.
- Use Solid Explorer with FTP- Server to transfer files over Wi-Fi.
๐ธ Problem: After deleting files from Android/data, the application stopped working.
Decision:
- Reinstall the app through Google Play.
- Clean the application data into Settings โ Applications โ [Name] โ Storage โ Clear the data.
- Restore deleted files from backup (if any).