Getting the Samsung Galaxy S to work with Android SDK on Ubuntu

Just an info dump here.

To get the Samsung Galaxy S working with the Android SDK in Ubuntu, some setup is needed, else you’ll be getting errors like this:

? adb devices
List of devices attached
????????????	no permissions

I did these on a Ubuntu Lucid Lynx, but this should work for other versions/distro of Linux too I think.

1)
Change to root

? sudo -

2)
Create the needed file. 04e8 refers to the Vendor ID for the Samsung manufacturer.

# echo 'SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"' >> /etc/udev/rules.d/51-android.rules

3)
Restart the udev service

# /etc/init.d/udev restart

4)
Plug in the phone (make sure debugging mode is already enabled), and run adb as needed

? adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
[device-id]    device

Hope this helps whoever needs this. 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s