I am connecting a Samsung Galaxy Note II(Android 4.0, Ice Cream Sandwich) to Ubuntu 12.04 laptop through USB. I am able to see the directories like Music, files, Bluetooth, ShareViaWiFi etc. I also see a message at the top right corner which says "These files are on a digital audio player" but when I open these directories I am unable to see any file. I want to copy a media file located in ShareViaWiFi folder to my Ubuntu laptop. But I am unable to see the file when I open the folder in Ubuntu. I can see the file in the Samsung Galaxy, so I know it is there for sure.
Asked
Active
Viewed 676 times
1
-
1Are you a pretty linux-savvy ubuntu user? If you are, you can mount the phone's internal hard drive to your system and then access it through terminal. – John Jul 05 '13 at 07:59
-
I tried the command 'df -h' but the samsung storage does not show up in the output. I would like to try out your suggestion if you could tell me which commands to execute. – Jay Jul 05 '13 at 08:03
-
You most likely use MTP. If I'm correct, you might want to add the 'mtp' tag to your question, and then follow it for related questions. There are several options provided already. As you either use USB, you might also want to take a look into Is there a minimal installation of ADB?, and especially watch for QtADB there (graphical ADB frontend which includes a.o. a file manager). – Izzy Jul 05 '13 at 11:56
1 Answers
1
To start make sure your device is unplugged. Then run:
df -h
that will show you the list of currently mounted devices. Now plug in your device and run the same command again. You should see that there is a new device mounted. Now all you have to do is cd
into that mount point to access the files. Here is my example output:
john-macbookpro:~ John$ df -h
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 297Gi 68Gi 229Gi 23% 17872734 60060168 23% /
#plugged in device
john-macbookpro:~ John$ df -h
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 297Gi 68Gi 229Gi 23% 17872734 60060168 23% /
/dev/disk3s1 983Mi 13Mi 970Mi 2% 512 0 100% /Volumes/BACKUP ONLY
john-macbookpro:~ John$ cd /Volumes/BACKUP\ ONLY/
john-macbookpro:BACKUP ONLY John$ ls
hello.txt
john-macbookpro:BACKUP ONLY John$ cp hello.txt /Users/John/Documents/
john-macbookpro:BACKUP ONLY John$ cat /Users/John/Documents/hello.txt
Hello!
If for some reason your device is not getting mounted, you should try to download ADB:
run ADB and it should try to manage your Android device.
adb start

John
- 1,526
- 2
- 13
- 19