[other] 求助!!!Deepin无法运行小米线刷包脚本
Tofloor
poster avatar
拓吾
deepin
2023-08-20 03:17
Author

如题。我也不知道为啥,打开后终端报错提示“文件格式错误”,但是能够在archLinux运行。

小米的线刷包是有保留Linux刷机脚本的传统的,所以小米有线刷脚本很正常()

这张是报错的截图。
image.png

下面这张则是我自己试了下,看图adb和fastboot应该是正常配置好的。

image.png

各位大佬看下具体是啥问题呗,辛苦指导一下,感谢

Reply Favorite View the author
All Replies
拓吾
deepin
2023-08-20 03:23
#1

线刷包文件是正常的,用刷机包内的校验工具检测过了。但是这个截图上传不上来显示违规……

Reply View the author
菰城鸥鹭
deepin
2023-08-20 03:32
#2

在终端,用命令打开(在该文件目录内) 格式: sh xxx.sh 试试看

Reply View the author
拓吾
deepin
2023-08-20 03:44
#3
菰城鸥鹭

在终端,用命令打开(在该文件目录内) 格式: sh xxx.sh 试试看

会一直在这个界面并且没有反应😂 照理来说应该会有一个“”的提示
image.png

Reply View the author
拓吾
deepin
2023-08-20 03:45
#4
菰城鸥鹭

在终端,用命令打开(在该文件目录内) 格式: sh xxx.sh 试试看

等下,跑起来了!!!

为啥deepin的fastboot不会有文字提示啊😂

Reply View the author
mozixun
deepin
2023-08-20 05:13
#5

以后可以试试sh前面加上

#!/bin/bash

Reply View the author
拓吾
deepin
2023-08-20 05:29
#6
mozixun

以后可以试试sh前面加上

#!/bin/bash

嗯嗯,学到了,感谢

Reply View the author
马小光
deepin
2023-09-25 05:16
#7

bash: fastboot:未找到命令
这个怎么解啊!

Reply View the author