yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] rickim:
cant connect the adb

Hi all, i'm used DRC83 htc G1, and in my desktop i used winxp pro version, i already installed the adb sdk-r3 and it's success after all, and i already upgrade the usb driver for windows and it's worked also, but when i type in the command prompt : adb shell it shows "error:device not found". It also happened when i type adb remount, etc. But when i right klik on my windows device manager it didn't show anything wrong about the android phone usb driver or any. Or my version didn't compatible with the adb ?

thanks for the help
[G1 Android Development] t_rob76:
Windows 7 x64 adb fix

I thought i would bump this thread because i looked for 2 days to find this solution. I have a netbook running Windows 7 Pro 32 bit that worked fine and a desktop (development computer) that was running Windows 7 Pro 64 bit and wouldn't work with the drivers. I installed these drivers and bam, worked like a charm. :)
[G1 Android Development] Lokean13:
Error: Device Not Found

I can't figure this out to save my live. I have the android r3 version of the sdk and I'm running donut on my G1. I've been through all the tutorials on the last 25 pages and I can't figure out why the adb doesn't see the G1. I have USB deview which listes the Android Composite ADB Device but says its not connected. In Device manager I have 3 references to the Android phone: Adroid Phone as a category with Android Composite ADB Interface as its sub category and HTC Android Phone USB Device as a sub category in the Disk Drives category. The G1 is set for debugging and is unmounted, but still adb doesnt' recognize it. If anyone can help me, I'd really appreciate it.
[G1 Android Development] HenrikPalm:
I need to access my phone with ADB to unlock my phone (caused by the pattern unlock-bug). For this I need root access, wich is fine, cause I have rooted my phone earlier. But when I am trying to get superuser access (su command) in adb shell, I cant accept the access from my phone ("superuser permissions" app pops up), because it is locked. What can I do do gain root access without accepting on my phone?
[G1 Android Development] jj71787:
i cant seem to get the usb drivers to extract i keep getting errors
[G1 Android Development] mrogy:
What if ...

What if it fails at command c:\android-sdk-windows\tools>adb -d shell

When it says device not found ?

I have done it exactly as its in manual, but 1st issue pop up when i couldnt update those drivers, coz its said i already have actual drivers (drivers date is 21.6.2006) and i cant use these drivers (in c:\usb-driver), so i tryed it without using those drivers and jump to typing commands, but as i already said .. error: device not found.

