ADB issue with captivate - Captivate Q&A, Help & Troubleshooting

Hello all I have been using a captivate for some of my dev work and all was going well but just today I can no longer see it in my devices using ddms or adb devices.
Looks like adbd is running on the phone and I can mount the sd card fine. I tried in two machines, one mac and one windows... So its something in the phone and a factory reset didn't fix it - any tips on how I should go about troubleshooting this?
It was working fine so I am a bit miffed.
Thanks so much
Jit
--
Sent from my SAMSUNG-SGH-I897 using XDA App

Still not working with a mac
All:
Just an update to the issue - the Captivate still refuses to be recognized by ADB, although it works fine on the same machine when I boot into Windows and use Samsung Kies.
On the Mac side, I can mount the files when USB debugging is on by going to the USB status icon and selecting Mount storage. The Mac even recognizes the connection as a new network connection (although I simply ignore that part). So looks like the USB subsystem on my Mac is somehow not recognizing the ADB communication. I upgraded to android release 8 and still the same problem.
Is there a way to completely reset the USB subsystem on a Mac without having to reinstall the OS?
Thanks so much - the weird thing is that the captivate worked okay for a week or so before deciding not to work with adb any more - I can still generate apks and sideload the apks into the device but I would really like to be able to do some on-device debugging.
Thanks so much for any help that you guys can give.
Jit

Edit: Nevermind

SOLVED - ADB Issue with Captivate
All:
After quite a bit of research finally figured out why ADB will not recognize the captivate (or for that matter any other android device). The problem was because I had installed EasyTether. Its a pretty nice software and pretty easy to use to tether android devices, unfortunately it kills adb's usb capabilities.
I found this issue in EasyTether's FAQ area so if anybody else is having the same problem you will need to unload the EasyTether Kernel Extension (unfortunately that didn't totally fix the problem for me - I kept losing communication intermittently so I ultimately removed Easytether from my mac as well as from the Captivate and now I can see the device in adb again).
Just thought I would share the solution with the rest of the very helpful community.
Jit

Related

Cyan's 4.2.3 Tethering question

