美文网首页
ubuntu刷机fastboot devices 出现 no p

ubuntu刷机fastboot devices 出现 no p

作者: 小时候很能吃 | 来源:发表于2017-11-21 14:27 被阅读0次

问题解决了,是没有给fastboot授权的问题

用fastboot命令查看设备提示无权限,如下:

$ fastboot -l devices

no permissions         fastboot usb:2-1.3

于是知道是因为权限问题,是fastboot没有权限, 解决步骤:

1. 将fastboot的所有者属性改成root

用which fastboot命令找到fastboot所在的目录,然后进入此目录;再用命令chown改其属性:

sudo chown root:root fastboot

2. 将其权限更改一下:

sudo chmod +s fastboot

重开终端测试成功!

相关文章

网友评论

      本文标题:ubuntu刷机fastboot devices 出现 no p

      本文链接:https://www.haomeiwen.com/subject/wdcwvxtx.html