Fix Fastboot.exe Has Stopped Working Error
In this article
Quick answer: The "fastboot.exe has stopped working" error usually means the Android SDK's Fastboot tool crashed due to a driver conflict, a corrupted download, or an outdated version. The fastest fix is to reinstall the platform-tools and use a proper USB driver. Below are the exact steps.
What You'll Need
- A Windows PC (the error is Windows-specific)
- Your Android device (phone or tablet) with USB debugging enabled
- A USB cable that supports data transfer (not charge-only)
- Administrator access to your PC (to install drivers and run commands)
- Internet connection to download the official platform-tools
Step-by-Step
- Enable USB debugging on your Android device. Go to Settings > About phone and tap "Build number" seven times until you see "You are now a developer!" Then go to Settings > Developer options and turn on "USB debugging." (Labels may vary slightly by device and Android version.)
- Download the latest official platform-tools. Visit the Android developer website and download the "platform-tools" ZIP for Windows. Do not use third-party mirrors. Extract the ZIP to a simple folder like
C:\platform-tools. - Install the correct USB driver. For most devices, the Google USB Driver (included in the SDK) works. If you have a Samsung, use Samsung's own driver; for Pixel, use Google's. Open Device Manager, find your device under "Portable Devices" or "Other devices," right-click it, and choose "Update driver." Select "Browse my computer for drivers" and point to the extracted platform-tools folder (the driver is inside
usb_driver). - Open a command prompt in the platform-tools folder. Hold Shift and right-click inside the folder, then choose "Open command window here" or "Open PowerShell window here." Alternatively, type
cmdin the address bar of File Explorer and press Enter. - Test the connection. Plug your phone into the PC. On the phone, accept the "Allow USB debugging?" prompt. In the command prompt, type
fastboot devices. If your device shows up (e.g., a serial number), the connection is good. If not, re-check the driver and USB cable. - Run the fastboot command you need. For example,
fastboot flash recovery twrp.imgorfastboot reboot. If the error appears now, proceed to the next steps. - Run fastboot as administrator. Right-click the command prompt icon and select "Run as administrator." Some fastboot operations require elevated privileges, and this can prevent the crash.
- Update or reinstall the platform-tools. If the error persists, delete the entire platform-tools folder and re-download it from the official site. This ensures you have the latest version, which often fixes bugs.
- Check for conflicting Android SDK versions. If you have multiple installations (e.g., from Android Studio, standalone SDK, or a custom ROM tool), they may conflict. Uninstall all but one, then reinstall the official platform-tools.
- Use a different USB port. Try a USB 2.0 port directly on the motherboard (not a front panel or hub). Some fastboot operations are sensitive to USB power and data issues.
Common Mistakes
- Using a charge-only cable. Many USB cables only charge and don't transmit data. Always use the cable that came with your phone or one you know supports data.
- Wrong driver. Installing a generic driver instead of the manufacturer-specific one often causes fastboot to crash. Always use the official driver from your device maker.
- Outdated platform-tools. Old versions of fastboot.exe can crash with newer devices. Always download the latest from Google.
- Running from a path with spaces. If your platform-tools folder is in a path like
C:\Users\John Doe\Downloads\platform-tools, the command prompt might misinterpret it. Use a simple path likeC:\platform-tools. - Not accepting the USB debugging prompt on the phone. If you miss the popup, fastboot may hang or crash. Unplug and replug the USB cable to trigger it again.
Tips
- Use the command prompt, not PowerShell. Some users report that PowerShell's security policies interfere with fastboot. If you're using PowerShell, switch to Command Prompt.
- Disable Windows Defender or antivirus temporarily. Some security software flags fastboot.exe as a threat and blocks it, causing a crash. Add an exclusion for the platform-tools folder instead of disabling protection entirely.
- Keep your phone's screen unlocked. If the screen locks during a fastboot command, the connection may drop and fastboot.exe may crash. Set the screen timeout to 10 minutes or keep an eye on it.
- Use a dedicated fastboot mode. Some devices require you to manually enter fastboot mode (e.g., hold Volume Down + Power). Check your device's manual to ensure you're in the right mode.
Troubleshooting
If the error still appears after trying the steps above:
- Try a different computer. A PC with a different USB controller or Windows version can resolve driver conflicts.
- Check the device's bootloader status. If your device's bootloader is locked, fastboot commands like
flashwill fail and may cause fastboot.exe to crash. Unlock the bootloader first (note: unlocking wipes all data on the phone). - Look for the exact error code. If the error dialog shows a technical detail (e.g., an exception code), search for that code onlineāit often points to a specific driver issue.
- Reinstall the USB driver completely. In Device Manager, right-click the device and select "Uninstall device," then unplug and replug the phone. Windows will reinstall the driver, or you can manually install it again.
- Use the standalone SDK tools. If you have Android Studio installed, its bundled platform-tools might be outdated. Use the standalone download from the Android developer site instead.
- If all else fails, try a different fastboot binary. Some custom ROM communities provide patched fastboot executables, but only use them from trusted sources like XDA Developers. The official one should work, but a patched version can bypass certain bugs.
Frequently Asked Questions
Why does fastboot.exe crash only on my PC?
It's usually a driver conflict or a corrupted platform-tools installation. Reinstalling the official USB driver and the latest platform-tools fixes it in most cases.
Can I use fastboot on a Mac or Linux?
Yes, the platform-tools include binaries for macOS and Linux. The error "fastboot.exe has stopped working" is Windows-specific, but the same steps apply to other OSes with different file names (e.g., fastboot).
Do I need to unlock the bootloader to use fastboot?
Not for basic commands like fastboot devices or fastboot reboot, but flashing operations (e.g., fastboot flash) require an unlocked bootloader. Unlocking wipes all data on the device.
What is the difference between fastboot and ADB?
ADB (Android Debug Bridge) works when the device is fully booted or in recovery, while fastboot works in the bootloader/fastboot mode. They use different drivers and protocols.
Will this error damage my phone?
No, the error itself is harmless. However, if you're in the middle of a flashing operation and fastboot crashes, the phone may be left in a partial state. You can usually just restart the process after fixing the error.
How do I know if my USB driver is correct?
In Device Manager, your device should appear under "Android Device" or "Portable Devices" with a specific name (e.g., "Android Composite ADB Interface"). If it shows under "Other devices" with a yellow exclamation mark, the driver is wrong.