TECH / Hardware 2 min read

How to Fix ‘Enable Documents First’ on Android and Xiaomi

Antonio NEMCD Author
Published Mar 5, 2017 · 2 min

When trying to grant SD card access, pick a file, or run a recovery app on Xiaomi smartphones (and several other Android devices), you may run into a cryptic prompt: “Enable Documents first”. Until that hidden system component is turned back on, the app simply refuses to proceed.

Xiaomi smartphone running MIUI

I first hit this on a Xiaomi Redmi Note 3 Pro running MIUI 8 – the ROM disables Android’s built-in file picker (DocumentsUI) by default, and re-enabling it only takes half a minute.

How to Enable Documents in Xiaomi (MIUI) Settings

Here are the exact steps on MIUI (newer MIUI and HyperOS builds use almost the same path):

  1. Open Settings: tap the gear icon on your home screen.

Opening Settings on a Xiaomi phone

  1. Open Installed / All Apps: scroll down to Installed apps (or Apps -> Manage apps). On newer Android builds, tap the three-dot menu at the top right and choose Show all apps / system processes.

All apps section inside Android Settings

  1. Locate Documents: scroll through the list (or search for Documents / Files) – you will see it marked as Disabled.

Documents system app shown as Disabled

  1. Enable it: open the app page and tap Enable at the bottom of the screen.

Enable button for the Documents system app in Android

If “Documents” Is Missing or Greyed Out (Android 10–14)

On newer Android versions, Google renamed Documents to the system app Files (package com.android.documentsui or com.google.android.documentsui). If it got disabled during debloating and won’t toggle back on in Settings, re-enable it from a PC over ADB:

adb shell pm enable com.android.documentsui
adb shell pm enable com.google.android.documentsui

On older MIUI builds, the system occasionally disables Documents again after a reboot – fine if you only needed one-time SD card permission, while turning off MIUI Optimization or enabling via ADB keeps it active permanently.

Related posts:

Leave a Comment