64-bit ADB driver independent of HTC Sync? - Hero CDMA Q&A, Help & Troubleshooting

Is there any way to install JUST the USB driver for 64-bit Windows (7) so I can use ADB to install and test apps on the phone, without having HTC Sync sink its hooks into Windows and try to endlessly sync things I don't want to have sync'ed (because I only use the Hero for testing apps to make sure they work on older phones)?
For future reference, does the Hero use the same USB drivers as newer phones (like the Evo3D), or did HTC switch chipsets somewhere along the line and change the driver used by newer phones?

Yes, I posted this yesterday but people didn't like... I wanted to do exactly this.So here is the way I proceeded:
I've done this for a desireHD but if HTCSync 3 is for your phone, it has to work.
Hi, here is an easy way to only install the drivers from the HTCSync package.
Double clic on setup_3.0.5579.exe (dwnld from HTC support site)
Choose the language and clic next (stop when it list the things to install: air,...)
Go to c:/user/yourname/AppData/Local/Temp
Order the files by date and choose the last folder created (so the temp folder were the files were extracted for the full package install)
Delete all *.prq except the ones for the drivers (3 files, 2 if you choose between x86 and x64)
Clic next in the HTCSync install box.
All deleted prq will be 'installed' but in fact no
Check... only drivers are installed
nb: do this if you don't have a sense ROM and don't need HTCSync of course.
Hope this will help
Edit: if you only use adb, you can dwnld the Android SDK, open it with 7zip and just extract ADB (and needed dll). No need to install the full SDK if you don't plan to make any dev. Personaly I'm only using ADB and Fastboot
Edit2: forget previous Edit... you develop apps... don't know regarding your last question but it seems there is only 2 drivers in the package x86 and x64. So I guess all device covered by HTCSync 3 share the same driver. This is just my idea, if someone knows for sure, add your comment.

update
Hey guys there's an updated version of HTC Sync.
When you go to install that, it tells you that it needs other stuff installed before it can continue (C++ redistributable, etc), two of these are the drivers you need.
Proceed with the pre-requisite installation then cancel the main installation and voila'! All is good.

pmatteucci said:
Hey guys there's an updated version of HTC Sync.
When you go to install that, it tells you that it needs other stuff installed before it can continue (C++ redistributable, etc), two of these are the drivers you need.
Proceed with the pre-requisite installation then cancel the main installation and voila'! All is good.
Click to expand...
Click to collapse
Try the SDK drivers:
https://developer.android.com/sdk/win-usb.html
You need to download the sdk, but when you launch it, just uncheck everything besides the USB Drivers.

truc007 said:
Yes, I posted this yesterday but people didn't like... I wanted to do exactly this.So here is the way I proceeded:
I've done this for a desireHD but if HTCSync 3 is for your phone, it has to work.
Hi, here is an easy way to only install the drivers from the HTCSync package.
Double clic on setup_3.0.5579.exe (dwnld from HTC support site)
Choose the language and clic next (stop when it list the things to install: air,...)
Go to c:/user/yourname/AppData/Local/Temp
Order the files by date and choose the last folder created (so the temp folder were the files were extracted for the full package install)
Delete all *.prq except the ones for the drivers (3 files, 2 if you choose between x86 and x64)
Clic next in the HTCSync install box.
All deleted prq will be 'installed' but in fact no
Check... only drivers are installed
nb: do this if you don't have a sense ROM and don't need HTCSync of course.
Hope this will help
Edit: if you only use adb, you can dwnld the Android SDK, open it with 7zip and just extract ADB (and needed dll). No need to install the full SDK if you don't plan to make any dev. Personaly I'm only using ADB and Fastboot
Edit2: forget previous Edit... you develop apps... don't know regarding your last question but it seems there is only 2 drivers in the package x86 and x64. So I guess all device covered by HTCSync 3 share the same driver. This is just my idea, if someone knows for sure, add your comment.
Click to expand...
Click to collapse
The deletion trick still works on newer versions of Sync, however, you should also edit config file (found in the same folder) and delete all the prerequisites except for BMP drivers and Driver installer. Click Next, wait for drivers to be installed and hit Cancel when it asks for confirmation to install Sync itself.

I managed to install it on both 32 and 64-bit windows 8

Related

Help with ADB

