Where is fastboot??? - Nexus S Q&A, Help & Troubleshooting

It's no longer in /platform-tools after a clean install of latest SDK???
Has this tool been removed? How can I fix it? I need to use it!

http://koushikdutta.blurryfox.com/G1/

derekwilkinson said:
http://koushikdutta.blurryfox.com/G1/
Click to expand...
Click to collapse
so i downloaded it and extracted. doesn't do anything. moved to /platform-tools and still nothing, any ideas?

matt2053 said:
so i downloaded it and extracted. doesn't do anything. moved to /platform-tools and still nothing, any ideas?
Click to expand...
Click to collapse
Did u reboot after u installed it. That might help.
Sent from my Google Nexus S 4G using xda premium

It is missing by mistake:
http://tools.android.com/knownissues#tools_r14
Now how to get it working.... i am running Ubuntu 11.10

why don't you tell us what you have tried?
'cd' to the directory where the extracted binary is.
chmod +x fastboot
./fastboot

I don't understand what you have to get working? You simply run it... for example...
Code:
./fastboot devices
Should show your connected device. Do you have the full SDK installed and configured correctly? Does Ubuntu see your device as a disk drive if you even just simply plug it in?
Are you expecting a fastboot GUI? What are you expecting? Have you used fastboot before? etc?
More info here:
http://wiki.cyanogenmod.com/wiki/Fastboot

Do you have the phone in USB debugging?
Sent from my Google Nexus S 4G using xda premium

I had just rooted my Nexus S and I also had issues with Fastboot!
This missing file was really trick to me!
Googled for it and found fastboot.exe somewhere else.
In time for who just didn't get it:
Was an Google prank on droid newbies like me...SDK tool Rev14 and 15 doesn't came with fastboot...

matt2053 said:
so i downloaded it and extracted. doesn't do anything. moved to /platform-tools and still nothing, any ideas?
Click to expand...
Click to collapse
huh? you just cd to the directory and run the commands in command prompt/terminal/w.e. Have you used fastboot before?

derekwilkinson said:
huh? you just cd to the directory and run the commands in command prompt/terminal/w.e. Have you used fastboot before?
Click to expand...
Click to collapse
FASTBOOT.EXE IS NOT INCLUDED WITH NEWER ANDROID SDK.
This question is not about how to use fastboot. It's about why fastboot.exe is missing. Does everyone understand now?
Does anyone know why that is? Even the newest sdk I just downloaded does not include it.

Fastboot.exe is missing from the tools folder. It will be added later in tools 16. In the meantime it can be found in the tools 13 windows archive.

Keep the latest sdk installed and just download fast boot from Google search. That way your still using latest AND have fast boot. All fast boot is is a single exe file.
Sent from my Nexus S using xda premium

Related

[Q] adb is not recognized as......

I rooted my hero on 2.1 before on a different computer a while back so im fairly familiar with this process. But i when i type in the file path for the C:\android-sdk-windows\tools and hit enter then type adb devices i get an error message that says
'adb' is not recognized as an internal or external command,
operable program or batch file.
I tried all the troubleshooting i can think of like
making sure its the right path to the tools final
making sure debugging is on
deleting the drivers
reinstalling htc sync
I dont know is this info is relevant but ill share it any way.
Im running windows xp
its an old work pc so idk if i have Admin rights(How do i check??)
If any of you can help thatd be much appreciated
Did u add tools directory to the PATH?
Sent from my HERO200 using XDA App
Hey bird, I had the same problem a few days ago. solution for me was, that adb is not located in the tools folder anymore. its located in another folder.I'm not in front of my pc right now.just check where in the windows sdk folder the adb.exe is located now.
Hope that helps you too.
Greetz ricola
Sent from my HTC HD2 using XDA App
if its the updated sdk you will have to update it. close and restart,and then reopen your run command and type in \platform\tools\. they changed the file path when they updated the new tools.
ricola7 said:
Hey bird, I had the same problem a few days ago. solution for me was, that adb is not located in the tools folder anymore. its located in another folder.I'm not in front of my pc right now.just check where in the windows sdk folder the adb.exe is located now.
Hope that helps you too.
Greetz ricola
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Thank you very much i searched for adb.exe and found it in the platforms-tools folder thank you.
If any of you can help thatd be much appreciated
Click to expand...
Click to collapse
I'm too tired to read the whole thread right now, so someone has probably answered this, but here goes..
Previous versions of the Android SDK, adb was located in the tools folder, ie: if you installed the android SDK at C:\android-sdk-win, it would be c:\android-sdk-win\tools
The new release of the android sdk, adb has been moved, and is now located in the \platform-tools folder , ie; c:\android-sdk-win\platform-tools
much like the forums, file search is your friend sometimes
take care

