When I enable USB debugging in an Android phone and connect it to Ubuntu, I get a popup like:
Unable to mount SAMSUNG_Android
Error initializing camera: -60: Could not lock the device
How can I disable or ignore the popup?
In Windows it works fine; the problem is just in Ubuntu.
To pair, open the KDE Connect app on your Android device. From the main screen look for your system under “Available devices”. Tap the name of your system and hit the big blue “Request Pairing” button to fling a pair request over to your Ubuntu box.
Steps to access Android Devices in Ubuntu, Linux Mint Plug in your Android device using USB cable in Ubuntu. In your Android device, swipe down from above in the home screen and click Touch for more options. In the next menu, select option “Transfer File (MTP)“.
The problem is that Ubuntu is yet to support MTP natively. I hope with the next 13.04 version they will fix this annoying problem. In the mean time, you can manually add MTP support to your ubuntu's PPA and have seamless access to your android device.
In Terminal, issue:
sudo add-apt-repository ppa:langdalepl/gvfs-mtp sudo apt-get update
then
sudo apt-get install gvfs
Restart your computer. You might have to turn on USB Debugging on your Android devices. Next time when you plug it in, there should be no annoying error popups, it should appear in Nautilus as a single device with SD card and internal memory as sub folders, not as two mounted devices. Data transfer should work, but you might have problem accessing the device from some applications, in which case you might want to give Go-mtpfs a try. It requires manual mounting/unmounting the device, (which is done in two clicks) but then everything should be as fast and easy as accessing a normal folder.
Hope that will help you. It works for me. Ubuntu 12.04, Samsung Galaxy S III and Nexus 7.
On Ubuntu 14.04 LTS I just had to
sudo apt-get install mtpfs
Worked like magic -- didn't even need to unplug my phone.
Today I solved the problem, with an Wiko DARKMOON. The problem of Linux' the gvfs-solution was, that there was no mapping for my device in file "/lib/udev/rules.d/69-libmtp.rules"
Attention: It could be, that you need to enable the "USB debugging", to see the device by lsusb. This can be done like this:
The next steps helped me to automount my device on Linux Mint with an already-installed "gfvs":
Find the vendorid and productid with lsusb:
lsusb
Bus 001 Device 013: ID 0bb4:0c02 HTC (High Tech Computer Corp.) Dream / ADP1 / G1 / Magic / Tattoo (Debug)
...
the "0bb4" is the vendor-id, the "0c02"is the productid
open the file "/lib/udev/rules.d/69-libmtp.rules" for edit:
gksudo gedit /lib/udev/rules.d/69-libmtp.rules
Insert the new device, by duplicating a previous one and correcting the id's and save the file:
# Wiko DARKMOON
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c02", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
Unplug your smartphone and replug it. Your Linux should mount your device like it would do for other ones.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With