yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] jj972:
Hey just throwing in my two cents....i had the same problem with the usb drivers as far as updating them on vista..heres what i did

I went to control panel and opened up device manager (g1 is unmounted)

Clicked on android phone in the portable device tab thing

clicked uninstall driver

unplugged and plugged phone back in and the new hardware wizard popped up...

NOW I HAD ALREADY DONE THIS A COUPLE OF TIMES AND KEPT GOING TO THE USB DRIVER FOLDER THAT I HAD EXTRACTED BUT IT KEPT SAYING CANNOT FIND DRIVER....

SO I DID THE SAME THING AGAIN BUT THIS TIME I WENT INTO THE SDK FOLDER, THEN THE USB DRIVER FOLDER, THEN CLICKED THE X86 FOLDER AND IT INSTALLED (htc adb).......

Maybe itll work for someone else also
[G1 Android Development] spyler03:
You're beautiful!! Worked great!

A little update though Control Panel - Hardware and Sound - Device Manager - Update device drivers.

Worked for me on vista 32

Thanks again man
[G1 Android Development] anddep:
just to add.. u can copy and paste each line of a script one by one to command prompt :)
[G1 Android Development] jamizzal:
adb push your_HTCCamera.apk_direction system/sd/app_s/

does anybody know exactly what that means " your_HTCCamera.apk_direction " i have been baffled by this because usually most adb commands are straightforward and this is my first adb push the exact way to type it in would help as well thnx in advance
[G1 Android Development] nicholasbithell:
ADB on MAC?!?

Can anyone give me a sort of tutorial for how to get started with adb on a mac the one provided here is the windows version any help would be greatly appreciated!!!
[G1 Android Development] wizern23:
FOr those people who can't get the driver's installed you should download pdanet from http://www.junefabrics.com/android/index.php and install it. follow the directions and the drivers will be installed.
[G1 Android Development] robpet2:
whats the best way to uninstall a bunch of apps using adb ??? can i pull them using ddms.bat, then reinstall the ones i want after wiping the ext2 partition clean ( but still keeping apps2sd working) ?

i have too many apps and wanna delete some of them
[G1 Android Development] anddep:
make a folder anywhere in ur PC for example i used C:\tmp\HTCCamera.apk
[G1 Android Development] pr0cl1v1ty:
usb problem

im having a problem installing usb, when i plug my phone in nothing pops up?

did i read that correctly? thanks!
[G1 Android Development] mer6:
No dice. Gives me the same error, same problem.

Did you enable USB debugging...?
[G1 Android Development] diz305chico:
I keep gettin these errors when trying to extract drivers
[G1 Android Development] startekee:
I get a no device attached error. The drivers are installed. I checked in device manager and it says adb interface
[G1 Android Development] DMaverick50:
" Connect your G1 to your PC using the provided USB Cable or just a plain ole 6-pin to 4-pin usb cable... (I prefer to use one with a ferite core)

DO NOT MOUNT YOUR G1 TO YOUR PC FROM THE G1 NOTIFICATION WINDOW!

- When the new hardware device notification pops-up on your pc point windows to the driver folder we moved to our C-drive(C:\android_adb_usb_driver) and install the adb driver."

If i dont mount my phone i dont get any notifications ie the "new hardware device notification", i am using vista....
[G1 Android Development] mer6:
Is USB debugging enabled on your G1?
[G1 Android Development] DMaverick50:
it is, i went to manage drivers from my computer and let the computer find drivers to install, im guessing thats not gonna work? i went ahead with the next step...and naturally the commands didnt recognize it...since i already have drivers on my laptop allowing me to mount my phone why would there be a "new device" prompt? should i uninstall the drivers i did have? thanks for the help
[G1 Android Development] Argusi:
Alright, this whole windows driver thing was making me nuts. No matter what I did, I couldn't get the add device wizard to come up. Updating/deleting/rebooting didn't work. ADB would not recognize my G1 at all on XP. This is what I did to get the driver to install from the SDK.

I take no responsibility if this bricks anything or catches your computer on fire. Do this at your own risk!

Plug the phone in via USB but do not mount the drive.

This is what I saw in my Device Manager:

Disk Drives -> HTC Android Phone USB Device

