Created
May 27, 2020 18:02
-
-
Save Skrilltrax/bc8d23bbfbf3d0ff2e2fb720371243ff to your computer and use it in GitHub Desktop.
Fix the USB 3 issues in fastboot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Echo off | |
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 | |
pause |
If anyone looking solution for linux, here is it:
$ lsusb
$ echo 'ID:k' | sudo tee /sys/module/usbcore/parameters/quirks # ID is the id of your phone device of previous command in format xxxx:xxxx
$ echo 'ID:k' | sudo tee /sys/module/usbcore/parameters/quirks # ID is the id of your phone device of previous command in format xxxx:xxxx
A better way to do this (which persists after reboots) is
# ID is the USB ID of the phone device
# e.g.
# ID='xxxx:xxxx'
echo "options usbcore quirks=${ID}:k" | sudo tee /etc/modprobe.d/fastboot.conf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, no. There are no performance impacts.