Beginner's Guide to Installing the SDK and Getting Started with ADB

It looks like we may have some users that are new to rooting or to Android all together.
I posted these instructions in the perm root thread, but I figured putting them in their own thread would make it easier to find.
This is meant as a basic pre-cursor to following BCNice's perm root instructions.
I've added a link to TrueBlue_Drew's adb/fastboot guide here
If you use the method that I outline below just download his zip and extract the files to your desktop. Then move the fastboot file into your AndroidSDK\platform-tools sub directory. Thanks to Drew for putting together a great guide!
You will need fastboot installed to install BCNice20's recovery.img.
Make sure you have HTC Sync installed on your computer HTCSync
First download the SDK here
Make sure to dowload the installer_r09-windows.exe
Now install the SDK when prompted for the install path paste C:\AndroidSDK over the default path
Once you have installed it open it from the start menu
Select install packages
The main one we are concerned with is "Platform Tools"
Go to the start menu and right click on My Computer in XP Computer in Windows 7.
Select properties, then select advanced/advanced system settings in Windows 7, then environment variables, now go to the lower box (system variables) and select path then edit.
Paste the following as your path C:\AndroidSDK\platform-tools then select o.k.
Make sure you have temp root via Visionary or Z4.
On your phone go to Settings, Applications, Development, and make sure USB Debugging is checked.
Now connect your phone to your computer and leave the connection type as "charge only"
On your computer select Start, then run, type in CMD
Once in the Command Prompt enter
Code:
cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in
Code:
adb
If adb runs you are ready to start!
Type
Code:
adb shell
Then type
Code:
su
Allow Superuser on your phone
You are now in and ready to follow BCNice's directions
Here's some adb stuff that I found from the evo days that has linux, mac, and windows adb and some of the files it needs. I flashed the evo with it so it should work for the shift too. I used an all in one for the epic to root mine in windows. I just extracted the zip and ran adb inside it. I could have included that or instead but there were a lot more files in there pertaining to recovery, root exploits, and images of things I didn't know if they could safely be removed and still work or not. I used the mac version of the file in this package instead of running back and forth from win to mac. I purposely keep the win partition off the internet. Yeah, vmware works but sometimes it doesn't and I didn't want to risk anything when flashing a phone.
As usual, use at your own risk. It worked for me in the past so I don't see any reason why it won't work now. Make note of the adb program naming schemes because they aren't just "adb". I uploaded this because it was very useful to me in the past and I've always failed or got lost when trying to set up sdk per google's instructions. It's very stripped down so don't expect it to be as fully functional as the sdk would be.
If you want to do it the way I did then head over to the epic section and get the all in one root and recovery in the dev section, unzip it, then use the adb.exe inside. Don't use any bat files or scripts in there, you might brick the phone.
As a Win7 64bit user, I had the additional steps of downloading and installing HTC Sync so that Win7 would install the proper drivers for my phone before I could use adb shell to access my shift.
JigSawMan said:
As a Win7 64bit user, I had the additional steps of downloading and installing HTC Sync so that Win7 would install the proper drivers for my phone before I could use adb shell to access my shift.
Click to expand...
Click to collapse
Yes, of course, how could I forget that? You definitely need drivers for windows.
Anybody care to link me to a good guide for Linux mint/Ubuntu 64 bit?
I've done it on 32, but I can't find good resources for 64.
I used adbwireless and it worked first shot!
Time to work on some roms...;-)
Sent from my PG06100 using XDA App
So is there like a video review or a picture review of this. I am trying to do the steps, but the process is different from your steps. I have tried this on xp and windows 7
When I get to this step
"On your computer select Start, then run, type in CMD
Once in the Command Prompt enter cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in adb"
It tells me "The system cannot find the path specified"
Can anyone help me.
all of my drivers are installed for my phone.
koolkid09 said:
When I get to this step
"On your computer select Start, then run, type in CMD
Once in the Command Prompt enter cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in adb"
It tells me "The system cannot find the path specified"
Can anyone help me.
all of my drivers are installed for my phone.
Click to expand...
Click to collapse
You need to locate the SDK and rename it. It should be on your C drive in the program files folder and the android sub folder.
Once you have located the folder I believe is named android-sdk-windows right click on it and rename it to AndroidSDK.
Then open up a new window in My Computer on Windows XP or Computer on Windows 7.
Open the C drive and then drag the renamed AndroidSDK file over to the root of the C drive.(not in any folder)
BrandoKC said:
You need to locate the SDK and rename it. It should be on your C drive in the program files folder and the android sub folder.
Once you have located the folder I believe is named android-sdk-windows right click on it and rename it to AndroidSDK.
Then open up a new window in My Computer on Windows XP or Computer on Windows 7.
Open the C drive and then drag the renamed AndroidSDK file over to the root of the C drive.(not in any folder)
Click to expand...
Click to collapse
Ok. I deleted everything and I am going to try over.
OK.. When I'm first trying to install it do I install it to C:\Program Files (x86)\Android\android-sdk-windows. That is the defualt place it wants me to install it to. (I am on Windows 7)
I've updated the original post with some more specific instructions for Windows 7.
I had to reboot my computer before I could move the SDK to the C drive and rename it.
The first time I entered the command prompt adb wouldn't work, but I closed it out and the second time it worked flawlessly.
Ok thanks BrandoKc. Coming from windows mobile it would of tooken me a while to figure this adb stuff I out. I have a question??? I just finished rooting... if I hard reset does this break the root???
Sent from my PG06100 using XDA App
koolkid09 said:
OK.. When I'm first trying to install it do I install it to C:\Program Files (x86)\Android\android-sdk-windows. That is the defualt place it wants me to install it to. (I am on Windows 7)
Click to expand...
Click to collapse
That will work! Once installed there and updated rename it to AndroidSDK and move it to the root of the C drive. You may need to reboot your computer before it allows you to edit the folder.
alanherrera59 said:
Ok thanks BrandoKc. Coming from windows mobile it would of tooken me a while to figure this adb stuff I out. I have a question??? I just finished rooting... if I hard reset does this break the root???
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
By hard reset I assume you mean factory reset. It may but you can re root if it does.
I'm glad to have helped. I know when I rooted my Hero I nearly shatted a bricked Hero.
UGH! Now my SDK manager is not working. It pops up then goes away and I can keep it up. This is happening on this step "Once you have installed it open it from the start menu". I'm probably going to wait until the morning or somebody makes a video on how to do this because I'm getting frustrated.
Koolkid come to the IRC so we can help you
BrandoKC said:
Koolkid come to the IRC so we can help you
Click to expand...
Click to collapse
I sent you a PM.
BrandoKC said:
By hard reset I assume you mean factory reset. It may but you can re root if it does.
I'm glad to have helped. I know when I rooted my Hero I nearly shatted a bricked Hero.
Click to expand...
Click to collapse
Lol. As from my language... You can tell I come from windows mobile, in those forums we refered a factory reset as a hard reset and a soft reset as a battery pull
Sent from my PG06100 using XDA App
alanherrera59 said:
Lol. As from my language... You can tell I come from windows mobile, in those forums we refered a factory reset as a hard reset and a soft reset as a battery pull
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Once we have a recovery you will definitely be able to wipe/hard reset/factory reset without losing root.
I would imagine at this point you should be able to without losing root also.
Left WinMo when the G1 came out and haven't looked back. Enjoy Android!