Storage Volumes -> Generic Volume

*Properties for Generic Volume showed the HTC Android Phone USB Device in the location. Be careful here, you can delete other storage volumes, although they will probably come back after a reboot.

Uninstall the Generic Volume (Make sure it is the right one)

Uninstall the HTC Android Phone USB Device

Unplug the phone...

Open regedt32. If you are not comfortable deleting things in there, don't do it!

Search the entire registry for vid_0bb4&pid_0c02

Delete all occurrences. I had two. If you get a permission error, right click -> Permissions -> allow Everyone -> Full Control, then delete it.

Double check USB debugging is enabled and plug in the phone. Look at that, FINALLY the add driver menu! Manually add the driver from the SDK making sure you browse all the way to the \usb_driver\x86 or amd64 directory. Whichever is appropriate.

That worked for me. Hope this helps someone.
[G1 Android Development] mvanwyk83:
This worked for me!! I had to update the driver for Unknown Device with the exlamation on it inside the Device Manager. Browsed the computer in my C:\ drive and clicked x86 folder. It installed perfectly!! Also I only put the extracted x86 folder into the root C:\ drive along with the SDK....Thanks!!!
[G1 Android Development] sstmcarr:
ok, I am sure this is a simple fix, but I must be too stupid to understand why I get this.

After typing "C:\android-sdk-windows-1.5_r2> adb shell"

I get this error message " 'C:\android-sdk-1.5_r2' is not recognized as an internal or external command,operable program or batch file":confused:

Like I said I am sure I did something stupid, but any help would be appreciated.
[G1 Android Development] Mikey:
Use that process

reboot your computer and try again

Adb remount

adb shell
[G1 Android Development] East_Coast:
I have a quick question on Adb.. When you do a "pull" from the sd does it physically remove the files and put them on your PC, or just copy them?
[G1 Android Development] Mikey:
copies it, doesn't delete it
[G1 Android Development] East_Coast:
Thanks! Figured that, but didn't want to chance it.
[G1 Android Development] METHOD1911:
hey man can u help me when i scan my computer with this C:\usb_driver i get the location you specified does not contain any device info even when i use C:\ please help me
[G1 Android Development] Mikey:
Are the drivers and all in the folder you are directing the "advanced mode" to search in?

do not pick the "Recommanded mode" in the "hardware update wizard"

Make sure you have checked the "Include this path in the search" and add the path to the folder with the drivers in it.
[G1 Android Development] DMaverick50:
I have been at this for days. Its driving me crazy that i could have a much snappier rosie but all of the optimization procedures require adb.

When i try to extract the adb folder i get "Error 0x80004005: unspecified error" for all files (the sdk extracts fine).

Is there another way to go about installing these drivers i need them very badly. I have windows vista which i suspect is playing a big part in my troubles.

thanks for any advice, i spent a very long time partitioning my card and flashing haykuro's hero and im just becoming comfortable with terminal emulator commands. having adb is sort of the next step in my learning.....

So, turns out when i installed the driver i pulled it from the sdk file not the seperate adb file and the drivers are now installed. If anyones having problems, instead of trying to install the driver from the adb folder just browse and pick it out of the sdk folder, or perhaps thats what the tutorial says (not how i read it though)

FINALLY!!!!!!
[G1 Android Development] skhy:
How do I remove an app using ADB?
[G1 Android Development] rsp35:
hey everyone,

i was successful in getting adb running, but now i'm coming across an error...

i'm trying to use adb to move my apps 2 sd on haykuro 6.0r1 following this guide: http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD

upon entering: cp -a /data/app /system/sd

i am returned with the following: cp: cannot create directory '/system/sd/app': Input/output error

can anyone help me to figure out what this error is? much thanks in advance :)
[G1 Android Development] peace_ric:
hey this worked for me ...every little thing about it worked....

but when i try the hero speed up it says

' adb' is not recognized as an internal or external command

operable program or batch file

what should i do ?
[G1 Android Development] ggolemg:
I've made a simple windows ADB wrapper. It might be a little easier for people having issues.

ADB Windows wrapper
[G1 Android Development] stellarman:
Thank you.

I can't believe I waited so long to get up and running with ADB. I have struggled along, using the terminal, straining my eyes on the small screen and over-working my thumbs. Now I can type on a real keyboard and look at a full-size screen. This make modifying my phone almost too easy.

