[Q] Help With Admin Command Prompt - HTC Inspire 4G

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!

Related

using adb

I feel like an idiot. I keep reading posts and instructions on how to use the adb/adb shell. Everything I read seems to indicate that the knowledge on how to open the adb command window is something that any idiot should be able to do... So much so, that no one explains how! I must be missing something!
I have installed eclipse and the sdk, the ADT plugin, etc. I run adb.exe and a command window flashes on my screen and immediately fades away. I can't even read what was posted in the window.
I know I am missing something but I guess I am just too inexperienced to know what that is. I can't find anything on the web that will tell me what file to open or sequence of files to open to access the adb command window.
Someone please help out a hopeless nuub!
Thanks
I am running Windows Vista 64 and have installed the 64bitUSB drivers. I can open an emulator, I can run the terminal on my G1, have installed the JK modified r30 on my phone.
add the whole path to your sdk/tools folder to your windows environment path: (right click my computer, click properties, select "advanced" select "environment variables" and look for "Path" in the bottom list, select "Path" and click "edit" then at the end of the existing path info, add a semicolon, and then paste in the complete path to your sdk/tools folder, click save, and close all the windows.
now, goto start, run, and type cmd.exe, a command line window will appear, type "adb" and it should work.
cheers,
-- michael
you can also use google to search the forum when you are looking for 3 letter terms (the forum search function is 4+ characters)
http://www.google.com/search?hl=en&q=site:http://forum.xda-developers.com/+android+adb
--M
you don't use adb by pressing adb.exe in the tools folder you use it with command prompt go to programs and to accessories and look for command prompt now you can use adb like adb remount and pull push so on with your phone connected to the pc can you see your phone in ddms you open it from the sdk tools folder where the adb.exe is and if you can use adb.exe to open command prompt it don't work for me ether
I'm guessing that when I get all the ADB info after typing "adb" in the command window that it is working correctly?
If you run adb with no args, it will simply return a short summary of available args and terminate. In Windows if the window is opened by a program using the command line rather than directly calling cmd.exe, it will automatically close when the program terminates. The solution is to use cmd and then adb from within that.
Jashsu - Thanks! that was what I needed to know! LOL I am such a noob!!!
I had access to adb all the damn time! I just didn't know it! DUH!
I now have Koush's auto rotating browser installed! AWESOME.
Thanks to all who responded! I am learning pretty quick. But, some things are just so commonly known by dev's that they just aren't explained very well.
I found a couple of books I'm going to purchase so I don't have to keep bugging all of you. But, you guys are the greatest. Thanks for the help!

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

[Q] Rooting?

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

I need help with ROOT. Yes I have searched.

I have followed the guide here without success:
http://forum.xda-developers.com/showthread.php?t=1056847
The G2X is running 2.3.4 and the Mac runs Snow Leopard 10.6.8 and Windows XP Pro via Boot Camp/VMWare Fusion.
APX drivers intall no problem, but every time I try to run NVFlash I get the following error:
"nvflash.exe is not recognized as an internal or external command, operable program or batch file."
I have it extracted to a folder on the desktop.
Please help!:fingers-crossed:
I
joarce said:
I have followed the guide here without success:
http://forum.xda-developers.com/showthread.php?t=1056847
The G2X is running 2.3.4 and the Mac runs Snow Leopard 10.6.8 and Windows XP Pro via Boot Camp/VMWare Fusion.
APX drivers intall no problem, but every time I try to run NVFlash I get the following error:
"nvflash.exe is not recognized as an internal or external command, operable program or batch file."
I have it extracted to a folder on the desktop.
Please help!:fingers-crossed:
Click to expand...
Click to collapse
Must be a vm issue as its not recognizing the exe file extension
Sent from my LG-G2x using Tapatalk 2
Sry double post
Sent from my LG-G2x using Tapatalk 2
I realize this may be obvious, but are you sure your working directory is the one when nvflash is located? Gotta check the simplest stuff first.
I extracted the .rar to folders on the desktop; the .rar itself is in the downloads folder.
Verify id nvflash.exe is in same dir?
Sent via G2X-SINGH-UI
Yes, nvflash.exe is in the same folder; there are 26 files in the folder.
So you seem to be trying to use nvflash.exe, but why don't you try using OneClickRecoveryFlasher.exe ? I don't remember using command prompt before so I'm kind of confused as to why you're using it.
I am attempting to use OneClickRecoveryFlasher.exe; it opens fine, and while depressing both volume rockers I connect my phone via USB, Windows recognises it (nVidia mobile driver is there in Device Manager), I choose Flash CWM 5.0.2.0 Internal and External SD ROM, and then the error message I get, in a blue window, is:
"nvflash.exe is not recognized as an internal or external command, operable program or batch file."
Every time.
Try running one of the scripts directly? Since that's all its really doing...
Sent from my LG-P999 using Tapatalk 2
Okay, I put together a simple batch file that emuilates OneClickRecoveryFlasher.exe. I tested it and it works, so here's hoping it works for you. Let me know if I messed anything up.
http://www.mediafire.com/?5r8obws9bh36bnf
I'm obviously doing something wrong, because that didn't work for me either. I extracted it to a folder on the desktop, and when I entered 1 and then enter, the window disappeared.
The procedure I use it, open NVFlash, depress the volume rockers and connect the phone via USB. At what point do I let go of the volume rockers?
I think there's your problem. Put your phone in update mode by holding down the buttons, THEN start NVFlashAid (unless you actually know the nvflash commands). Keep the buttons held until the window closes. Don't worry, it's really quick.
No difference, unfortunately. The NVFlashaid window disappears, and nothing else happens.
Within the NVFlashAid folder, there is the RUNME!.bat and a folder called NVFlashAid which contains multiple files, including RUNME!.bat. I have tried it with both RUNME!s with the same result.
nvflash.exe --bct HYNIX.bct --bl fastboot.bin --download 5 CWM_5.0.2.0.img
Navigate to that directory in command prompt, put the phone in update mode, and run that command. That's the last thing I can think of.
The battery is in when ur holding the buttons down?
Sent from my LG-P999 using Tapatalk 2
XTM16 said:
nvflash.exe --bct HYNIX.bct --bl fastboot.bin --download 5 CWM_5.0.2.0.img
Navigate to that directory in command prompt, put the phone in update mode, and run that command. That's the last thing I can think of.
Click to expand...
Click to collapse
Regrettably, I'm not savvy enough to know how to do that. I do know how to open the cmd prompt and copy/paste the quoted script, but navigating to the directory first is beyond me. I did copy/paste that and when I hit enter I got the same error message as mentioned in my previous posts. I do thank you for your time and effort though. :good:
djvoleur said:
The battery is in when ur holding the buttons down?
Sent from my LG-P999 using Tapatalk 2
Click to expand...
Click to collapse
No, I am following the guide from this thread:
http://forum.xda-developers.com/showthread.php?t=1056847
Oh, why didn't you say you don't know how to change directories? Copy the NVFlashAid folder to the root of the C: drive (that is, C:\). Now open up command prompt, type in the following without the quotes "cd C:\NVFlashAid". Then use the command I listed.
Thank you for your continued efforts, but same error message:
"nvflash.exe is not recognized ..." bla bla bla
I'm wondering if it's a VMWare issue. I have succesfully rooted other phones through VMWare but the guide below says to "kill" Vm Ware:
http://forum.xda-developers.com/showthread.php?t=1056847
This is the only way I know how to run Windows on this laptop.
Are you using 64bit os?
Sent via G2X-SINGH-UI

[Q] Trying to install Android L

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

Categories

Resources