[XOOM 2] [INFO] Xoom 2 ME, Ubuntu Linux, and MTP

TheFluffyOne

Senior Member
Oct 31, 2009
146
36
0
Thought I'd share some info regarding connection of the Xoom 2 ME. This may also apply to the Xoom 2 and Xyboards.

The Xoom 2 ME does not mount as USB mass storage, it supports MTP (and, I presume, PTP).

My laptop runs Ubuntu 11.10 with the GNOME 3 desktop. There is no file-browser or popup when the X2ME is plugged in, as there would be when a UMS device is connected. I suspect this is down to the udev config not having the USB IDs, so that's something to look into soon.

Banshee didn't detect it, so I installed the Gmtp application (sudo apt-get install gmtp) and this permits transfer of files to the X2ME. I got a rather poor upload rate of 2.5MB/s on a 1.4GB video file.

It was not possible to download a file from the X2ME using Gmtp -- I haven't yet tried any other apps.

The version of libmtp supplied with Ubuntu 11.10 doesn't recognise the X2ME device codes, though this has already been addressed by the developers. Maybe this will be in Ubuntu 12.04.
 
Last edited:

TheFluffyOne

Senior Member
Oct 31, 2009
146
36
0
Yeah, the syslog reports it as a high speed device, so my assumption is it's working at USB 2 speeds.

Just gave mtpfs a try. If we ignore some random and extremely long hangs of a minute or more, a file download ran at ~14MB/s and seemed to work OK. An upload ran at 40MB/s, but the resulting file was 0 bytes in length and was followed by a lengthy hang.

Will run mtpfs in debug mode to see if it shows why it's hanging. There are some other MTP utilities like gnomad2 that I might try as well.
 

TheFluffyOne

Senior Member
Oct 31, 2009
146
36
0
A few quick updates. First, it seems that USB debugging must be enabled for MTP connectivity to work. When I disable it, the X2ME isn't seen at all by mtp-detect or other utilities.

Gnomad2 works, and was a little faster at upload than gmtp -- it peaked at an "astonishing" 4MB/s ;). Unfortunately its interface sucks for file access (it is, after all, designed more as a music transfer tool).

There is definitely a long delay every time libmtp connects to the device. This is normally over 1 minute and seems to consist mostly of USB device resets and then connection retries.

Enabling debug of mtpfs didn't flag up anything useful.

A useful aside, if you export LIBMTP_DEBUG=7 before running apps that use libmtp, it enables lots of debug output. Specific information on choosing the debug level are in the lib's README.
 

megabiteg

Senior Member
Apr 13, 2010
1,139
236
0
USA
What I do is the following:

I have Root FTP on my Xoom which required also to install a script in my Linux Mint distro (would be the same for Ubuntu) and once I want to transfer, I can be via wifi or via USB cable; I just have to run the script in linux (2sec) and activate the Root FTP software on the Xoom and I can use any FTP software to remote in and transfer files to and from the Xoom.
 

mdcykkk9

Senior Member
Mar 21, 2009
194
25
0
What I do is the following:

I have Root FTP on my Xoom which required also to install a script in my Linux Mint distro (would be the same for Ubuntu) and once I want to transfer, I can be via wifi or via USB cable; I just have to run the script in linux (2sec) and activate the Root FTP software on the Xoom and I can use any FTP software to remote in and transfer files to and from the Xoom.
Xoom 2 has no root access yet :-( . So this is not possible ... I have no trouble to transfer files to my xoom 2 me with smb network ... Thx for the infos Fluffy . I am trying few things now ...
 

mdcykkk9

Senior Member
Mar 21, 2009
194
25
0
Yeah, so far the simplest transfer method has been to use ES File Explorer to pull files across via SMB.
I prefer 'file expect' to do that i believe is a better file manager but most powerful features of it are not usable because of that stupid motorola firmware. If i wanted to use programs like MotoCast i would buying apple's products Motorola... :banghead:

Sent from my XOOM 2 ME using Tapatalk
 

mdcykkk9

Senior Member
Mar 21, 2009
194
25
0
Now that ghe tablet have root, are there any ideas how to solve the problem. Something is still blocking the communication via wifi with my computer and is not the firwall i think. Dammit moto I want an ftp server on my tab

Sent from my XOOM 2 ME using Tapatalk
 

TheFluffyOne

Senior Member
Oct 31, 2009
146
36
0
Now that ghe tablet have root, are there any ideas how to solve the problem. Something is still blocking the communication via wifi with my computer and is not the firwall i think. Dammit moto I want an ftp server on my tab
After having a quick play around for 5 minutes, iptables shows all policies as "allow". Services such as Airdroid are showing as bound to ipv6 sockets rather than ipv4 sockets, so I'm going to have a bit more of a dig around in that area.

For example, from "netstat -nlp" whilst Airdroid is listening on 8888:

tcp6 0 0 :::8888 :::* LISTEN
tcp6 0 0 :::8889 :::* LISTEN
 

mdcykkk9

Senior Member
Mar 21, 2009
194
25
0
I finally solved my problem with airdroid filexpert and others similar apps by removing zumoservice from system applications. Probably this will create problems with motocast ( i can't check this, i am linux user)

Sent from my XOOM 2 ME using Tapatalk 2 Beta-3
 

alienking70

New member
Oct 8, 2008
2
0
0
xyboard

As far as the Xyboard is concerned it works fine for me on Ubuntu. When the device is connected I change from MTP to PTP. It's the second option under usb computer connection on the Xyboard. Once done, I've gotten access to the folders on the device and have tranferred videos, music, and documents. Hope this helps.
 

MichaelBT

New member
Aug 10, 2013
1
0
0
Mounting Xoom 2 on SuSE Linux

I finally solved my problem with airdroid filexpert and others similar apps by removing zumoservice from system applications. Probably this will create problems with motocast ( i can't check this, i am linux user)

Sent from my XOOM 2 ME using Tapatalk 2 Beta-3
Hello

How has the uninstalling of zumoservice solving your Problem ?

I´m trying to mount my xoom 2 me on opensuse 12.2 with kde 4.11 and get an Error which could be caused by
the motocast installer cd which shows up on systems where the motorola drivers are not already installed.
This breaks the connection between linux and xoom. So i ask myself how i can shutdown this "service".

If this is caused by zumoservice i could uninstall it, but a deactivation by Titanium did not solved the Problem yet.

Thanks in advance! Michael
 

mdcykkk9

Senior Member
Mar 21, 2009
194
25
0
Try deactivate all applications you think that are related with motocast... I don't have now my tablet so i can't help you more, i will try later to find the list of all applications i had removed...

Sent from my Nexus 4 using Tapatalk 4