[Q] Trying to install Android L - Nexus 5 Q&A, Help & Troubleshooting

I've been following BGR.in's guide (can't post link) on how to install android developer preview on my nexus 5. I'm on the last step "Now that the device is prepped, in the command prompt simply type the flash-all command." and this is what I get:
"Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all
'flash-all' is not recognized as an internal or external command,
operable program or batch file."
hammerhead-lpv79-preview-ac1d8a8e.tar is in the same folder as the program. I launched py_cmd to enter the command.
Am I doing something wrong? Please help me flash this new beta version of android.

oli_ramsay said:
I've been following BGR.in's guide (can't post link) on how to install android developer preview on my nexus 5. I'm on the last step "Now that the device is prepped, in the command prompt simply type the flash-all command." and this is what I get:
"Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all
'flash-all' is not recognized as an internal or external command,
operable program or batch file."
hammerhead-lpv79-preview-ac1d8a8e.tar is in the same folder as the program. I launched py_cmd to enter the command.
Am I doing something wrong? Please help me flash this new beta version of android.
Click to expand...
Click to collapse
You need to type "flash-all.bat" not just "flash-all"

Brushstroke said:
You need to type "flash-all.bat" not just "flash-all"
Click to expand...
Click to collapse
Hi, thanks for the quick reply!
This is what I get when I type that:
"C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all.bat
'flash-all.bat' is not recognized as an internal or external command,
operable program or batch file."
I'm using py_cmd.exe
Windows 8.1 x64
starting to panic lol

Tried this:
Right-click on My Computer and select Properties.
Choose Advanced, and click on the Environment Variables button.
Navigate to System Variables and double click on Path to edit.
Enter the full path to your tools folder.
Still get the same message.
someone PLEASE help me!!!

There's no "flash-all.bat" file in the folder:
C:\Program Files (x86)\Minimal ADB and Fastboot
Should there be, where do I get it from if so??
Thanks!

first unpack the tar file

david279 said:
first unpack the tar file
Click to expand...
Click to collapse
Thank you so much!!!

http://forum.xda-developers.com/showthread.php?t=2796217
Android "L" Developer Preview Help, Troubleshooting, Q&A
Sent from my Nexus 5 using Tapatalk

Related

ADB error

I am running adb on windows vista. and When i type in the command:
C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools>adb devices
My phone comes up. But when i try to install apks from another folder like so:
C:\Users\korey\Desktop\Esquire\HTC Magic\CrackedApps> adb install NemoPlayer.apk
It gives an error saying: 'adb is not recognized as an internal or external command,
operable program or batch file.
can some one please help me with this i would really appreciate it
"crackedapps" eh?
This thread is hilarious
Esquire22 said:
I am running adb on windows vista. and When i type in the command:
C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools>adb devices
My phone comes up. But when i try to install apks from another folder like so:
C:\Users\korey\Desktop\Esquire\HTC Magic\CrackedApps> adb install NemoPlayer.apk
It gives an error saying: 'adb is not recognized as an internal or external command,
operable program or batch file.
can some one please help me with this i would really appreciate it
Click to expand...
Click to collapse
You need to add "C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools" to your PATH environment variable.
Please post in the correct forum next time

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

Trying to sideload, error message. Help!

Says my phone is connected fine and everything, but when I click on install (android central sideloader app) I get this:
adb is not recognized as an internal or external command, operable program or batch file.
How do I fix this?
download sdk from google place the apk in the tools folder shift+right click on tools open command prompt.
adb devices (make sure your phone is connected with charge only and debugging on)
adb remount
adb push ./(apk name) (space)/system/app
mudknot2005 said:
download sdk from google place the apk in the tools folder shift+right click on tools open command prompt.
adb devices (make sure your phone is connected with charge only and debugging on)
adb remount
adb push ./(apk name) (space)/system/app
Click to expand...
Click to collapse
Can you put that in noob wording? lol
brian85 said:
Can you put that in noob wording? lol
Click to expand...
Click to collapse
Download Android SDK from here: http://developer.android.com/sdk/index.html
Extract it
Find Tools Folder in SDK Directory - copy/paste apk file in this folder.
click tools folder - press shift + Right to open command prompt
in command prompt type: adb devices then enter (this will make sure your phone is recognized and in the right state so you can continue)
in command prompt type: adb remount then enter (for lack of better terms...this prepares your phone)
in command prompt type: adb push ./(apk name) (space)/system/app then enter (this will transfer the apk to your phone.)
Ok I think that's right...I'm still learning adb and all involved. If I'm wrong, one of you more experienced guys correct me.
the phone also needs to be in charge only and go to settings>applications>debugging, debugging will have to be on.
mudknot2005 said:
the phone also needs to be in charge only and go to settings>applications>debugging, debugging will have to be on.
Click to expand...
Click to collapse
Already did that.
brian85 said:
Says my phone is connected fine and everything, but when I click on install (android central sideloader app) I get this:
adb is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
let me guess: Is the Ac_SWM folder on your desktop?
It needs to be in the root directory of your C: drive since the batch files are looking there.
In other words, it needs to be c:\AC_SWM, not "c:\documents and settings\<yourname>\desktop\ac_swm"

[Q] Help With Admin Command Prompt

I have created a gold card. Im trying navigate to where i extracted the files via CMD running as administrator. So that I can complete step 2 'downgrading the ROM" I keep receiving an error message pasted below.
" Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>C:\Users\Chris\Desktop\New folder
'C:\Users\Chris\Desktop\New' is not recognized as an internal or external comman
d,
operable program or batch file.
C:\Windows\system32>"
what am I doing wrong? I have copied that address directly from the folder.
Just shift + right click on the folder and open the command prompt from there see if that works.
Sent from Hey... This isn't where I parked my car.
I can open a command prompt doing it that way but I need to run it as an administrator
right click on icon, click on run as admin. That's it.
Sent from my inspire 4g using XDA Premium App
any time i have to navigate to a folder using command prompt, i usually just place in at the root of c:\
Makes it was easier to get to, but i had no idea about the right click method.. Good tip!

'fastboot' is not recognized as an internal or external command,operable program or

trying to flash the factory image on my nexus 5 to do the system update , and when i click flash all bat this is what its giving me.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
i am using windows 8 64bit and my adb files along with the image files is on my downloads folder...
Start here:
HERE
Also look up "path variables windows (whatever)"
are you opening your command prompt in platform-tools (or wherever your fastboot.exe is)? you havent given us much background on what you did to setup and what you've done to troubleshoot...
xBeerdroiDx said:
are you opening your command prompt in platform-tools (or wherever your fastboot.exe is)? you havent given us much background on what you did to setup and what you've done to troubleshoot...
Click to expand...
Click to collapse
He said there still in his(or her) DL folder. Hence my tips. lol
theesotericone said:
He said there still in his(or her) DL folder. Hence my tips. lol
Click to expand...
Click to collapse
i should finish reading the last sentence when i'm browsing posts. the devil's in the details. :good:
xBeerdroiDx said:
i should finish reading the last sentence when i'm browsing posts. the devil's in the details. :good:
Click to expand...
Click to collapse
Always. Read it all then laugh.
have no idea what to do...
GabrielOspina said:
have no idea what to do...
Click to expand...
Click to collapse
You need to cd in cmd to the directory you extracted your sdk tools to. Or drop the fastboot and adb files from your download into c:\windows\system32. Or add your extracted directory to environment variables as per the link.
Its not difficult if you read
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Alright same problem happened with me
Just go into the fastboot folder in cmd that gave you the error
Example: C:\Users\Vishnu\Downloads\Fastboot>fastboot oem lock
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Now in cmd type cd fastboot again
C:\Users\Vishnu\Downloads\Fastboot>cd fastboot
enter
so now it should say something like this
C:\Users\Vishnu\Downloads\Fastboot\Fastboot>
after that type in fastboot and whatever command you need like fastboot oem lock or whatever
That should do it
GabrielOspina said:
trying to flash the factory image on my nexus 5 to do the system update , and when i click flash all bat this is what its giving me.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
I think i might be able to help.
You do have the adb-tools and the adb-treiber folders right? And you have run the file in the adb-treiber folder, and unlocked the bootloader from the adb-tools folder, good.
Now copy all the files from the hammerhead-lrx21o folder into the adb-tools folder, and try and run the flash-all.bat file again.
Let me know if it works, it did for me.
- Flecks
Install abd drivers
install adb drivers
SupremeNaruto said:
Alright same problem happened with me
Just go into the fastboot folder in cmd that gave you the error
Example: C:\Users\Vishnu\Downloads\Fastboot>fastboot oem lock
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Now in cmd type cd fastboot again
C:\Users\Vishnu\Downloads\Fastboot>cd fastboot
enter
so now it should say something like this
C:\Users\Vishnu\Downloads\Fastboot\Fastboot>
after that type in fastboot and whatever command you need like fastboot oem lock or whatever
That should do it
Click to expand...
Click to collapse
It's not helping. LMAO Windows rlly?
Virussii said:
It's not helping. LMAO Windows rlly?
Click to expand...
Click to collapse
Did you find a solution?
mahesh0055 said:
Did you find a solution?
Click to expand...
Click to collapse
Yeah, in the same directory on CMD type:
./fastboot devices
Everything has to start with ./fastboot and then the command.

Categories

Resources