• Login:

Welcome to the Xoom Forum - Motorola Xoom Forum.

Register ButtonIf this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Mount Internal Storage in Ubuntu

This is a discussion on Mount Internal Storage in Ubuntu within the Motorola Xoom Development forums, part of the Motorola Xoom Hacks category; 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 ...

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24
Like Tree2Likes

Thread: Mount Internal Storage in Ubuntu

  1. #1
    Xoom Lurker
    Member #
    577
    Join Date
    Mar 2011
    Posts
    1
    Liked
    2 times

    Mount Internal Storage in Ubuntu

    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 you are all set.

    Code:
    SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666"
    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 so please no flames.
    ozzyprv and traton like this.

  2. # ADS
    Ads


  3. #2
    Xoom Lurker
    Member #
    2657
    Join Date
    Apr 2011
    Posts
    1
    Liked
    0 times

    Xoom connected to ubuntu using usb...

    Thanks for the info. It worked on 10.10 with kernel 2.6.35-25-generic. There was a minor issue however with your fstab entry. Apparently there is an extra space between the comma separated list of mount options. That was causing fuse to lock up that mount point.

    I fixed the typo in fstab and unmounted and remounted and voila.

    Thanks!

  4. #3
    Xoom Pursuant
    Member #
    2058
    Join Date
    Mar 2011
    Posts
    647
    Liked
    40 times
    i have tried than and was successful, but every once in a while i get a message saying "Transport endpoint is not connected". and my xoom is mounted, but i dont see all my folders. sometimes i see none, or i see one called Playlist.

  5. #4
    Xoom Lurker
    Member #
    1066
    Join Date
    Mar 2011
    Posts
    14
    Liked
    1 times
    Quote Originally Posted by timrock View Post
    i have tried than and was successful, but every once in a while i get a message saying "Transport endpoint is not connected". and my xoom is mounted, but i dont see all my folders. sometimes i see none, or i see one called Playlist.
    Yep....... i'm getting the same thing. Any ideas?

  6. #5
    Xoom Lurker
    Member #
    1066
    Join Date
    Mar 2011
    Posts
    14
    Liked
    1 times
    I followed the instructions to the T while using Ubuntu 10.10 (64 bit) and kept getting an error. What worked for me is when I loaded the 32 bit version instead with the same instructions............

  7. #6
    Xoom Lurker
    Member #
    3526
    Join Date
    Apr 2011
    Posts
    23
    Liked
    0 times
    Quote Originally Posted by myalenti View Post
    Thanks for the info. It worked on 10.10 with kernel 2.6.35-25-generic. There was a minor issue however with your fstab entry. Apparently there is an extra space between the comma separated list of mount options. That was causing fuse to lock up that mount point.

    I fixed the typo in fstab and unmounted and remounted and voila.

    Thanks!
    Can some one point out EXACTLY where this extra space is. Or has it already been fixed in the instructions?

    I'm looking to simply cut and paste the instruction I'm not comfortable in the Terminal

    thanks everyone

  8. #7
    Xoom Conveyor
    Member #
    3066
    Join Date
    Apr 2011
    Location
    Hemel Hempstead (North West London), England
    Posts
    368
    Liked
    26 times
    I'm getting an error message saying:

    Could not display "/media/xoom"

    The location is not a folder.

    I'm using Linux Mint 11 Gnome (based off of Ubuntu 10.10), any ideas?

    Sent from my Motorola Xoom using Tapatalk.
    HTC One X
    ROM: Android Revolution HD 9.1.0
    Android: 4.0.4
    Sense: 4.1
    Kernel: Stock
    Build: 2.17.401.2
    Mods: jotha's Honeycomb Battery Mod, Centered Clock & EQS & vegetaleb's Transparent HTC Clock Weather Widget

    Motorola Xoom 32gb (+32gb SD Card) UK WiFi Only
    ROM: Team EOS 3 Jelly Bean Wingray Nightlies
    Build: EOS-wingray-20120722-123 - Gapps 20120722
    Android: 4.1.1


  9. #8
    Xoom Conveyor
    Member #
    3066
    Join Date
    Apr 2011
    Location
    Hemel Hempstead (North West London), England
    Posts
    368
    Liked
    26 times
    Quote Originally Posted by gibbs1984 View Post
    I'm getting an error message saying:

    Could not display "/media/xoom"

    The location is not a folder.

    I'm using Linux Mint 11 Gnome (based off of Ubuntu 10.10), any ideas?

    Sent from my Motorola Xoom using Tapatalk.
    The xoom folder is in /media aswell as I just checked, checked pemissions and all is root and it's allowed executing programmes, it can see my xoom too because the folder says the same capacity as my xoom, with the same 1.6gb used, so why can't I access the folder?

    Sent from my Motorola Xoom using Tapatalk.
    HTC One X
    ROM: Android Revolution HD 9.1.0
    Android: 4.0.4
    Sense: 4.1
    Kernel: Stock
    Build: 2.17.401.2
    Mods: jotha's Honeycomb Battery Mod, Centered Clock & EQS & vegetaleb's Transparent HTC Clock Weather Widget

    Motorola Xoom 32gb (+32gb SD Card) UK WiFi Only
    ROM: Team EOS 3 Jelly Bean Wingray Nightlies
    Build: EOS-wingray-20120722-123 - Gapps 20120722
    Android: 4.1.1


  10. #9
    Xoom Conveyor
    Member #
    3066
    Join Date
    Apr 2011
    Location
    Hemel Hempstead (North West London), England
    Posts
    368
    Liked
    26 times
    Strange, I can't access the folder from Places but if I navigate to it and open as root then it works, simple enough for me.

    Thanks for your help as I was pulling my hair out trying to figure it out and was just about to post a thread on this subject.

    Sent from my Motorola Xoom using Tapatalk.
    HTC One X
    ROM: Android Revolution HD 9.1.0
    Android: 4.0.4
    Sense: 4.1
    Kernel: Stock
    Build: 2.17.401.2
    Mods: jotha's Honeycomb Battery Mod, Centered Clock & EQS & vegetaleb's Transparent HTC Clock Weather Widget

    Motorola Xoom 32gb (+32gb SD Card) UK WiFi Only
    ROM: Team EOS 3 Jelly Bean Wingray Nightlies
    Build: EOS-wingray-20120722-123 - Gapps 20120722
    Android: 4.1.1


  11. #10
    Xoom Lurker
    Member #
    2518
    Join Date
    Apr 2011
    Posts
    7
    Liked
    0 times

    Can browse the files on the Xoom, but can't transfer files to it

    OK, so I have everything working thanks to this thread, except the most important thing - copying files to the Xoom.
    What happens is that when I copy a single or several files using Nautilus (default GUI file manager in Ubuntu 10.10) as soon as the files seems to have been copied 100% they just disappear on the Xoom. Just like that.
    Trying to do a cp in terminal gets me this:

    Code:
    christopher@maranello:~/Desktop$ cp test.txt /media/xoom
    christopher@maranello:~/Desktop$
    no error messages at all, but browsing the root folder of the Xoom shows me that there's no test.txt file there...


    Any help would be highly appreciated!

    Regards,
    Christopher

    2.6.35-28-generic-pae #50-Ubuntu SMP Fri Mar 18 20:43:15 UTC 2011 i686 GNU/Linux


 
