参考文章:https://blog.csdn.net/u010335298/article/details/53638394
1.使用以下命令来查看fastboot所在的位置:
which fastboot (Git命令行模式)
$ which fastboot
/c/adb/fastboot
或者
$ adb --version
Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as C:\adb\adb.exe
$ fastboot --version
fastboot version 0.0.1-4500957
Installed as C:\adb\fastboot.exe
2.在环境变量Path中添加路径
path 添加adb 和fastboot的路径 C:\adb
3.刷机
1. cd /e/rse/EAEDBQ1OCN200325175DD_userdebug_fastboot
2. ./fastboot-flash.sh (步骤 : 输入 ./+再按Tab键)
3. fastboot reboot