Home > Tips and Tricks

How to Fix Android ADB and Fastboot Issues on Ryzen based PCs

In this guide, we will show you the steps to fix all the Android ADB and Fastboot issues on Ryzen based PCs. ADB and Fastboot Commands are known as the powerhouse for tech enthusiasts. Be it for booting your device to Fastboot or Recovery Mode, unlocking the device’s bootloader, or installing custom recoveries, they are being used across varied domains.

However, more often than not, issues seem to stem out from this set of commands itself. As a result, I have already documented over 15 different types of ADB Fastboot Errors and their Fixes. But over the course of time, I was seeing a strange pattern. A few sets of users weren’t able to achieve success even after executing my fixes and workarounds.

After getting in touch with some of them, I found that around 90% of them were using a Ryzen based PC. Keeping this point in mind, I did a Google search and found out that there are a plethora of complaints by users having this chipset. If you are also getting bugged with these Android ADB and Fastboot issues on your Ryzen based PC, then this guide shall help you fix it. Follow along.

How to Fix Android ADB and Fastboot Issues on Ryzen based PCs

Before moving onto the major fixes, there are a few basic ones [first three] that you need to keep in mind. It might be the case that these basic fixes could do the job for you and you don’t even need to go for advanced fixes. So without further ado, here are these shorthand fixes that deserve your attention:

Use the latest Google ADB Binaries

Make sure that you are using the latest ADB and Fastboot Tools. Likewise, also keep in mind that you should only use the official ADB tools provided by Google and not any other third-party ADB software. So download it from here: Android SDK Platform Tools.

install adb platform tools windows

Once downloaded, extract it to any convenient location on your PC and you shall get the platform-tools folder. Then head over to this folder’s address bar, type in CMD, and hit Enter. This shall launch the Command Prompt window. Now executing the desired command and see if it fixes the Android ADB and Fastboot issues on your Ryzen based PC.

Install Android USB Drivers

USB Drivers are needed to establish a successful connection between your device and the PC. While on paper, you might have seen different drivers for different Android devices, but in reality, they share the common file: android_winusb.inf.

install android usb drivers fix ADB Fastboot issue Ryzen

And this is what you need to install onto your PC. So refer to our guide on How to Download and Install Android USB Drivers. Once installed, check if it fixes the Android ADB and Fastboot issues on your Ryzen PC.

Use Official USB Cables | USB 2.0 Ports

There are two more things to keep in mind. First off, you should only use the official USB cables that came shipped with your device. Or use the one that supports MTP. There have been numerous issues related to the usage of an incorrect cable- that only supports device charging. So switch cables and see if it fixes the error or not.

usb 2.0 port fix adb fastboot ryzen

Likewise, the latest USB 3.0 ports have also known to cause a few issues. Hence it is recommended that you stick with the USB 2.0 Ports on your PC. Keeping both these USB tips in mind, check if it is able to fix the Android ADB and Fastboot issues on your Ryzen PC.

Up until this point, we have shared the basic fixes that are known to work for some users. But if that wasn’t the case with you, then here are the Ryzen specific fixes that deserve your attention.

Delay Device Connection on Ryzen

I recently stumbled upon this workaround across XDA and Reddit and turns out it is one of the best tweaks to date. Let’s check it out:

  1. To begin with, boot your device to Fastboot Mode. For that, power it off, then press and hold the Power and Volume Keys for a few seconds and your device will be booted to Fastboot/Bootloader Mode.
  2. Then transfer the file that you are about to flash to the platform-tools folder.
  3. Likewise, launch the Command Prompt window inside this folder.
  4. Now type in the desired flashing command in this CMD window, but don’t connect your device to PC via USB cable. Let’s suppose you wish to boot to TWRP, so you would execute the  below command
    fastboot boot twrp.img

    waiting for device fix adb fastboot issue ryzen

  5. Doing so will give you the <waiting for device error>. This is obvious since your device isn’t connected to the PC as of now.
  6. So at this point in time, connect your device (which you have booted to Fastboot Mode) to the PC via USB cable.
  7. Your PC will recognize the connected device and soon as that happens, the file will be automatically flashed onto your device. Pretty interesting, isn’t it?

The only downside with this is the fact that it isn’t a fix but a workaround. So you would have to try out this tweak every time before flashing a file. So talking about a more concrete fix for the Android ADB and Fastboot issues on your Ryzen PC, the below method is just suited for that.

Add USB Flags to Windows Registry Editor

In this fix, we will be executing three commands that will add the required USB flags to your Windows Registry Editor on your Ryzen PC. [Credits: XDA Senior Recognized Developer nathanchance]

  1. To begin with, head over to the Start Menu and search for CMD.
  2. Then launch the Command Prompt as an Administrator.
    command prompt fix adb fastboot errors ryzen
  3. Now execute the following three commands in this CMD window, one at a time:
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f 
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f 
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
  4. Once all three commands are executed, reboot your PC. The issue should now be fixed.

So these were the different methods that shall help you fix the Android ADB and Fastboot issues on your Ryzen PC. Do let us know in the comments section which one managed to rectify the issue in your case. Likewise, if you have any queries, drop them in the comments below.

  • that registry edit command just worked….thanks alot…i have been suffering this for days…it just showed the fastboot devices and now I can flash easily…thanks again

  • Thanks bro this helped me fix fastboot issue i had since many days. The last one worked for me. Keep up the good work. Thanks again!

  • hi bro
    my phone Xiaomi Mi8 pro Equuleus was flashed custom Oxygen os and brick my phone.Now i cannot install android 9 and 10.
    Everytime i install Mi8pro fastboot firmware android 9 , android 10,
    get stuck into Bootloader.did not work.
    It boot to system successfully only android 8.1 rom.
    help me .

  • Aashish Vagela

    Brother i think my phone’s some partition like system and vendors are deleted .
    and i can not flash system.img and vendor.img how can i fix this problem. even i can’t flash any custom recovery either.

    note: This happened when i tried to change custom Rom and install stock rom from custom recovery.

    • Sadique Hassan

      H Aashish, could you let me know your device name? Moreover, the partitions are never deleted, they are just corrupted. So make sure that you are using the correct flashing commands: fastboot flash system system.img and fastboot flash vendor vendor.img. If these are the commands you are using, then please let me know the error message that you are facing.