1

scan media not working on Oreo

Hello,

The "scan media" action does not seem to work on my "Note 8" with Oreo. I believe this is a bug that needs to be addressed.

Instead, I am using the following shell command with root:

am startservice --es volume "external" com.android.providers.media/.MediaScannerService

There is also an app that works for the "scan media":

https://github.com/zhuowei/scanmediaplz

3 replies

But with this intent, it works:

am startservice --es volume "external" com.android.providers.media/.MediaScannerService

Yes. If i supply a directory, it still doesn't work.

Hi. Did you supply a directory or file when doing the scan?