[Q] Rooting? - Eee Pad Transformer Q&A, Help & Troubleshooting

How come nothing happens when I try to start adb?
A cmd window pops up then vanishes just as quick...

sounds like you are launching adb from explorer or run command. Open a cmd window first and navigate to adb location and run adb.

adb is launched by opening a regular cmd window, then navigate to the android sdk tools folder as such:
cd android-sdk-windows\tools
if you didn't extract it to the root of the C: drive edit the path accordingly.
if you extracted it to the root of another drive type #: (# being the drive letter) first then use cd android-sdk-windows\tools command. From there use ADB commands.

thanks.
now lets hope I don't break something!

still have so much trouble
C:\Program Files (x86)\Android\android-sdk\platform-tools is the location.
what should I type...

type cd /Program Files (x86) then type cd android-sdk\tools, then run your commands.

You can hold shift and right click the folder and go to open command window here
Sent from my LG-VM670 using Tapatalk

Related

[Resolved] [Q] ADB not working, all required progams installed

I'm running windows 7 x64 and i'm trying to run "nandroid-mobile.sh restore" on an EVO 4g via adb, but adb isn't working and never has on my computer. I believe i've downloaded and installed all the required programs for adb. am I missing something or should I use an xp desktop as my adb repair station?
edit: when trying to run adb from the sdk/tools directory it just opens and closes a command prompt.
edit 2 (resolution): right click inside sdk/tools folder, click "open command prompt here"

Tired of cd'ing to your SDK tools folder? :p

This is some easy stuff, but I thought I'd share one of my old "tricks" to work faster for the 'lazy' people .
So let's say if you work a lot with adb within the SDK tools folder this might come in handy if you currently cd to the folder each time you open a command prompt window.
Just download and extract the batch file to your desktop or where ever you like and open it with notepad then change the directory in the last line after cd.
The first lines makes sure the command prompt window stays open after you execute the batch file so you can start inputting. So don't worry, it does not include harmful codes for those who don't know batch commands.
Hope you will find this useful.
You could always copy "adb.exe", "AdbWinApi.dll", and "AdbWinUsbApi.dll" to "C:\windows\system32" and then you can use adb from any folder in command prompt. If I'm using any adb commands use them straight from the windows 7 search/run box on the start menu.

Android SDK help

Guys I need help, I for the life of me cant get that thing to work. Its installed in my programs files (x86), that is where it was put when I hit install.
I got into command and get to the C:\Program File (X86)\Android\android-sdk>tools
I get tools is not recognized as an internal or external command, operable program or batch file.
I type in adb devices and I get the same error.
Any ideas or can anyone help me. I never need to do the androidsdk for the captivate, but it looks like I need it for the inspire.
tools is another directory
so add /tools to your command
adb should work from there
You need to unzip it to your c drive and then open up cmd and type something along the lines of
cd c:/sdk /tools
The file names have to match it you will get that error
sent from my HTC Inspired Desire HD 4G
milleirish said:
Guys I need help, I for the life of me cant get that thing to work. Its installed in my programs files (x86), that is where it was put when I hit install.
I got into command and get to the C:\Program File (X86)\Android\android-sdk>tools
I get tools is not recognized as an internal or external command, operable program or batch file.
I type in adb devices and I get the same error.
Any ideas or can anyone help me. I never need to do the androidsdk for the captivate, but it looks like I need it for the inspire.
Click to expand...
Click to collapse
Change name to androidsdk. Then run as administration for windows. Type cd c:\androidsdk/tools
Inspire 4G / Desire HD
Depending on the country
it is unzipped, and installed. I will try those commands thats
Yea - so you'd wanna run a command prompt as admin, then type:
cd c:\program file (x86)\android\android-sdk\tools
hit enter
This will put you in the tools directory. NOTE: If you've installed the newest version of SDK, adb is no longer in tools, it's in platform-tools, so you'd want to navigate to:
cd c:\program file (x86)\android\android-sdk\platform-tools
hit enter
adb devices
hit enter

Having troubles with the command prompt stages of the rooting process

Hi there,
I have an HTC Magic and am trying to root it by following this guide http://forum.xda-developers.com/wiki/HTC_Sapphire_Hacking#Known_Hackable_SPL_revisions
I have the Android SDK package installed, but am having troubles getting any further because I'm having troubles with the command line prompts.
For instance, I added ;C:\AndroidSDK\tools\ to the end of the Path in my Environment Variables, just like the guide said, but I don't know if I did it correctly. When I open up the command prompt, it still gives me C:\Windows\System32> as my starting directory. What should I be seeing instead?
Also, when I type in "adb devices", it doesn't recognize the command. I'm assuming that's because I'm typing it into the wrong directory, but I don't understand how to navigate to the right one.
Any suggestions?
You need to add the path to the directory that CONTAINS the adb.exe file.
If you did it correct the command "adb" should be recognized.
You may need to restart the computer after adding the path i'm not 100% sure.
Adding something to the PATH variable does not change where you start out when you open the command prompt.
Yea that's what I did. I added ;C:\AndroidSDK\platform-tools\ (my adb file is in the platform tools folder) but when I type adb in the command line, it doesn't recognize the command.

[Q] ADB

How do you set up ADB and what are the resources you need?
All you need is just to download ADB. For me at first i went to download SDK manager and downloaded a LOT of files and got the adb. I found an easier way though. In superoneclick root latest version i downloaded theres a folder called "ADB". I copied it to the desktop so i have easy access. To use ADB, go to command prompt and type in the location you have placed the ADB folder in, if you copied it to the desktop like me, type cd Desktop\ADB and hit enter. Then type adb shell and you're good to go. You can go search up on some commands as i dont use it very often and not familiar with all the commands. have fun using it
jus download the adb zip .its there in the devlopment thread .......and extract it in the c drive of your system...and jus change directory in the command prompt and you are gud to go

Categories

Resources