Thanks for the simple, easy-to-follow write-up.
[G1 Android Development] Codey:
Help

Ok so I have followed the instructions. but when I run adb shell command I get this error.--->

error device not found

.

I have checked device manager and under portable devices I see Android Phone When I look at the drive it is a Microsoft driver so I uninstalled that driver and try to install the one provided by this tutorial but it keeps installing the other driver.
[G1 Android Development] breandly:
that happened to me as well for a while. what worked for me was uninstalling the driver then unplugging phone. Then I unchecked USB debugging and then plugged phone back in (yes it installed the standard drivers)

i then unplugged it and went back and checked USB debugging and plugged it back in.

Once I did that I went into device manager and ADB interface was listed and I was able to install those drivers manaully.

Don't know if that will work for you but I was having the same issues and it worked for me
[G1 Android Development] Codey:
Sweet

breandly

Worked great:) Thanks for the help man. Now I have root access but don't know what to do. I guess it's time to take a class in Java lol:D
[G1 Android Development] Mediocrates:
For those who have a difficult time reading the terminal window, press menu, and change your font size to 14 or higher....I use 20, old eyes y'now, lol!!!
[G1 Android Development] breandly:
You're welcome, I'm glad it worked for you. I hope it helps others as well.
[G1 Android Development] smsrat84:
Ok, so, finally, I have adb working on my laptop. How do i apply an update thru adb? Anyone?
[G1 Android Development] Breakthecycle2:
- When the new hardware device notification pops-up on your pc point windows to the driver folder we moved to our C-drive(C:\android_adb_usb_driver) and install the adb driver.

Guys, bear with me a second as i am completely new to this. What exactly do I need to do in regards to the above?
[G1 Android Development] jggenius:
sstmcarr - don't think this has been answered

Perhaps you have stumbled on to your solution, but if you actually typed everything inside the double quotes you would naturally get an error because it is trying to execute the first bit BEFORE adb. Just type "adb shell" and you should be fine.
[G1 Android Development] Breakthecycle2:
So I need a little help. I see the HTC Dream Composite ADB interface under device manager, but when I go into CDp, it says invalid directory. Can someone give me some pointers?
[G1 Android Development] marshallladd:
No matter what I do I can't get my G1 to install as anything but a mass torage device, unless it is in the bootloader, and even then i get the device not found message when trying to adb. My phone is set for usb debugging. I am using windows 7 32 bit. I have the drivers.

Nevermind all that. I got it working somehow. Pretty sweet.
[G1 Android Development] fachex:
Thank you!!

That was the best explanation!
[G1 Android Development] whitemonster:
ADB Setup

I put up a tutorial also to get adb commands in windows,mac (leopard) and linux up and running... instead of moving files around though i showed how to add the tools folder to the environment variables so you can use all the tools commands (like adb and fastboot) from any folder on the computer. enjoy :)

http://myhangoutonline.com/androids/
[G1 Android Development] burton14e7:
I had this working on a previous rom but now when I go to update the driver from the SDK 1.5 r2 it tells me the driver was not made for this platform. So I believe it installs it anyways because I can look at the driver properties and see 1.0.10 from 1/29 installed and enabled but still when I go to run adb shell it can't find the device. Debugging is turned on as well. I'm installing the x86 as I'm on an intel chip and not the amd64 driver directory.
[G1 Android Development] Derexius:
Help

I'm on Windows 7 x86 and i can't seem to get the driver installed whenever i try to install it i get the error: "this folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it's designed to work with Windows 32-bit systems." Is this because i'm using the wrong driver for Windows 7?

Please help i've searched already 3 hours straight for this
[G1 Android Development] marshallladd:
Help for Windows 7 people. This is how I got ADB to work for me after I had mounted my G1 a few times and could not get my PC to install anything but the storage device drivers.

No, I have the drivers off this site. I take it you already have mounted your G1 before to put music or whatever on it before right and everytime you plug it it in, it automatically installs the mass storage device drivers.

Here is how I got it to work, if I remember correctly. I'm going to assume you hae the 32bit drivers already on your computer.

1. Plug in your G1 and don't mount.

