开发者

Android Galaxy S Phone - ADB Debug Bridge Trouble on Mac OSX

Here's the issue. I do this to get the device list:

./adb devi开发者_如何学编程ces

And I get this:

List of devices attached 

with no returned devices. If I run the emulator, that shows on the above list, but still no physical device.

I am using a Samsung Galaxy S Fasciate (Verizon model) on a MacBook running OS 10.5.

I am connecting through a powered USB hub as was advised on a different message board (I can find the source if anyone's interested). This also does not work when I connect directly.

According to the Mac System Profiler, the device is plugged in:

SAMSUNG_Android:

Product ID: 0x681c
Vendor ID:  0x04e8  (Samsung Electronics Co., Ltd.)
Version:    2.23
Serial Number:  I500874368c4
Speed:  Up to 480 Mb/sec
Manufacturer:   SAMSUNG
Location ID:    0xfd140000
Current Available (mA): 500
Current Required (mA):  96

I am able to mount the SD drive and have even successfully used two different apps that tether an internet connection via the USB cable, so I can safely assume that the computer can properly interact with the device.

Yet for some reason, it does not show up as a device that I can debug.

(And yes, I've turned on "USB Debugging" on the phone - and even tried restarting the phone.)

I would greatly appreciate any help with this.


Got it!

It was EasyTether!

I installed EasyTether at some point and it was interfering with this even after I thought I uninstalled it.

Here's the solution from the EasyTether website:

ADB on Mac OS X stops recognizing the attached device after installing EasyTether driver. Use kextload/kextunload to unload from memory the EasyTetherUSBEthernet.kext kernel extension manually. It is in /System/Library/Extensions/

Once again, thank you everybody for helping with this.


Yikes, this is a tricky one, if its anything like the other galaxy s phones, they aren't very easy to connect to a computer. I don't want to be a nay sayer but I don't see the drivers you need available for macintosh.

For example this flashing guide: http://wiki.cyanogenmod.com/index.php?title=Samsung_Fascinate:_Rooting uses the adb bridge but the correct drivers are only provided for windows. The thing is it will recognise your phone as a samsung_android but thats not actually the proper driver. its just information about the device.

Try it out on a windows pc with the windows drivers and I think you'll find my suspicions confirmed.


I found an alternative solution. I am able to connect to the Fascinate wirelessly using this app: http://www.appbrain.com/app/adbwireless-(widget-version)/siir.es.adbWireless

I am rooted using Z4 and the whole setup is very simple. Once rooted and running the adbWireless app I enter the connect command provided by the app and that's it. The device is now treated as-if it's plugged in via USB and I can send apps to it over the debug bridge.

I appreciate all of the helpful answers.


If anyone else has this problem and did not have EasyTether installed - you should try running:

setprop service.adb.tcp.port -1

stop adbd

start adbd

on a terminal emulator from the phone. This turned out to be the only thing that was able to fix this issue (bought the phone off of ebay - I assume that whoever owned it before me had set it to wirelessly connect to his computer).

Check out How can I connect to Android with ADB over TCP? for more info

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