[Q] adb.exe problems - HTC EVO 3D

I cannot get adb.exe to terminate. I have been using the task manager. Is there any other way?

you have to "cd" to the directory adb is in using command prompt. So go to your start menu and search "cmd" and once you have it open you have to navigate to the folder with adb in it with the command "cd". For example, my directory is c:\sdk\tools.
So I would type in,
Code:
cd c:\sdk\tools
does that help a little?

Adb kill server or somethin like that I believe
Sent from my PG86100 using Tapatalk 2 Beta-2

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

alainater said:
you have to "cd" to the directory adb is in using command prompt. So go to your start menu and search "cmd" and once you have it open you have to navigate to the folder with adb in it with the command "cd". For example, my directory is c:\sdk\tools.
So I would type in,
Code:
cd c:\sdk\tools
does that help a little?
Click to expand...
Click to collapse
you don't need to change the directory to use taskkill but adb.exe comes right back on. what is going on?

cinnamngrl said:
you don't need to change the directory to use taskkill but adb.exe comes right back on. what is going on?
Click to expand...
Click to collapse
You probably have some kind of utility running in the background that uses adb. There is nothing in adb that would make it persistent on its own.

whoops, ok. I was doing it out of order
exit htc on computer> start pda.net on phone >kill. adb.exe>connect pdanet
(pdanet auto starts on win startup)
it is fine now, thanks. dos reminds me of highschool

Related

Help "pushing" files to eris using mac

