1

Since this morning after powering up my Oneplus 6 I'm unable to see any data in my phone via gallery or file manager or any application, and I'm unable to save any data to internal storage. (example: I'm able to use whatsapp for texting, but I can't receive/send any audio/picture and I can't access the old ones).

And I keep getting this error message:"com.android.providers.media.MediaApplication keeps stopping."

I don't know if that's what causing it or if that's just a consequence of not being able to access internal storage.

I can still see all the used storage from settings though.

Phone has unlocked bootloader, but no root.

I see other Oneplus users started getting the same error these days... (I have a Oneplus 6, but others have different models like Oneplus Nord).

I tried rebooting in safe mode, cleaning media and media.module packages from adb but no luck even if successful.Looks like the only remaining option is to reset the phone through recovery, but I wouldn't like to go through this and lose app data.

If anyone has any other suggestion on things to try, post it here please.

13
  • 1
    com.android.providers.media.MediaApplication is the central database that maps the files to their file location. Since Android 11 it is the only way for regular apps to access shared files. If it encounters a media file it can not process correctly (e.g. crashes while processing it) you can end up in such a situation. You can regenerate the database by clearing the app data for the aforementioned system app. It will then be regenerated (depending on the number of files you have stored this can take minutes or hours.
    – Robert
    Apr 3, 2022 at 17:23
  • Thank You for the comment @Robert! I've already tried cleaning cleaning the media packages successfully through adb with "$ adb shell pm clear com.android.providers.media $ adb shell pm clear com.google.android.providers.media.module" but I still have the same issue... Is there a way to specifically clean "com.android.providers.media.MediaApplication"?
    – Cuter
    Apr 3, 2022 at 17:54
  • @alecxs I cannot install any apps since it's like I don't have any storage left at all, even if I try unistalling apps
    – Cuter
    Apr 4, 2022 at 10:31
  • 'adb reboot bootloader; fastboot boot twrp-3.6.1_11-0-enchilada.img' (use screen lock pattern to decrypt) create backup and delete /data/data/com.android.providers.media
    – alecxs
    Apr 4, 2022 at 15:59
  • So is there no way to clear "com.android.providers.media.MediaApplication" app data directly from adb like Robert suggested?
    – Cuter
    Apr 4, 2022 at 21:28

0

You must log in to answer this question.