If you’ve ever tried to root your Android phone, flash a custom ROM, or unlock the bootloader, you’ve probably come across the terms ADB and Fastboot. But setting them up for the first time can feel confusing — especially when you don’t know where to start. This guide will walk you through exactly how to download, install, and use the ADB Fastboot Tool on Windows 10 and Windows 11. Whether you’re rooting a Realme device, flashing firmware on a Motorola, or sideloading an APK, ADB and Fastboot are tools every Android user should know. This guide is designed for beginners and intermediate users who want a straightforward, step-by-step setup.
What is ADB Fastboot Tool?
ADB stands for Android Debug Bridge. Google developed it as a command-line tool that lets your Windows PC communicate directly with any Android device. Fastboot is a complementary protocol that lets you flash firmware, unlock bootloaders, and modify system partitions directly. Together, ADB and Fastboot form the most powerful and universal Android tool available. Unlike brand-specific flashing tools such as Odin for Samsung or MiFlash for Xiaomi, ADB and Fastboot work with almost every Android smartphone and tablet on the market.
Requirements / What You Need
- A Windows PC running Windows 7, 8, 10, or 11 (32-bit or 64-bit)
- A good-quality USB cable (preferably the original cable for your device)
- Your Android device with at least 50% battery charge
- USB Debugging enabled on your Android device (explained below)
- The correct USB driver for your device installed on your PC
- Unlocked bootloader (required for Fastboot flashing only — not needed for basic ADB use)
- Minimal ADB and Fastboot Tool installer (download link in Step 1 below)
How to Download and Install ADB Fastboot Tool
There are two ways to get ADB and Fastboot on Windows. You can use the official Google Android SDK Platform-Tools, or you can use the lightweight Minimal ADB and Fastboot Tool. We recommend the Minimal ADB tool because it is only about 2 MB in size and is much easier to set up. Follow these steps.
- Download the Minimal ADB and Fastboot Tool — Visit the official XDA Developers thread and download the latest installer (around 2 MB).
- Run the installer — Double-click the downloaded .exe file. If Windows SmartScreen appears, click More Info and then Run Anyway.
- Follow the on-screen instructions — Click Next, accept the license agreement, choose an installation folder (the default is fine), and click Install.
- Complete the installation — Once finished, the installer saves ADB and Fastboot files to
C:\Program Files\Minimal ADB and Fastboot\. - Open the ADB command window — Go to Start Menu, find Minimal ADB and Fastboot, and click to launch. A black command prompt window will open. This is where you will type all ADB and Fastboot commands.
How to Enable USB Debugging on Android
Before ADB can communicate with your device, you must enable USB Debugging in Developer Options. Here is how to do it on any Android device.
- Open Settings on your Android device.
- Scroll down and tap About Phone.
- Find Build Number and tap it seven times rapidly. You will see the message: “You are now a developer!”
- Go back to Settings and open Developer Options (it may appear under Settings or Settings → System on some devices).
- Toggle USB Debugging to ON.
- Connect your phone to your PC via USB cable. When prompted on your phone screen, tap Allow USB Debugging and check “Always allow from this computer.”
Warning: However, if your device is not recognized after connecting, the USB driver may be missing. Check our USB Driver guides to find and install the correct driver for your device brand before continuing.
How to Use ADB and Fastboot Commands
Once ADB is installed and USB Debugging is enabled, open the Minimal ADB and Fastboot command window. Next, try the essential commands below to get started.
- Check if your device is detected:
Typeadb devicesand press Enter. If your device serial number appears in the list, ADB is working correctly. If it shows “unauthorized,” check your phone screen and tap Allow. - Reboot into Fastboot (Bootloader) mode:
Typeadb reboot bootloaderand press Enter. Your phone will restart into Fastboot mode automatically. - Confirm the Fastboot connection:
Typefastboot devicesto verify your device is detected in Fastboot mode. You should see your device ID listed. - Flash a firmware file using Fastboot:
Typefastboot flash recovery recovery.img— replace recovery.img with your actual file name and the correct partition name. Use this to flash custom recovery images or stock firmware partitions. - Unlock the bootloader:
Typefastboot flashing unlock(orfastboot oem unlockon older devices). Warning: This will erase all data on your phone. Back up everything before proceeding. - Sideload a ZIP update via ADB:
Boot into stock recovery, select “Apply update from ADB,” then typeadb sideload update.zipon your PC. Replace update.zip with your actual file name. - Reboot the device after flashing:
Typefastboot rebootoradb rebootto restart your device normally once all flashing steps are done.
Additionally, for device-specific rooting guides that use ADB and Fastboot, see our tutorials: How to Root Realme C65 and How to Root Motorola Edge 50.
Common Errors and Fixes
Even so, you may run into some issues. Error 1: “adb is not recognized as an internal or external command”
This means ADB was not installed correctly or the system PATH is not configured. Reinstall the Minimal ADB and Fastboot Tool, making sure the installation completes without errors. Restart your PC after installation and try again.
Error 2: Device shows as “unauthorized” in adb devices
Your phone has not approved the USB Debugging connection. Unlock your phone screen — the “Allow USB Debugging” dialog should appear. Tap Allow. If it does not appear, go to Developer Options, tap “Revoke USB debugging authorizations,” disconnect, and reconnect your phone.
Error 3: “fastboot devices” returns an empty list
Your device is either not in Fastboot mode or the USB driver is missing. Make sure you ran adb reboot bootloader first to enter Fastboot mode. Also verify the correct USB driver is installed. Note that MediaTek-based phones do not support Fastboot — use the SP Flash Tool instead for those devices.
Error 4: “FAILED (remote: Flashing is not allowed in Lock State)”
Your bootloader is still locked. You must run fastboot flashing unlock first to unlock it before you can flash any partition. Remember that unlocking the bootloader will erase all data on your device.
Frequently Asked Questions (FAQ)
Below are answers to common questions users ask about ADB and Fastboot.
Is ADB and Fastboot safe to use on my Android phone?
Yes, ADB is safe for general tasks like sideloading apps, backing up data, and debugging. Fastboot commands that modify partitions — such as unlocking the bootloader or flashing firmware — carry risk if done incorrectly. Always back up your data and follow a trusted, device-specific guide.
Do I need to install ADB drivers separately?
The Minimal ADB and Fastboot Tool includes basic ADB drivers. However, some devices — especially Samsung, Huawei, and MediaTek phones — may need brand-specific USB drivers. Visit our USB Drivers section to download the correct driver for your device.
Can I use ADB without a USB cable over Wi-Fi?
Yes! On Android 11 and above, you can enable Wireless Debugging from Developer Options. Go to Developer Options → Wireless Debugging → enable it, then connect using adb connect [device IP address]:[port]. No cable is needed once the wireless connection is set up.
What is the difference between ADB and Fastboot?
ADB works when your phone is powered on normally with USB Debugging enabled. ADB handles file transfers, app installation, and shell commands. Fastboot works when your phone is in bootloader mode (a special low-power state). Fastboot handles flashing partitions, unlocking the bootloader, and other low-level operations.
Conclusion
In summary, ADB and Fastboot are the most essential tools for any Android power user. Whether you want to root your phone, flash a stock ROM, or simply sideload an app, these tools give you full control over your Android device. In this guide, you learned how to download and install the Minimal ADB and Fastboot Tool on Windows, how to enable USB Debugging, and how to run the most important ADB and Fastboot commands. If you run into any issues, drop your question in the comments below and we’ll help you out. For more flashing guides, explore our SP Flash Tool tutorial and Odin Flash Tool guide for device-specific flashing instructions.