Mount Android Device in Linux

By | 2010/08/01

How do I mount my Android phone in Linux?
Android phones and devices attach via usb as a generic mass storage device. This makes Android compatible with pretty much any operating system, without the need of any additional software or drivers.


(Spoiler: There is an alternative to using USB. Just use AndFTP to sftp your files to / from your device! It’s free.)


Unfortunately you cannot just plug in the device out of the box to start browsing your files. You must do these steps:

First go to Settings and tap on Applications.

01device

Next, tap on USB settings and be sure to set USB to mass storage.

02device-b

Now go back to the previous Applications menu and choose Development.

02device

Here check the top box USB debugging.

03device

Ok, now plug in your device with the USB cable. Android does not mount automatically. You must slide down your notification window, then tap on ‘USB connected’.

04device

This prompts you to select ‘Mount’ which will then mount your device in Linux (or other operating systems).

05device 07_droidmount

But wait! Android is so awesome that there is another way to get files to / from your device. Just use this free app: AndFTP.

4 thoughts on “Mount Android Device in Linux

  1. psql

    I try what you recommend, I’m using Lenovo lePad(I got it in China…) USB settings does not exist on my version Android 2.2? strange I can not change all the chinese stuff I got here, I can not download anything. I’m basically stuck with a nice tablet with a system that works but I can not use it.

    Reply
  2. bruhja

    It sounds to me like your have a chinese firmware/ROM(android version) that did not ship with the real market or all or the features enabled.

    You will need to google the tablet name and or model followed by the keywords custom rom or custom firmware and flash the device with a proper android rom. you will find instructions to perform this task.

    I had to do this with my epad from allie express, and have also flashed my phone.

    This is a dangerous process though, do it wrong and your tablet is a brick

    Reply
  3. ceyes

    thanks your article
    at least I am sure that android’s SD card can be mouted at linux desktop
    but I failed that many times
    ————————————————————————-
    My phone is sony st18i and my laptop OS is gentoo
    I set my phone correctly
    then plug in my device with the USB cable.
    but then there’s no reaction, it just charges

    I am very confused
    I guess I loss some driver for it, But the other USB devices are all works well at my gentoo.
    I also rebuild my kernel as someone said to choose some choice.
    but it still does not work, I don’t know where is the wrong.
    ———————————————————————
    below is the log when I plug in my phone
    Apr 7 16:58:03 gentoo klogd: [31580.953032] usb 2-1: new high speed USB device number 5 using ehci_hcd
    Apr 7 16:58:03 gentoo klogd: [31581.067971] usb 2-1: Dual-Role OTG device on non-HNP port
    Apr 7 16:58:03 gentoo klogd: [31581.068213] usb 2-1: can’t set HNP mode: -32
    Apr 7 16:58:03 gentoo klogd: [31581.170144] usb 2-1: new high speed USB device number 6 using ehci_hcd
    Apr 7 16:58:03 gentoo klogd: [31581.286954] usb 2-1: Dual-Role OTG device on non-HNP port
    Apr 7 16:58:03 gentoo klogd: [31581.287077] usb 2-1: can’t set HNP mode: -32
    Apr 7 16:58:03 gentoo klogd: [31581.390042] usb 2-1: new high speed USB device number 7 using ehci_hcd
    Apr 7 16:58:03 gentoo klogd: [31581.403178] usb 2-1: Dual-Role OTG device on non-HNP port
    Apr 7 16:58:03 gentoo klogd: [31581.403330] usb 2-1: can’t set HNP mode: -32
    Apr 7 16:58:03 gentoo klogd: [31581.506077] usb 2-1: new high speed USB device number 8 using ehci_hcd
    Apr 7 16:58:03 gentoo klogd: [31581.519175] usb 2-1: Dual-Role OTG device on non-HNP port
    Apr 7 16:58:03 gentoo klogd: [31581.519335] usb 2-1: can’t set HNP mode: -32
    Apr 7 16:58:04 gentoo klogd: [31581.956055] usb 6-1: new full speed USB device number 3 using uhci_hcd
    Apr 7 16:58:04 gentoo klogd: [31582.082965] usb 6-1: not running at top speed; connect to a high speed hub
    Apr 7 16:58:04 gentoo klogd: [31582.110956] usb 6-1: Dual-Role OTG device on non-HNP port
    Apr 7 16:58:04 gentoo klogd: [31582.113963] usb 6-1: can’t set HNP mode: -32
    Apr 7 16:58:04 gentoo klogd: [31582.216036] usb 6-1: new full speed USB device number 4 using uhci_hcd
    Apr 7 16:58:04 gentoo klogd: [31582.342963] usb 6-1: not running at top speed; connect to a high speed hub
    Apr 7 16:58:04 gentoo klogd: [31582.366967] usb 6-1: Dual-Role OTG device on non-HNP port
    Apr 7 16:58:04 gentoo klogd: [31582.369941] usb 6-1: can’t set HNP mode: -32
    Apr 7 16:58:04 gentoo klogd: [31582.472068] usb 6-1: new full speed USB device number 5 using uhci_hcd
    Apr 7 16:58:04 gentoo klogd: [31582.497964] usb 6-1: not running at top speed; connect to a high speed hub
    Apr 7 16:58:04 gentoo klogd: [31582.524940] usb 6-1: Dual-Role OTG device on non-HNP port
    Apr 7 16:58:04 gentoo klogd: [31582.527946] usb 6-1: can’t set HNP mode: -32
    Apr 7 16:58:04 gentoo klogd: [31582.630055] usb 6-1: new full speed USB device number 6 using uhci_hcd
    Apr 7 16:58:04 gentoo klogd: [31582.657953] usb 6-1: not running at top speed; connect to a high speed hub
    Apr 7 16:58:04 gentoo klogd: [31582.683960] usb 6-1: Dual-Role OTG device on non-HNP port
    Apr 7 16:58:04 gentoo klogd: [31582.685960] usb 6-1: can’t set HNP mode: -32
    ————————————————————————————-
    I think I need your help, thank you~

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.