Newbie needs help with adb - Hero, G2 Touch Q&A, Help & Troubleshooting

Hi.
I'm trying to make some custom native software for android but I need some help getting started.
What I have done so far is getting a HTC Hero, GSM version.
Flashed a custom rooted ROM. update-hero-generic-2.73.405.38-rooted-signed.zip
Installed the sdk and ndk on Windows.
Downloaded and built the open source android project in a VMWare ubuntu image.
What I'm trying to do now is to get ADB talking to my Hero.
I have USB debugging on in the applications->development menu on in the Hero.
When I attach the phone to my XP PC it detects it and asks for drivers, I point it to drivers in android-sdk-windows\usb_driver, windows won't load them because they do not match the hardware.
I can install the driver manually but eventhough the device manager lists it as working (android phone with android composite ADB interface) adb cant find it.
adb devices just give me an empty list.
I tried this on a Windows 7 box and it seemed to work there, is there something special I need to do to get it working on XP?

Installing HTC Sync (drivers included) should resolve.

Thanks!
I actualy tried that before posting but it did not seem to work.
I now tried it again and this time I manually installed the driver in the HTC directory and now it works.

Related

HTC Drivers

Hey, I was wondering if anyone had a link to download the HTC Bootloader drivers. It fails when I try and load "something" in Windows.
Thanks.
p.s: This will lead to good things...
The only drivers that I am aware of are the ones that are in the Android SDK Toolbox and in the HTC Sync program. Correct me if I am wrong, but as far as I know, they aren't specific drivers ie "bootloader" drivers. They are just drivers to get your comp to recognize the phone when its attached.
I'm assuming this is something you're expirementing with to get root via the adb in recovery, if so, good luck.
-------------------------------------
Sent via the XDA Tapatalk App
Hi crax0r,
The folks at Android (aka Google) provide these instructions for installing the drivers. It involves installing their SDK first, and installing Java for that, and an IDE called eclipse.... UGH.
The HTC "Sync" Application that hoovnick is referring to can be found here.
It has been so long ago that I installed drivers (on a WinXp x32 laptop) that I can't remember what order I did things in, whether or not the driver used by HTC sync is sufficient for fastboot but not adb (or vice versa), whether I did the SDK install first, etc etc etc. As a matter of fact, it's been so long ago that the computer that I did it on is now dead, and here I am using a Linux machine.
For all I know, the order you do things in affects the outcome - it sure seems like a lot of folks with Windows 7 complained about driver troubles.
One thing is for sure, though - setting up the entire Android SDK (+ Java + Eclipse + ...) in order to install a device driver has to be the worlds most roundabout way of doing a driver install.
If you are considering using the "fastboot" method to install Amon_RA's recovery boot, you might try just installing HTC Sync first, and see if that is sufficient for getting fastboot talking to the phone. That install is way, way easier than setting up the SDK to get a driver installed.
The other thing which is an option, if you are a little bit Linux-savvy, is to boot one of those "Live CDs" (Ubuntu, SuSe, etc) on your PC - there are no drivers to install in the case of Linux, you just need to be running as "root" on the Live (linux) CD to get fastboot to talk to the phone. The downloads (fastboot for Linux and the Amon_RA recovery image) are small, and they will both easily fit in the /tmp folder of the Linux (Live CD) boot on the PC.
Once you have Amon_RA on the phone, you won't need the SDK any longer, unless you want to start doing dev-like things; that's why a one-time boot into Linux would also work.
bftb0
I <3 Ubuntu. It's amazing!
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
crax0r said:
It's OK. I'm running Ubuntu now.
Click to expand...
Click to collapse
Excellent. Just remember to always run fastboot as root, and if using adb, then the first time after you boot (the PC), run adb as root.
The reason is that by default, Ubuntu won't let an unprivileged user access the USB.
Since I have adb and fastboot in my Ubuntu (regular user) PATH, I usually just do a
$ sudo `which adb` blah-blah-blah
or
$ sudo `which fastboot` blah-blah-blah
bftb0
hoovnick said:
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
Click to expand...
Click to collapse
I don't know - I've already forgotten everything I did with the driver install in Windows, and I don't currently have a working Windows machine. Sorry I can't be of more help. As I said, the troubles people have been having seem to depend on which version of Windows (Xp/Vista/7), whether its x32 or x64, phase of the moon, etc. Seems like people run into snags on Win7 or x64 versions of Windows more than Xp-32, but I don't know why that is.
Keep plugging away at it. If you are looking for resources to help resolve the problem, I would go look at docs relating to Windows driver install troubleshooting - the driver install problem seems to be a Windows issue, not really anything to do with the SDK.
bftb0
hoovnick said:
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
Click to expand...
Click to collapse
Sounds like what happened to me. i had to hit the icon at the top of my phone that showed the usb cable.. i had to switch charge only to disk drive "mount as disk drive"... folder popped right up on my windows machine asking how i wanted to open the file
I have the SDK running and my phone being recognized on my computer with Vista but I have another one running XP 32 bit and windows will NOT recognize the .inf? Any ideas? I deleted all previous HTC drivers and tried that approach but nothing seems to be working.

[Q] ADB with CM7