2. Open up the start menu, type device and open the device manager when the option comes up.

3. You shouldn't see an option for ADB devices, which is why you are having the problem. but in the disk drive tab, you hsould see "android device" or something to that effect. Right click then un-install.

4. Go to the start menu again and type device only this time, click "view devices and printers"

5. At the very bottom it should have a list of "unspecified devices" and one of them should be Android Device or something like that again. Right click it and select properties.

6. Click the hardware tab, then properties button. A new window should open, click general tab on the new window and click change settings.

7. The window should close and re-open. Now click driver, and click uninstall.

8. Close out all windows, unplug your G1 and plug it back in, do not mount. It should find the drivers for ADB on your computer and install them.

If this doesn't work, please let me know and I will try and backtrack this again and figure out what I forgot.
[G1 Android Development] maruutah:
------withdrawn, fixed like..2 seconds after this post after I looked over my settings one last time >< sorry for taking up the space!
[G1 Android Development] ProStreetCivic:
i installed everything the way it says but when i try the emulator it keeps stoping its self to get to it i type (emulator -data C:\) anyone help???
[G1 Android Development] carlitozway57:
Doesn't work for me. I already had the ADB Device listed in device manager, however. I've tried uninstalling every driver associated with the phone and still nothing. I'm using Windows 7 x64 if that makes a difference (using the x64 drivers, of course).

Any ideas anyone?
[G1 Android Development] aiiao:
got it working now on windows 7

thanks ^^
[G1 Android Development] antt b:
what about 4 mac
[G1 Android Development] Goog1e Phone:
im stuck...all i get is < waiting for device > ....what am i doing wrong?
[G1 Android Development] innerspace:
DBL checking

You did choose "Enable USB Debugging" from Settings>Applications>Development correct?

And you DID NOT mount when prompted on the notification bar of your G1, correct?

And (assuming windows) your G1 shows up under disk drives in Device Manager as "HTC Android Device", correct?
[G1 Android Development] aiiao:
thats weird.

it's already a couple of days ago when i last used adb. i just plugged it in again and now it isn't recognized whatsoever. it doesn't even ask to mount. trying to install the adb drivers but no luck. windows just keeps saying driver is up to date tough it is malfunctioning. (running windows 7)

edit: a simple reboot of the phone did the trick, still weird tough..
[G1 Android Development] schwiz:
I found this really helpful, thanks
[G1 Android Development] Mmarzex:
I have it setup on linux and can use the commands but linux can't find my device I don't know why can someone help.
[G1 Android Development] weezerisock:
For people with windows xp but can't get the phone to be recognized as anything other than mass storage, this is how I fixed mine.

http://kenshinjeff.18jan.us/2009/06/12/adb-error-device-not-found-android-phone/
[G1 Android Development] edwinr29:
is there a way to get the ADB files without having to download the whole SDK????
[G1 Android Development] alapapa:
I posted a Q&A thread "over there" but am not getting many replies...has anyone solved the "arrow key weirdness" when adb shell'ing into the g1?

http://xdaforums.com/showthread.php?t=535014

it's driving me batty
[G1 Android Development] widto08:
I believe you only need two files to get adb to work in cmd terminal.

Those files are adb.exe and AdbWinApi.dll.

Here's the files. Just extract them and then put those files in C:/windows/system and C:/windows/system32 directories. It really only needs to be in one of the dir's (/system32) but it never worked for me unless I put them in both....

Hope this helps...
[G1 Android Development] widto08:
double post arrg...
[G1 Android Development] itsruddy:
This worked! Thanks a million!
[G1 Android Development] osho741:
can adb be set up for an external drive? i dont have enough space left on my pc for it to fit on the internal drive but i do have an external, if i change the drive letters in the command prompts will it recognize the android sdk on that drive?

edit:

got it to work dropping those two files into system32 dirct.however id like access to those tools, like parted, so how do i get access to them from adb?
[G1 Android Development] Kadyca:
installing driver

Note that you definitely have to click on the one on the top. I was having trouble because the device was also listed further down, but when I clicked on that one, it said that the device was working properly, so I was never able to get to the point where I could point it at the directory for device driver that came with the SDK. Jaysus it took me forever to figure this one out. So frustrating.
[G1 Android Development] nicholasbithell:
ADB on a Mac