Hi,
I just wanted to ask if anybody has gotten the usb tether feature to work with a mac? I can't seem to get it to work . Any help will be appreciated.
Thanks
Cyanogen posted on his twitter about a problem with the tethering on windows, not sure if it applies for mac aswell
thanks for the info, will stay alert then!!
btw i know i should wait for the next release for the usb problem, but the thing is that i get the option to mount usb, but if i mount i cant see the device on my computer, and then i get a damaged sd card message on my phone... Anybody got something on this??
thanks
edil939 said:
btw i know i should wait for the next release for the usb problem, but the thing is that i get the option to mount usb, but if i mount i cant see the device on my computer, and then i get a damaged sd card message on my phone... Anybody got something on this??
thanks
Click to expand...
Click to collapse
See if the card will mount in a reader, if not format the card on the phone. If it keeps happening you might need to buy a new card.
i tried
ok
1. you cannot have both USB tethering and USB disk support at the same time.
2. in order for the device to be picked up as a modem/networking device in mac, its gonna need drivers?
how are you supposed to get it working in linux? perhaps the same method could be done via terminal?
edit: 4.2.3.1 , M_Blend Blue b2, Mac 10.5.8 on PowerBook G4 1.67 (PPC)
edit2: http://wiki.cyanogenmod.com/index.php/Tethering - If someone figures it out, please update this wiki to explain to the public how to do it. Thanks. I suppose this goes the same for Windows, if you find the driver that works- Share the knowledge!
hey, I'm also interested in getting this to work on a mac. It does seem like we'll need drivers of some sort, I just have no idea where/what to look for. anyone have ideas? I think i'm going to ask cyanogen via twitter, we'll see what happens
AdrianK said:
See if the card will mount in a reader, if not format the card on the phone. If it keeps happening you might need to buy a new card.
Click to expand...
Click to collapse
Thanks! But i wont need to buy a new one 4.2.3.1 fixed that issue !!
I just cant get the tethering to work on mac, if i find something will let you all know
Forgive me if this was addressed, but I couldn't see it in the rom thread. I'm running 4.2.3.1 and I can't seem to get the usb tether to work. I'm running windows 7, and when I first checked the box, it went through the add hardware wizard, but said the device could not be installed, and now nothing happens.....Just wondering if anyone could shed some light on the issue.
Thanks
Still can't get tethering to work
I tried using my girlfriend's computer, and it worked, but I still can't get it to work on mine.
I'm running windows 7 on a dell inspiron E1505. Not sure if anyone can help. I'd really like to get this working if possible.
No reason to tether through USB... just go wireless on it. (unless you don't have a wireless adapter, I use an iMac so it's built in.)
Tethering works fine on 4.2.3.1 with the new tether 1.60pre_3. I've never tried through the USB though, but i've read it works.
mrandroid said:
No reason to tether through USB... just go wireless on it. (unless you don't have a wireless adapter, I use an iMac so it's built in.)
Tethering works fine on 4.2.3.1 with the new tether 1.60pre_3. I've never tried through the USB though, but i've read it works.
Click to expand...
Click to collapse
mrandroid, USB tethering is a lot faster than wireless tethering. Performance is the primary motivation. I'm trying to get it working on my MacBook, but haven't succeeded yet.
Pachichachi said:
mrandroid, USB tethering is a lot faster than wireless tethering. Performance is the primary motivation. I'm trying to get it working on my MacBook, but haven't succeeded yet.
Click to expand...
Click to collapse
I understand, but if you can't get it done don't despare... you'd be surprised how fast the wireless works. I use it all the time in the car... Tether my iTouch to the G1 lol... works great.
It's due to RNDIS and no support in 10.5 +
The method the tethering CM uses is RNDIS... Current OS X versions do *NOT* support this as it's an MS licensed implementation - some linux distro's support it under licensed terms with MS (or sideways non legal implementations)
There is an RNDIS driver for Mac but it does require some modification to get it to work.... 10.4 had internal support; Leopard and Snow Leopard *DO NOT*.
See: http://wiki.openmoko.org/wiki/MacOS_X#Apple_CDC_Ethernet_driver_10.5.x (This applies to a Neo device - but same story)
If someone on Windows can grab the Networking UPNP info we can modify the source base to work ; though it will work on Leopard; no one has ported this driver yet to Snow Leopard... source: http://bugcommunity.com/downloads/files/AppleUSBCDCDriver-g_ether.326.4.1.zip
I can't get either Apple's CDC nor AJZaurusUSB driver to work in 10.5.8. Frustrating to say the least.
Haywir3 said:
I can't get either Apple's CDC nor AJZaurusUSB driver to work in 10.5.8. Frustrating to say the least.
Click to expand...
Click to collapse
I used Fusion 3.0 with an XP VM and it works... I'm working to see if I can back NAT that connection to Snow Leopard...
NPS_CA said:
I used Fusion 3.0 with an XP VM and it works... I'm working to see if I can back NAT that connection to Snow Leopard...
Click to expand...
Click to collapse
While I commend your efforts, if I have to go to those lengths to get usb tethering to work on os x, I'll just continue to use wireless tethering.
I'd love to see someone tackle this. I get free WiFi at tmobile hotspots on my phone, but not my pc, I could surf on my mac through usb, using the WiFi on my phone if this was implemented.
usb tethering on snow leopard?
Hello guys,
did anybody got cyanogenmod working with usb tethering on snow leopard?
Kind regards,
Thomas
i'd also love to get USB tethering working with Cyanogenmod 7.
<an URL that i can't post because i'm a new user> says that RNDIS was added back to stock OSX as of 10.5.8. i guess this is a vicious rumor and a lie? anyone have more info?
the link is the first one that currently comes up if you google for "+rndis osx 10.5.8". it's a single post at mac-forums.com.

ADB broken after Froyo OTA?

