ADB和fastboot官方下载链接

以下是ADB和Fastboot的谷歌官方下载链接:

ADB和Fastboot for Windows

https://dl.google.com/android/repository/platform-tools-latest-windows.zip

ADB和Fastboot for Mac

https://dl.google.com/android/repository/platform-tools-latest-darwin.zip

ADB和Fastboot for Linux

https://dl.google.com/android/repository/platform-tools-latest-linux.zip

由于这些是直接的Google链接,用户可以确保下载不仅是官方的,而且将始终能够获得最新版本的ADB和Fastboot。

小米8 fastboot 出现FAILED (Write to device failed (Invalid argument))或waiting for device

报错:
Sending ‘recovery’ (43712 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed

或者报错:
< waiting for any device >
在这里插入图片描述
解决办法:
新建txt:

@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

修改为bat并以管理员身份运行
之后成功:
在这里插入图片描述

Fastboot命令

开机状态进入Fastboot模式:
adb reboot bootloader

Fastboot模式下查看设备型号:
fastboot getvar product

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