I am new to all this and completely lost. I am trying to be able to access adb shell through command prompt. I have done everything here:
http://forum.xda-developers.com/showthread.php?t=500196
And it still doesn't work. I'm lost. I'm not sure where it was downloaded to. I can find it in my program files under Android. But when I try to put C:\android... it doesn't actually come up. But if I go to explore and go find it, it is... so I think maybe the path isn't set up the same or something. i dunno. I dont get it lol.
Any help would be awesome!
Thanks,
Kimberly.
Hi,
So after you downloaded the zip file did you unzip / install it? as you will need to unzip the file. So for example you may have downloaded it to your download folder so double click the zip and unzip. The you should see a Android folder like "android-sdk-windows".
Once you know where it is you can then either add this to the envrioment varables or could can navigate to the adb program via the command prompt and run it there.
I.e. cd C:\Users\yourname\Downloads\android-sdk-windows\
then type adb shell
There is a guide here: - http://developer.android.com/sdk/installing.html
So have a look in your C drive (Go to My computer, C drive) then look for a folder called "android-sdk-windows"
C:\android-sdk-windows
Related
I am pulling my hair out. I have SDK installed and whatever I was instructed to install on SDK, for the life of me I can't get the command shell to work. When I open a command shell and type adb. I get a message 'adb' is not a recognized as an internal or external command, operable batch or program file.
My phone is plugged in debugging checked, I have it set to mass storage, not kies. What am I doing wrong.
Sorry for the noob question. I have been reading every forum I can find, every document I can find. I am trying to learn and I like to mess with my phone and should know how to use adb command shells.
Can someone tell me what I am doing wrong?
Thanks.
Rhiannon224 said:
I am pulling my hair out. I have SDK installed and whatever I was instructed to install on SDK, for the life of me I can't get the command shell to work. When I open a command shell and type adb. I get a message 'adb' is not a recognized as an internal or external command, operable batch or program file.
My phone is plugged in debugging checked, I have it set to mass storage, not kies. What am I doing wrong.
Sorry for the noob question. I have been reading every forum I can find, every document I can find. I am trying to learn and I like to mess with my phone and should know how to use adb command shells.
Can someone tell me what I am doing wrong?
Thanks.
Click to expand...
Click to collapse
PC or mac?
On a PC cd /Android/Tools then use adb commands
on a Mac: cd /Android/Tools then use ./adb then the command
PC. Thanks I will try that.
update
system cannot find the path specified
I am ready to delete everything and start over, maybe the path is wrong and I borked something in the download. There should be an Android for dummy's book or something, for us noobs.
where did you install the files? You had to download the SDK and unzip it.
Then you use a command window to change directories to where ever you installed it. Then run the commands.
If you don't know how to move around directories using DOS commands, you better find a tutorial on that first.
Your problems sound like you are not in the tools directory - CMD issues not Adroid - CMD is the windows shell btw.
alphadog00 said:
where did you install the files? You had to download the SDK and unzip it.
Then you use a command window to change directories to where ever you installed it. Then run the commands.
If you don't know how to move around directories using DOS commands, you better find a tutorial on that first.
Your problems sound like you are not in the tools directory - CMD issues not Adroid - CMD is the windows shell btw.
Click to expand...
Click to collapse
downloaded and upzipped. It's in a folder named Android, in my c;/drive. I watched a tutorial and put it where I thought I was supposed to, then I made sure to edit the path. I can undo that. I know it's a CMD issue. Great DOS commands, this is a little over my head.
I's probably easier for me to delete everything and start over.
Is there an ADB for dummies or anything. I find them for other devices not Captivate?
if you change directories to the tools directory, do you see adb.exe listed? I am not sure which tutorial you used, but there is no reason to edit the path if you change directly into the android sdk/tools directory.
In a CMD window, change to the tools directory and do a DIR and see if the first file is adb.exe
Deleting and starting over is not going to change things at this point. Also ADB is a command that works the same regardless of which phone you have. The only things that are different is if you can mount the system partition - depends on your kernel - is it custom. Not phone dependent though.
alphadog00 said:
if you change directories to the tools directory, do you see adb.exe listed? I am not sure which tutorial you used, but there is no reason to edit the path if you change directly into the android sdk/tools directory.
In a CMD window, change to the tools directory and do a DIR and see if the first file is adb.exe
Deleting and starting over is not going to change things at this point. Also ADB is a command that works the same regardless of which phone you have. The only things that are different is if you can mount the system partition - depends on your kernel - is it custom. Not phone dependent though.
Click to expand...
Click to collapse
Thanks I did this and no it isn't listed. the Android folder is, that is where I extracted all the files. Should I move from the folder. After extracting the files did I need to install anything from it?
Rhiannon224 said:
Thanks I did this and no it isn't listed. the Android folder is, that is where I extracted all the files. Should I move from the folder. After extracting the files did I need to install anything from it?
Click to expand...
Click to collapse
You should have extracted everything. You should have a folder that extracted:
android-sdk-windows and in that a tools folder. In the tools folder is ADB.exe
It is one big zip file - nothing to install - just unzip where you want it.
hold shift and then right click on that tools folder(wherever you put it), select open command window here from the menu, then type adb to make sure it worked
Kagoshema said:
hold shift and then right click on that tools folder(wherever you put it), select open command window here from the menu, then type adb to make sure it worked
Click to expand...
Click to collapse
Thank you. That did the trick. It is there and it worked. So I am guessing that when I want to open a command shell and use ADB this is how I will be able to do it. Thank you so much for all of your help everyone.
I am very new to Android and smart phones, 7 weeks now and I am trying to learn as much as I can and I try to find the information without asking too many questions.
Last night with SRE and it's sleeping death made me realize that I need to know how to use ADB and a command shell should things go wrong.
Again, thanks to everyone for the 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
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
Hi, recently I broke my samsung captivate inner lcd screen and now everything is just black. I can't do anything but only physical and capacitate button. I'm from malaysia so i can't send this phone for a repair. I've tried to send this to my local repair shops and sadly they dont have the parts. Well, what matters to me now are the information that I have saved on my phone.
I have a rooted phone, so basically what I want to do is to copy all of my phone data into my computer through usb connection, well the thing is i cant press anything on the screen and that makes me not able to connect phone my to my computer.
So I just want to know is there anyway for me to access my phone through my computer or something. I know it may sound silly but I do have some important files in there. A help would really make me feel better and i do really need help on this.
Edit: Found the solution here
Code:
http://forum.xda-developers.com/showthread.php?t=1164598
Thanks!
Go get the Android SDK, and with that you'll get ADB. Once you have it installed, navigate to where you have ADB installed (usually [directory of installation]\android-sdk-windows\platform-tools) and create a folder called "backup" inside that same directory. Once you've done that, open a command prompt, and navigate to the platform-tools directory. Then, connect your phone to the computer, make sure it is recognized, and then try this:
adb pull / \backup
That will make a copy of everything that's on your phone from the root directory down into the "backup" folder you created. If that command doesn't work right, try deleting the \backup portion. It will mean that all the files will be dumped into the "platform-tools" folder, but you should at least have them.
If for some reason it won't let you do it, type "adb reboot recovery" first, then try the pull command. That usually lets me get around any restrictions.
jmtheiss said:
Go get the Android SDK, and with that you'll get ADB. Once you have it installed, navigate to where you have ADB installed (usually [directory of installation]\android-sdk-windows\platform-tools) and create a folder called "backup" inside that same directory. Once you've done that, open a command prompt, and navigate to the platform-tools directory. Then, connect your phone to the computer, make sure it is recognized, and then try this:
adb pull / \backup
That will make a copy of everything that's on your phone from the root directory down into the "backup" folder you created. If that command doesn't work right, try deleting the \backup portion. It will mean that all the files will be dumped into the "platform-tools" folder, but you should at least have them.
If for some reason it won't let you do it, type "adb reboot recovery" first, then try the pull command. That usually lets me get around any restrictions.
Click to expand...
Click to collapse
Ya, got it done. Thank you so much!
Use ADB Push to copy files to device by a simple right click on windows
(No CMD commands needed)
You can simply right click any file on your Computer to send to your phone via adb push commands(without needing to type commands)
This makes file transfers significantly faster -especially when you have a large number of small files. MTP is a pain to use. This helps me transfer 100 gb of files in less than 40minutes whereas mtp transfer will take over 4 hours.
1. Install ADB Platform Tools for windows from official website
2. Extract the platform tools to 'C:\' such that your adb directory becomes "C:\platform-tools"
3. Copy the following code and paste it into a new .txt file created on your Computer.
Save it and change extension to .reg. Double click the file to install the registry entry.
3. Create a folder named 'ADBPush' in base directory of your internal storage on your phone - using a file manager. Create a folder named 'ADBPush' in root of your hard drive,i.e, C:\
4. Enable developer options and enable usb debugging on your mobile, accept the request for usb debugging access seen on your phone when you try to run adb command for the first time.
5. You can do this through wireless adb as well but first, you must use the command 'adb connect 192.168.xxx' to connect adb wirelessly first. Replace ip address with your phones current ip adresss.
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\ADB Push to Phone]
[HKEY_CLASSES_ROOT\*\shell\ADB Push to Phone\command]
@="\"C:\\Windows\\System32\\cmd.exe\" /k C:\\platform-tools\\adb.exe push \"%1\" /sdcard/ADBPush/"
[HKEY_CLASSES_ROOT\Folder\shell\ADB Push to Phone]
[HKEY_CLASSES_ROOT\Folder\shell\ADB Push to Phone\command]
@="\"C:\\Windows\\System32\\cmd.exe\" /k C:\\platform-tools\\adb.exe push \"%1\" /sdcard/ADBPush/"
Done!
Now you can simply right click context menu to push files using adb - as simple as copy paste
I couldnt get it to work with adb pull as worng directory path if used. Anyone got ideas for getting adb pull working by above method?