We haz root but I haz more questions!

I downloaded the Android SDK on the website and the drivers from MotoDev and placed them on my desktop. I ran the drivers and they installed fine. I unzipped the SDK, created a new folder in my C: drive called AndroidSDK and placed the unzipped folder in that folder.
I opened Command Prompt and entered:
cd C:\AndroidSDK\android-sdk-windows\tools
then entered:
fastboot oem unlock
and got this error:
This application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix this issue.
I then went into the SDK and read the readme where it says that adb was moved. It says it was moved to platforms. When I open the folder there is nothing in there.
try the path that ends with "platform-tools" instead
Sent from my Xoom using XDA Premium App
Ok I figured it out. I clicked on something and it brought up a repo. I download the missing platform-tools.
I ran the commands again and I'm still getting the errors. Should I copy everything from platform-tools into the tools directory?
gqstatus0685 said:
I tried that also. I forgot to add that in my first post. There is nothing inside that folder. Am I missing adb? Is there a way to download it and drop it into that folder? I'm lost on this.
Thanks.
Click to expand...
Click to collapse
Did you open the SDK Manager and make sure all your packages are updated?
gnackattack said:
Did you open the SDK Manager and make sure all your packages are updated?
Click to expand...
Click to collapse
I did do that but cancelled after it installed the platform-tools. Should I let it download everything? It looked like it was going to take a long ass time.
**** I ended up downloading all the updates for 3.1 and entered the commands again. This time it was able to cd into the platform-tools but I can't enter the command fastboot oem unlock because I get error:
"fastboot" is not recognized as an internal or external command, operable program or batch file
Just my luck...
fastboot is in the "tools" folder, not the "platform-tools" folder.
gnackattack said:
fastboot is in the "tools" folder, not the "platform-tools" folder.
Click to expand...
Click to collapse
Ok I changed CD but now it's telling me it can't find a file that's located in platform-tools. Should I copy all the files from platform-tools and move them into the tools folder?
*********************************************************
Ok. I moved the file and it worked. My Xoom is unlocking. I have the worst luck when I borrow someone else's laptop.
Copy any files it tells you it can't find. I haven't encountered that issue myself, but that's the solution I've seen others recommend.
I'd like to thank Gnac and the other people who helped me achieve root with the issues I was having.
Anyway I have an SD card in my Xoom and I don't think it's working like it should. I downloaded a file manager, loaded a .zip on there of a theme I want to install but when I boot into recovery it's not there.
I've verified it's in the SDcard with the file manager and it's in .zip format. I'd prefer to flash it instead of adb'ing it because I keep all my .zip organized in folders on my SD card. Before inserting the SD card in the Xoom I did wipe it.
I'm rooted 3.1 and I have Busybox installed. I'm running:
[email protected] #2
Any ideas how I can get the files to be seen in recovery?

