I recently received a replacement One because the other developed a weird crack in the screen. I have a windows 8 machine and I have done everything I can try to try get adb to work with this phone and it never does. Suggestions?
coled91 said:
I recently received a replacement One because the other developed a weird crack in the screen. I have a windows 8 machine and I have done everything I can try to try get adb to work with this phone and it never does. Suggestions?
Click to expand...
Click to collapse
when you type ADB into console what does it say?
it says adb is not recognized as an enternal or external command, operable program or batch file
coled91 said:
it says adb is not recognized as an enternal or external command, operable program or batch file
Click to expand...
Click to collapse
Is the adb binary in your PATH?
coled91 said:
it says adb is not recognized as an enternal or external command, operable program or batch file
Click to expand...
Click to collapse
this is because ADB is not set in paths for windows.
lets take it one step at a time.
open a cmd and type the path to where the folder is held:
(ex mine is on the C:\ under android)
for me it would be:
Code:
cd C:\android
once you've cd to the folder type:
Code:
adb devices
whats the output?
coled91 said:
it says adb is not recognized as an enternal or external command, operable program or batch file
Click to expand...
Click to collapse
Hey were you able to fix your issue? I had a similar issue and ended up following this guy's guide: http://zacktutorials.blogspot.com/2013/04/adb-is-not-recognized-as-internal-or.html
about halfway down I changed the paths to make it easier for me. Also there's a 15-second adb installer http://forum.xda-developers.com/showthread.php?t=2588979 that works great for windows 8.1.. hope this helped
Related
To start off, yes I am a complete noob to this, so bear with me. I have been trying for hours to get the adb info to install on my computer so I can root with the new 2.2 method. I have Vista/32 bit and I have tried multiple ways to install, from guides here and you-tube and nothing will recognize the adb in cmd.exe. I have copied the sdk info into a tools folder like I'm supposed to, I think, and followed the instructions and all I get is that it is not recognized or not an executable file or whatever.... Can someone please offer some help here?? Thanks in advance
did you try to run abd from the /android-sdk/tools folder in the command prompt? and did you add the path to the enviroment variables?
I have tried to run it from the folder, and I thought I had it added but I'll double check...
OK, it's in the path now, but I still get a 'not recognized as an internal or external command, operable program or batch file.' I'm stuck in the mud, spinning my wheels....
I get the same thing with win7 I can get the command prompt android tools folder hit enter and it said 'not recognized as an internal or external command, operable program or batch file
Ooooh...I got it...had the cmd info in wrong folder...needed it in the same tools folder...thanks folks
Yeah, getting adb into your path is kinda hard the first few times. I add it to both of my Paths and then reboot. If you follow the documentation on the Android site, it usually works after a reboot.
To make sure its just a path issue, you go to your sdk folder and navigate to tools (in the command prompt, of course, which is done by "cd \path\to\sdk\tools\") and then typing adb. If that works, then you type adb devices and make sure your phone is found. If that works, then all you need to do is finish the path installation and reboot. That's usually how I get it. Once on your path, you can adb shell from any location on your computer, which is nice when you want to push files to your phone.
trying to root using this methods:
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
I start doing the temp root as it explains to do first. on the first command (adb push su /sdcard/su) i get "permission denied".
I have the sd card mounted to my phone not the computer. I appreciate your help.
Are you sure that ADB is working in general? What happens when you enter the command "adb devices"?
All that command is doing is copying a file from your computer to the root of the SD card, most of the time the SD card will be formatted with FAT32 and there aren't even any security settings for that.
You could use other methods to get the files from your PC to your phone but I'd be concerned you have an ADB problem.
raitchison said:
Are you sure that ADB is working in general? What happens when you enter the command "adb devices"?
All that command is doing is copying a file from your computer to the root of the SD card, most of the time the SD card will be formatted with FAT32 and there aren't even any security settings for that.
You could use other methods to get the files from your PC to your phone but I'd be concerned you have an ADB problem.
Click to expand...
Click to collapse
I see a device listed there which matches my phones s/n.
I agree, i would like to see ADB working properly. Any suggestions are very welcome. Thanks.
OK so let's assume that ADB is working then, I wonder if something strange is going on with your SD card, do you have another card you can use for testing, take a card (even an old 1GB card will do), format for FAT32, put in the device and try again.
Can you copy ANY file to your SD card?
Test by copying any file to the SD card, I'd probably create a small text file and then run:
adb push test.txt /sdcard/test.txt
Click to expand...
Click to collapse
Assumes the file you are using is named "test.txt" of course.
Also make sure the folder you run your ADB commands from is the folder that contains the files you want to push, if you have ADB files in your path you can run the ADB commands from whichever folder you downloaded the files to. Otherwise copy the files to the folder where ADB lives.
I think i have a spare card somewhere, i will look for it when i get home.
I know i can copy stuff to my sd card using windows explorer when i "turn on usb storage"
I tried using a test text file i created, no dice. I put the files in the same place as adb, and additionally tried using the absolute path.
Also, i tried running the command: adb push rage /data/local/tmp/rage
which i believe is copying the built in memory and not the sdcard, this also gave me "permission denied"
Did you enable USB debugging on your phone?
ianmcquinn said:
Did you enable USB debugging on your phone?
Click to expand...
Click to collapse
Yes
Sent from my T-Mobile G2 using XDA App
And you typed in no other commands prior (e.g., no "adb shell" or anything like that)? What OS are you using? Also, can you post what all you are seeing on the screen (i.e., what you typed in and what got returned) or even a screenshot?
How did the fresh/formatted MicroSD card change things?
Also can you "ADB Pull" files from your phone to your PC?
ianmcquinn said:
And you typed in no other commands prior (e.g., no "adb shell" or anything like that)? What OS are you using? Also, can you post what all you are seeing on the screen (i.e., what you typed in and what got returned) or even a screenshot?
Click to expand...
Click to collapse
Well i typed in "adb shell" to get into the console
b1ackhawk said:
Well i typed in "adb shell" to get into the console
Click to expand...
Click to collapse
That's the problem then. ADB push/pull commands cannot be done from within the ADB shell command prompt. ADB shell is the equivalent of running Terminal on your phone itself. Do not start with ADB shell and you should be fine (none of the guides say to run the "adb shell" command first either).
raitchison said:
How did the fresh/formatted MicroSD card change things?
Also can you "ADB Pull" files from your phone to your PC?
Click to expand...
Click to collapse
havent found my spare card yet. although i cant push system memory either, which needs to be solved.
adb pull also gives me "permission denied"
ianmcquinn said:
That's the problem then. ADB push/pull commands cannot be done from within the ADB shell command prompt. ADB shell is the equivalent of running Terminal on your phone itself. Do not start with ADB shell and you should be fine (none of the guides say to run the "adb shell" command first either).
Click to expand...
Click to collapse
DOH! I knew it was going to be some stupid step i did wrong. Ive done this before, but obviously too long ago (tmo G1)... Huge thanks for being able to deconstruct my backwards thinking.
i plug my G2 running ICS 4.0.3 into my computer with usb debugging turned on. I type in the command prompt "adb devices" but it dosent recognize my G2 at all...all i get is "adb is not recognized as an internal or external command, operable program or batch file" can anyone help me out...i want to push some files to my system directory but adb just wont recognize the damn phone.
MMontanez347 said:
i plug my G2 running ICS 4.0.3 into my computer with usb debugging turned on. I type in the command prompt "adb devices" but it dosent recognize my G2 at all...all i get is "adb is not recognized as an internal or external command, operable program or batch file" can anyone help me out...i want to push some files to my system directory but adb just wont recognize the damn phone.
Click to expand...
Click to collapse
Set up a. System path to adb or cd to the location of adb
Sent from my HTC Vision using XDA App
MMontanez347 said:
i plug my G2 running ICS 4.0.3 into my computer with usb debugging turned on. I type in the command prompt "adb devices" but it dosent recognize my G2 at all...all i get is "adb is not recognized as an internal or external command, operable program or batch file" can anyone help me out...i want to push some files to my system directory but adb just wont recognize the damn phone.
Click to expand...
Click to collapse
Did you add the right line in 51-android.rules?
Sent via smoke signal.
MMontanez347 said:
i plug my G2 running ICS 4.0.3 into my computer with usb debugging turned on. I type in the command prompt "adb devices" but it dosent recognize my G2 at all...all i get is "adb is not recognized as an internal or external command, operable program or batch file" can anyone help me out...i want to push some files to my system directory but adb just wont recognize the damn phone.
Click to expand...
Click to collapse
Do you perhaps have Boot manager installed.
I had it recently and adb would not work for me.
After i uninstalled it everything went back to normal
MMontanez347 said:
i plug my G2 running ICS 4.0.3 into my computer with usb debugging turned on. I type in the command prompt "adb devices" but it dosent recognize my G2 at all...all i get is "adb is not recognized as an internal or external command, operable program or batch file" can anyone help me out...i want to push some files to my system directory but adb just wont recognize the damn phone.
Click to expand...
Click to collapse
Run adb from the directory it is in...you can do this easily by holding shift and right clicking withing the directory your adb.exe file is in. You can then click open command prompt here. That will allow you to then type adb devices but I have a feeling you won't see any devices...unless you set this up before.
Sent from my HTC Vision using XDA App
First of all get the G2 usb drivers install it on the pc..second on the cmd type in
Cd/
Cd androidsdk/tools/
adb devices
*your phone should be pluged in...most time the reason why it won't pick up the device is because the drivers aren't installed.
Sent from my HTC Glacier using xda premium
What guide did you use to set up ADB? Maybe you should just completely remove it and install it again and see if that makes a difference. I used this guide http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK, to set up ADB for myself and it has always been working correctly (even wirelessly). Before trying out that guide though, I would suggest trying to see if ADB works on a gingerbread ROM as both Virtuous Quattro and Andromadus ROM (i'm assuming you're using one of these) are not fully stable and it could simply be an issue with the build of ICS that you are using.
Guys the first reply already answered the original question. That error message is a standard one for the Windows command line if it doesn't recognise a command at all - i.e. it doesn't know where to find "adb". So most likely the path wasn't setup, as has been said.
Sent from my Desire Z running CM7.
So i think I bricked my kindle fire. It is rooted and when trying to install a new ROM, i accidentally selected the fastboot option. Now, when I power it on, all i get is the logo and it never loads. I cannot get into the boot manager to try anything. I have tried the Kindle Unbrick utility from this link: http://forum.xda-developers.com/showthread.php?t=1428428 and it says waiting for device when I run the stuck on logo option. Is there anything else I can do? I really dont want to get another one. Any help would be appreciated! I can't post in the development forum so thats why i posted here. Thanks everyone.
What version of Windows are you using?
Read the WHOLE first post of the Unbrick Utility thread. It's a driver problem.
Thanks I got it to work now but now when I plug it into the USB, it does not show that I can open it and drop files. I go into TWRP and try to mount the USB and it will not let me and I am unsure what to do!
roykurka said:
Thanks I got it to work now but now when I plug it into the USB, it does not show that I can open it and drop files. I go into TWRP and try to mount the USB and it will not let me and I am unsure what to do!
Click to expand...
Click to collapse
If you're using an ICS ROM I don't believe mounting "mass storage" works on all of them.
Does it saying anything when trying to mount USB in TWRP? What does "won't let me" imply? Windows or TWRP throws an error message?
When I go into TWRP and go to MOUNT and then try to select Mount SDCard it will not let me check the box. I have a ROM running on it now but I cannot access the SD card when I plug it into the computer.
roykurka said:
When I go into TWRP and go to MOUNT and then try to select Mount SDCard it will not let me check the box. I have a ROM running on it now but I cannot access the SD card when I plug it into the computer.
Click to expand...
Click to collapse
What ROM are you using?
nchevaux said:
What ROM are you using?
Click to expand...
Click to collapse
i am using CyanogenMod 9.0.0-RCO-otter-UNNOFFICIAL
Also, when i go to the about tablet on the Kindle and look at Model Number, it shows Galaxy Nexus.....
Any other suggestions or help?
roykurka said:
Any other suggestions or help?
Click to expand...
Click to collapse
Boot into TWRP and get to a prompt using adb shell. Then use this command to open parted...
Code:
parted /dev/block/mmcblk0
When you get to the "(parted)" prompt...
Code:
print
The last line, the media partition, is what gets mounted as /sdcard on your device. It should have a "fat32" file system type. If you don't have that, you need to make a new filesystem on that partition.
Code:
mkfs 12 fat32
12 is the partition number and fat32 is the filesystem type you want to use to format the partition. If memory serves, parted will ask you for this information again to confirm. Remember... 12 and fat32. Once you are done, you can...
Code:
quit
Once you've done that, TWRP should be able to see the partition and allow you to mount it on your host computer. You might have to restart TWRP... I don't remember.
I have not been able to get adb to run. When i boot to TWRP and go to the command prompt and type adb devices it says " 'adb' is not recognized as an internal or external command, operable program or batch file."
I set the path to where the android sdk is located and it still doesnt work.
Im sure I sound like a newb or something but I am just not as tech savy with these kind of things. thanks everyone for your help with this.
roykurka said:
I have not been able to get adb to run. When i boot to TWRP and go to the command prompt and type adb devices it says " 'adb' is not recognized as an internal or external command, operable program or batch file."
I set the path to where the android sdk is located and it still doesnt work.
Im sure I sound like a newb or something but I am just not as tech savy with these kind of things. thanks everyone for your help with this.
Click to expand...
Click to collapse
Find the adb executable through Windows Explorer. Once you find the folder containing adb, shift-right-click inside that folder and select "Open command window here" and then you'll be able to use the adb command.
Another way to do it is to download the Kindle Fire Utility distribution and follow the third post in this link...
http://forum.xda-developers.com/showthread.php?t=1552547
You don't have to set the path to anything special if you do it one of those two ways.
roykurka said:
I have not been able to get adb to run. When i boot to TWRP and go to the command prompt and type adb devices it says " 'adb' is not recognized as an internal or external command, operable program or batch file."
Click to expand...
Click to collapse
It seems you have set your path incorrectly. I found it easiest to just copy the entire platform-tools folder to the root of C:\ and run adb from there (You could also use a Windows shortcut to cmd with "start in" filled out, or use shift-right click through explorer).
Definitely try to get adb working; when I first rooted my Kindle it took me an hour to fix a boot-loop without adb (damn drivers), and only seconds with adb.
kinfauns said:
Boot into TWRP and get to a prompt using adb shell. Then use this command to open parted...
Code:
parted /dev/block/mmcblk0
When you get to the "(parted)" prompt...
Code:
print
The last line, the media partition, is what gets mounted as /sdcard on your device. It should have a "fat32" file system type. If you don't have that, you need to make a new filesystem on that partition.
Code:
mkfs 12 fat32
12 is the partition number and fat32 is the filesystem type you want to use to format the partition. If memory serves, parted will ask you for this information again to confirm. Remember... 12 and fat32. Once you are done, you can...
Code:
quit
Once you've done that, TWRP should be able to see the partition and allow you to mount it on your host computer. You might have to restart TWRP... I don't remember.
Click to expand...
Click to collapse
When i try the first command, i get the same response saying parted is not recognized as an internal or external command, operable program or batch file.
I have the kindle in TWRP and connected to the PC. What do I do now?
roykurka said:
When i try the first command, i get the same response saying parted is not recognized as an internal or external command, operable program or batch file.
I have the kindle in TWRP and connected to the PC. What do I do now?
Click to expand...
Click to collapse
okay... I'm going to make this super easy for you... get ADB working...
1. Download attached "adb.zip"
2. Extract adb.zip to a folder
3. Double-click "CLICK ME!!!"
4. Type "adb" and see instructions come up
5. Type "adb devices" and see a 12-digit code
now reread your own thread and try all those instructions again in ADB
P.S. type "ADB shell" before trying the instructions from kinfauns
When I type the adb devcies it says "list of devices attached but does not show anything.
I apologize for probably something so simple
roykurka said:
When I type the adb devcies it says "list of devices attached but does not show anything.
I apologize for probably something so simple
Click to expand...
Click to collapse
I think you should back up a bit and read this...
http://forum.xda-developers.com/showthread.php?t=1552547
Start at post #1... follow the steps in #2 and confirm your device drivers are getting loaded properly... study #3 for fastboot and adb commands.
#2 is going to be the most important for you because it looks like there's a problem with your device drivers or you are missing a necessary initialization file. Following the directions there will get you fixed up.
After doing all that, go back to my previous post.
It works, I got to mount the SD card and everything. Thank You everyone for all of your help!
My KF is bricked. It has TWRP on it but it has been wiped clean and my pc will not recognize it. It does in ADB, I keep seeing write the CODE: then stuff. I was told I could to where I needed to write this code by right clicking on the KFU Tools folder. I then get C:\android\Kindle Fire Utility>
Now that being said.. where do I begin to type the fastboot -i Ox1949 and so on. Sure do need some much appreciated help assistance.
Boot into TWRP and then do what Josepho1997 said. Then you can just flash the rom.
The "Rom.zip" would be the file path to wherever the rom is saved on your computer.
Where can I write the tag
Josepho1997 said:
So you just have no OS?
Boot into TWRP. Then Download and transfer the ROM via adb
Code:
adb push Rom.zip /sdcard
Then flash the ROM.
Sent from my Kindle Fire
Click to expand...
Click to collapse
But where do I code?
adb in cmd not recognized as a command
Josepho1997 said:
In cmd. Open up cmd, run adb, and then type that code. And remember what veeman said. When I say Rom.zip, you must put both the correct name and directory applicable to you. (Ex. C:\AlienDroid.zip)
Sent from my Kindle Fire
Click to expand...
Click to collapse
in cmd, adb is not recognized as a internal or external command, operable program or batch file.
Know how long it's been since I used cmd. Help me out please.
You need to open the cmd window when you are in the directory that contains the adb.exe file. Usually this is in C:/kfu/tools directory. The easiest way to do that is to use windows explorer and navigate to that directory then press shift and right click your mouse then select the option "open command window here". You should now be able to issue adb commands.
Sent from my Amazon Kindle Fire using Tapatalk 2
nacraracer said:
in cmd, adb is not recognized as a internal or external command, operable program or batch file.
Know how long it's been since I used cmd. Help me out please.
Click to expand...
Click to collapse
Easiest way is to download the Kindle Fire Utility and then navigate to the tools directory in the command line. Then you can run adb and fastboot commands.
Still won't communicate
veeman said:
Easiest way is to download the Kindle Fire Utility and then navigate to the tools directory in the command line. Then you can run adb and fastboot commands.
Click to expand...
Click to collapse
I have tried everything to get the computer to see the kindle. adb commands are not working. Just says waiting on device, tried to adb push a rom and it just said device not found.
I was able to bring up a fastboot menu one time but once there it wouldn't respond.
Any ideas please.
I am looking at the TWRP v2.2.0 screen. It will not mount either
nacraracer said:
I have tried everything to get the computer to see the kindle. adb commands are not working. Just says waiting on device, tried to adb push a rom and it just said device not found.
I was able to bring up a fastboot menu one time but once there it wouldn't respond.
Any ideas please.
I am looking at the TWRP v2.2.0 screen. It will not mount either
Click to expand...
Click to collapse
Have you installed the drivers?
veeman said:
Have you installed the drivers?
Click to expand...
Click to collapse
I did install the google drivers at the fire tool kit