When I tried to install it, it failed and now when I try again it says
bad image
C;\windows
system32\wdcoinstaller01005.dll is either not designed to run windows or it contains an error. Try installing the program using the original installation media or contact your system administrator or the software vendor for support
you dont install anything. you extract the android sdk into the c:\. then you copy the two files mention in the thread to c:\windows\system32. you then go to start>run>cmd(enter). type adb devices. ADB is ALL COMMAND LINE. THERE IS NO PROGRAM YOU INSTALL
what two files?
blackfire1 said:
what two files?
Click to expand...
Click to collapse
~sigh~ are you sure you read how to do this at all?
adb.exe and AdbWinApi.dll are the two files that need to go to system32
and then install the drivers from your usb_driver folder from the SDK. Use the AMD one if you're using a 64bit OS or the Intel one for 32bit OS.
Okay but I get a problem at
Plug in your phone through USB and DO NOT MOUNT IT!!!!!
Your computer should see a new device and try to install Android 1.0 driver (If it doesnt, scroll down to the "Im not getting a notification of Android ADB when i plug in my USB" section)
Let it load
Once it cant find them select "Install drivers from my pc"
The drivers you need are in the Android SDK 1.5r2 folder (C:\android-sdk-windows-1.5_r2\usb_driver)
Depending on your OS pick x86 or amd64
You ADB Android Device should now be installed! Good Job
I get a problem at this part when I click install drivers from my pc it pops up an error
bad image
C;\windows
system32\wdcoinstaller01005.dll is either not designed to run windows or it contains an error. Try installing the program using the original installation media or contact your system administrator or the software vendor for support
It worked before but I picked the amd one before because I didnt know which one to pick now it messed up my system and I cant do it again and it didnt work.
blackfire1 said:
Okay but I get a problem at
Plug in your phone through USB and DO NOT MOUNT IT!!!!!
Your computer should see a new device and try to install Android 1.0 driver (If it doesnt, scroll down to the "Im not getting a notification of Android ADB when i plug in my USB" section)
Let it load
Once it cant find them select "Install drivers from my pc"
The drivers you need are in the Android SDK 1.5r2 folder (C:\android-sdk-windows-1.5_r2\usb_driver)
Depending on your OS pick x86 or amd64
You ADB Android Device should now be installed! Good Job
I get a problem at this part when I click install drivers from my pc it pops up an error
bad image
C;\windows
system32\wdcoinstaller01005.dll is either not designed to run windows or it contains an error. Try installing the program using the original installation media or contact your system administrator or the software vendor for support
It worked before but I picked the amd one before because I didnt know which one to pick now it messed up my system and I cant do it again and it didnt work.
Click to expand...
Click to collapse
System Restore and try it again.
that has nothing to do with adb. that means your driver installer that is resident in windows is corrupted. unless you can system restore to a point at which it was working, the only real fix is going to be a new windows install. not entirely sure how one breaks the library for installing device drivers, but hey, thats what you've got.
Ok the problem was solved when I used my other computer.

ADB Driver for IDIOTS?

I have the hardest time getting my computer to use the right driver for ADB. When I setup my wife's phone on a vista-64 operating system I first connected with USB enabled and it took me a week of trial-and-error to get the system to use the ADB driver (I don't know the steps that made it work - but it involved several attempts at uninstalling every USB device).
I just got another G1 for a Windows-7 laptop (64-bit) and I did the same thing (hooked up with the USB driver) and I fear another week of trial and error. I know that if I knew what I was doing I could do it in 10-minutes.
Can someone please provide the step-by-step instructions for having it use the ADB driver once it has already found, and is happy with, the regular USB driver? I'm not even sure how to tell which of my multiple installed USB [devices] is for the phone.
Step 1. Install a linux distribution.
cloverdale said:
Step 1. Install a linux distribution.
Click to expand...
Click to collapse
Step 2. Download the SDK and put it in a directory (I use "Android")
install the sdk from http://developer.android.com/sdk/download.html?v=android-sdk_r05-windows.zip
let it update (make sure that usb drivers are selected for download)
plug your phone in
if the drivers aren't automatically installed, point it to the drivers directory (<sdk>\usb_driver)
if your sdk is already installed, just download the drivers using the steps described here http://developer.android.com/sdk/win-usb.html
4.) Give me a huuuuuug!

Cannot open ddms.bat in order to take screenshots on Nexus One

