You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why pictures not showing in gallery after dragging into scrcpy android? #6200
I could see the pictures in /sdcard/DCIM/Camera, to where I transferred pictures from my PC, but I just can't find them in my gallery. Even after renaming them to something like IMG_xxx, they still don't show up, I also can't find them when when trying to send these pictures in apps. I think the fact that they're missing from the gallery explains this.
Vendor galleries only index a fixed set of folders and need MediaStore to know about the file. adb push does neither, so dragged-in images never show up.
Sent a patch as an opt-in --media-scan:
routes images to /sdcard/Pictures/ and videos to /sdcard/Movies/ when --push-target isn't set
runs cmd media_scanner scan-file after push, with am broadcast MEDIA_SCANNER_SCAN_FILE as fallback (OnePlus / ColorOS strips the media_scanner shell service — first call returns Can't find service)
Activity
eret9616 commentedon May 19, 2026
Vendor galleries only index a fixed set of folders and need MediaStore to know about the file.
adb pushdoes neither, so dragged-in images never show up.Sent a patch as an opt-in
--media-scan:/sdcard/Pictures/and videos to/sdcard/Movies/when--push-targetisn't setcmd media_scanner scan-fileafter push, witham broadcast MEDIA_SCANNER_SCAN_FILEas fallback (OnePlus / ColorOS strips themedia_scannershell service — first call returnsCan't find service)--push-targetkeeps current behaviorTested on OnePlus Android 13. Default off.
Branch: https://github.com/eret9616/scrcpy/tree/feat/media-scan-on-push
Trigger media scan after file push
Trigger media scan after file push