When an Android device receives a security or software update while Adoptable Storage is engaged, media files may appear to be duplicated throughout the filesystem mounted at “/storage/emulated/0” aka “/sdcard”. This has been a major annoyance to many Android users and one that has been around ever since the feature was established. After endless searching I was unable to find a solution, this led me to work on my own.
This issue becomes apparent due to a minor glitch in the Android OS that occurs when the adopted SD Card is dismounted, while the OS is being updated or when the OS is powered off abruptly. The issue is not device specific and can affect all Android devices that have Adoptable Storage enabled. The fix is quite simple and can save you the trouble of having to re-format your SD Card and re-transfer all of your media.
- First go to “Settings > Apps > All apps”
- Tap the 3 dots in the top right hand corner
- On the menu that appears select “Show system”
- Scroll down to “Media Storage” and tap on it.
- Tap “Force Stop”
- Now tap “Storage” and in the window that appears select “Clear Data”
- Now go back to “All apps” and scroll to “Storage Manager” and do the same
- Restart your device.
When your device has successfully booted it will begin to re-index the content present on your adopted SD card. This may take some time. When your media files have re-appeared, you will notice that the duplicates are now gone. – Alexander Lindo