Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mount Galaxy Nexus Android Phone via USB [solved]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sat Aug 25, 2012 1:36 am    Post subject: Reply with quote

darkphader wrote:
Very strange scenario here - my Galaxy Nexus automounts just fine (!), but my new Nexus 7 does not.

I had the same problem, however using the solution immudium pointed out above, didn't even allow me to manually manage the files on my Nexus 7. Using sys-fs/mtpfs-1.1, and manually mounting the device appeared to mount the internal storage and show the correct directory structure, but it showed no files, (and was read only of course). So it definitely wasn't working right. (BTW, same when I tried accessing the Nexus 7 with gMTP)

My solution was to use jmtpfs instead. I used the ebuild from this Gentoo forum post, copied to my local overlay, to install sys-fs/jmtpfs-0.4 into my system, and then modified my /etc/fstab line to;
Code:
jmtpfs         /mnt/nexus      fuse      user,noauto,allow_other               0 0

So now, after I plug my Nexus 7 in, when I issue the command;
Code:
mount /mnt/nexus

I can manage the files on my device. BTW, I don't know if it matters, but in order to keep my mtp support up to date, I keyworded and emerged media-libs/libmtp-9999, and then I made sure to create a symbolic link in my udev directory for the rules file that is installed with it;
Code:
ln -s /lib64/udev/rules.d/69-libmtp.rules /etc/udev/rules.d/69-libmtp.rules

At least I notice that when the Nexus 7 is mounted, there's no "unknown device" message.

Good Luck..
Back to top
View user's profile Send private message
Markus1999
n00b
n00b


Joined: 23 Feb 2008
Posts: 3

PostPosted: Mon Aug 27, 2012 2:48 pm    Post subject: Reply with quote

immudium wrote:
I use
Code:
sys-fs/mtpfs

with the following line in /etc/fstab
Code:
mtpfs         /media/galaxy   fuse      user,noauto,allow_other   0 0

to mount my galaxy nexus. It's not an automount solution but it works and is the best solution I have for now. An alternative I suppose is to root the phone and then copy files over wifi via the sshdroid app but I haven't tried this.


thank you, immudium, that just did the trick for me!
Back to top
View user's profile Send private message
gr0x0rd
Guru
Guru


Joined: 12 Aug 2006
Posts: 311

PostPosted: Fri Jan 11, 2013 9:01 pm    Post subject: Reply with quote

The sys-fs/mtpfs / fstab solution isn't quite there with the Nexus 4 just yet...
Code:
gr0x0rd@teletran4 ~ $ sudo mtpfs /media/nexus
Error: Unable to open ~/.mtpz-data for reading.
Device 0 (VID=18d1 and PID=4ee1) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Android device detected, assigning default bug flags
Hopefully a newer release of mtpfs will do the trick...
_________________
~g
emerge -FML...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum