Why Android Blocks File Access (And How to Fix It)
If you've upgraded to Android 11 or newer, you've probably encountered permission errors that didn't exist before. Files you could access freely now show "Permission denied," "Access restricted," or simply don't appear. This isn't a bug — it's Google's Scoped Storage system, designed to protect your data from malicious apps.
The problem: Scoped Storage also blocks legitimate file managers from doing their job. Here's how to restore full access.
Understanding Android's Permission Layers
Android has multiple layers of file access control. Each layer needs to be configured:
| Layer | What it controls | How to grant |
|---|---|---|
| Basic storage | Photos, videos, audio, downloads | Automatic (media permissions) |
| All files access | Everything except Android/data | Settings → Apps → Permissions → Storage |
| SAF (Android/data) | App-private folders | Navigate in AnExplorer → grant per-folder |
| SAF (SD card) | External SD card write access | Navigate in AnExplorer → grant once |
| Root access | System partitions | Requires rooted device + AnExplorer Pro |
Most users need layers 1-4. Root (layer 5) is only for advanced users with unlocked bootloaders.
Fix 1: Grant "All Files Access" (Most Important)
This is the single most important permission for any file manager on Android 11+:
- Open Settings → Apps → AnExplorer
- Tap Permissions → Storage
- Select "Allow management of all files"
What this enables:
- Browse all folders on internal storage
- Read, write, move, copy, delete files anywhere (except Android/data)
- Access Downloads, Documents, DCIM, and all other user folders
- Manage files from other apps
What this does NOT enable:
- Access to Android/data/ (needs separate SAF grant)
- Access to Android/obb/ (needs separate SAF grant)
- Write access to SD card (needs separate SAF grant)
- Access to system partitions (needs root)
If you don't see this option: Your phone may be on Android 10 or older (where this permission doesn't exist — file managers have full access by default). Or the option may be under a different path on your phone's UI skin.
Fix 2: Grant Android/data Access (SAF)
Android 12+ completely blocks access to Android/data/ and Android/obb/ — even with "All files access." These folders contain app-private data (game saves, WhatsApp databases, app caches).
To access them in AnExplorer:
- Open AnExplorer → navigate to Internal Storage → Android → data
- A system dialog appears: "Allow AnExplorer to access this folder?"
- Tap "Use this folder" → tap Allow
- Full read/write access granted
This is a one-time permission per folder. Once granted, it persists across app restarts and reboots (unless permissions are reset — see Fix 5).
Why you need this:
- Managing WhatsApp backups (in
Android/media/com.whatsapp/) - Backing up game saves before factory reset
- Deleting large game OBB files to free storage
- Accessing app-specific downloads
Fix 3: Grant SD Card Write Access
Android 11+ requires explicit permission to write to external SD cards:
- Open AnExplorer → navigate to your SD card
- System dialog: "Allow AnExplorer to access SD card name?"
- Tap "Use this folder" → Allow
- Full read/write access to the entire SD card
Without this grant, you can read files from the SD card but can't write, move, rename, or delete them.
Common symptom: "Read-only file system" or "Cannot move file" errors when trying to organize files on SD card.
Fix 4: Manufacturer-Specific Permission Issues
Some phone brands add extra permission layers:
Xiaomi/MIUI/HyperOS:
- Settings → Privacy protection → Special permissions → All files access → AnExplorer → Allow
- Also: Settings → Apps → Manage apps → AnExplorer → Permissions → Storage → Allow
Samsung One UI:
- Settings → Apps → AnExplorer → Permissions → Storage → Allow management of all files
- If not visible: Settings → Apps → ⋮ → Special access → All files access → AnExplorer
Oppo/Realme (ColorOS):
- Settings → Privacy → Permission manager → Storage → AnExplorer → Allow all
- Also check: Settings → Apps → App management → AnExplorer → Permissions
OnePlus (OxygenOS):
- Settings → Apps → App management → AnExplorer → Permissions → Storage → Allow management of all files
Huawei/Honor (EMUI/MagicOS):
- Settings → Apps → Permissions → Storage → AnExplorer → Allow
- Also: Settings → Apps → Special app access → All files access → AnExplorer
Fix 5: Permissions Keep Resetting
If permissions reset after a few days or after reboot:
Cause 1: "Remove permissions if unused" setting Android 12+ automatically revokes permissions from apps you haven't used recently.
- Fix: Settings → Apps → AnExplorer → Permissions → disable "Remove permissions if app is unused" (or "Pause app activity if unused")
Cause 2: Battery optimization killing the app Some phones (Xiaomi, Oppo, Vivo) kill apps aggressively, which can trigger permission revocation.
- Fix: Disable battery optimization for AnExplorer (see device-specific guides)
Cause 3: App updates Major app updates sometimes require re-granting permissions.
- Fix: Re-grant after updates if prompted
Fix 6: "Storage permission not granted" on First Launch
When you first install AnExplorer, it requests storage permission. If you accidentally denied it:
- Settings → Apps → AnExplorer → Permissions
- Storage → Allow (or "Allow management of all files")
- Camera → Allow (if you want to scan QR codes for NAS connection)
- Restart AnExplorer
What You Still Can't Access (Without Root)
Even with all permissions granted, some areas remain inaccessible without root:
/system/— system apps and OS files/data/data/— other apps' private databases and preferences/proc/and/sys/— kernel interfaces- Other apps' internal storage (sandboxed by Android)
For these, you need a rooted device with Magisk and AnExplorer Pro's root mode enabled.
Related Guides
- Can't Delete Files — fix deletion permission errors
- SD Card Not Showing — SD card detection issues
- Root File Manager — access system files with root
- Access Hidden Files — find hidden files and folders