i have my G1 blocked coz it dont recognize my gmail account which is needed to unblock the phone(after it was blocked due to my friend's lack of mind) normal way, and i got this " www manual" how to get these "adb" command lines work, so i can unblock my phone, but i kinda stucked here :(

Somebody knows how to fix it ?

PS- Windows 7 Ultimate 32-bit user (but i guess its not so different from Vista Ultimate)
[G1 Android Development] mrogy:
Edited: What if

EDIT >>> Fixed by factory reset :D Thx all, and dont mind my post :p
[G1 Android Development] 1wingangel:
help please

unknown method in usb_driver blah blah blah.. when i extract the driver file. Help please?
[G1 Android Development] xoltrix2000:
That only happened to me when I used WinRAR, you gotta use 7zip only.
[G1 Android Development] :
Just wanted to say thanks the fantastic tutorial!

I have put this off due to reading a few other threads not belonging to XDA and must say the entire process they were talking about scared the hell out of me and just figured 'Bugger that!'

This was so beautifully simple to follow and a delight to do. Absolute legend!

I now have adb finally :D:D:D
[G1 Android Development] misdirection:
its not working

I got the following error message when I typed in adb shell via Windows XP x32

- exec '/system/bin/sh' failed: No such file or directory (2) -

-----------------------------------------------------------

Daemon was succesfully mounted then the error message shows:

- exec '/system/bin/sh' failed: No such file or directory (2) -

I followed the instructions correctly, now what gives? I installed the USB driver without problems.
[G1 Android Development] misdirection:
??

BUMP? Thanks and I appreciated it!
[G1 Android Development] halfsight:
EDIT: CRAP!, wrong thread, too much reefer and beer!

YAY! my ADB install worked! and the 1.3 version is working like a champ.

Here is the log from my first boot on my 1.3 with adb working. Sorry bout the super long log, but I get excited when I figure things out, and I am not bricking phones.
[G1 Android Development] halfsight:
I got it working on my windows 7 x64 with the adb for dummies guide. Used the vista drivers that installed through adb
[G1 Android Development] mattv888:
To add, for Macs this process is even easier. In your home folder, so the one with your name, create a text document. Type in

For me, since my SDK downloads were located in the Firefox folder in my Downloads folder, I inserted:

. Then save the file, and rename it as ".bash_profile" (without quotes), removing the extension. Then connect your G1, and go on the Mac to Applications -> Utilities -> terminal. You can also use spotlight if you please.

That's all folks!
[G1 Android Development] :
Okay I have SDK finally installed and working but I have one question, excuse me if it's bloody stupid but it has me foxed :(

I have been reading around and think I have this solved, just want comfirmation. I was trying to install an apk and I used the command...

adb push c:\Contacts.apk \system\app

I'm guessing I should have used...

adb install c:\Contacts.apk \system\app

Does the push command just put the file on the phone without installing and you need to replace push with install for it to install on the phone?
[G1 Android Development] civilization:
Does this apply for HERO

Aim not able to access my SD memory card
[G1 Android Development] kareememam:
you are the one man
[G1 Android Development] civilization:
c:\cd android-sdk-windows-1.1_r1

it says not a specififed folder

any idea?
[G1 Android Development] Ace42:
Try to mimic this form of directory....

C:\AndroidSDK\AndroidSDK\tools

Note: I was looking through tools while copying my directory...
[G1 Android Development] mattv888:
It should work on the Hero. Don't actually mount your SD card, just plugging in the phone should be enough. You might need additional drivers for the hero.
[G1 Android Development] Foo_Blyat:
^^^^ i also tried searching for this and have came up empty handed.
[G1 Android Development] civilization:
what is missing? i get this error: device not found

[/url][/img]
[G1 Android Development] civilization:
by the way i have HERO
[G1 Android Development] ID#:
There were a lot of updates in the meantime.

I haven't followed this guide, I just plugged my phone in and activated USB debugging. Then my Windows 7 x64 searched for the drivers, and found them.$

Then I downloaded the newest SDK, installed the tools and so on from the package server and everything works well for me.

May be a update would be helpful to many "dummies".
[G1 Android Development] Esquire22:
Thanks alot! it worked good for me.. but two questions i have a mytouch 3g 32b. but the driver says HTC dream. does it matter? and can i use wired tethering while using adb?
[G1 Android Development] lnafziger:
For those of you have previously plugged your phone into your Windows computer and have the wrong drivers installed, refer to this post for how to fix it: http://xdaforums.com/showthread.php?t=532719

He has also updated the directions for the new version of the SDK and it is a great guide to installing adb as well as how to use it!
[G1 Android Development] Esquire22:
How can I use adb to install apks? i tried using the command "adb install whatever.apk" and its an error.. is there another way to install apks?
[G1 Android Development] ravenjr:
trying to install adb on my mac osx, eclipse is installed and all needed puglins, my error when running "adb" in my shell is this

, anyone know where im going wrong?
[G1 Android Development] ckien6:
thats awesome :D
[G1 Android Development] MFK DGAF:
Quick Question.

When I'm with in the "C:\Androidsdk\tools" folder and i type "adb devices" command prompt comes back with "List of devices attached" and then moves to the next line which is blank. I do have my phone connected to the computer with usb debugging connected and not having the phone mounted to the computer either. I also have the usb drivers installed via SDK Setup.exe

Any suggestions?
[G1 Android Development] shawkinsl:
I'm almost certain you have a PPC mac. And I'm also assuming that the android SDK was built on/for Intel macs, so unfortunately I'm pretty sure there is no way to get your AVD's up, or use ADB without having an Intel mac.

If anyone else finds something else, I'd be curious in the answer as well.
[G1 Android Development] AndroidSamurai:
I Am Back!

OK Guys,

I am back and developing once again... Was waiting on a new DROID since I screwed up my last one by dropping it 3 stories onto asphalt.. :mad:

Keep up with the thread, take it easy on my GTALK and Twitter until I can get caught up...

Thanks again guys for all the support!!! :D

BTW, I have updated most of the links to the newest SDK builds with links to all previous builds as well. If you have any suggestions, would like me to write a new guide or anything else, give me a shout on my twitter @androidsamurai.
[G1 Android Development] Esquire22:
I am trying to setup again to start over because my previous sdk didnt install properly so now I dowloaded the sdk again and i am trying to hit set up and it isnt doing anything, can anyone help? I am running windows vista
[G1 Android Development] :
Go back to the first post and follow it correctly would be a start :)
[G1 Android Development] Esquire22:
ok i had android sdk before the 2.0.1 version. and then i tried to update and it didnt work so i tried to uninstall but i dont really know how to do that. then tried installing package again then when i hit setup a black window just comes up and it does nothing. Im just trying to uninstall to install again. i dont think the first post would help
[G1 Android Development] :
Simply delete the old sdk folder and then follow the steps in the first post. Setup.exe of the sdk doesn't work for everyone so that's why I'm refering you back to it to follow through. Doing it this way will get you up and running.
[G1 Android Development] Esquire22:
If that message was intended for me i didn't understand..
[G1 Android Development] hassler:
hi all