I am hoping someone could give me the instructions on how to get adb working on a mac os x 10.4, I cannot for the life of me figure it out! There has to be someone that has a mac that is using adb and can give me the details of what they did to get it working. Thanks
[G1 Android Development] kizer:
Great writeup. I finally decided to give ADB a try. I've been command lining it forever and figured what the heck.

Works great.
[G1 Android Development] blahzay_blah:
every time i type in adb shell i get device not found..

y is that????:confused:
[G1 Android Development] wddglr:
I not too sure that the android sdk will work on 10.4 as it might not be supported.
[G1 Android Development] Rahzelhx:
i have got adb to work with my g1(call this one g1a) i have another g1(g1b) that i just rooted to rc29 and when i connect it i cant get it to connect with adb any thoughts about this i thought it was a driver issue but if it works with g1a it cant be the pc drivers right?

with g1b all it says is error no device found i can then plug in g1a and it works fine but for some reason it just doesnt like that phone g1b
[G1 Android Development] DAKIDD236:
i understand this tutorial better then the tutorial on the first page :D
[G1 Android Development] chicojd:
One more stupid question. In Linux, I've got ADB working just fine, although it can't see the device. I KNOW I'm going to get flamed for this, but are there drivers that I need to install to make this puppy work, like in Windows? Keep in mind that I'm a bit of a Linux newb, although command line is not an issue for me.

Thanks, and I'm putting on my fire suit now!
[G1 Android Development] wddglr:
Make sure you look at the tutorial link on my signature.

To answer your question, no.
[G1 Android Development] renegadedj:
i've had my g1 since march. rooted about the end of may......

i popped my preverbial ADB cherry last night. it was great. i was so lost when trying to read other tutorials or docs on it. thanks for this thread THANK YOU THANK YOU!
[G1 Android Development] Jeffreybcam:
it says device not found :(
[G1 Android Development] robpet2:
just follow this post - http://androidcommunity.com/forums/...ur-g1-even-if-you-have-rc30-10169/index3.html

download the 1.5r3 version or the 1.5 instead of the 1.0...

* if your pc already installed its own driver, delete it in device manager.. then restart and follow the adb instructions
[G1 Android Development] infind:
Ive searched and came up short... if I had hair id prob be pulling it out by now

anyways... heres the error I get when typing "adb shell" from the cmd prompt

* daemon not running. starting it now *

* daemon started successfully *

error: more than one device and emulator

im running Soulife's ION Remix v1.2.2

any help would be greatly appreciated.

-dom
[G1 Android Development] .ili.music.ili.:
The zip files that contains the zip files appears to be broken for me...
[G1 Android Development] richardkemp:
Tips

Many thanks for the tutorial OP, but there is much room for improvement. Take heed of the simplified version posted by Paul22000, and his comments about the drivers. The ones you linked to only work in one program - they are therefore corrupt in my eyes.

On another note, I was having massive trouble with this. I tried going through the registry deleting keys mentioning " " as suggested by Argusi (thanks a lot!!), but they wouldn't let me delete them. For the reference of others, I had to right click the key, select security/permissions and allow myself full control. On Vista this involved taking ownership of the key. Folk can google for info on how to do this in their own OS.

Even after this, I couldn't delete one of the subkeys, so I ended up just deleting all of the strings dwords etc (the bits containing the data, in the right hand pane of regedit.)

I had to repeat this 3 times - for 3 instances of the search term. Finally, I could plug the G1 in and it would now ask me for drivers rather than just installing the same ones it always had. Finally it works!!

For clarification, here is the post to which I referred:
[G1 Android Development] NSingh95:
okay so i followed ur instructions to the device manager and there is no yellow sign with all that... i do find my phone under disk drives: it says HTC Android Phone USB Device... is that it... when i try installing the usb drivers to that it says that find a better match or something of that sort! what do i do and the link that you have up for the usb drivers works but when u extract the files, it comes up broken and theres nothing under the usb driver folders! please help i been trying to do this for week!
[G1 Android Development] NSingh95:
okay so i tried to follow your instructions and i did it twice everything worked except that when i plug the phone back in, it installs it self doesnt have the install wizard come up