So ive been trying to figure out how to push files onto my eris for like a week now and im not smart enough with computer to so it. Ive downloaded the mac ADB, and have a 2.2 emulator up and running. But when i plug my phone in i cant ever find it using terminal. Im pretty sure its just cause im using the wrong commands so if anyone knows them for a mac that would be awesome. Any info would help me, Thanks.
No emulator is involved. Find the adb executable, and cmd+c to copy it. Fire up terminal and cmd+v to paste it, then type a space, then "push" (without the quotes), then a space, then drag the file you want to copy onto the terminal window, then type the location on your phone you plan on pushing to (like /system/app/ for example). And that's it! But you should do an adb remount before pushing. Again, to do a remount, paste the adb file into terminal or drag it in, then type a space, then "remount" (without the quotes).
It's been a while since I did the initial install steps, but the main difference to the commands is having to use a dot and a slash before the command "./" to specify the command you want to run is in the directory you're working in. Other than that, the PC steps are the same.
For example, my files are in a sub-directory under my user profile: /Users/<user_name>/Phone/android-sdk-mac_86/tools/ which can also be typed as ~/<user_name>/Phone/android-sdk-mac_86/tools/
So, in Finder, I go to that directory and double click the android file. That starts terminal which also starts the Android app. I go back to Terminal, press Command+T to open a new tab in Terminal (just so I won't have a ton of windows open), change directory to ~/<user_name>/Phone/android-sdk-mac_86/tools/ then I run the adb command typed as ./adb
So, to re-cap step by step:
My adb files are located in ~/<user_name>/Phone/android-sdk-mac_86/tools/
Make sure your phone is connected in USB debugging mode
In Finder, go to the above directory and double click android
Switch back to Terminal, press Command+T to open a new tab and change directory to ~/<user_name>/Phone/android-sdk-mac_86/tools/
Type: ./adb remount
Type ./adb shell (or whatever adb commands you want to run)

[Q]ADB issue

Okay, so I'm a bit an ADB noob here. I've been trying to push my avatar apk into /system/apps for awhile here but every time i do so, it fails with this error:
/bin/sh: adb: not found
did I set it up wrong somehow?
Oniyuri said:
Okay, so I'm a bit an ADB noob here. I've been trying to push my avatar apk into /system/apps for awhile here but every time i do so, it fails with this error:
/bin/sh: adb: not found
did I set it up wrong somehow?
Click to expand...
Click to collapse
Make sure you are running the adb command from the directory where your adb is located. There is tons of info on this site and google that will give you everything you need to know about using adb. Try typing the error message into search
yeah, i know to change directories already. this error is happening after i'm in the directory.
i basically start out like this:
cd C:\android-sdk-windows\tools
and after that, switch to adb shell
C:\android-sdk-windows\tools> adb shell
i get some characters and then try for a push
"adb push C:\users\myuser\downloads/avatar.apk /system/app
after that, boom! error.
bump
+10char
Oniyuri said:
yeah, i know to change directories already. this error is happening after i'm in the directory.
i basically start out like this:
cd C:\android-sdk-windows\tools
and after that, switch to adb shell
C:\android-sdk-windows\tools> adb shell
i get some characters and then try for a push
"adb push C:\users\myuser\downloads/avatar.apk /system/app
after that, boom! error.
Click to expand...
Click to collapse
You really should be using either the search bar here or google because this information is in abundance. "adb push" should not be run from inside the shell. adb is not recognized by the shell. Do the same thing that you listed above minus the step where you typed "adb shell"
********
Sent from my Paragon RC3 Captivate using the XDA app
Try 'cd C:\android-sdk-windows\platform-tools', not C:\android-sdk-windows\tools.
Better yet, just add that to the environment variable, PATH.
hth

[Q] How do I know if ADB is working?

I know that sounds like a very stupid question, but seriously - I don't know what it's supposed to do when I open it.
I downloaded and installed the Android SDK Installer with HTC Sync and Java from this thread: http://forum.xda-developers.com/showthread.php?t=1009419
Then, I opened the folder and double-clicked "SDK Manager", and a black window flashes once for a millisecond and disappears. This happens each time I open SDK Manager. I assume it is not supposed to behave like that.
Then, I went to the "platform tools" folder and opened "adb". Same thing. A brief black window pops up and scrolls a bunch of jibberish at hyper-speed and disappears within literally - a millisecond.
Now, I had nothing hooked up at this point - not my T-Bolt - nothing. I just wanted to peruse.
But now I'm afraid to go any further by hooking up my T-Bolt because I'm not sure what to expect. Can anybody offer any friendly guidance? I have rooted every single Android phone I've ever had, and many other phones belonging to friends and family, and I want to do this right by rooting the long way and learning as much as I can. I just need to be pointed in the right direction.
Thanks guys.
David
You need to go to your cmd prompt, and type "cd\" the cmd prompt should be c:\. Then type in "cd (whatever folder you placed sdk in)\platform-tools". Yes, leave a space between cd and the folder, no (). Then just type adb
Have your phone connected when you type adb, then type adb devices, and it should lust your phone with serial number.
jmiller98 said:
You need to go to your cmd prompt, and type "cd\" the cmd prompt should be c:\. Then type in "cd (whatever folder you placed sdk in)\platform-tools". Yes, leave a space between cd and the folder, no (). Then just type adb
Have your phone connected when you type adb, then type adb devices, and it should lust your phone with serial number.
Click to expand...
Click to collapse
Okay... when you say cmd prompt, I'm assuming that you're referring to START>RUN, and then the command.
Unfortunately, I'm not able get anything but, "Windows cannot find 'cd'. Make sure you typed the name correctly, adn then try again. To search for a file, click the Start button, and then click Search."
In the "Run" window where it says "Open", I've typed:
cd\ C:\Thunderbolt_Root_Files\platform-tools\adb
I've tried a myriad of combinations, and I'm not able to get any other result.
I feel like an idiot, and I don't know what I'm doing wrong.
start>run>type in 'cmd' then press enter then do what you have to do at the command prompt
magneticzero said:
start>run>type in 'cmd' then press enter then do what you have to do at the command prompt
Click to expand...
Click to collapse
Thank you!! That got me there!

[Q] Help using ADB

iam having trouble using ADB with windows XP. i have downloaded superoneclick program and opened the ADB folder inside. then i turned usb debugging on, then connected, then ran the ADB program, it starts with showing how to run commands, but only stays open for about 5 seconds, then closes, i cant read what the rest of it says because it closes to quickly. iam new to android and have never used adb before but i followed all the steps i think. what iam i doing wrong? thanks
RPK925 said:
iam having trouble using ADB with windows XP. i have downloaded superoneclick program and opened the ADB folder inside. then i turned usb debugging on, then connected, then ran the ADB program, it starts with showing how to run commands, but only stays open for about 5 seconds, then closes, i cant read what the rest of it says because it closes to quickly. iam new to android and have never used adb before but i followed all the steps i think. what iam i doing wrong? thanks
Click to expand...
Click to collapse
you have to open a command prompt in the folder where adb.exe is stored. you don't need to run the program itself, just run commands necessary to do whatever hack you're trying to do. if you just put the apk files in the same folder as adb.exe then use "adb push" commands and such (whatever is detailed in the instructions)
to open a command prompt in the folder, i think you can just right click and select "Open command prompt here" (i know that's in win7, not too sure about xp)
also - this is the wrong section to post this. it should be in the Q&A section, not development.
raybond25 said:
you have to open a command prompt in the folder where adb.exe is stored. you don't need to run the program itself, just run commands necessary to do whatever hack you're trying to do. if you just put the apk files in the same folder as adb.exe then use "adb push" commands and such (whatever is detailed in the instructions)
to open a command prompt in the folder, i think you can just right click and select "Open command prompt here" (i know that's in win7, not too sure about xp)
also - this is the wrong section to post this. it should be in the Q&A section, not development.
Click to expand...
Click to collapse
thanks for your help. when i extracted adb from S.O.C. i gave me 5 files
ADB.exe
ADBmac
ADBlinux
ADBWinUsbapi.dll
ADBWinApi.dll
I right clicked on all of them and couldnt find anything about opening command prompt?
RPK925 said:
thanks for your help. when i extracted adb from S.O.C. i gave me 5 files
ADB.exe
ADBmac
ADBlinux
ADBWinUsbapi.dll
ADBWinApi.dll
I right clicked on all of them and couldnt find anything about opening command prompt?
Click to expand...
Click to collapse
start, run and type cmd. this gives you a command prompt
Why are you using super one click on your atrix? Gingerbreak or gladroot is the preferred method for the atrix.
Sent from my Blue Steeled Atrix
Big-A-Rob said:
Why are you using super one click on your atrix? Gingerbreak or gladroot is the preferred method for the atrix.
Sent from my Blue Steeled Atrix
Click to expand...
Click to collapse
Yes I know iam just trying to get the ADB files from.SOC. iam rooted on gingerbreak.
Sent from my MB860 using XDA App
scorneil said:
start, run and type cmd. this gives you a command prompt
Click to expand...
Click to collapse
Start the. Exe? Because it wont allow me to type any commands it just runs for about 2 seconds then closes.
Sent from my MB860 using XDA App

[Q] Noob sdk question :X

I'm trying to update my phone and it won't boot into download mode :X so I'm trying to do it with adb my problem is I can't get adb commands to work because I don't know what the path should be in the variables :C my location for adb is "C:\Program Files (x86)\Android\android-sdk\platform-tools.adb.exe" thats so much in advace!!
Dunphy said:
I'm trying to update my phone and it won't boot into download mode :X so I'm trying to do it with adb my problem is I can't get adb commands to work because I don't know what the path should be in the variables :C my location for adb is "C:\Program Files (x86)\Android\android-sdk\platform-tools.adb.exe" thats so much in advace!!
Click to expand...
Click to collapse
In order for adb to work you need to set the path to where adb.exe is. The code is
chdir C:/Program Files (x86)/Android/android-sdk/platform-tools
adb shell
that will enable you to use adb
Sent from my Optimus Me using xda premium
for adb to work u just needed to be booted up normally with usb debugging selected.
locate to the folder where adb.exe resides. SHIFT + right click on that folder and choose "open command window here"
cmd terminal will open up wid C:/Program Files (x86)/Android/android-sdk/platform-tools
nw run "adb devices"
if ur device is detected with serial no then are good to use adb....
Sent from my Nexus One using Tapatalk

Categories

Resources