Has anyone been able to access their touchpad via ADB on with CM7 Alpha?
If so, what's the trick. I'm running Win7 Pro 32bit, Android SDK is installed with the latest Java 1.7 and USB debugging is on and displayed in notification.
FYI - I'm used to using ADB with my droid eris on GSB so I've tried most of the known stuff. Are there ADB drivers for the TouchPad around?
Thanks in advance.
All ADB drivers are in essence the same, you should be able to use the official ones Google releases with any device.
To get ADB running with my TouchPad(Windows 7 x64) I had a USB Mass Storage Device with the hardware id(USB\VID_0BB4&PID_0C02&REV_0227) I had to go an change the device driver to a USB Composite Device, once I did that the ADB interface showed up and I was able to install the driver.
The mass storage device I changed was this one (USB\VID_0BB4&PID_0C02&REV_0227) and not this one (USB\VID_0BB4&PID_0C02&REV_0227&MI_00).
Here is a link to the Official ADB Google driver http://api.ge.tt/0/8FtSNo8/0/blob/download you may need to force the driver to install.
Worked perfect. Thanks!
adbWireless ftw. No need for cables/drivers.
https://market.android.com/details?id=siir.es.adbWireless&feature=search_result
This worked for me. No modded .ini file or driver needed.
It detected and installed the"USB Composite Device" automatically.
http://rootzwiki.com/topic/6622-cm7-adb-driver/
win7 x64

drivers for windows 8 dp

Hi guys, i'm trying to re-root my phone (had to take it in for service so i had to unroot it and all that jazz), but i can't get a correct adb driver. i searched everywhere and all i could find were drivers for windows 7, but i am running the new windows 8 developer preview and I cant find the drivers for "Motorola ADB Interface"
I installed the android SDK and used the google drivers but it didnt work, and i downloaded and installed the motorola driver database thing, but it doesnt work with the new windows and halfway through it says "Installer does not recognize your version of windows"
does anybody have a .inf or .ini file that i can direct the device manager to that is specifically for the atrix. I cant find anything anywhere or know where i can get one?
thanks
anybody? at all
You are using an as yet unreleased operating system. If you want stuff to work, go back to a previously released version like Windows 7.

[Q] All basic Aria Drivers

Hi all,
I have an Aria running CM 7.2
I have a PC with Win XP SP3 where I am not able to connect my Aria because of lack of drivers.
I don't want to download and install HTC sync (pay-per-use plan).
Is there a standalone driver pack for Aria which I can use for:
ADB: VID_0BB4&PID_0C92&MI_01
Android Phone: VID_0BB4&PID_0C92&MI_00
Also there are other hardware IDs which I don't have right now, like fastboot etc.
I searched the internet and could not find any helpful drivers.
Can anyone help regarding this?
You can get the drivers here:
http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe
File size: 13.1 MB
Thanks for the above. I installed it.
But I still get error messages saying hardware not recognized.
The (new!) hardware IDs are:
Without ADB
Android Phone : VID_0BB4&PID_0FF9
With ADB
Mass Storage : VID_0BB4&PID_0C92&MI_00
and still cannot connect the phone.
I tried specifying the path to the actual drivers in the HTC program folder, but no help.
Any solutions?
plade said:
Thanks for the above. I installed it.
But I still get error messages saying hardware not recognized.
The (new!) hardware IDs are:
Without ADB
Android Phone : VID_0BB4&PID_0FF9
With ADB
Mass Storage : VID_0BB4&PID_0C92&MI_00
and still cannot connect the phone.
I tried specifying the path to the actual drivers in the HTC program folder, but no help.
Any solutions?
Click to expand...
Click to collapse
I tested my Aria with an old PC and it worked. Try installing the latest version of HTC Sync: http://dl3.htc.com/application/sync/htc_sync_3.0.5617_us.exe.
Can you explain how you are attempting to connect the phone? Are you just trying to use the RUU? Are you trying to use adb?
The drivers I linked to should allow you to do both.
Here's what I did.
I tried to connect the phone (normal working condition running CM7) without any drivers installed.
The missing hardware IDs were the ones in the first post.
Then I tried to install the drivers from the link.
The installer did not work, some trouble with the MSI Package.
I went to temp folder and ran the MSI package by itself. This time it ran.
Then when I tried to connect the phone (running, with ADB on), it detected drivers like Android Phone, USB Composite Device, ADB.
But got stuck when Mass Storage was to be installed. Threw a 'new hardware found' window at me.
I disconnected and connected without ADB this time.
This time it got stuck on Android Phone.
Can you verify the file's MD5 sum? It should be:
HTCDriver3.0.0.007.exe
f60771a86c4ad69c8c9c1d158e60e850
I'm not sure what else could be the issue unless some old drivers are interfering or something.
drumist said:
Can you verify the file's MD5 sum? It should be:
HTCDriver3.0.0.007.exe
f60771a86c4ad69c8c9c1d158e60e850
I'm not sure what else could be the issue unless some old drivers are interfering or something.
Click to expand...
Click to collapse
Well the MD5 is all good. Probably the machine is messed up.
Other USB devices do work though, without a problem.
Anyway, this is only a spare machine. Just was wondering why it would not work here. I might try installing HTC Sync later, but I highly doubt it will work.
Thanks a lot for the help.

[Q] Connecting android tablet as testing device

Hello everybody!
I have a problem related to connectivity between my desktop (Windows) and tablet (Android 4.1). I bought a new device (Colorovo City Tab Vision 7) and now I want to use it for testing of my applications, because emulation of android is very slow on my computer, although I forced it to create snapshot every run.
I have downloaded SDK with Google drivers and also some unofficial drivers I found on web. When I connect my device, it first appears 'Other device' (label is CTVision7) and it's marked as unknown. I tried to install drivers (Google) for it, but windows said that they aren't suitable for my device, as it's not able to find them in specified directory.
After these attempts I tried unofficial drivers. Their installation worked and now my device appears as Android phone, what seems to be good.
But when I run
Code:
adb devices
or launch application in eclipse, there's not avaible device.
I have turned USB debugging on, so it should work.
Am I missing some step to make my device avaible for debugging, or are my drivers wrong? Is there any way to get drivers which surely work?

Categories

Resources