"Media Storage" hogs almost 4 gbytes (!!!) of storage

InfX

Senior Member
May 1, 2008
885
216
73
I know it stores media scan db. Unlike previous Android versions, the OS does not let one wipe it's data or even force stop it. Using "pm clear com.android.providers.media" from ADB is, apparently, still allowed but doesn't seem to fix anything. It seem to recreate the db, judging by all the ringtones/notification tones getting reset everywhere, but it's data size remains about 3.8gb, which is insane. Media scanner apps show 401 total media files found, 355 images, 22 video and 24 audio files, those amounts should be far cry from being a big deal. What in the world is going on?! I don't have root, so i can't peek in /data/data/com.android.providers.media. I absolutely do not want to hard reset either.



Any ideas? :(
 

InfX

Senior Member
May 1, 2008
885
216
73
False alert. System UI seems to report the entire shared storage at "data" of that app, which has mislead me. Not sure if i should delete this thread now, or keep it in case someone else happens to notice this and wonders.
 

dirtyreturn

Senior Member
Aug 14, 2011
1,102
240
83
I had telegram do that to me before, kind of. Like, how did all these pictures get here and stuff...

Sent from my Pixel 5 using Tapatalk
 

InfX

Senior Member
May 1, 2008
885
216
73
It was a false alarm from my side, it didn't actually blow that db out of proportions, it just mistakenly shows everything on the "internal storage" as belonging to that app data. Guess it just counts everything created by whatever Linux user MTP runs on, and everything there belongs to that user.
 

InfX

Senior Member
May 1, 2008
885
216
73
BTW, since when did they disable wiping the data on it? Is it new on Android 11, or did i skip too many Android versions, lol. Still possible over adb, with pm, though. Gladly, doesn't follow the same logic the counting does!
 

dirtyreturn

Senior Member
Aug 14, 2011
1,102
240
83
BTW, since when did they disable wiping the data on it? Is it new on Android 11, or did i skip too many Android versions, lol. Still possible over adb, with pm, though. Gladly, doesn't follow the same logic the counting does!
I've not got an answer. I remember that on like ics or honeycomb gingerbread.
A while ago, anyway.

Well good news on your findings! When things like that happen it's crazy strange

Sent from my Pixel 5 using Tapatalk


There's the reset option under settings system now I guess
 
Last edited:

InfX

Senior Member
May 1, 2008
885
216
73
I've not got an answer. I remember that on like ics or honeycomb gingerbread.
A while ago, anyway.

Well good news on your findings! When things like that happen it's crazy strange
Indeed it is crazy strange. I've had this db getting huge before on older devices, but my first though was "how the hell, the phone is a week old", second thought "screw it, wipe and let it rescan", and then i see it still huge, lol.

Keeping this thread instead of deleting it, who knows, maybe in a month from now someone is going to wonder about the same thing.
 

dirtyreturn

Senior Member
Aug 14, 2011
1,102
240
83
Indeed it is crazy strange. I've had this db getting huge before on older devices, but my first though was "how the hell, the phone is a week old", second thought "screw it, wipe and let it rescan", and then i see it still huge, lol.

Keeping this thread instead of deleting it, who knows, maybe in a month from now someone is going to wonder about the same thing.
I'd sure not delete it.

If you think starting this thread was bad.
Man, I've posted worse, unfortunately. Being a super noob once

.

Sent from my Pixel 5 using Tapatalk