I wanted to take screenshots of my Nexus One (2.2 FRF91/T-Mobile/Stock) but I'm just a newbie so I followed the guide on andriodcentral Anrdroid 101 tips. (Sorry I can't link to it since I'm a new user on these forums
That guide led me to another guide on how to install the sdk
When I tried to pull my 3rd party apps, cmd didnt do anything it simply said "0 pulled, 0 skipped", however I was able to pull my standard apps. I'm confident the sdk was installed correctly though.
I'm using a laptop with Windows 7 64bit and an AMD processor, I'm not sure if that information is helpful or not
I've already downloaded and installed the android 2.2 sdk, java runtime environment, java development kit. I've also properly installed the ADB drivers for the Nexus One. I also downloaded Eclispe but when I tried to run it, the application won't open. I have a feeling its because I didn't install it properly.
My problem now is that the ddms.bat (Dalvik Debug Monitor) won't open when I double click on it. I tried to right click and run as administrator but that didn't work either. In both cases when I try to open it, a cmd windows opens for a fraction of a second and then closes before I can read it. So I googled it and found a website that seemed to be able to solve the problem but its geared towards linux users.
I specifically followed these directions "To fix this a replace of the bundled swt is needed. The file is located under android-sdk-linux_x86-1.5_r3/tools/lib/. Rename swt.jar to swt_32b.jar. Next download swt for your platform. I have used swt-3.4.2-gtk-linux-x86_64.zip. Unpack the file swt.jar in the zipfile to android-sdk-linux_x86-1.5_r3/tools/lib/ and finally start ddms" but that didnt work either. So now my android-sdk-windows/tools/lib/x86_64 is full of other files rather than just having that swt.jar file.
Can anyone please help on getting ddms.bat to open or on how to get eclipse to open?, I'm so close to being able to take screenshots.
Some notes:
1.I'm not interested in rooting (too worried about bricking my phone), so please don't recommend that I root first.
2. USB debugging was ON when I tried it
TaeKwonDonkey said:
1.I'm not interested in rooting (too worried about bricking my phone), so please don't recommend that I root first.
Click to expand...
Click to collapse
Do you have the right drivers installed?
When your phone is on, plugged in, SD not mounted, and USB turned on, you should see "Android Phone" and "Android Composite ADB Interface" underneath that.
If you don't want to root (it's so easy and painless if you can follow instructions) then I don't know what to tell you other than:
1. Install "USB Deview" and remove all HTC/Google/Android related drivers.
2. Completely uninstall and wipe out the SDK stuff.
3. Rebooted, and reinstall Android SDK, and make sure that Windows7 installs the right drivers.
Installing the SDK is no more difficult than installing any other piece of software. If you've got Java installed, and you've plugged your phone in, and debugging is turned on, what *should* happen when you double-click ddms.bat is, the command prompt window opens, but then the Debug utility should open.
I had the screenshots stuff working before I ever rooted.
I followed the steps here: http://www.knowyourcell.com/google/...take_screenshots_on_the_google_nexus_one.html
Rooting is easy and painless. If you root, you don't have to flash a custom ROM or anything, but then you can install an app that you simply open, enable, then whenever you're doing something that you want to take a screenshot of, you shake the phone, and there it is.

[Q] Which USB Driver is the Samsung Galaxy S

The USB only drivers package installs 20 or so drivers into the system. I would just like to install the one that supports the Galaxy S. Do you know which one it is?
/attachment.php?attachmentid=377131&stc=1&d=1281420929
Thanks
Jarvil
its the 3rd or 4th folder.
I'm installed the drivers yesterday. I tried each folder in the driver installation pfad window.
Any idea how I can strip the rest of those drivers out or perhaps just take the driver directory and do the manual install of them myself. I am trying to roll my own installer using innosetup and need these drivers to install if necessary. I already have the checks in place just need to strip these down to required and best way to install them as presently I just call the samsung executable.
Basically I am putting together an innosetup installer for One Click Root. Already have the .NET 4.0 part done, the program install done and now just need the right Samsung drivers without a large 20MB driver package.
Regards
Jarvil
Then again... if I could get a One Click Root, I wouldn't have to be so nice to the wife right now....
Jarv

[Q] ABD Drivers + Windows 7 issues (plus a couple more questions)

