error: fastboot cannot load 'boot.img'
error: fastboot cannot load 'system.img'
彻底解决fastboot无法使用的问题。
如果没有,需要下载fastboot,可以下载
https://download.youkuaiyun.com/download/qqcc0000/12594271
1. no permissions
$ fastboot -l devices
no permissions
于是知道是因为权限问题,是fastboot没有权限, 解决步骤:
1. 将fastboot的所有者导致无法烧录,属性改成root
$ which fastboot #命令找到fastboot所在的目录,然后进入此目录;再用命令chown改其属性:
$ sudo chown root:root fastboot
$ sudo chmod a+s fastboot
2. 挂载指令导致的无法烧录,加上allow_other参数
sshfs -o cache=yes room@172.16.61.174:/home/room ~/qq_server #升级系统后这个指令不再好用,需要增加allow_other,如下,
sshfs -o cache=yes,allow_other room@172.16.61.174:/home/room ~/qq_server
3. allow_other后提示出错。
fusermount: option allow_other only allowed if 'user_allow_other' is set in/etc/fuse.conf
【转载】https://blog.youkuaiyun.com/one312/article/details/104588607
报错:
fusermount: failed to open/etc/fuse.conf: Permission denied
fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
解决办法:
在文件 /etc/fuse.conf 中添加一行
user_allow_other
即可。
4. 出现FAILED (remote: Warning: battery's capacity is very low
可能由于版本过低导致,可以尝试使用新版本的fastboot,
https://download.youkuaiyun.com/download/qqcc0000/12594271
以上步骤基本可以解决fastboot不好用的问题。