fastboot 不能烧录问题

error: fastboot cannot load 'boot.img'

error:  fastboot cannot load 'system.img'

彻底解决fastboot无法使用的问题。

如果没有,需要下载fastboot,可以下载

https://download.csdn.net/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.csdn.net/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.csdn.net/download/qqcc0000/12594271

以上步骤基本可以解决fastboot不好用的问题。

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值