Install and identify Samsung I9000 in Ubuntu

Source: Internet
Author: User
After setting up the Android development environment in Ubuntu, another problem has plagued me. my mobile phone is Samsung I9000 (GalaxyS) and it is easier to install a driver in Windows, but I couldn't find the driver for Linux, so I searched the internet and found that there was still a method, and I didn't need to find the driver. 1. First connect the mobile phone to the USB interface, and then enter the following lines in the terminal: lsusb: Bus004Device001: ID1d6b

After setting up the Android development environment in Ubuntu, another problem has plagued me. my mobile phone is Samsung I9000 (Galaxy S) and it is easier to install a driver in Windows, but I couldn't find the driver for Linux, so I searched the internet and found that there was still a method, and I didn't need to find the driver.

1. First connect the mobile phone to the USB interface, and then enter:

Lsusb

Several rows of results appear.

Bus 004 Device 001: ID 1d6b: 0001 Linux Foundation 1.1Root hub
Bus 003 Device 001: ID 1d6b: 0001 Linux Foundation 1.1Root hub
Bus 002 Device 001: ID 1d6b: 0001 Linux Foundation 1.1Root hub
Bus 001 Device 003: ID 04e8: 681c Samsung Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0Root hub

The fourth line is what we want.

2.
Next, run the following command:

SudoGedit /Etc /Udev /Rules. d / 50-Android. rules

Add the following line in the edit window.

SUBSYSTEM= "Usb", SYSFS { "Samsung Electronics Co., Ltd" }= "04e8", MODE= "0666"

It is actually the character and ID value of the above result, save, exit, and return to the terminal.

 

Run the following command:

SudoGedit /Etc /Udev /Rules. d / 90-Android. rules

Add the following line in the edit window.

SUBSYSTEM= "Usb", ATTR { "Samsung Electronics Co., Ltd" }= "04e8", MODE= "0666"

Save, exit, and return to the terminal.

 

Run the following three commands:

Sudo  ChmodA + rx /Etc /Udev /Rules. d / 50-Android. rules
Sudo  ChmodA + rx /Etc /Udev /Rules. d / 90-Android. rules
Sudo  /Etc /Init. d /Udev restart

3.

Run the cd command to go to the directory of adb under your Android SDK directory (usually platform-tools or tools), and then run the following command

Sudo. /Adb kill-server
Sudo. /Adb devices

A result similar to the following indicates that the operation is successful.

List of devices attached

100089955137 device

If the following content appears, you must repeat the two commands above.

List of devices attached
???????????? No permissions

 

Okay, connect to DDMS and check if your mobile phone is displayed?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.