Skip to content

[Windows install wiki] Fix for 'best drivers for your device already installed/windows was unable to install your unknown device' #482

@Rhuggard

Description

@Rhuggard

NB: Instructions for Windows 10 but should be similar for 11.

When installing Google USB drivers for windows via Device Manager either via downloads from https://asteroidos.org/ or via Android Studio you may run into an issue with installing the driver.

When you select your device (you can check it is correct by unplugging and reconnecting and the device should appear/dissapear from the Device Manager UI)

You can right click and select 'Update Driver' which should open the following dialogue:

Image

Select Browse my computer for Drivers

Then select the folder containing the usb drivers you have downloaded e.g.

Image (in android studio the default location is %systemdrive%%homepath%\AppData\Local\Android\Sdk\extras\google\usb_driver)

This may work but you may also get one of the following unhelpful messages:

Image Image

If so then the drivers corresponding .inf file may simply be missing the hardward id for your device.

To fix:

You will first need to get the hardward ID for your device. Unplug and plug it back in to check you have the right device in Device Manager, then right click and select Properties.

Then click on the 'Details' tab

Then select the 'Hardware IDs' in the 'Property' dropdown.

Right click and copy the first line in the 'Value' box.

You then open the .inf file for your android driver (e.g. android_winusb.inf) and add the line:

%SingleBootLoaderInterface% = USB_Install, [Insert your copied Hardware ID here]

under both the [Google.NTx86] and [Google.NTamd64] lines in the .inf file.

Now since you have edited the driver you can no longer install it normally under windows since the signature has changed so you will need to restart and into advanced startup options.

To do this hold shift while clicking restart in the start menu.

You'll be greeted with a menu consisting of blue squares, click 'Troubleshoot' -> 'Advanced options' -> 'Startup Settings' then click 'Restart'

Select the option labeled Disable 'driver signature enforcement' (option 7 on Win 10)

Now when you restart you can install the driver via device manager as before. You will be greated with a red confirmation warning. Accept and then it will successfully install the driver regardless of whether in the list of hardware IDs explicitly supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions