【Android安全】fastboot相关

本文提供了ADB和Fastboot的官方下载链接,适用于Windows、Mac和Linux系统。同时,针对小米8在Fastboot模式下出现'FAILED (Write to device failed (Invalid argument))'或'<waiting for any device>'的错误,给出了通过创建和运行bat文件的解决方案。此外,还列举了进入Fastboot模式的命令以及查看设备型号的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值