遇到的问题
使用mac的fastboot刷安卓机时遇到:
ERROR: Couldn’t create a device interface iterator: (e00002bd)
且刷入后的ROM卡死在Android进入界面不可用。
是新版MAC上的一些莫名其妙的bug,查看fastboot版本28.0.2-5303910。
➜ hammerhead-mra58k fastboot --version
fastboot version 28.0.2-5303910
Installed as */Library/Android/sdk/platform-tools/fastboot
➜ hammerhead-mra58k fastboot devices
ERROR: Couldn't create a device interface iterator: (e00002bd)
063e042800636c57 fastboot
解决方法
下载老版本的Android Platform Tools
Android Platform Tools 26.0.1
使用低版本的的fastboot刷机
执行flash-all.sh的命令,其中fastboot路径为低版本路径:
fastboot flash bootloader bootloader-hammerhead-hhz12k.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.27.img
fastboot reboot-bootloader
sleep 5
fastboot -w update image-hammerhead-mra58k.zip