Skip to content

Why pictures not showing in gallery after dragging into scrcpy android? #6200

Closed

Description

@hide-and-seek123

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.

Activity

  1. eret9616 commented on May 19, 2026

    @eret9616
    Contributor

    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)
    • explicit --push-target keeps current behavior

    Tested on OnePlus Android 13. Default off.

    Branch: https://github.com/eret9616/scrcpy/tree/feat/media-scan-on-push

  2. added a commit that references this issue on Jun 24, 2026
    1b0fc0c
  3. added a commit that references this issue on Jul 18, 2026
    e20fd9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions