參考文章: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