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 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