Last updated: November 24, 2026. ADB and Fastboot are the two command-line tools you need for almost everything on a Xiaomi, Redmi or POCO phone: unlocking the bootloader, flashing a Fastboot ROM with Mi Flash, installing a custom recovery, rooting, or removing bloatware. Both tools come in Google’s official Android SDK Platform Tools package.
Need firmware for your phone? Find official HyperOS Recovery and Fastboot ROMs for Xiaomi, Redmi and POCO devices, for every region: Xiaomi firmware download.
Looking for “Xiaomi ADB/Fastboot Tools”? That’s a different program (Szaki’s debloater and Fastboot GUI, a Java .jar): Xiaomi ADB/Fastboot Tools 7.0.3 download and HyperOS alternatives.
Only need the Xiaomi USB driver? Fastboot, ADB, EDL (Qualcomm 9008) and MediaTek drivers, with a table of what Device Manager shows: Xiaomi USB Drivers for Windows 11/10.
Below you will find the latest Platform Tools r37.0.3 for Windows, macOS and Linux, the Google USB driver for Windows, a 2-minute install guide and fixes for the errors Xiaomi users hit most often.
Download ADB & Fastboot (Platform Tools r37.0.3)
| File | Version | Size | Download |
|---|---|---|---|
| Platform Tools for Windows | r37.0.3 (November 2026) | ~8.2 MB | Download for Windows |
| Platform Tools for macOS | r37.0.3 (November 2026) | ~16.6 MB | Download for Mac |
| Platform Tools for Linux | r37.0.3 (November 2026) | ~9.6 MB | Download for Linux |
| Google USB Driver (Windows) | r13 | ~8.3 MB | Download USB driver |
All files are the unmodified packages from Google’s official repository (dl.google.com). We always point to the current stable release, so you don’t need to look for a newer version elsewhere.
What about r37.0.2? Google never released r37.0.2 outside the Canary (test) channel because of a bug. r37.0.3 from November 2026 is the current stable release and the one in the table above. If you installed r37.0.1, it still works for flashing; update if Wi-Fi pairing or a Mac with Apple Silicon gives you trouble (see what’s new below).
Looking for the old one-click installer? The classic ADB Installer v1.4.3 is still available, but it ships an ADB version from 2016. It is fine for basic commands. For flashing, use the current Platform Tools from this page. For anything serious, use Platform Tools from this page.
What’s New in Platform Tools 37
r37.0.3 (November 2026):
- Wireless pairing with a QR code in the terminal:
adb pair --qrshows a QR code you scan in Developer options → Wireless debugging → Pair device with QR code, so you no longer type the IP, port and six-digit code. - Mac and Linux get the new USB backend (
libadbusb, already on Windows since r37.0.1). If a phone stops showing up, setADB_USB_LEGACY=1to go back to the old one. - macOS fixes: no more ADB server crashes on new Apple Silicon Macs (macOS 27) and on USB connect when AMFI is disabled.
- Smaller debug logs;
adb install --fastdeployis deprecated (developer feature, not used for flashing).
r37.0.1 (July 2026):
- New USB backend on Windows:
libadbusbreplaces libusb. SetADB_USB_LEGACY=1to turn it off. - Wi-Fi debugging: the old openscreen mDNS backend is removed.
libadbmdnsis now the only one. - Linux: better USB hotplug. ADB now uses udev netlink events, which avoids race conditions with udev.
adb kill-servernow shows which program killed the ADB server, which is handy when Mi PC Suite or another tool fights with ADB.
How to Install ADB & Fastboot on Windows 10 / 11
- Download the Windows ZIP from the table above.
- Extract it to
C:\platform-tools(a short path without spaces avoids many errors). - Open the
C:\platform-toolsfolder, click the address bar, typecmdand press Enter. A Command Prompt opens in that folder. - Type
adb version. If you seeAndroid Debug Bridge version 1.0.41andVersion 37.0.3, ADB is ready. - Optional: add the folder to PATH so ADB works from any folder: Start → “Edit the system environment variables” → Environment Variables → Path → Edit → New →
C:\platform-tools→ OK. Reopen Command Prompt.
Faster alternative: on Windows 11 you can install Platform Tools with one command: winget install Google.PlatformTools --version 37.0.3. Without --version, winget may install a Canary (test) build.
Install the Xiaomi Fastboot Driver (Fastboot Not Detected)
Windows usually detects a Xiaomi phone in ADB mode by itself. In Fastboot mode, it often shows up as an unknown “Android” device with a yellow mark. Here is the fix:
- Download and extract the Google USB driver.
- Reboot the phone to Fastboot (power off, then hold Power + Volume Down) and connect it to the PC.
- Press Win + X → Device Manager. Find Android under Other devices.
- Right-click → Update driver → Browse my computer → Let me pick from a list → Have Disk → select
android_winusb.inffrom the extracted folder. - Choose Android Bootloader Interface and confirm the warning.
If your phone is stuck in EDL mode and shows up as QHSUSB_BULK or 9008, you need a different driver: Qualcomm HS-USB QDLoader 9008.
Not sure which driver your phone needs, or using a MediaTek Redmi/POCO? See our Xiaomi USB drivers guide with every driver for Fastboot, ADB, EDL and MediaTek in one place.
How to Install ADB & Fastboot on macOS
- The easiest way is Homebrew:
brew install --cask android-platform-tools. - Or download the Mac ZIP, extract it, open Terminal in the folder and run
./adb version. - To use it from anywhere, add it to PATH:
echo 'export PATH="$HOME/platform-tools:$PATH"' >> ~/.zshrc, then restart Terminal.
macOS does not need any USB driver.
How to Install ADB & Fastboot on Linux
- Download and extract the Linux ZIP to
~/platform-tools. - Add it to PATH:
echo 'export PATH="$HOME/platform-tools:$PATH"' >> ~/.bashrc && source ~/.bashrc. - If the phone shows as no permissions, install udev rules:
sudo apt install android-sdk-platform-tools-common(Debian/Ubuntu), then reconnect the phone.
Your distro’s own adb package is often several versions behind, so we recommend using Google’s ZIP instead.
Prepare Your Xiaomi Phone
- Go to Settings → About phone and tap OS version 7 times until you see “You are now a developer”.
- Open Settings → Additional settings → Developer options.
- Turn on USB debugging. On HyperOS, also turn on USB debugging (Security settings) if you want to install apps or change permissions over ADB.
- Connect the phone and tap Allow on the “Allow USB debugging?” prompt.
Most Useful ADB & Fastboot Commands for Xiaomi
| Command | What it does |
|---|---|
adb devices | Lists connected phones (in Android) |
adb reboot bootloader | Reboots to Fastboot (the screen with the rabbit or “FASTBOOT” logo) |
adb reboot recovery | Reboots to recovery |
adb shell pm uninstall --user 0 com.package.name | Removes an app for user 0 only (debloat). The app file stays on the phone. Back up first and remove only apps you can identify. |
fastboot devices | Lists phones in Fastboot mode |
fastboot getvar product | Shows the device codename (for example pudding for Xiaomi 17). Use it to pick the right ROM. |
fastboot oem device-info | Shows whether the bootloader is unlocked |
fastboot getvar current-slot | Shows the active A/B slot |
fastboot flash init_boot init_boot.img | Flashes a patched init_boot image (root on phones that launched with Android 13 or newer). Needs an unlocked bootloader. Patch the init_boot.img from the exact firmware build the phone runs now. |
fastboot reboot | Reboots back to the system |
Note: fastboot oem unlock and fastboot flashing unlock do not work on Xiaomi phones. Xiaomi bootloaders can only be unlocked with the official Mi Unlock tool after approval. See our HyperOS bootloader unlock guide.
Common Errors and Fixes
“‘adb’ is not recognized as an internal or external command”
You are not in the platform-tools folder, and it is not in PATH either. Open Command Prompt from the folder (step 3 above) or add the folder to PATH.
“waiting for any device” or fastboot devices shows nothing
- Install the Google USB driver as shown above.
- Use a USB 2.0 port or a port directly on the motherboard. Avoid hubs and the front panel.
- Use the original cable. Many charging-only cables have no data lines.
- AMD Ryzen PCs often lose the phone in Fastboot. 4PDA’s unlock FAQ links a registry fix for this. If it doesn’t help, use a PC with an Intel CPU.
“device unauthorized”
Unlock the screen and accept the USB debugging prompt. If it does not appear: Developer options → Revoke USB debugging authorizations, reconnect the cable and run adb kill-server followed by adb devices.
“adb server version doesn’t match this client; killing…”
Another, older ADB is running on your PC. It usually comes from Mi PC Suite, ADB Installer 1.4.3 or phone-manager apps. Close them, run adb kill-server and use only the Platform Tools copy.
“FAILED (remote: ‘unknown command’)”
Xiaomi does not support that Fastboot command. For example, Fastboot cannot unlock the bootloader on Xiaomi phones. Some commands also only work in fastbootd (adb reboot fastboot), not in the normal bootloader.
FAQ
Is it safe to download ADB from this page?
Yes. The files are Google’s official, unmodified Platform Tools packages. After extracting, you can check the version yourself in source.properties (it says Pkg.Revision=37.0.3).
Do I need ADB and Fastboot to flash a ROM with Mi Flash?
Mi Flash Tool includes its own Fastboot. You still need the USB driver, and Platform Tools help you check the connection (fastboot devices) and your codename before flashing.
Does ADB work over Wi-Fi?
Yes. On Android 11 and newer, enable Wireless debugging in Developer options, choose Pair device with pairing code, then run adb pair IP:PORT and adb connect IP:PORT on your PC. With Platform Tools r37.0.3 you can skip typing: run adb pair --qr and scan the code with Pair device with QR code.
What is the difference between ADB and Fastboot?
ADB works while Android (or recovery) is running: it installs apps, copies files and runs shell commands. Fastboot works in bootloader mode, before Android starts: it flashes partitions and reboots between modes.
Sources: Google Android Developers, SDK Platform Tools release notes; Google USB Driver; Install OEM USB drivers; adb docs; Magisk installation (topjohnwu); 4PDA Xiaomi FAQ, Dima_Apatity; 4PDA unlock FAQ, devserg / Temnik_777; TemnAT_7.
Xiaomi firmware & news on Telegram
New firmware, HyperOS 4 rollout updates, guides and Xiaomi news, all in one channel.

