Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a bunch of photos on my Samsung Galaxy Tab running 3.2 which I'd like to copy over USB to my main machine running Linux so I can work on them with GIMP and other power tools. Despite this seeming like a simple and common thing to do, I haven't found any way to do this after hours of googling and experimenting.

Some answers and articles already out there assume the existence of sdcard, which I don't have (AFIK), mention directories named /dcim or /emmc (sp?), involve Windows-only software such as Kies, or are about some specialized problem not relevent here.

I figured I could poke around the Galaxy Tab's file system with adb, but found no place holding .jpg or other image files, which I should have at least 30 or so of. If I knew the path, I could just do an adb pull to get my photos.

If it's possible, I prefer to use adb pull, since it can be automated, but I also wonder how regular folk, the nontechies, get their photos off their tablets. I have read about MTP and that the USB mass storage device way of doing things doesn't work with the Galaxy Tab (or anything Samsung?)

Just to be clear, my photos do exist on the tablet. I can see them all in the Gallery, as a regular end user. I do have the proper USB cable, and adb runs fine.

share|improve this question

I assume you have Galaxy Tab with Honeycomb and don't have a SD card slot, but have 16/32 GBs of internal storage. In Honeycomb, MTP mode (Windows Media Transfer Protocol) is used instead of USB Mass storage. That's why it's isn't working for you perhaps.

First read what MTP is and why it's being used by OEMs now here. MTP and ICS. Also this Question should be useful - Android Stack Exchange - Can I disable MTP mode and just have a regular USB connection?

Have your tried enabling MTP support for Linux? These are the steps for a Ubuntu distro - Guide To Setup MTP.

Alternatively via using ADB I believe you can access Gallery files in /mnt/sdcard/. The sdcard folder should be there even if you don't have a SD card slot. Camera photos would be in /DCIM folder.

Full steps would be (if anyone needs) -

adb shell
cd /mnt/sdcard/DCIM/

You can check which folders exist here and verify if your Media files are here or not.

share|improve this answer
There is a /mnt but nothing at all inside it. For me, this mythical sdcard directory is as real as unicorns! – DarenW Apr 24 '12 at 15:03
Thanks for the pointer to a quick way to browse the device content. :-) It was a quick adb pull later to get what I needed! Thanks! – Norman H Jun 10 '15 at 13:44

If you can't find your files easily using ADB on /mnt/sdcard (which as Sameer mentions is where it should be, even if you don't have an external SD card), you might find it easier to use a local file explorer to search for/manage your pics. For many distros (like Ubuntu) you need to manually add a usb identifier for the device in udev after installing ADB.

share|improve this answer
Really? I connected my device via USB an "it just worked"(TM). I'm running Ubuntu 10.4 – CjS May 8 '12 at 11:21
I've never seen one connect without doing the manual add yet, myself. Was it a tablet? It might be identifying itself differently over USB than a phone might, or the manufacturer could have tweaked it. – Logos May 8 '12 at 15:25
Yes, an Asus TF-101 running 3.2 and 4.0.x. But my phone (LG Optimus One) also connects as long as usb debugging is checked in the settings. – CjS May 9 '12 at 15:08
Now that I think about it, the Acer Aconia didn't "just work", so it may be manufacturer dependent. – CjS May 11 '12 at 13:42

I don't think the filesystem on Android tabs is universal.

I haven't played with the Galaxy Tab, but on my Asus TF101, the internal storage is at /mnt/sdcard, while on my dad's Acer Iconia, it's /sdcard (IIRC).

From a quick google, it appears that Galaxy Tab photos are stored in /sdcard/DCIM/Camera/ or /Data/DCIM/Camera/ for internal storage or perhaps /sdcard/external_sd/DCIM/Camera/ if using the 'external' sdcard.

I'd look for these three folders using a file manager on your device (or ADB) and then use ADB to pull them as you described once you've found your photos.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.