0

I am trying to follow this guide: http://forum.xda-developers.com/showthread.php?t=2163085

However I am unable to connect to my android phone via USB. I think I need to install the USB drivers for Ubuntu. I am using Ubuntu 13:04 and the Nexus S currently has Cyanogenmod on it.

Any help would be appreciated.

Thanks, Glen.

Izzy
  • 91,166
  • 73
  • 343
  • 943
Captain_Glen
  • 1
  • 1
  • 1
  • 1
    You might wish to take a look at Is there a minimal installation of ADB? and my answer here to the question Configuring ADB for Nexus 4 on Ubuntu 11.10, that should solve your issue. Except, after taking a look at the XDA thread you linked: Are you asking about Ubuntu on your Nexus-S? – Izzy Sep 28 '13 at 23:25
  • Are you talking about installing the USB driver on your phone, in your new Ubuntu installation, or about installing a USB driver for an Android phone on your desktop PC? – Dan Hulme Sep 29 '13 at 08:31
  • Dan Hulme,

    I am trying to copy files from Ubuntu 13:04 to Cyanogen Mod. I previously experimented with making an android game that needed USB drivers. I did all this and was able to copy files via USB.

    My Nexus S phone with Cyanogen Mod phone appears to have been hacked gotten a virus or has bug (probably from installing an old version of gapps).

    I use to be able to copy files via USB. Now I cannot. I am using a new Ubuntu PC with 13:04.

    – Captain_Glen Oct 06 '13 at 04:11
  • I have a Nexus 7 and I had the same problem ... try this, just say I don't have the Cyanogenmod install on my Nexus, but you can try. http://askubuntu.com/questions/207569/how-do-i-connect-a-nexus-7-to-transfer-files – djose90 May 08 '14 at 00:10

1 Answers1

2

As was already pointed out in a number of answers as well as in the comments, one does not need to download/install separate USB drivers for your Android device; they are already compiled into the Kernel. However, you do have to tell your Linux system what device you want it to treat as such (udev rules in /etc/udev/rules.d/ directory). Take a look at the Android Developer Site

To facilitate the installation of these "udev rules", I've set up a github repository with an installation script at https://github.com/ILMostro/Android-Udev-Rules. You can download it with git by typing into the terminal:

git clone https://github.com/ILMostro/Android-Udev-Rules.git
ILMostro_7
  • 255
  • 1
  • 2
  • 13