im trying to unlock my gsm nexus bootloader in command run it says 'adb' is not recognized as an internal or external command,operable program or batch file. what do i do?
I'm assuming you have Android SDK downloaded to your C:\ drive or or some place like that. if so then navigate to SDK folder and hold shift then right click platform-tools folder and then click open command window here. .
PhazeDelta1 said:
I'm assuming you have Android SDK downloaded to your C:\ drive or or some place like that. if so then navigate to SDK folder and hold shift then right click platform-tools folder and then click open command window here. .
Click to expand...
Click to collapse
yeap i did that already i open command window and type adb reboot bootloader it gives me that msg
galaxy16 said:
im trying to unlock my gsm nexus bootloader in command run it says 'adb' is not recognized as an internal or external command,operable program or batch file. what do i do?
Click to expand...
Click to collapse
You need to get adb working on your PC. You don't have it installed or you are using it wrong (not in the directory it is in, or it isn't set to PATH as examples).
Side note adb doesn't work in the bootloader.
use gnex toolkit in galaxy nexus android development
Open the CMD and navigate to the folder where ADB.EXE is located and like someone mentioned about adb wont work in bootloader, so instead you'll have to use "fastboot", type "fastboot /?" for help and commands.
also make sure you execute CMD as Administrator.
on the toolkit, adb file's name is different. try "adb-toolkit" instead of "adb"
so: "adb-toolkit reboot bootloader"
Related
Hey guys I'm getting setup to root my buddies Evo shift. I Dloaded android sdk followed the instruction. I've opened cmd.exe when I type in a command it says it says 'adb ' is not recognized as an internal or external command, operable command or batch file.
I'm trying it out on my Evo first just to get familiar with the system any direction is greatly appreciated
Sent from my PC36100 using XDA App
30bushido1 said:
Hey guys I'm getting setup to root my buddies Evo shift. I Dloaded android sdk followed the instruction. I've opened cmd.exe when I type in a command it says it says 'adb ' is not recognized as an internal or external command, operable command or batch file.
I'm trying it out on my Evo first just to get familiar with the system any direction is greatly appreciated
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
What version of windows are you on? You followed all of the instructions on setting up adb from that thread in the Shift forums? I also rooted my roomate's Shift, and I read that adb setup tutorial when I was over there. It was pretty solid. I already had adb set up, but read it through to see. When I set up adb, I had someone advise to me to place the adb.exe, and that .dll file (found in platform tools, in the SDK download) in my 'system32' folder of my PC. Once I placed those two files in the 'system32' folder, adb has worked flawlessly.
Also, have you made sure you have all the correct drivers installed? I believe I also had to install HTC Sync, because that installed some drivers that were necessary. Once it installed, I uninstalled it (the drivers will remain installed) because it can interfere with adb communication, apparently. Hope you get it set up. Once you do, rooting the Shift wasn't hard. Just follow the instructions to the t, and just copy and paste the commands, to eliminate the possibility of messing up the commands.
Thanks man I'm gonna give the HTC sync thing a shot
Sent from my PC36100 using XDA App
30bushido1 said:
Thanks man I'm gonna give the HTC sync thing a shot
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You're welcome, feel free to PM me if you have any more issues.
to get adb to work, you need to be in the same directory as all of the sdk tools to use my setup as an example, my stuff is located in
C:\SDK\platform-tools
when I open the cmd prompt, it starts in
C:\Documents and Settings\Chris>
to change directories, type
C:\Documents and Settings\Chris>cd \
the display will change to
C:\>
type (in my example, yours may vary unless you set your folders up the same way)
C:\>cd SDK\platform-tools
it will change to
C:\SDK\platform-tools>
then you will be able to use adb commands like push/pull, shell, devices, etc.
Muellersirch said:
to get adb to work, you need to be in the same directory as all of the sdk tools to use my setup as an example, my stuff is located in
C:\SDK\platform-tools
when I open the cmd prompt, it starts in
C:\Documents and Settings\Chris>
to change directories, type
C:\Documents and Settings\Chris>cd \
the display will change to
C:\>
type (in my example, yours may vary unless you set your folders up the same way)
C:\>cd SDK\platform-tools
it will change to
C:\SDK\platform-tools>
then you will be able to use adb commands like push/pull, shell, devices, etc.
Click to expand...
Click to collapse
By putting the adb.exe and the .dll files in the 'system32' folder, that will allow you to execute adb commands from any directory in the command prompt. I don't have to navigate to my sdk tools to use adb. It saves a few steps, so you can just open up your command prompt and command away.
Or you can put the directory that contains adb in your system PATH. This will let you execute adb in a command prompt anywhere...
Sent from my ADR6300 using XDA App
I'm running wd7. I've gone through it again and installed the drivers then uninstall HTC sync I'm still not able to access sdk through the command prompt. I know its something simple I'm missing how do I move adb to the system path
Sent from my PC36100 using XDA App
C:\user\paul>
Is what the terminal reads any command I enter is not recognized as an internal or external command.
I have got the command list to show up but cannot exicute any of them
Sent from my PC36100 using XDA App
trying to get my command prompt up in my SDK tools folder so i can root my nexuz when i get it. but when i hold the shift key and right click i dont get the option for open command promp here? could it be blocked since im on my work computer? i also tried going
start>run cmd.
it starts off in H...
then i type
cd C:\android-sdk-windows\platform-tools
and it just goes right back to H? am i doing something wrong?
Are you on Windows 7?
If you are, go to your tools folder and right click anywhere inside the folder while holding the shift key. Select "Open command window here" from the menu.
If you're on XP, try these commands after running "cmd":
C:
cd android-sdk-windows
cd platform-tools
flakz0r said:
Are you on Windows 7?
If you are, go to your tools folder and right click anywhere inside the folder while holding the shift key. Select "Open command window here" from the menu.
If you're on XP, try these commands after running "cmd":
C:
cd android-sdk-windows
cd platform-tools
Click to expand...
Click to collapse
that worked! thanks a bunch! was trying the shift thing and didnt work... running XP so that must be why. and didnt know you had to split the folders up when moving. thanks again!
Hi, i want to unlock my bootloader, and i know that i must use fastboot app on my computer.
But everytime i click on fastboot.exe it's turn off after 1 second?
What I do wrong?
hurdleman said:
Hi, i want to unlock my bootloader, and i know that i must use fastboot app on my computer.
But everytime i click on fastboot.exe it's turn off after 1 second?
What I do wrong?
Click to expand...
Click to collapse
It's a command line program, so you have to open a command prompt to the directory fastboot is in
An easy way to get command prompt to the correct directory is to hold shift and right click on an empty space in the folder (make sure no files are selected), then an "open command window here" option can be selected
no offence but if you fail at loading a CLI program then maybe you should re consider unlocking your device. but if you know what your doing and this was a genuine silly mistake then feel free to unlock it.
Fma965 - Forgottencoders.co.uk
jacklebott said:
An easy way to get command prompt to the correct directory is to hold shift and right click on an empty space in the folder (make sure no files are selected), then an "open command window here" option can be selected
Click to expand...
Click to collapse
The shift - click method only works in Windows 7, I think.
But you can also open up a CMD window and use the CD command (Change directory). Type in cd and then drag and drop the folder containing the fastboot files in the CMD window and then press Enter.
Sent from my R800i using xda premium
What is the easiest method to root HTC one that is on 4.2.2?
cis314 said:
What is the easiest method to root HTC one that is on 4.2.2?
Click to expand...
Click to collapse
Here's what you're looking for...it's your only option if you don't want to mail it anywhere:
http://forum.xda-developers.com/showthread.php?t=2473644
Sent from my HTC6500LVW using XDA Premium 4 mobile app
cis314 said:
What is the easiest method to root HTC one that is on 4.2.2?
Click to expand...
Click to collapse
I finally got my htc one rooted and flashed plenty of roms so far I had a lot of stupid issues with rooting but guys on here were very helpful even tho I had to ask questions over and over again to troubleshoot problems. Easiest way was to dl rumrunner and get s-off and bootlader loaded. Them just flash a recovery. My buggiest prob was getting all files on my comp into a separate folder and opening a cmd from that folder. Also remember to always run stuff on ur comp as an administrator!
how did you flash recovery? I am having such a hard time flashing recovery!
cis314 said:
how did you flash recovery? I am having such a hard time flashing recovery!
Click to expand...
Click to collapse
put recovery.img in adb folder
open cmd prompt
type fastboot flash recovery nameofrecvovery.img
andybones said:
put recovery.img in adb folder
open cmd prompt
type fastboot flash recovery nameofrecvovery.img
Click to expand...
Click to collapse
Easier to just type "fastboot flash recovery (drag recovery.img here)"
that way you can save the recovery on your desktop or wherever. I wish adb/fastboot could be ran from anywhere and not just the adb folder though.
exzacklyright said:
Easier to just type "fastboot flash recovery (drag recovery.img here)"
that way you can save the recovery on your desktop or wherever. I wish adb/fastboot could be ran from anywhere and not just the adb folder though.
Click to expand...
Click to collapse
if you set it up correctly it can be, I can put the .img in my C folder, open a cmd and run commands, but it would still need the adb file.
so put the recovery whereevere your adb.exe is..
you can even make a folder called apktool in c: (thats what I have, that has adb.exe, fastboot, smali, baksmali, etc)
andybones said:
if you set it up correctly it can be, I can put the .img in my C folder, open a cmd and run commands, but it would still need the adb file.
so put the recovery whereevere your adb.exe is..
you can even make a folder called apktool in c: (thats what I have, that has adb.exe, fastboot, smali, baksmali, etc)
Click to expand...
Click to collapse
Adding the path to the adb.exe (and fastboot.exe) directory, to the environment variables, allows you to run ADB and Fastboot from any directory.
In Windows, right+click "Computer", select "Properties", click on "Advanced System Settings". On the "Advanced" tab select "Environment Variables" . In the bottom window find the "Path" string and add the path to ADB directory to the end.
The Paths in the string are separated by a semi-colon, so for example, I've added the path to my platform-tools directory like such:
;c:\android-sdk\platform-tools
This can also be done in Linux and Mac OS X, environment variables are stored in a hidden text file in the home folder. You can also adde it by typing the the PATH command in a terminal. Just Google it. Only takes a minute and saves time by not having to "CD" to your ADB directory every time.
EDIT: This Tut. has nice screen shots
http://forum.xda-developers.com/showthread.php?t=757233
Morning.
No doubt I am missing something dumb out here but I'm having problems here. Following HTC Dev instructions to the letter but when I open CMD it says C:\Windows\system32 NOT C:\Users\Admin\cd \Android
Tried typing in fastboot devices and just get not recognized. I've installed SDK, HTC Sync, JAVA etc.
Any help would be gratefully received
Navigate to the folder where also the fastboot exe file is located, open the command prompt directly in there and type the command again.
Mr Hofs said:
Navigate to the folder where also the fastboot exe file is located, open the command prompt directly in there and type the command again.
Click to expand...
Click to collapse
Thanks. Resolved.