Android hides files and folders that start with a dot (.) — exactly like Linux and macOS. This is not a bug or a permission restriction; it is a deliberate convention that keeps your file browser clean by hiding system files, caches, configuration data, and app internals that most users never need to see. However, these hidden files can consume significant storage space, contain important configuration you need to edit, or include media that should appear in your gallery but does not. AnExplorer lets you toggle hidden file visibility instantly.
Quick Answer
Open AnExplorer → tap ⋮ (Menu) → enable Show Hidden Files. All dotfiles and hidden folders instantly appear throughout the entire filesystem. Toggle it off to hide them again.
How to Enable Hidden Files in AnExplorer
- Open AnExplorer
- Tap the ⋮ (three-dot menu) or navigate to Settings / View Options
- Find the Show Hidden Files toggle and enable it
- Immediately, all files and folders starting with
.become visible in every directory you browse - Hidden items typically appear slightly dimmed or with a dot prefix to distinguish them from regular files
To hide them again when you are done: same menu → toggle off. This does not delete anything — it only changes visibility in the file browser.
What Makes a File "Hidden" on Android
Hidden files on Android follow the Unix/Linux convention — any file or folder whose name starts with a period (.) is hidden from normal directory listings. This includes:
.thumbnails— a folder, not a single file.nomedia— an empty marker file.cache— app cache storage.config— configuration files.DS_Store— macOS metadata (from Mac file transfers)
This convention is enforced by file managers, gallery apps, and media scanners — not by Android's filesystem itself. The files are always physically present and accessible; they are simply filtered from display by default.
Common Hidden Files and Folders — What They Do
Understanding what each hidden file does helps you decide what is safe to delete and what should remain:
| File/Folder | Typical Location | Purpose | Safe to Delete? |
|---|---|---|---|
.thumbnails/ | /DCIM/.thumbnails/ or /Pictures/.thumbnails/ | Cached thumbnail images for gallery apps | ✅ Yes — regenerates automatically |
.nomedia | Various media folders | Marker that tells gallery apps to skip this folder | ⚠️ Depends — removing makes folder visible to gallery |
.DS_Store | Anywhere (after Mac transfers) | macOS folder metadata (useless on Android) | ✅ Yes — completely safe |
.cache/ | /Android/data/[app]/.cache/ | Per-app temporary cached data | ✅ Yes — apps recreate as needed |
.trash/ or .Trash-1000/ | Various | Deleted file buffer for some apps | ✅ Yes — empty to free space |
.trashed-* | Various | Individual trashed files | ✅ Yes — if you do not need to recover them |
.SomeApp/ | Internal Storage root | Hidden app data directories | ⚠️ Check contents first |
.git/ | Developer project folders | Version control history | ❌ No — critical for developers |
.Statuses/ | WhatsApp Media folder | Temporary status/story downloads | ✅ Yes — ephemeral content |
The .thumbnails Folder — A Hidden Space Consumer
The .thumbnails folder is one of the biggest hidden storage consumers. Gallery apps (including Google Photos and Samsung Gallery) create thumbnail versions of every image for fast scrolling. This folder can grow to hundreds of megabytes or even several gigabytes:
- Enable hidden files in AnExplorer
- Navigate to
DCIM/.thumbnails/orPictures/.thumbnails/ - Check the folder size — it might surprise you
- Delete the entire folder contents to reclaim space
- The folder will be recreated automatically as you browse photos, but it starts empty
To prevent the thumbnails folder from growing excessively, you can place a .nomedia file inside it — though this may slow down gallery browsing slightly.
Understanding .nomedia Files
A .nomedia file is a special empty file that tells Android's media scanner to skip the entire folder it resides in. This means:
- Photos in that folder will not appear in Google Photos, Samsung Gallery, or any gallery app
- Audio files will not appear in music players
- Videos will not show up in video apps
This is used for:
- App icon assets (so random UI images do not pollute your photo gallery)
- WhatsApp stickers and GIFs (so hundreds of sticker images stay out of your gallery)
- Game textures and resources
- Private photos you want hidden from gallery apps
Adding a .nomedia File to Hide a Folder from Gallery
If you have a folder with images that keeps appearing in your Gallery app and you want them hidden:
- Navigate to the folder in AnExplorer
- Tap ⋮ More → New File
- Name it exactly:
.nomedia(with the dot prefix, no file extension) - Create the file — it can be completely empty (0 bytes)
- Gallery apps will now ignore the entire folder and all subfolders beneath it
- The change may take a few minutes or a device restart to take effect (gallery apps cache their indexes)
Use cases: meme folders, wallpaper collections, work screenshots, reference images you do not want mixed with personal photos.
Removing .nomedia to Make Photos Visible in Gallery
If photos are missing from your Gallery app, a .nomedia file in their folder is the most likely cause:
- Enable hidden files in AnExplorer (as described above)
- Navigate to the folder containing the missing photos
- Look for a file named
.nomedia - Long-press it → Delete
- Restart your Gallery app (or reboot your phone) — the photos should now appear
Common locations where .nomedia causes confusion:
WhatsApp/Media/WhatsApp Images/— if someone accidentally created a.nomediahere, all WhatsApp images vanish from galleryPictures/[SomeApp]/— app-created folders sometimes include.nomediaby defaultDCIM/— very rarely, but devastating if present (hides ALL camera photos from gallery)
Accessing App Data in Restricted Directories
The Android/data/ and Android/obb/ folders contain per-app storage that has become increasingly restricted on modern Android versions. These are not "hidden" in the dot-prefix sense, but they behave similarly because Android blocks access:
Android 10 and below: Full access — AnExplorer can browse these freely.
Android 11 and 12: AnExplorer can access these folders by requesting permission through Android's Storage Access Framework. When you navigate to Android/data/, a system prompt appears asking you to grant access to that specific folder. Tap "Use this folder" → "Allow" to proceed.
Android 13 and 14+: Google has completely blocked third-party file managers from accessing Android/data/ directly. Workarounds include:
- Using AnExplorer's root file manager mode (requires ADB or root)
- Connecting your phone to a PC via USB MTP (full access from PC)
- Using ADB shell commands to read or copy files from these directories
Root-Only Hidden Directories
Some directories are protected by Android's Linux kernel and require root access regardless of hidden file visibility settings:
| Directory | Root Required | Contents |
|---|---|---|
/data/data/ | ✅ Yes | All app databases, preferences, and private storage |
/data/user/0/ | ✅ Yes | Same as /data/data/ on multi-user devices |
/system/ | ✅ Yes | System apps, framework, and Android OS files |
/system/priv-app/ | ✅ Yes | Privileged system applications |
/proc/ | ✅ Yes | Virtual filesystem showing running processes |
/data/misc/ | ✅ Yes | WiFi credentials, Bluetooth pairings, system config |
If your device is rooted, AnExplorer can access these with root mode enabled:
- AnExplorer → Settings → Enable Root Support
- Grant root permission when prompted by your superuser manager
- Navigate to
/data/data/[app.package.name]/for direct database access (useful for developers)
Hidden Files and Storage Cleanup
Hidden files can consume significant storage without appearing in standard cleanup tools. To find hidden storage consumers:
- Enable hidden files in AnExplorer
- Use the Analyser (storage map) — hidden folders are now included in the size calculations
- Look for unusually large
.cache,.thumbnails, or.trashfolders - Delete cache and thumbnail contents safely
- Check for leftover hidden folders from uninstalled apps (e.g.,
.viber/,.telegram/if those apps are no longer installed)
Troubleshooting
Hidden files toggle is enabled but some folders are still inaccessible
- Visibility and access are different things. The toggle makes hidden files visible, but Android's permission system still controls access
/data/app/(installed APK storage) requires root regardless of visibility settingsAndroid/data/on Android 13+ is restricted by OS policy, not by hidden file status
.nomedia file created but gallery still shows the photos
Gallery apps cache their media index and do not re-scan immediately:
- Force-close the Gallery app and reopen it
- If that does not work, restart your phone
- Some gallery apps (Google Photos) sync with cloud and may show cloud-backed copies even when local
.nomediais present - Clear the gallery app's cache (Settings → Apps → Gallery → Storage → Clear Cache) to force a re-scan
Cannot create a .nomedia file — "invalid filename" error
Some file creation dialogs do not allow names starting with a dot. Workaround:
- Create a file named
nomedia(without the dot) - Then rename it to
.nomediausing AnExplorer's rename function - Or use AnExplorer's terminal/shell to run:
touch .nomediain the target directory
Related Guides
- WhatsApp Storage Fix — manage WhatsApp's hidden media folders
- Android Storage Full — find hidden large files consuming space
- Photos Not Showing in Gallery — fix .nomedia hiding photos
- Backup Apps as APK — access app data for backup