Just wondering if anyone else is having this issue.
After waiting for the VF 2.2 OTA update, it finally arrived yesterday morning. Great. Except now ADB doesn't detect the phone.
Plugging it in, putting it in debug mode etc and going trying ADB devices shows an empty list. Putting the phone in recovery and trying fastboot devices shows it with no problems.
If I plug in my HTC Magic (on 2.1-update1) and my Nexus One, adb shows only the Magic in the device list. ddms also doesn't detect the N1 but does detect the Magic without any problems.
I've tried reinstalling the driver, reinstalling the whole SDK, installing all updates, doing a factory reset on the device and everything else I can think of. Nothing seems to fix this issue. It's been logged in the android bug tracker, but not many people seem to be having the issue. The bug is here: http ://code.google.com/p/android/issues/detail?id=9437 (sorry had to break it up because I'm not allowed to post links yet)
I'm not sure if this has anything to do with Windows 7, but from searching it seems there have been other issues with W7 and the N1 when using adb.
What I just don't get is that it's only affecting a few people. What could be so different about my N1 that's causing this and not causing it for almost everyone else? It makes no sense to me.
Having the same issue. I put an issue in http: //forum.xda-developers.com/showpost.php?p=7636799&postcount=129.
Tried ADB with a HTC Legend. No problem. But on my Nexus ONE the ADB don't announce itself on the USB bus.
Just to make sure; USB Debugging is enabled in the phone, right?
Yepp. USB debugging is on.
Sent from my Nexus One using XDA App

[Q] USB Not Recognized.

So I got my Samsung Galaxy Tab (sprint CDMA version) today and when I first plugged it into my computer the drivers installed fine. I was able to mount the sd card and transfer files with ease. I then proceeded to root the device hoping to put a new rom on it, I've got a captivate and am not a rookie at all when it comes to flashing roms via odin, cwm, etc...I first put the device into debugging mode which is where things got weird. As soon as I put the device into debugging mode and plugged it in via usb it immediately became "unrecognizable". I have the correct updated drivers for the device both from the Samsung website and via the Android SDK tools. There should be no reason why this happened. So I then took it out of usb debugging and plugged it back in and bam, again, "USB Device not recognized". I've been installing and uninstalling drivers, the device itself from the device manager, and have been trying other numerous ideas. I've been Googling and searching for hours upon hours at this point and don't know what to do next. Odin does NOT recognize the device when in download mode and the device does charge when connected to the computer. I have tried a different cord with the device and different computers and it's all the same story, works until debugging is enabled then it will no longer work no matter what. I am fairly sure at this point the device itself is malfunctioning or defected but I wanted the opinion of others before sending it back. I am pretty sure have tried everything and am doing everything right. Please help if you can, if not I still appreciate your time! Specs are listed below:
Hardware Version
P100.08
Model Number
SPH-P100
Firmware Version
2.2.1
Kernel Version
2.6.32.9
Ebicoustic said:
As soon as I put the device into debugging mode and plugged it in via usb it immediately became "unrecognizable".
....the device does charge when connected to the computer.
Click to expand...
Click to collapse
1. Just wondering, have you installed Kies before connecting the tab to your PC?
2. The SGT will not charge "normally" with a USB connection. It will trickle charge, which is very slow way of charging, and the device will not indicate that it is charging. Does your device indicate it's charging? (As stated above)
Hit thanks if I deserve it..
FWIW, My SPH-P100 Sprint Galaxy Tab has been an adventure as well. Enough so that I wish I'd known more and held out for a GSM model.
I am not even sure if Kies and/or Odin will in fact work with the Sprint GT. I've had almost no luck with a variety of attempts. Even the widely used ClockWorkMod Recovery does not include the Sprint GT among its list of supported devices. It does include the CDMA Verizon GT - and some folks have posted that they eventually got that to work.
I did get the SuperOneClick to work and setup root privileges on my tab. That part works fine. But so far I've been reluctant to experiment too much with the various tools that "almost appear that they should work" as I have too little experience with this Android tablet environment to feel comfortable that I can recover from the eventual disaster.
Am hopeful that Samsung will in fact follow through on their commitment to provide upgrade of all GTs to Gingerbread 2.3.3. If so that may be enough for my needs. I WOULD like to get the Netflix viewer app working. Is frustrating to already have a Netflix account and not be able to access it via my GT. A guy down the hall can get Netflix on his Droid X - which really bugs me! lol
IMHO, Google/Samsung/Motorola/HTC/etc. have done a horrible job rolling out Android - both on phones and tablets. Netflix really highlighted this when they decided to do device-by-device testing and certification before allowing Android devices access to their movies. Apparently the 'capabilities' inherent to various Android devices varies so much (and not just OS version) makes it difficult to roll out something as simple as Netflix access. It is frustrating. And the only "solution" so far is to wildly 'hack' your device in the hope that you'll shake something loose enough to make it work as you wished it had when you bought it.
Enough whining for now. But it has been a very frustrating and disappointing experience.
I installed Kies AFTER installing drivers and connecting the tablet and it has no effect. I also learned after googling that kies does not support the sprint cdma version though I could be wrong but many people have stated this. And the device does charge and does so very fast actually, 20% to 100% in 4 hours. I don't think it's trickling down as you say because it is very clearly charging at a fast pace. Thanks for the quick response though! And I have also tried superoneclick root and other methods i.e odin but neither can find the device. I know some people have had luck with this sort of thing after upgrading the rom and/or flashing firmware onto the device which I would love to try but unfortunately without windows being able to see the device, none of this is even remotely possible.
I think the reference to slow charging on USB is really refering to using a data USB port on a notebook or desktop computer. This is because the data USB ports are limited in how much current they will pass. My SPH-P100 will in fact charge on a data USB port - but very, very slowly. In fact if the device is ON it may just barely be breaking even.
The USB charger is certainly capable of charging at a very reasonable rate.
I'm still waiting on the 2.3.3 update that Samsung has promised. It only took them 5 months to get the 2.2.1 update out for my Fascinate! So maybe we'll see the 2.3.3 update by Thanksgiving...or Christmas...or...

