You are not logged in.

#1 2012-03-17 05:42:10

godtuti
Member
Registered: 2010-08-21
Posts: 55

Galaxy Nexus Can't mount?

First off, the galaxy nexus has no micro sd card. With my past android phones, hooking up to linux was simple. The micro sd card would mount and from there, i could open up banshee and sync, or just manage the files from thunar. Worked perfectly. But with this phone, the means of access according to the options given by the phone while plugged into usb is MTP and PTP. I dont know much about either, but it doesn't mount the phone. I cant access through thunar, I did get it to show up in banshee for a second, But banshee just crashes, while running from terminal banshee says this 


[ethan@fuckyoupayme ~]$ banshee
[Info  01:39:28.226] Running Banshee 2.2.1: [ArchLinux (linux-gnu, x86_64) @ 2012-02-27 17:21:53 UTC]
[Info  01:39:29.001] Updating web proxy from GConf
[Warn  01:39:29.025] Failed to load media-player-info file for 1
[Info  01:39:29.052] All services are started 0.623892
[Info  01:39:29.555] nereid Client Started
[Info  01:39:29.619] GStreamer version 0.10.35.0, gapless: True, replaygain: False
[Warn  01:39:29.628] Failed to load media-player-info file for 1
libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/002/004: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=04e8 and PID=685c) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Android device detected, assigning default bug flags
Stacktrace:

Segmentation fault

So this is a libusb issue? Is there a way to just allocate permissions over to libusb? Please any help would be appreciated. This really makes the phone unusable.

Offline

#2 2012-03-17 10:21:22

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Galaxy Nexus Can't mount?

You'll probably need to set up a udev rule for it. Try the following (save it in for example /etc/udev/rules.d/51-android.rules):

SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="685c", MODE="0666", OWNER="ethan"

Burninate!

Offline

#3 2012-03-17 15:05:50

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: Galaxy Nexus Can't mount?

You can mount it through a terminal. From there my file manager(PCManFM) does see it and allow interactivity. You will need the udev rules like stated above and mtpfs installed on your machine.

sudo mkdir /media/nexus

Then follow this

https://wiki.archlinux.org/index.php/Mtp#mtpfs

It isn't an auto-mount but it does the job.


I did this same idea in ~/ but had issues with unmounting so I just aliased the commands to make it quicker.

Last edited by doug piston (2012-03-17 15:06:45)

Offline

#4 2012-03-17 17:24:20

godtuti
Member
Registered: 2010-08-21
Posts: 55

Re: Galaxy Nexus Can't mount?

So i added the udev rule, and ran the command

[ethan@fuckyoupayme ~]$ mtpfs /home/ethan/nexus
libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/002/004: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2.
Android device detected, assigning default bug flags

Then it just gives me a prompt for a new command. Nothing listed in thunar or banshee
i also ran this command
[ethan@fuckyoupayme ~]$ sudo mtpfs /home/ethan/nexusDevice 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2.
Android device detected, assigning default bug flags
fuse: bad mount point `/home/ethan/nexus': Permission denied
then that just quits out

Offline

#5 2012-03-17 17:43:21

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: Galaxy Nexus Can't mount?

Read the wiki a little closer. Unless you modified the fuse.conf the command should be

# mtpfs -o allow_other /home/ethan/nexusDevice

Offline

#6 2012-03-17 18:19:28

godtuti
Member
Registered: 2010-08-21
Posts: 55

Re: Galaxy Nexus Can't mount?

doug piston wrote:

Read the wiki a little closer. Unless you modified the fuse.conf the command should be

# mtpfs -o allow_other /home/ethan/nexusDevice

This makes it work in thunar. I can click on the nexusDevice folder and it opens up the "sdcard" (simulates there's an sdcard for saving user files, similar to a home directory) But there's still issues, The transfer rate is extremely slow , when trying to delete items, i get a cant find trash directory error, also its not picked up by banshee.

Offline

#7 2012-03-17 18:24:56

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: Galaxy Nexus Can't mount?

Transfer speed and Banshee issues I don't know about.  I use adb for file transfers and don't use banshee. Sorry mate. sad

Offline

#8 2012-03-17 19:06:37

godtuti
Member
Registered: 2010-08-21
Posts: 55

Re: Galaxy Nexus Can't mount?

doug piston wrote:

Transfer speed and Banshee issues I don't know about.  I use adb for file transfers and don't use banshee. Sorry mate. sad

I forgot about adb so i installed the sdk and now im using adb push and its working perfectly.

Offline

#9 2012-03-17 20:06:38

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: Galaxy Nexus Can't mount?

Also an FYI, generally Samsung is not a huge fan of none-OEM USB cables in data transfers. I'd say try it with the USB that came with the phone for mtpfs just to test.

Offline

#10 2012-06-25 19:52:43

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: Galaxy Nexus Can't mount?

@doug piston

doug piston wrote:

Also an FYI, generally Samsung is not a huge fan of none-OEM USB cables in data transfers. I'd say try it with the USB that came with the phone for mtpfs just to test.

I tried connecting my Galaxy S2 (ICS) with an OEM cable but no luck.

Last edited by trusktr (2012-06-25 19:53:07)


joe@trusktr.io - joe at true skater dot io.

Offline

#11 2012-06-25 20:34:54

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: Galaxy Nexus Can't mount?

Mine started working after I rebooted Arch Linux... Make sure to reboot after installing libmtp and gvfs-gphoto2.

EDIT just for Inxsible: In case anyone else runs into this problem, see here for the minimal steps that got it working with my Samsung Galaxy S2 (SII) with Ice Cream Sandwich (ICS): https://bbs.archlinux.org/viewtopic.php … 7#p1121607

Last edited by trusktr (2012-06-25 21:12:31)


joe@trusktr.io - joe at true skater dot io.

Offline

#12 2012-06-26 04:16:40

mr.marcus
Member
Registered: 2012-06-20
Posts: 41

Re: Galaxy Nexus Can't mount?

I was once like this with my Galaxy Nexus until I thought why am I worried about connecting my phone to my computer.  I just use File Expert app connect via Web, FTP using filezilla, or bluetooth.  For me this has been the easiest so I don't have to worry what OS I'm using.

Offline

Board footer

Powered by FluxBB