I got ubuntu working with MTP on my Galaxy Nexus (and A500) using instructions for the Nexus 7. I have documented these at my website.
http://www.winters.org.nz/android-hints-tips-stuff/working-mtp-on-ubuntu
This setup is the only one I have managed to get working, I am using Ubuntu 12.10, and it should work for earlier versions.
Thanks mate, I'll have a look. Also got Gnex, A501 and Ubuntu 12.10 :laugh:
j3r3myp said:
Thanks mate, I'll have a look. Also got Gnex, A501 and Ubuntu 12.10 :laugh:
Click to expand...
Click to collapse
I found that connecting more than one device at a time didnt work - could be something in how the udev config is..
If you post the device ids for the 501 (i guess they are different), then I can add that to my page..
I'll have to give this a try as well, as I've had no luck connecting my gnex to Windows XP, Windows 7, Ubuntu or Linux Mint. I'll be trying it out today on Ubuntu 12.10, and will report back later. Fingers crossed!
Sent from my Galaxy Nexus
dustrho said:
I'll have to give this a try as well, as I've had no luck connecting my gnex to Windows XP, Windows 7, Ubuntu or Linux Mint. I'll be trying it out today on Ubuntu 12.10, and will report back later. Fingers crossed!
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
It automatically works in windows
Sent from my Galaxy Nexus using Tapatalk 2
Dri94 said:
It automatically works in windows
Click to expand...
Click to collapse
Well, it may work for you, but it has never worked for me in XP or 7. Others have experienced this as well.
Sent from my Galaxy Nexus
Use web based few manager...
Sent from my Galaxy Nexus using Tapatalk 2
This method works great on Ubuntu 12.04.
Works for me in Windows XP and Windows 7 as long as I turn off USB Debugging
kiwi_mat said:
I got ubuntu working with MTP on my Galaxy Nexus (and A500) using instructions for the Nexus 7. I have documented these at my website.
http://www.winters.org.nz/android-apps/working-mtp-on-ubuntu
This setup is the only one I have managed to get working, I am using Ubuntu 12.10, and it should work for earlier versions.
Click to expand...
Click to collapse
First of all thanks a lot for solving this long pending issue.
Everything worked for me mounting, data transfer through MTP, but while unmounting I am getting an error saying that "umount: /media/Nexus mount disagrees with the fstab"
I am using Ubuntu 12.04, Nexus 4.1.2
use wifi explorer pro its web based....
https://play.google.com/store/apps/details?id=com.dooblou.WiFiFileExplorerPRO&hl=en
techie.raj said:
First of all thanks a lot for solving this long pending issue.
Everything worked for me mounting, data transfer through MTP, but while unmounting I am getting an error saying that "umount: /media/Nexus mount disagrees with the fstab"
I am using Ubuntu 12.04, Nexus 4.1.2
Click to expand...
Click to collapse
when the nexus is connected issue the mount command in a terminal, you should see something like..
Code:
DeviceFs(Galaxy Nexu on /media/GalaxyNexus type fuse.DeviceFs(Galaxy Nexu (rw,nosuid,nodev,allow_other,user=username)
its possable your device name is different, so check the fstab line,
Code:
DeviceFs(Galaxy\040Nexu) /media/GalaxyNexus fuse.DeviceFs(Galaxy\040Nexu) allow_other,rw,user,noauto 0 0
the DeviceFS (both) must match above except the space in the mount listing has to be replaced with \040 as space is the field separator in fstab..
zac68 said:
Works for me in Windows XP and Windows 7 as long as I turn off USB Debugging
Click to expand...
Click to collapse
Does USB Debugging have to be turned off in order for this to work in XP and 7? I haven't tried that before, so that's something else I'll have to try.
dustrho said:
Does USB Debugging have to be turned off in order for this to work in XP and 7? I haven't tried that before, so that's something else I'll have to try.
Click to expand...
Click to collapse
In XP I have to do it. Windows 7 with Service Pack 1, from memory might not of be as fussy. I could be wrong though. I use Ubuntu these days.
Am I misssing something here? It connects automatically with my Ubuntu 12.10 without having to configure anything. It does not in fastboot state though.
Sent from my Galaxy Nexus using Tapatalk 2
Sucks... between myself and my room mate, we've tried this on three different systems (lubuntu, xubuntu, ubuntu - 12.10 in each case) and had no luck with it. Neither with the Nexus 7 or the G Nex.
Works perfectly -- EXCEPT when multiple devices are connected. Is it possible to make go-mtpfs recognise the devices and mount them correctly? Right now when there are multiple devices it just gives up.
kiwi_mat said:
when the nexus is connected issue the mount command in a terminal, you should see something like..
Code:
DeviceFs(Galaxy Nexu on /media/GalaxyNexus type fuse.DeviceFs(Galaxy Nexu (rw,nosuid,nodev,allow_other,user=username)
its possable your device name is different, so check the fstab line,
Code:
DeviceFs(Galaxy\040Nexu) /media/GalaxyNexus fuse.DeviceFs(Galaxy\040Nexu) allow_other,rw,user,noauto 0 0
the DeviceFS (both) must match above except the space in the mount listing has to be replaced with \040 as space is the field separator in fstab..
Click to expand...
Click to collapse
Hi Thanks for your reply. Sorry for the delay in replying....
Your suggestion couldn't solve my problem.
My fstab entry is as follows
DeviceFs(Galaxy\040Nexu) /media/Nexus/ fuse.DeviceFs(Galaxy\040Nexu) allow_other,rw,user,noauto 0 0
Click to expand...
Click to collapse
and the mount command that I executed are (command and corresponding output are )
DeviceFs(Galaxy Nexu on /media/Nexus type fuse.DeviceFs(Galaxy Nexu (rw,nosuid,nodev,allow_other,user=raj)
bash: syntax error near unexpected token `Galaxy'
Click to expand...
Click to collapse
Second attempt
DeviceFs(Galaxy\040Nexu on /media/Nexus type fuse.DeviceFs(Galaxy\040Nexu (rw,nosuid,nodev,allow_other,user=raj)
bash: syntax error near unexpected token `Galaxy\040Nexu'
Click to expand...
Click to collapse
Could you understand where the problem lies.
Am I doing any thing wrong....
Thanks a lot for your efforts...
Error in /etc/fstab
1st: thanks for your work doing it for all
2nd: I use an Acer Iconia Tab A501 running Android 4.xy
I followed the instruction. I did the following line in my /etc/fstab
DeviceFs(A501) /media/A501 fuse.DeviceFs(A501) allow_other,rw,user,noauto 0 0
-----------> it comes an error message "/bin/sh: 1: DeviceFs(A501): not found"
(The id_modell=Acer_Iconia_Tab_A501. I tried, but the same error.)
------- snip ---(28.12.2012-thk)------> usb-devices:
T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 14 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0502 ProdID=3345 Rev=99.99
S: Manufacturer=Acer
S: Product=Acer Iconia Tab A501
S: SerialNumber=1234567890
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=usbfs
------- snap ---------
Where is my fault?
Next step
emmerich1234 said:
1st: thanks for your work doing it for all
2nd: I use an Acer Iconia Tab A501 running Android 4.xy
I followed the instruction. I did the following line in my /etc/fstab
DeviceFs(A501) /media/A501 fuse.DeviceFs(A501) allow_other,rw,user,noauto 0 0
-----------> it comes an error message "/bin/sh: 1: DeviceFs(A501): not found"
(The id_modell=Acer_Iconia_Tab_A501. I tried, but the same error.)
------- snip ---(28.12.2012-thk)------> usb-devices:
T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 14 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0502 ProdID=3345 Rev=99.99
S: Manufacturer=Acer
S: Product=Acer Iconia Tab A501
S: SerialNumber=1234567890
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=usbfs
------- snap ---------
Where is my fault?
Click to expand...
Click to collapse
Try to understand the source code (go langualge) and may be append the A501?
Has anyone had an issue accessing it?
Could not display "/media/GalaxyNexus".
Error: Error when getting information for file '/media/GalaxyNexus': Transport endpoint is not connected
Please select another viewer and try again.
I know the udev configuration looks fine and adb works fine and it tries to mount the device for MTP but I get the above error. I'm not using Ubuntu but my go-mtps install has been updated on git and I have the latest version of fuse and followed the instructions.
Related
First, I didn't know if this should go in development or general since most of the people who are going to be on Ubuntu will be devs, but hopefully this will be useful for everyone.
Honeycomb changed a lot of things. Most of the changes are awesome (as we know) but some of them have made certain things frustrating. Honeycomb marked the move from USB Mass Storage to MTP (media transfer protocol). Although for Windows users it actually works pretty well, for Linux users it doesn't...at least at first.
If anyone has hooked up their Xoom to a Ubuntu box then they know at first nothing happens. There is no selection on the tab to "mount" USB Mass Storage because it is not supported (which I thought Honeycomb was supposed to support both so this may change) It's like the computer doesn't even recognize anything is plugged in.
So this was very frustrating but I have put together a solution. Previously I was using a GUI interface called gMTP to connect to the Xoom and transfer files. This was an ok solution and it worked but I would still rather just use it in Nautilus like every other drive I use. Ok so starting here I will just post the commands and then explain after so no code gets lost.
Start with installing a needed program for all of this to work
Code:
sudo apt-get install mtpfs
Next we will create the device rules, so Ubuntu recognizes it as a USB device.
Code:
sudo gedit /etc/udev/rules.d/51-android.rules
NOTE: Some of you may have already added the Vendor ID. If you don't this file will start off blank and then you need to add this next line. If it does not come up blank, then make sure you have a line with Vendor ID 22b8 and 18d1 (for bootloader which uses a different VendorId) and you are all set.
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"
You might need to start a new terminal for this change to take effect for adb and bootloader access.
make the mount point and take ownership:
Code:
sudo mkdir /media/xoom
sudo chown user:user /media/xoom
NOTE: "user" in the above code is literally your user name for your box.
ANOTHER NOTE: if you stopped here you could mount by typing mtpfs /media/xoom -o allow_other and unmount by typing fusermount -u /media/xoom...but that's no fun
add the mount point to your fstab:
Code:
sudo gedit /etc/fstab
In the first unused line available you might want to type a comment like:
Code:
# mount point for moto xoom
then add this line after it:
Code:
mtpfs /media/xoom fuse user,noauto,allow_other 0 0
Next modify fuse.conf to allow_other:
Code:
sudo gedit /etc/fuse.conf
uncomment the last line which should read:
Code:
#user_allow_other
uncomment this line by removing the '#' symbol.
add your user to the fuse group:
Code:
sudo gedit /etc/group
a long file will open, press CTRL+F to bring up the find dialog and type
Code:
fuse
close the dialog and fuse should be selected and visible.
At the end of that line with no space add your user name.
Save that file. Close it.
Lastly reboot your computer.
Now when your computer restarts, if you look at your "Places" menu you will see a Drive marked with 'xoom'
Plug in your xoom, and click on xoom in Places.
Nautilus should open with all your files that you have on your device. It will also place a mounted drive icon on your desktop. If you would like to unmount, right click on that icon and click unmount.
As you can see this was a pain for me, but hopefully this solution will work for everybody. I know the instructions are really long but follow it and you will feel old school mounting your storage in your file browser.
NOTE: THIS WAS TESTED ON UBUNTU 10.10 ONLY, IF THIS WORKS FOR ANYONE ELSE PLEASE POST YOUR FINDINGS.
Also, I am fairly new to Linux actually, so if there is an easier way to mount the storage in nautilus let me know. This works for me and I just want to help out so please no flames.
Couple things I have also noticed with MTP, when you have the internal storage "mounted" you still actually have access to the files on the device. Plus the file transfer is a lot faster. Usually I had been getting about 4 Mb/s and now I get about 15. Of course this speed difference from what I am used to might be the internal storage vs. SDCard transfer rate diffs.
Last thing, is this might need to modified when the sdcard access comes since there is only one mount point specified.
not trying the artificial bump.
I guess no comments on 228 views means this is working?
Can someone chime'in if this worked for them so I can know'if it works'as is or needs to be tweaked.
Thanks
I got mount up and running last night. Works like a champ. Great work. I was tired of pushing and FTP.
Thanks for the reply. Glad it worked for you too. One thing I need to add tonight to it is the fact that the xoom uses a different vendor'id when it's in the bootloader. The one vendor id if used alone will not recognize the xoom to use fastboot but ill update it when I get home.
FWIW, the "mtpfs" package in 10.04 was broken when using the Xoom, and causing segfaults. I found the source and rebuilt that and now it's working OK.
kcrudup said:
FWIW, the "mtpfs" package in 10.04 was broken when using the Xoom, and causing segfaults. I found the source and rebuilt that and now it's working OK.
Click to expand...
Click to collapse
So, I'm on 10.04 and not getting segfaults, but after pugging in (xoom is in usb debug mode) and click on xoom in places, ubuntu gives me the error "could not open location file:///media/xoom. Error stating file '/media/xoom': Permission denied"
Would love to get a copy of your recompiled 10.04 mtpfs package as a deb file...
I found this deb package for mtpfs 0.9-1 that you can try
mtpfs_0.9-1_amd64.deb
roberj13 said:
I found this deb package for mtpfs 0.9-1 that you can try
mtpfs_0.9-1_amd64.deb
Click to expand...
Click to collapse
Unfortunately, that's not gonna work for me. I'm 32-bit.
Ill keep looking, for some reason the 64-bit was the only one there.
roberj13 said:
Ill keep looking, for some reason the 64-bit was the only one there.
Click to expand...
Click to collapse
Thanks! If i could ge this to work, it would totally be awesome!
--Q
Most excellent guide!! Thanks you for taking the time to figure this out. I'm on 10.10 so I have nothing else to add.
Works flawless on Ubuntu 10.10 running on an older Mac Pro
Thank you for posting the easy to follow guide.
This is semi-working for me in that I can successfully mount and browse the device, but there are a few problems. One, it locks up Nautilus for 30-60 seconds (grayed out and unresponsive) though it does come back. Two, file transfer speeds are very poor.
I'm trying to load two movies totaling 1 GB right now and the copy dialog says 2hrs 56 min to transfer w/ a speed of 99.7 kb / sec. This is unreliable, however, as the copy dialog is frozen on those metrics.
Build is AMD64, distro is 10.10 upgraded from 10.4.
I appreciate the effort to document this, in spite of my issues. Let me know if anyone has suggestions for a fix and I'll try them.
One day later and this solution is now working for me. The Xoom filesystem behaves oddly in Nautilus, with some files not appearing that have in fact been transferred to the device, but otherwise this is the best solution I've found.
sogrady said:
One day later and this solution is now working for me. The Xoom filesystem behaves oddly in Nautilus, with some files not appearing that have in fact been transferred to the device, but otherwise this is the best solution I've found.
Click to expand...
Click to collapse
I find it odd that Android dosn't play nicely with *nix.. considering they are cousins in the OS family. That it works sooo well with Windows instead offensive IMO
sogrady said:
One day later and this solution is now working for me. The Xoom filesystem behaves oddly in Nautilus, with some files not appearing that have in fact been transferred to the device, but otherwise this is the best solution I've found.
Click to expand...
Click to collapse
I've seen the same thing. Usually an unmount then mount will clear it up.
this did not work for me. i'm getting no application is registered as handling this file
i told nautilus to open it and its saying /media/xoom is not a folder
Using this guide I'm able to mount fine, but I'm seeing a couple issues:
I have my music organized like this:
Artist
-----Artist - Album
----------Music files
When I copy over the top 'Artist' directory to the Xoom's Music folder it works, but, all of the music files have been directly placed in the Xoom's Music folder and the Artist and Artist - Album folders are empty, seems pretty weird?
EDIT: It looks like the Xoom (or MTP?) forces all music files into the root of the Music directory. Even if I try copying the artist folder to the root of the device the mp3 files end up in the Music folder.
EDIT take 2: Nevermind...the Android docs say nested directories are supported for music, and Windows preserves the directory structures fine.
I'm totally unable to copy over movies. I've transcoded a file into mp4 and it seems to copy over but, once the copy is finished the file doesn't show up on the Xoom.
EDIT bonanza: Looks like I'm also able to copy over movies fine through windows...so I guess all my problems are Linux related.
I keep gettting a "Transport endpoint is not connected" error when I try this. I am using 10.04 64-bit. Does anyone know how to resolve this?
hello everyone,
I'm not used to post here but I thought i could share what i've done.
(excuse my english, i'm french)
i tried to install the win 8 dev preview on my packardbell OneTwo M3770, that is to say, a pc with a touch screen. I tried the virtualbox method, both with 32B and 64B editions but it didn't work. i just obtained a black screen displaying en error code and asking to reboot.
so i managed to plug a USB disk to install it.
I found a method to use an usb stick (i installed myself on an usb HD 140Go)
just type "developper preview boot vhd" in Google and take the first link.
there is descritpions with command lines using diskpart
it's in french but easy to understand i think
you just have to mind the drive letters in the different command line and it's all done. (my H: drive in win7 became an E: in win 8)
now i can use the metro interface with a 23" touchscreen and it's awesome.
some bugs in the metro IE10 (especially with xda dev! )
need time to get used to commands, it took me a few minutes to uderstand how it works.
Using a win phone 7 too i found my way.
Now i can say that the touchscreen is usefull, that was not the case with win7, too many "finger inviting" program existing.
i hope this can be usefull for someone.
Franck
LOL i have a simple method : Format your usb disk from windows(fat 32),download from internet Magic ISO, with this program select the image and extract it to your usb disk.Done
khrisstyan said:
LOL i have a simple method : Format your usb disk from windows(fat 32),download from internet Magic ISO, with this program select the image and extract it to your usb disk.Done
Click to expand...
Click to collapse
Edit: my bad, that's what I get for skimming.
Won't work if you don't have the bootmgr files found that out...
Sent from my always rooted never bricked SPH-D700...
You guys might not know that Microsoft USB DVD Tool from MS can also get the ISO of Windows 8 to USB easily.
fuyooo... wanna try this...
thank
Easy way to install windows 8 to a usb device :
You need imagex from waik for this to work.
Extract the windows 8 developer preview iso to c:\win8
Plug a usb device in, either a mem stick of 16 gig or higher, or a usb hd.
Lets assume usb drive is h:\
Open cmd as administrator.
If you installed waik, you have imagex.
Use following cmd :-
Imagex /apply c:\win8\sources\install.wim 1 h:
Wait for the image to apply.
When done, install the boot files.
Bcdboot h:\windows /s h:
Once completed, select your boot device at bios boot menu, and watch windows 8 continue installation.
Once installed, it should also boot on other pcs too.
If imagex didnt work, be sure to be in folder where imagex file is located when u run the command.
Hope this helps some people. Sorry, its a pretty concise post, as im on my galaxy cheers.
Sent from my GT-I9000 using xda premium
delete
10 char
qwerty warrior said:
delete
10 char
Click to expand...
Click to collapse
and this means ?
Strike_Eagle said:
You guys might not know that Microsoft USB DVD Tool from MS can also get the ISO of Windows 8 to USB easily.
Click to expand...
Click to collapse
Agreed!!!!!!
I use a 8gig sdcard and it works a charm on my asus n i can now dual boot only thing is can't load any of the apps
EDIT: Blue poison 2.2 takes care of everything. Loving it Looks like will be booting into 8 instead of 7 for the time being n c how it goes for daily tasks.
Method without the need of an extra tool:
run cmd as admin
type "list disk" - lookup the number of your stick
type "select disk [nr]" - replace [nr]
type "clean"
type "create partition primary"
type "active"
type "format fs=fat32 quick"
type "assign"
type "exit"
Now mount image and simply copy all files from image to the stick.. You could also use WinRAR to extract the image to the stick..
Oh I just noticed that you also need third party tools like Daemon Tools or WinRAR but imho everyone has to have them installed already You can also use this method when you have a physical medium..
after this I will be able to boot windows 8 from usb stick right leaving host os of my laptop untouched?
thanks
when i get my slate 7, i think i might try to make it boot windows 8 from microSD card.
ndmuni said:
Agreed!!!!!!
I use a 8gig sdcard and it works a charm on my asus n i can now dual boot only thing is can't load any of the apps
EDIT: Blue poison 2.2 takes care of everything. Loving it Looks like will be booting into 8 instead of 7 for the time being n c how it goes for daily tasks.
Click to expand...
Click to collapse
I never seen pc computer with bios can boot on sdcard, maybe you talk about slate then its great think !!!
Hi all!
I just bought a Galaxy Nexus, and I've already a problem: how to connect it to my linux computer?
You know that ics use MTP protocol to interface with computers. Maybe it's good for windows users, but with ubuntu I can't let the phone be recognized by the pc. I tried this guide http://www.reddit.com/r/Android/comments/ne6ud/mount_your_new_galaxy_nexus_from_the_unity/ but it doesn't work, when i click "mount galaxy nexus" it shows an error message ("the socked is not connected").
Can you help me, please?
Use airdroid or something similar. It will save you many hours of pain
Sent from my Galaxy Nexus using Tapatalk
Evostance said:
Use airdroid or something similar. It will save you many hours of pain
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
You're right if you need to transfer just some files. But I've to transfer all my music (about 4/5 GB) and my photos and videos (about 1 GB). Using something like airdroid, I will die before it ends
try installing mtpfs
i keep meaning to try it on fedora
bleets said:
try installing mtpfs
i keep meaning to try it on fedora
Click to expand...
Click to collapse
I've already installed it, but it doesn't work. Almost, on ubuntu.
When I try to mount the phone it shows an error message.
Another question is: why, if i connect the phone using PTP protocol it works, the pc recognize the phone, but it seems to have just 700 MB of free memory? (realy there are more than 12 gb)
Metallaro said:
Hi all!
I just bought a Galaxy Nexus, and I've already a problem: how to connect it to my linux computer?
You know that ics use MTP protocol to interface with computers. Maybe it's good for windows users, but with ubuntu I can't let the phone be recognized by the pc. I tried this guide http://www.reddit.com/r/Android/comments/ne6ud/mount_your_new_galaxy_nexus_from_the_unity/ but it doesn't work, when i click "mount galaxy nexus" it shows an error message ("the socked is not connected").
Can you help me, please?
Click to expand...
Click to collapse
I ended up installing Windows 7 in virtual box. In the end it was easier to do that then to continue wasting time getting Ubuntu 11.04 to play the MTP game
Just installed mtpfs from source and it works fine...doesnt look like it will auto mount when you plug it in though.
this might help
bleets said:
Just installed mtpfs from source and it works fine...doesnt look like it will auto mount when you plug it in though.
this might help
Click to expand...
Click to collapse
I used this guide some month ago when I had a motorola xoom. Now if I try to mount my phone, it shows an icon named "xoom", but if I try to open it it shows this error message
(the message was in italian, i tryed to translate it in english but it's difficult)
Code:
[B]Impossible to show «/home/marco/Galaxy Nexus».[/B]
Error: Error in executing the file stat "/home/marco/Galaxy Nexus": the destination socket is not connected. Please chose another viewer (??) and try again
Edit: no, wait. I used another guide to connect the xoom to the computer, but I can't find it again. Anyway, if i try to follow the guide you linked, when I write
mtpfs mountpoint
the console shows this error message
fuse: bad mount point `mountpoint': No such file or directory
mtpfs mountpoint = mtpfs /whereyouwanttomount to
for instance i do
Code:
mtpfs Mounts/nexus
so you have to make the folder where you want to mount to
for instance in your shell, in your home folder
Code:
mkdir nexus
(by the way, it's best to avoid folder names that include spaces)
then to mount to that folder you'd do
Code:
mtpfs nexus
or if you're currently cd'd in a different folder
Code:
mtpfs /home/marco/nexus
simples
the guy in that post even did an example to show you a bit furthery down :|
I found gMTP works quite well, though I just recently switched from Gentoo to Arch and unfortunately gMTP isn't as stable as it was in Gentoo.
Grr...I don't have enough posts yet to post links but if you do a google search for:
omgubuntu galaxy mtp
The first link in the list is the guide I used and it works great.
http://www.omgubuntu.co.uk/2011/12/...eam-sandwich-phone-to-ubuntu-for-file-access/
this is what i used, because i like to do stuff myself. there is also a script if you like automated stuff. good luck
If anyone knows how to get it working on 10.04 let me know ;-)
Sent from my Galaxy Nexus using Tapatalk
I followed the instructions on the websites. It connects using MTP but only allows music playlists. Change the USB setting on the phone to Camera (PTP) and Ubuntu recognises the file system on the internal sd card.
I will try this
Sent from my Galaxy Nexus using Tapatalk 2
Hi
Is anyone successfully using MTP on Ubuntu Linux 11.10 with the Galaxy Nexus? It totally sucks that Google has dumped USB Mass Storage support in Android 3.0+
Anyway… I connect beast to my PC. Next:
Code:
[FONT="Courier New"]10:33:01 [email protected]:~$ mtp-detect
libmtp version: 1.1.0
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1 (04e8:6860) @ bus 1, dev 23
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
10:35:05 [email protected]:~$
11:58:08 [email protected]:~$ sudo mtp-detect
libmtp version: 1.1.0
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1 (04e8:6860) @ bus 1, dev 27
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
12:00:11 [email protected]:~$ [/FONT]
Well… Not so good.
Well, what to do? I've read about having to setup udev rules, but that's a solution for a problem yet to come, isn't it?
Thanks,
Alexander
Yeah, I am using it. I am a big time Linux noob but even I have got it to work using these instructions:
http://www.reddit.com/r/Android/comments/ne6ud/mount_your_new_galaxy_nexus_from_the_unity/
You need to be in root on your Ubuntu machine when you do this.
Let us know how you get on.
No go
samizad,
thanks, but that doesn't work for me. Basically, that package simply calls "mtpfs", which makes use of libmtp. And libmtp doesn't work for me.
Here's what I did:
Code:
13:39:39 [email protected]:~/Downloads/++Unsortiert++/g/mount_gnex$ mtpfs -d ~/Desktop/GNex/
FUSE library version: 2.8.4
nullpath_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.16
flags=0x0000007b
max_readahead=0x00020000
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1.
And that's it… (Same result when I try "sudo mtpfs …", ie. when I run the command with root privs.)
In another term window, I tried listing the ~/Desktop/GNex/ directory, and it simply hangs (ie. it doesn't return to the prompt):
Code:
13:40:01 [email protected]:/data/Downloads/++Unsortiert++/g/mount_gnex$ ls -la ~/Desktop/GNex/
Like I said, I am a noob so I can't help further. Just one thing though - in the screen dump you give above, it refers to Samsung GT-P7510/Galaxy Tab 10.1. What's that about?
samizad said:
Like I said, I am a noob so I can't help further. Just one thing though - in the screen dump you give above, it refers to Samsung GT-P7510/Galaxy Tab 10.1. What's that about?
Click to expand...
Click to collapse
I also noticed that it says "Samsung GT-P7510/Galaxy Tab 10.1". No idea why it does that… I guess that there's some sort of database in the background, which "translates" something like (VID=04e8 and PID=6860) to readable names.
EDIT: To clarify: I only have 1 MTP device connected. I don't have a GTab.
I'm not currently at home so I really can not give you my system settings (ubuntu 11.10). Anyway, the mtp connection sucks big time and has lots of intreruptions. I'm using "samba filesharing" (free 9n market) on the gnx and I'm mapping the storage on my linux machine. I'm doing the same withbmy galaxy tab.
ADB mount?
ro_explorer said:
I'm not currently at home so I really can not give you my system settings (ubuntu 11.10). Anyway, the mtp connection sucks big time and has lots of intreruptions. I'm using "samba filesharing" (free 9n market) on the gnx and I'm mapping the storage on my linux machine. I'm doing the same withbmy galaxy tab.
Click to expand...
Click to collapse
Network based solutions (like samba, ftp, ssh or whatever servers) don't work for me, because where I'm at most of the time (ie. at work…), there we cannot access the mobile phones over WLAN from our PCs. Mobile devices and workstations are in different networks (which is good).
BTW: In the rare chance, that this MTP sh*t would work - would I even be able to access any random file which is stored on the "sdcard" (ie. underneath /mnt/sdcard)? If not - is it somehow possible to mount the device using ADB? With "adb push" and "adb pull" (and any other adb subcommand), there's full access to the (almost?) complete filesystem.
There is an alternative way of transferring files. You can use a flash drive and the usb host capabilities of the Galaxy Nexus. I'll give you my settings as soon as get home, this mean tomorrow afternoon.
ro_explorer said:
There is an alternative way of transferring files. You can use a flash drive and the usb host capabilities of the Galaxy Nexus. I'll give you my settings as soon as get home, this mean tomorrow afternoon.
Click to expand...
Click to collapse
Is that maybe using the "[root] StickMount" app?
How do I get it to work? What packages do I need?
EDIT: I noticed I had a few available updates, and two of them were regarding MTP. Some MTP runtimes and something else related to MTP. Now, Ubuntu discovers my nexus.
Theshawty said:
How do I get to work? What packages do I need?
Click to expand...
Click to collapse
MTP works natively with 12.04. Did you try ?
deeren said:
MTP works natively with 12.04. Did you try ?
Click to expand...
Click to collapse
Yeah, I tried connecting my Gnex to Ubuntu but it didn't seem like it found the device. I'm running the Xfce desktop on my Ubuntu install, if it matters. (Not Xubuntu, I installed Xfce over regular Ubuntu)
Perchance are you running Jellybean? Never had any issues with it on CM9..but JB won't show any files on the device when it connects...should be sorted out by the time full JB is released I would assume...if not CM10 will get it straight..
Same question...
Envoyé depuis mon Galaxy Nexus avec Tapatalk
I have the same problem since I flashed JellyBean, now I can see DCIM and Pictures folders as I set PTP and I'm using adb to push and pull files and folders (like backups).
I looked (and I'm still looking) for a good adb GUI to set in ubuntu, this would be a good solution, I tried setting QtADB but it doesn't work for me.
yeah, I'm running Jellybean.
Update: MTP now works.
EDIT: You can manually download it if you don't have it: https://launchpad.net/ubuntu/precise/+source/libmtp
Mine isn't working, get this error "DBus error org.freedesktop.DBus.Error.Noreply: Did not receive a reply" I just updated the MTP libraries...
Sent from my Galaxy Nexus using xda app-developers app
It's back to how it was before. Inconsistent with problems... waiting for CM10 to get it fixed...
Check out this project:
https://github.com/sole/aafm
a very nice GUI using adb commands to explore files on your device.
It's really easy to set up on ubuntu 12.04 and adb is really faster than MTP!
This is a saver to me!
Works great
FrancescoGato said:
Check out this project:
https://github.com/sole/aafm
a very nice GUI using adb commands to explore files on your device.
It's really easy to set up on ubuntu 12.04 and adb is really faster than MTP!
This is a saver to me!
Click to expand...
Click to collapse
Worked Beautifully for me, I was a bit put off by it being a repository, and being an (ex) windows user I don't like anything that needs compiling, but it was pretty effortless. Actually no Compilation was required. Now I am in no hurry for them to fix that MTP trash!
I'm running 12.04 LTS with all the updates installed. My XT530 runs 2.3.5 and my SGY runs 2.3.6. Both don't get recognized at all by the system. Oh, they connect, all right. But I'm desperate to get them working with Calibre, so that I don't have to manually drag my files to the respective folders when I can directly use the "Send to Device" function.
Just lazy, I guess.
FrancescoGato said:
Check out this project:
https github.com/sole/aafm
a very nice GUI using adb commands to explore files on your device.
It's really easy to set up on ubuntu 12.04 and adb is really faster than MTP!
This is a saver to me!
Click to expand...
Click to collapse
Hey, man!
Tested this method with a GT-N7000 Galaxy Note (4.0.3) and with a LG P500 Optimus One (2.3.6), works great on both devices!
Perhaps this method works for all Android-based devices, since it uses adb?
Anyway, thank you very much for the suggestion!
Forget MTP...
... I am switching back to USB mass storage.
I enabled USB debugging on my GT-7000 Gingerbread 2.3.5 (ok, I know my phone is off-topic) and it worked flawlessly on Ubuntu 12.04.
Now I can add and remove files whenever I want, without depending on Kies.
Yes, there is USB mass storage on Ice Cream Sandwich!
I guess I am the only one posting to this thread, but here it goes:
I updated my Galaxy Note GT-N7000 to ICS 4.0.3. To enable mass storage, click (or tap ) settings. Under Wireless and network, tap "More..." and select "USB utilities". Tada! There is our beloved usb mass storage! Just tap the damn button and connect to your PC the way you used to. No drivers required. (tested on a friend's Windows 7 notebook without Kies)
this solved it for me
use this great script / ppa:
http://www.webupd8.org/2012/12/how-to-mount-android-40-ubuntu-go-mtpfs.html
worked for me, my ubuntu 12.10 and my one x on Jelly Bean 4.1.1.
it updates libmtp, adds an unity-mount-unmount-launcherscript and go-mtpfs. (had to reboot)
now it's fast and stable.
With FUSE filesystem you can use Go-mtpfs from WebUpd8 PPA or if you have already installed android sdk tools you can try aafm https://github.com/sole/aafm Android ADB file manager.
Inviato dal mio Galaxy Nexus con Tapatalk 2
BigFatTony said:
worked for me, my ubuntu 12.10 and my one x on Jelly Bean 4.1.1.
it updates libmtp, adds an unity-mount-unmount-launcherscript and go-mtpfs. (had to reboot)
now it's fast and stable.
Click to expand...
Click to collapse
Lots of thaaaaaaanks, made me releived from such a long-term pain!!!
Worked perfectly for me. :good:
I used the original method (from Bilal's Blog) that is mentioned in the tutorial, not the graphical way.
Ubuntu 12.04 & Samsung Galaxy Nexus