Root not working after ICS (ADB can't see it)

So I just updated my Bionic to ICS, YAY!
But, root isn't working, BOO! :crying:
I am relatively knowledgeable in this stuff; it is both my profession and my hobby. Investigating this issue has led me to believe that my problem is that the ADB interface does not show up in device manager (Mass Storage, MTP, and PTP mode have the same result) on Windows 7 Ultimate x64. When the device is connected in AP fastboot, however, the driver does show up and works fine. Additionally, when I try to manually add the driver, it fails to start (code 10).
What does show up, however, is the Motorola USB Networking Driver (MTP only), under network adapters.
The upgrade to ICS was performed with SamuriHL's HoB (ADB), and in an effort to resolve this issue, I did it again with HoB (Fastboot).
Can somebody please help?
Thanks,
Overkill
EDIT: I downloaded the SDK and ADB still doesn't list my device. I do know that the IP used by the Motorola driver is 192.168.137.2 for my device (.1 for my PC) and that "adb connect 192.168.137.2" fails to connect on the default port (maybe another port?)
Thanks again! I feel naked and powerless without my root =(
Do you have USB debugging enabled under Developer Options?
Yes, I do. I have tried disabling/re-enabling it as well to no avail.
I appreciate the KISS approach, but I've gone over the checklist on every how-to and I am confident that nothing is missing.
I tried the phone on another computer and with several different USB cables and no luck. I have all 64-bit machines, but I can also try my XP VM and maybe that'll behave properly ^_^ Or an actual XP machine at one of my jobsites that still won't pay to upgrade their equipment from 2002.
OverkillSD said:
Yes, I do. I have tried disabling/re-enabling it as well to no avail.
I appreciate the KISS approach, but I've gone over the checklist on every how-to and I am confident that nothing is missing.
I tried the phone on another computer and with several different USB cables and no luck. I have all 64-bit machines, but I can also try my XP VM and maybe that'll behave properly ^_^ Or an actual XP machine at one of my jobsites that still won't pay to upgrade their equipment from 2002.
Click to expand...
Click to collapse
I had this problem, reinstalling latest Motorola device manager fixed it for me.
No go on that either.
I gave up and did a factory restore, it's working fine now. Going to analyze the scripts used by House of Bionic and see if it's possible to work backwards and see if there was a way to do it without losing data, for posterity's sake.
OverkillSD said:
I gave up and did a factory restore, it's working fine now. Going to analyze the scripts used by House of Bionic and see if it's possible to work backwards and see if there was a way to do it without losing data, for posterity's sake.
Click to expand...
Click to collapse
You have to remember to reboot with the phone in all the different connection modes for multiple different drivers loaded.
OverkillSD said:
I gave up and did a factory restore, it's working fine now. Going to analyze the scripts used by House of Bionic and see if it's possible to work backwards and see if there was a way to do it without losing data, for posterity's sake.
Click to expand...
Click to collapse
Weird. FDR only kills user settigns and user apps - so, it seems like there was an app that was blocking ADB access. Which is extremely strange, b/c that should not happen, unless you have some sort of firewall on the BIONIC itself (or else something like DroidSheppGuard running).
beray5 said:
You have to remember to reboot with the phone in all the different connection modes for multiple different drivers loaded.
Click to expand...
Click to collapse
Not always true - you may need to reboot the phone. I can switch from any mode to any other mode and the connection pops up within 5 seconds every time. Of course, I'm running Win 7 Ult x64, and I only use the direct connect ports on my computer, no hubs, no USB 3 ports, and I never install the Motorola Device Manager software, only the direct USB drivers that I extract from the installer myself. Any one of those may be a factor in why it works for me, or some combination thereof.
However, I do know that I am not the only one for whom the switching works without rebooting either computer or phone....

USB connectivity on a LInux laptop

Just got my Turbo, and I like it very much. What I don't like is that I can't seem to connect it to my Linux laptop. Could use a little help please.
Further, I disabled the autoloading software - because it's Windows software...now I can't find that setting.
Anyone?
BTT.
Still having issues with this. .otherwise, phone is 5X5.
What distro are you using? Can you see your phone in your file manager? Have you installed mtp support...?
Also, try enabling USB debugging. I had some connectivity issues and enabling it seemed to solve them, although I'm not sure if that was just a coincidence.
Yehudah said:
Just got my Turbo, and I like it very much. What I don't like is that I can't seem to connect it to my Linux laptop. Could use a little help please.
Further, I disabled the autoloading software - because it's Windows software...now I can't find that setting.
Anyone?
Click to expand...
Click to collapse
I'm running 17 and have had no issues
Ekkoria said:
What distro are you using? Can you see your phone in your file manager? Have you installed mtp support...?
Click to expand...
Click to collapse
I am using Linux Mint 13. Didn't have any issues with the HTC phones I've owned. Can't see it in file manager, nothing pops up. Didn't know I needed to install MTP support - considering the other phones worked fine. Hmmm.
Also, try enabling USB debugging. I had some connectivity issues and enabling it seemed to solve them, although I'm not sure if that was just a coincidence.
Click to expand...
Click to collapse
I did that, no help. I'll keep digging. Thanks.
13 is old.... really old. Not sure if they even support MTP. I would highly, highly suggest moving to Ubuntu 14.10, at the very least to a CLEAN install of the latest mint. I had nothing but issues with mint so I switched to stock ubuntu (plus I like compiz fusion too much)
123421342 said:
13 is old.... really old. Not sure if they even support MTP. I would highly, highly suggest moving to Ubuntu 14.10, at the very least to a CLEAN install of the latest mint. I had nothing but issues with mint so I switched to stock ubuntu (plus I like compiz fusion too much)
Click to expand...
Click to collapse
Upgraded to 17, works like a champ.
Thanks!
My wife just purchased a Turbo. I can not get the storage to mount on Ubuntu 14.10. This is the only phone that I don't have access to the storage. I do have access to the PMP. I am also receiving an "no permissions" when using adb. I search for adb devices, and no permissions? I have developer options enabled, USB debugging checked. I just tried 2 other phones with adb, all functions?
chazall1 said:
My wife just purchased a Turbo. I can not get the storage to mount on Ubuntu 14.10. This is the only phone that I don't have access to the storage. I do have access to the PMP. I am also receiving an "no permissions" when using adb. I search for adb devices, and no permissions? I have developer options enabled, USB debugging checked. I just tried 2 other phones with adb, all functions?
Click to expand...
Click to collapse
I can only come up with one thing right now, was the phone unlocked when you plugged it in? Sometimes my turbo gives me grief if it's locked and I connect it. Can't think of much else.
You may want to have a look at this article.
Ekkoria Thanks. Good read.
I changed the fuse.conf, and added my device to the, 69-libmtp.rules.
All working here.
Thanks

Categories

Resources