Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,958 Members 52,399 Now Online
XDA Developers Android and Mobile Development Forum

fastboot binary for windows!

Tip us?
 
JesusFreke
Old
(Last edited by JesusFreke; 28th December 2008 at 01:28 AM.)
#1  
JesusFreke's Avatar
Recognized Developer - OP
Thanks Meter 41
Posts: 736
Join Date: Oct 2008
Location: Dallas
Default fastboot binary for windows!

I've compiled a fastboot binary for windows from the git source, using cygwin.

I had actually compiled it a couple of weeks ago, but I never could get it to work. I was looking into it again tonight and discovered that windows had installed the USB Mass Storage driver for the phone in SPL mode, instead of the android driver. So after updating it to the android driver, it worked! woot


Instructions:

(note: you have to check the USB device in Computer Manager when the phone is in fastboot mode. The computer sees the phone in fastboot mode as a different device than the phone in normal mode)

Download the file and extract it in the same folder as adb. (if you don't have adb yet, it's included in the android SDK for windows. go download it!)

Take out the usb cable and boot up your phone into the SPL (back + power). You have to have the dev bootloader for this to work (white background with 3 skateboarding androids).

Plug in the usb cable, and make sure the display on the phone changes from "Serial0" to "FASTBOOT". If it doesn't, try pressing the back button.

If it asks you to install drivers, then go ahead and use the same usb drivers that you used to get adb working. You can skip the rest of the instructions. Fastboot should be working for you now.


If it doesn't ask you to install a driver, you need to figure out if the correct driver is loaded already.
Right click on My Computer, and click Manage, then go to the device manager

If you see an "ADB Interface" category at/near the top, with "HTC Dream" under it, then you're good to go. Fastboot should be working for you.

If you don't see an "ADB Interface" category, then it's likely that windows loaded the USB Mass Storage driver for it automatically. In the device manager, go down to "Universal Serial Bus Controllers", and see if you have at least one "USB Mass Storage device". If you have multiple ones, you'll need to go through each to find the correct one.

To find the correct one, right click on the USB Mass Storage device and click Properties. Go to the Details tab. In the combo box at the top that says "Device Instance Id", bring up the pull down and choose "Compatible Ids". If that is the correct device, then you will see 3 entries:
  • USB\Class_ff&SubClass_42&Prot_03
  • USB\Class_ff&SubClass_42
  • USB\Class_ff

Once you find the correct device, go to the driver tab, and click "Update Driver". Choose "No, not this time", then "Install from a list or specific location", then "Don't search, I will choose the driver to install", and then choose the same usb driver that you used to get adb to work.

After that's done, you should be good to go. Open a command prompt and type fastboot devices and it should list the phone.
Attached Files
File Type: zip fastboot-win32.zip - [Click for QR Code] (279.1 KB, 24914 views)
"Whether You Think You Can or Can't, You're Right"
--Henry Ford

Android Developer Phone 1 - JFv1.51 - REPRESENT!
The Following 2 Users Say Thank You to JesusFreke For This Useful Post: [ Click to Expand ]
 
usmc2k
Old
#2  
usmc2k's Avatar
Senior Member
Thanks Meter 5
Posts: 346
Join Date: Apr 2006
Location: I.E.
This is a great Christmas Present lol !!!!! Thanks again JesusFreke !!!!!
 
jashsu
Old
#3  
jashsu's Avatar
Senior Member
Thanks Meter 12
Posts: 1,852
Join Date: Nov 2008
Quote:
Originally Posted by JesusFreke View Post
I've compiled a fastboot binary for windows from the git source, using cygwin.
Just four minutes shy of delivering on Christmas day too I kid, I kid. Great work. This will be quite nice for those of us still working primarily in Windows. b
 
slevin.yu
Old
#4  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Dec 2008
Really Good!!!!!!!
 
afbcamaro
Old
#5  
afbcamaro's Avatar
Senior Member
Thanks Meter 1
Posts: 164
Join Date: Dec 2006
Thanks JF, not for the files, I already had them compiled but because I found out why they weren't working...

USB MassStorage driver was as well on! :) LOL Its the simple things sometimes.
Wizard 8125, O2 Exec (Universal) 64MB and 128MB
O2 XDAiis (Blue Angel) ,MPX200
MPX220, MPX300
StarTrek, Hw6300
Hw6500, HTC Juno
HTC Tornado, HTC Apache
HTC Hermes, O2 Flame
HTC Alpine, Moto Ming A1200
Treo 750, Razor
HTC Dream, HTC Juno
HTC Excalibur,
 
pablizzo
Old
#6  
pablizzo's Avatar
Member
Thanks Meter 1
Posts: 57
Join Date: Nov 2008
That's fantastic thanks JF. Now since we got fastboot in windows how does that change the process for having our custom boot image. I could not for the life of me get fastboot to recognize my device in ubuntu no matter what I did.
 
JesusFreke
Old
#7  
JesusFreke's Avatar
Recognized Developer - OP
Thanks Meter 41
Posts: 736
Join Date: Oct 2008
Location: Dallas
Quote:
Originally Posted by pablizzo View Post
That's fantastic thanks JF. Now since we got fastboot in windows how does that change the process for having our custom boot image. I could not for the life of me get fastboot to recognize my device in ubuntu no matter what I did.
Let me take a shot in the dark and say that it would allow you to do the "fastboot flash splash1 image.rgb565" part from windows instead of ubuntu?

Don't forget about koush's .NET application to convert an image to the correct format: http://forum.xda-developers.com/showthread.php?t=462489
"Whether You Think You Can or Can't, You're Right"
--Henry Ford

Android Developer Phone 1 - JFv1.51 - REPRESENT!
 
LGSilva
Old
#8  
LGSilva's Avatar
Senior Member
Thanks Meter 137
Posts: 644
Join Date: May 2007
Thank you JesusFreke!
Way faster than booting Ubuntu under Sun's VirtualBox
 
momentarylapseofreason
Old
#9  
momentarylapseofreason's Avatar
Senior Member
Thanks Meter 17
Posts: 1,064
Join Date: Apr 2007
Location: Chicago
Pardon my ignorance, but all that I can see with search about fastboot is it allows us to flash cupcake and new splash screens.

Can someone enlighten me as to what exactly this is? Does it simply bypass key signatures or error checks? Being that I don't turn my phone on and off a lot, a custom splash is really not necessary and being that cupcake is severely limited, don't want to even toy with that until it has more work in it.

Thanks in advance!!!
 
jdwme
Old
#10  
jdwme's Avatar
Senior Member
Thanks Meter 0
Posts: 462
Join Date: Apr 2008
Location: Houston
anyone try this on vista 64 yet?

Tags
fastboot windows android
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Cell Phone SIM Unlock Bill Just Steps Away from President’s Desk

For all those who believe that Cinderella stories don’t actually … more

Get Your Cargo to its Destination in 4×4 Military Operations Reborn

Racing games have evolved quite a bit since the days of Pole … more

Automate Your Device with Sfen

Changing the profile of yourdevice manually is now long forgotten. Since the advent of Android automation … more