Last updated: November 8, 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.
Below you will find the latest Platform Tools r37.0.1 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.1)
| File | Version | Size | Download |
|---|---|---|---|
| Platform Tools for Windows | r37.0.1 (July 2026) | ~7.7 MB | Download for Windows |
| Platform Tools for macOS | r37.0.1 (July 2026) | ~15.4 MB | Download for Mac |
| Platform Tools for Linux | r37.0.1 (July 2026) | ~8.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 has published r37.0.2 as a Canary (test) build in November 2026. It mostly reduces log spam and fixes macOS/Linux USB detection. If r37.0.1 works for you, stay on the stable version.
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, but it can fail on phones running HyperOS 3 and 4. For anything serious, use Platform Tools from this page.
What’s New in Platform Tools 37
- New USB backend on Windows (
libadbusb) for more stable device detection. - Better Wi-Fi debugging: a new mDNS backend makes
adb pairand wireless ADB more reliable. - Fixed hotplug issues on Linux: phones are no longer “lost” after a reboot into Fastboot.
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.1, 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 and update Platform Tools with one command: winget install Google.PlatformTools.
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. This option needs a SIM card and a signed-in Xiaomi account.
- 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 a system app for the current user (debloat) |
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, used for rooting phones that launched with Android 13 or newer |
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.
- On AMD Ryzen PCs, Fastboot is known to drop on USB 3 ports. A USB 2.0 hub, oddly enough, often fixes it.
“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.1).
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.
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.
Xiaomi firmware & news on Telegram
New firmware, HyperOS 4 rollout updates, guides and Xiaomi news, all in one channel.