Hello XDA Community.
I'm attempting to install the new RC of CyanogenMod-6 for the Hero CDMA. I'm currently running the stock 2.1 version of Android. I've been following the guides that were referred to in the thread (I tried posting the urls but new users can't do so to prevent spam).
I've successfully rooted my phone and now I'm trying to do a Nandroid backup. I'm running Windows 7 32-bit and have hit a road block with ADB not recognizing my device. I followed the guide put together by Nephron to install the Android SDK. I've spent several hours going through threads and doing google searches looking for the solution. I have debugging turned on and I don't mount my SD drive when I plug the USB cord in. I've used USBDeview as some have suggested to delete current HTC drivers and then reinstall - no luck.
Here is a screen shot of what happens when I plug in my Hero:
See attached - "failedinstall.jpg"
Then I'll go to device manager to manually install the driver (it never allows me to manually select upon connection for some reason):
See attached "devicemgr.png"
And then this is the message I get when I point it to the "right" folder with the drivers:
See attached - "unabletoinstall.png"
So, on the Android SDK site I noticed this message:
"The USB driver for Windows provides support for the following Android-powered devices:
T-Mobile G1* / ADP1
T-Mobile myTouch 3G* / Google Ion
Verizon Droid*
Nexus One
* Or similar hardware on other carriers
Any additional devices will require Windows drivers provided by the hardware manufacturer.
^So is all of this HTC's fault? I've downloaded a couple of different .zip folders from different threads claiming that these drivers would work. But none of them have yet to do the trick for me.
I'm new at this so I have a few other questions as well:
Most guides I've read about how to do a Nandroid backup always recommend flashing a ROM b/f doing a backup. But I want to backup my current stock rom and settings before I flash. Wouldn't I want to create a recovery image before installing any other ROMs? Perhaps I'm misunderstanding some requirements?
Referring again to the thread on the CyanogenMod RC, can someone help me understand step #3? How do I know if it is necessary to update my radio? What implications does this have? I tried looking for info about this on the wiki and I couldn't find anything comprehensive enough to answer my question.
I'd appreciate any guidance!
Before you modify anything you will want to boot into recovery, assuming you flashed one, by holding down Home and turning the phone phone back on(power button). But since you don't have adb working then you probably haven't. You can still do this using terminal on your phone.
Download terminal emulator from market and then download a revoery image (AmonRa 1.6.2 or Darch's 1.7xx) and then mount your sdcard to the computer and transfer the recovery to the root of the sdcard. Open up terminal emulator and type in
Code:
su
cd /sdcard
flash_image recovery recovery-RA-heroc-v1.6.2.img(type the exact file name of the recovery you are using)
reboot recovery
If you had factory 2.1 on your phone then you have the latest radio. The radio can be flashed just like any ROM, but make sure that the radio is not for GSM phones as this will destroy your phone.
Instructions from Android Developers and ADB, Fastboot, and Nandroid for Noob
Download the latest Android SDK.
Unzip to C:\AndroidSDK
Right-click on (My) Computer, and select Properties
Go to Advanced settings
XP: Click the Advanced tab
Vista/7: Click Advanced system settings on the left
Click the Environment Variables button
double-click on Path (under System Variables)
Add the full path to the tools/ directory:
C:\AndroidSDK\tools\
(make sure a semicolon ( separates this new path from all the others)
Latest windows sdk version appears to need: "C:\AndroidSDK\android-sdk-windows\tools", install location may change with further updates..
Run C:\AndroidSDK\SDK Setup.exe
If you get an error about not having Java SDK installed but you do, add the path to 'bin' within your Java installation location to the Path environmental variable as described above before the sdk entry you just made. (eg add "C:\Program Files\Java\jdk1.6.0_20\bin;") This is likely to only be necessary where the 64 bit Java SDK is installed (obviously) on a 64 bit machine.
If it gives you an error about http go to settings and click on "Force http//....."
Unselect all options except for the USB driver
If you can't get the setup to work, download the USB-DRIVERS folder - HERE (Windows XP/Vista/Windows 7)
On your phone, click Settings > Applications > Development and make sure USB Debugging is on.
Plug your phone into your computer via USB cable (it needs to be on). It should say installing drivers if using Windows.
After it installs the drivers, goto the Start menu and type cmd into the search bar (Vista or higher) or click Run then type in cmd (XP) to open the command prompt.
Type the following into the command prompt window:
adb devices
You should see a serial number pop up, it’s the serial number of your phone. This means you are all set. If you do NOT see a serial number, then we need to reinstall the drivers.
Download USBDeview
While the phone is still plugged in, open USBDeview and sort by manufacturer. Find all the HTC/Android drivers and uninstall them all. (Windows Vista requires program to be run as an administrator, otherwise files won't uninstall.)
Once all have been uninstalled, unplug the phone from the USB cable and plug it back in.
The correct drivers should reinstall automatically (check the drivers as they are installing, one should say ADB Device driver).
To check, go to Devices in your Start menu then click on the “Android Phone”. Click on the Hardware tab, and check the list of drivers for ADB Interface under Type.
Done! Now you can use ADB to alter your phone from your computer.
If all else fails try installing HTC Sync software-- http://member.america.htc.com/download/Driver/HTC Hero (Sprint)/HTC_Sync_2.0.40.exe and then removing the drivers for it and then trying to install the android sdk drivers
Or you can dual boot with Linux and all you will need to do is download and unzip android sdk and edit 2 files and everything will work.
WOW>>>>>no that is way to confusing. the best thing to do is install vmware workstation. Then do a virtual WINDOWS XP MODE. from there you will be able to install the drivers and such in order to get the phone to be seen.
the version of htc sync i used for all my computers including win 7 was 2.0.33
if you want it then just pm me and I will get it to you
they don't offer it for a download anymore
this version corrected all my driver issues

Categories

Resources