SOLVED. HELP, Can't root nexus S

Wondering if anyone can help me, I have been following this guide:
http://forum.xda-developers.com/showthread.php?t=1007782
I get upto installing the drivers and connecting the phone to the PC in fastboot mode, then when I type the "fastboot oem unlock" command it says "waiting for device..." and stays stuck on that.
I have done everything the guide says and tried multiple times and still the same outcome.
It seems that the computer doesn't want to recognise the phone at all.
I have i9023 model with S-LCD screen.
Any ideas?
EDIT: if this helps, when I connect the phone in fastboot mode to the PC it says "STANDARD_SET_CONFIGURATION".
Hmm...do you have the fastboot binaries installed on your computer?
mathkid95 said:
Hmm...do you have the fastboot binaries installed on your computer?
Click to expand...
Click to collapse
Hmm, maybe not, how do I install it?
Sent from my Nexus S using XDA Premium App
I had to copy a couple of .dll files to my tools folder from the platform-tools in order for it to work (may have been the other way around, I've had a couple of drinks and it was a month ago now).
I believe they were the AdbWinUSBapi.dll and AdbWinApi.dll files, but I could be mistaken. Once I did this, I was able to connect to the phone. Otherwise, it just hung at the fastboot screen and didn't do anything.
VillainousVivi said:
I had to copy a couple of .dll files to my tools folder from the platform-tools in order for it to work (may have been the other way around, I've had a couple of drinks and it was a month ago now).
I believe they were the AdbWinUSBapi.dll and AdbWinApi.dll files, but I could be mistaken. Once I did this, I was able to connect to the phone. Otherwise, it just hung at the fastboot screen and didn't do anything.
Click to expand...
Click to collapse
Thank you, this worked, I had already transferred the AdbWinApi.dll file, but after also transferring the AdbWinUSBapi.dll file into the tools folder it worked!
Thanks for pointing it out .

Soft Bricked One s

Right so soft bricked one s last night.
Basiclly my phone is unlocked in hboot and it was rooted and i have Clockwork mod on it.
Now i am not great with adb by any means so i will prob need someone just to help me abit with it.
Just have afew noob ish questions as this is my first htc phone and things are abit different compared to s what i was use to with samsung.
Q1. I downloaded the EU 1.53 ruu rom off the thread on here with all the roms. Its a .exe file but how do i go to flash that to the sdcard through adb. Do i have to convert it to .zip or whats the procedure.
Q2. I have android sdk on the labtop under c:\ . But when i open up the cmd it comes up with C:\Documents and Settings\user> and when i type in where the adb is located C:\Android\android-sdk\platform-tools it says C:\Android\android-sdk\platform-tools is not recoginzed as an internal or external command, operable program or batch file.
So if anyone would be kind enough to help me out would i would be greatful..
Check out my How To push adv files thread in the Development section. It's. Step by step.
Sent from my HTC VLE_U using xda premium
I've read it few times i was trying to use it, thats when i encountered the problem with adb
What are you typing in to change directories?
It should be like cd c:\AndroidSDK\tools
Sent from my HTC VLE_U using xda premium
i just typed c:\android\android-sdk\platform-tools cause thats where the adb is located.
Do i have to type "cd" as well??
Check your pm's. I'm gonna reply there.
brwetz said:
Check your pm's. I'm gonna reply there.
Click to expand...
Click to collapse
cheers brwetz

Categories

Resources