Page 1 of 3 1 2 3 LastLast

Remove Ads

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. GoAruna - Honeycomb Cloud Based Storage
    By CZonin in forum Motorola Xoom Apps
    Replies: 25
    Last Post: 09-10-2011, 08:53 PM
  2. Vehicle Mount??
    By CyberLaw in forum Motorola Xoom Accessories
    Replies: 102
    Last Post: 04-09-2011, 11:21 AM

Search tags for this page

can i connect my motorola xoom to my linux computer

,

connect motorola phone to ubuntu 12.04

,
connect storage android 4.1.1 ubuntu
,

connect xoom to ubuntu

,
fuse: bad mount point `/media/nexus/': transport endpoint is not connected
,
how detect storage android 4.1.1 in ubuntu
,
how to mount internal storage using linux
,
htc one x linux usb
,
motorola xoom 2 mz616 android sdcard vold.fstab mounting
,
motorola xoom 32gb wifi ubuntu
,
motorola xoom connect linux
,
motorola xoom internal mount points
,

motorola xoom mount points

,
mount htc one x usb storage ubuntu
,
mount motorola iden linux
,

mount motorola xoom ubuntu 12.04

,

mounting droid dna ubuntu

,
please mount internal storage before using the camera tablet
,
ubuntu 10.10 connect to android camera
,

usb mount xoom linux

Click on a term to search for related topics.

Tags for this Thread