The MediaProvider module optimizes indexed metadata (audio, video, and images from SD cards and USB devices) and makes that data available to apps through the MediaStore public APIs.

For further details on this module, see the Media section.

Module format

The MediaProvider module ( is in APK-in-APEX format and is available for devices running Android 11 or higher.


For details on adding new media formats, influencing which storage devices are indexed, and replacing the MTP stack, see MediaProvider.