I've got this problem while trying to replace the font in my G1

F:\android-sdk\tools>adb push droidsans.ttf /system/fonts

failed to copy 'droidsans.ttf' to '/system/fonts/droidsans.ttf': Read-only file

system

how can I untick the read-only status in the system? :)

thanks
[G1 Android Development] n_gifford:
Type..

adb remount

THEN, push your files.
[G1 Android Development] jaestoner01:
i need help Guy's

I've been traying to do this for two days already

I've followed all the steps, but when I plug mine fone it says that I need the drivers .I'm on widows vista

Where do I get the drivers? I read on another post that

They come in the ask file but when I hit setup it gives me a

failed to update file please I really need help guys two days please. ...
[G1 Android Development] dj_jokke:
Lovely, thank you :)
[G1 Android Development] xManMythLegend:
I cant get this to work ..followed everything in page 1.

2 problems...

After I set up my environmental variables..

This is where it starts to fall apart.

I go to command prompt and enter

cd D:\ProgramFiles\ANDROID SDK\android-sdk-windows\tools

press enter

D:\ProgramFiles\ANDROID SDK\android-sdk-windows\tools> < this is where i type a command>

And no matter what I put I get

<was unexpected at this time.

:(:confused::(

Problem 2.

I skip the above by using the method described by a user later on as

IT WORKS !

I type ADB and all the commands come down.

I type in

ADB DEVICES

but it never finds my Nexus one. It lists devices but never turns up anything.

Ive followed all the steps properly to install the N1 driver.

USB debugging is checked. Ive tried it with SD card both mounted and unmounted.

:confused::(:confused:

Can someone PLEASE help ?

Windows 7 ultimate

Nexus One stock connected to front USB port.

Hell 5$ PP reward for the person that gets me up and running.
[G1 Android Development] traumatism:
ok first the specs.

G1 rooted (obv)

cyanogen mod, latest build.

windows xp with adb sdk installed.

can connect to g1 and remount for read/write.

issue: re-installing system app (developer.apk)

error whenever i try to re-install. it appears to try and install it into data\app and not system\app where the app was originally.

any way i can change this so it will install to correct directory on my G1?

Im a linux novice so lamens terms welcome.

Thanks in advance

P.S. i did try to search this on here first to no avail.
[G1 Android Development] schwiz:
don't connect for read/write that makes your phone look like a mass storage device, you need it looking like a g1.
[G1 Android Development] traumatism:
i know that. i was in work at time of writing that so i was limited to how much i could type. i had plugged it in under debug mode and then gone to the adb. i didnt use the g1 connect option on the phone itself. just plugged in and went from there the usual way i know of for remounting.

Edit: ok ive sorted it.
[G1 Android Development] izmar:
Thank you so much for this great guide! I was completely lost with ADB. Now i know. Knowledge is power.
[G1 Android Development] crobs808:
You can get the Android USB driver here, without having to install Eclipse, or the Android SDK, and the addin, which is way too complicated a process for just a simple driver....

http://code.google.com/p/android-roms/downloads/detail?name=android_usb_windows.zip&can=2&q=
[G1 Android Development] crobs808:
So what gives...? On my XP box, all the drivers are installed and everything is recognized, and I even have a new "Removable Disk" D-drive in My Computer, but when I double click it, it will not open, like it cannot read it. It is some special disk type that XP cannot read? Please help!! I feel like I am 99% of the way there.
[G1 Android Development] crobs808:
I am on XP SP3 using the latest SDK, and this is what I get when I type in "adb shell" in the command prompt from the tools dir...

C:\>cd android_sdk

C:\android_sdk>cd tools

C:\android_sdk\tools>adb shell

adb server is out of date. killing...

* daemon started sucessfully *

error: device not found

C:\androind_sdk\tools>

So, what's the deal? I have a XV6900 running the latest donut NAND install, and everything in Device Manager is fine (no troubled hardware or missing drivers)
[G1 Android Development] Subbie171:
Just getting to learn how this thing works, how am I supposed to use some of the commands people list on the threads here, like adb remount or adb uninstall? They always fail!

I can get on the shell (adb shell) and su ok, but instructions like these:

adb remount
adb shell find /system /data -name \*google\*maps.apk\* -o -name Maps.apk -delete
adb uninstall com.google.android.apps.maps

mount -o remount,rw /system
find /system /data -name \*google\*maps.apk\* -o -name Maps.apk -delete
pm uninstall com.google.android.apps.maps

Don't work. The first one fails on adb remount and the second one mounts it just fine mu cant find the command "find" lol

This is getting way over my head :P
[G1 Android Development] Macrophage001:
Are you trying to run it on your phone or on the computer?
[G1 Android Development] protomanez:
Try entering these first...

cd C:\android-sdk-windows\tools

adb devices

adb shell
[G1 Android Development] Subbie171:
On the pc

shows my device and the shell opens

I must add that adb root fails saying it does not run on production devices (this is a rooted milestone)
[G1 Android Development] Phoehtaung:
...

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.

that was the point where i am stuck.. help! seem like i can't semm to install the adb driver

ONE MORE THING

when i cmd and cd to C:\adb\tools>adb remount

replies error: device not found

can anyone help?

when i do the same thing C:\adb\tools>adb shell

replies error: device not found

HELP!!!~
[G1 Android Development] BrutalHoe:
can some1 plz help me install adb on windows 7, im trying to root my behold n im stuck i dont know what im doing wrong n where i got lost. i already made post in general area http://xdaforums.com/showthread.php?p=5821668#post5821668 but I've had G1 for for over a year n guys here on g1 way more helpful. i just cant get adb to recognize my Behold n i dont even see ADB interface in my device manager im about to shoot myself
[G1 Android Development] cu2cool:
I just want to reaffirm that this is the solution if you are using Windows 7 (64-Bit), and are unable to install the usb adb driver. You just have to DL USBDeview. Uninstall the three HTC drivers, go to device manager, and manually update the driver. Wished this was easier to find in the first place.
[G1 Android Development] dangambino:
Dude, thanks for that. This was all I was looking for. Working Now!!!!!!!!!!!!!!!!!
[G1 Android Development] shawam:
for mac

how am i supposed to do this for mac? im way too confused
[G1 Android Development] slaman:
Trying to get this to work on my recently-rooted TELUS Milestone... when I try to execute a script, it says permission denied...

any ideas?
[G1 Android Development] pioneer78787:
for mac os

Hi. I've been trying to use adb on my mac. I try to save files to the location, installed it, created new folders, then it just say command doesn't exist. Please help, I have motorola backflip and it doesn't allow me to install third party apps. Thanks
[G1 Android Development] schtuka:
I just reinstall windows and had to reinstall sdk. Following the instruction on Google will make you download usb drivers via running sdk. Well, in the end using those windows usb drivers never recognized my phone until I used these drivers. It rendered my phone adb as Dream, but it works on my MyTouch.
[G1 Android Development] pd49:
i followed the directions precisely for my backflip and when i open up droid explorer, it does not find my device at all. i am completely baffled at this point.

i have windows 7 home 32 bit if that helps.
[G1 Android Development] SG_Shadow:
cmd adb error msg...

I already have my pc setup with adb. It appears to be working just fine. I'm trying to setup adb on my laptop and is running into all types of problems. I've downloaded the sdk and ran the sdk setup.exe and downloaded all the latest files, and of course the usb driver. I was able to successfully install the driver and was able to connect my G1 for file transfer. I've followed the guide info to the letter but for some strange reason I get the following:

* daemon not running. starting it now *
* daemon started successfully *
error: device not found

I've already tried uninstalling the newest driver and installing the working one from my pc, then I tried downloading a driver that was listed by a user in this thread. Still no luck. Any advice would be greatly appreciated!
[G1 Android Development] Spike™:
issue solved
[G1 Android Development] Jbemis79:
Hhhheeeeellllllppppp

Rooted G1 with cyan 5.0.7 still using cyan 1.4 recovery trying to switch to amon ra recovery. Windows vista computer. Have everything installed on computer. Tried just flashing with terminal emulator says directory doesn't exist same when using console. Can't get fastboot or adb to work both say no device found. Followed directions to a t on everything I could find about this. I am now in way over my head someone help me get this worked out please. Thanks guys. also followed amon ra's directions. Very stuck
[G1 Android Development] Jbemis79:
cool

Never mind I think I got the fastboot portion and that is all I really needed. If someone would like to explain what I messed up for the adb part I would be more then happy to listen. Thanks again guys.
[G1 Android Development] jackstrawfromwichitaw:
Thanks Tbone

thanks for that, very easy to follow......
[G1 Android Development] breezy169:
thanks,i got it working now.

but for some reason i have a "failure" and " 'adb' is an unrecognized as a internal or external command"..... when i write a command.

am i giving the wrong command or whats wrong?
[G1 Android Development] atantekeier:
Im stuck i think. I got as far as installing the USB driver. This is what I have done so far.

Downloaded and installed the SDK and AVD manager,

Downloaded the USB driver package

Plug in my phone and no found new hardware pops up like it should.

So i go to device manager and see Android USB Devices, click that.

then I see my HTC.

I tried uninstalling that in device manager, and it goes away, but when I plug my phone in, or refresh it, it auto installs the drivers it used before.

So i tried to install the new drivers before it auto does it and this is what I did.

through device manager, update driver to android devices.

Hardware update wizard pops up,

Yes this time only. next

Install from a list or specific location. next

Include this location in the search: C:\android-sdk-windows\usb_driver. next

Please wait while the wizard searches...

Cannot continue the hardware update.

The wizard could not find a better match for your hardware than the software you currently have installed. Finish.

Every time I try to uninstall it it just goes back to the way it was, yes I have USB debugging on, i only have one cable, I have restarted phone and computer several times and still the same.

Any suggestions? thanks.
[G1 Android Development] juangil:
If thats the message you are getting why are you trying to re-install or update drivers?

you should be good to go, now try to do "adb devices" to see what you get
[G1 Android Development] atantekeier:
When i go to cmd and type adb it says

"adb" is not recognized as an internal or external command, operable program or batch file.
[G1 Android Development] juangil:
maybe you don't have the "PATH" to adb right

you should have something like this in the cmd window:

c:\somepc/user/desktop/sdk/tools/adb devices

this is just an example, I use mac so use common sense on what I am trying to explain:)
[G1 Android Development] atantekeier:
I have windows XP, I think your going by windows 7 ot vista, Its looks a bit different for me.

The patch for mine is c:\android-sdk-windows\tools

Other than that Im stuck, forgive me if I dont know the ins and outs Im not a dev just trying to learn it. So sorry if I get you frustrated lol

Thanks.
[G1 Android Development] Daneshm90:
Looks as if its not in ur path from ur previous post. U can take a shortcut and download stericson's tool and extract it inside ur sdk/tools directory. Then run his script and set the $path ;)
[G1 Android Development] atantekeier:
That link in the post you linked is broken.

And other way to set the path correctly?
[G1 Android Development] DarkWeed:
Hello Team i have a problem i use my SE X10 and have problem first i cant install usb driver ( i use Win7 ) i have set the path and i have installed c:\android-sdk-windows\tools .. ok now i cant remount and i cant update sdk becouse i have no platforms there..

Hmm im new here and cant post img^^

1.Android.jpg ....i try to update sdk.. i cant start sdk update from folder!?

2.Android.jpg ....is the driver i have installed

3.Android.jpg ....i try to remount
[G1 Android Development] x10i DauL:
what things can i do with android SDK?
[G1 Android Development] jasonlefever:
Try google, or actually reading this entire thread.
[G1 Android Development] frankencat:
Go here to find the answer!

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