Thursday, May 3, 2018

sd card - How to mount disks of a Samsung Galaxy in a Linux System (connected with a USB cable)?


I have connected a Samsung Galaxy S i9000 to a Linux machine over the USB cable.


How can I access the disks of the galaxy from the linux machine through this cable (and not through wireless or by opening the cover and removing the sd card).



I cannot find anything under /dev/disk/by-id/ on the linux machine that could be mounted.


Edit: While connected via USB, there is a USB icon on notification bar of the galaxy android device. When I drag the notification bar down, you I see a "USB connection" item. But I cannot do or change anything with it.




The steps from the accepted answer:


1) Go to Settings - Applications - Development and turn USB Debugging to off.


2) Go to Settings - About Phone and switch USB connection to Ask on connection. Maybe mass storage could also work, but in my case there was some samsung app kies still blocking the connection with this setting, so I prefer ask


3) Connect the device to the linux box with the USB cable. The android device brings up a menu, select mass storage


4) There should appear a USB icon on the notification bar of the android device. Drag it down and select mount...


If nothing is mounted on the linux box automatically to /media/ you have to mount manually.


You can watch the syslog on the linux box with this command, type it into a console of a user that has sudo rights before you connect the USB cable:



sudo tail -f /var/log/syslog


Some messages should appear after you connect the cable that help you analyze the situation.


This link is also a good resource: http://androidforums.com/android-lounge/115574-solved-cannot-mount-android-device-via-usb-linux.html



Answer



Go to Settings -> About phone -> USB Settings and set it to Mass Storage. You may also need to enable or disable Settings -> Applications -> Development -> USB debugging. The drives should be visible to the PC when you connect the device, but you should also have to click the USB notification you mention and tell it to actually mount the storage to PC so that they are accessible. Finally, try looking at this for more info: http://androidforums.com/android-lounge/115574-solved-cannot-mount-android-device-via-usb-linux.html


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...