[Android]问题解决-Device must be bootloader unlocked

这篇具有很好参考价值的文章主要介绍了[Android]问题解决-Device must be bootloader unlocked。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

现象

在push文件时,remount命令发生如下报错:
device must be bootloader unlocked,使用方面,android,系统安全

$ adb remount
Device must be bootloader unlocked

解决

1. 打开 开发者模式中的OEM unlocking开关

device must be bootloader unlocked,使用方面,android,系统安全

2. fastboot unlock设置

adb reboot bootloader
fastboot flashing unlock

根据屏幕提示,按up键选择unlock
device must be bootloader unlocked,使用方面,android,系统安全

$ fastboot flashing unlock
...
(bootloader) Start unlock flow

OKAY [ 20.178s]
finished. total time: 20.178s

重启回到normal模式开机

fastboot reboot

3. 再次remount

$ adb root
restarting adbd as root

$ adb remount
Verity is already disabled
Using overlayfs for /system
Using overlayfs for /system_ext
Using overlayfs for /vendor
Using overlayfs for /product
Remounted /system as RW
Remounted /system_ext as RW
Remounted /vendor as RW
Remounted /product as RW
Overlayfs enabled.
Remount succeeded
Now reboot your device for settings to take effect

$ adb reboot

device must be bootloader unlocked,使用方面,android,系统安全

4. 问题解决

$ adb remount
Verity is already disabled
Remounted /system as RW
Remounted /system_ext as RW
Remounted /vendor as RW
Remounted /product as RW
Remount succeeded

device must be bootloader unlocked,使用方面,android,系统安全文章来源地址https://www.toymoban.com/news/detail-762672.html

到了这里,关于[Android]问题解决-Device must be bootloader unlocked的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • ValueError: The device should not be ‘gpu‘, since PaddlePaddle is not compiled with CUDA问题解决(Paddle)

    两个问题 一并解决: 1 Traceback (most recent call last):   File \\\"run_trainer_ernie_gen.py\\\", line 120, in module     paddle.set_device(trainer_params.get(\\\"PADDLE_PLACE_TYPE\\\", \\\"cpu\\\"))   File \\\"/opt/conda/envs/ERNIE-GEN/lib/python3.7/site-packages/paddle/device/__init__.py\\\", line 204, in set_device     place = _convert_to_place(device)   File \\\"/o

    2023年04月08日
    浏览(79)
  • Android开发获取数据库数据报错“Value must be ≥ 0 but `getColumnIndex` can be -1”

           在Android开发中,获取自带数据库(SQLite) 中的数据时,会使用Cursor.getColumnIndex()循环获取每一列数据,但是直接写上去会给你报错,我们打开Build查看报错,会叫你修改下面的报错代码。        Value must be ≥ 0 but `getColumnIndex` can be -1”   翻译一下”valuse的值必须大于

    2024年02月16日
    浏览(28)
  • 成功解决RuntimeError: batch2 must be a 3D tensor

    成功解决RuntimeError: batch2 must be a 3D tensor。 在深度学习的世界中,张量是构建一切的核心。它们是数据的容器,是模型训练的基石。然而,当我们尝试使用 torch.bmm() 函数进行批量矩阵乘法时,可能会遇到一个常见的错误:“RuntimeError: batch2 must be a 3D tensor”。这个错误提示似乎

    2024年02月22日
    浏览(29)
  • 已解决ValueError: All arrays must be of the same length

    已解决(pandas创建DataFrame对象报错)ValueError: All arrays must be of the same length 粉丝群里面的一个粉丝用pandas创建DataFrame对象,但是发生了报错(跑来找我求助,然后顺利帮助他解决了,顺便记录一下希望可以帮助到更多遇到这个bug不会解决的小伙伴),报错信息和代码如下: 报

    2024年02月02日
    浏览(41)
  • 问题记录:A component with async setup()must be nested in a in order to be rendered.

    setup function returned a promise, but no boundary was found in the parent component tree. A component with async setup() must be nested in a in order to be rendered. 翻译: setup函数返回了一个promise,但没有边界在父组件树中找到。 具有异步setup()的组件必须嵌套在中才能呈现。 如果使用script setup,可以在顶部

    2024年02月15日
    浏览(29)
  • 智能电视root,获取最高权限,su: must be suid to work properly解决

    su命令 superuser.apk或supersu.apk sh命令(通常原系统自带) busybox(可选,拓展原系统的命令,原系统自带的命令较少) 当前电视的system.img镜像文件 其实较简单,就是将sh、su、busybox复制到/system/bin或/system/xbin目录下,然后安装superuser.apk到手机,授权应用程序的超级用户请求。

    2024年02月12日
    浏览(44)
  • Python错误解决:list indices must be integers or slices, not tuple

    Python错误解决:list indices must be integers or slices, not tuple 在Python编程中,我们经常会遇到代码运行时出现错误的情况。其中,\\\"list indices must be integers or slices, not tuple\\\"是一种常见的错误类型。它通常发生在使用列表时,我们将元组作为索引值传递给列表时会出现这个错误。 该错

    2024年02月11日
    浏览(31)
  • 【Python】成功解决TypeError: list indices must be integers or slices, not float

    【Python】成功解决TypeError: list indices must be integers or slices, not float 🌈 个人主页:高斯小哥 🔥 高质量专栏:Matplotlib之旅:零基础精通数据可视化、Python基础【高质量合集】、PyTorch零基础入门教程👈 希望得到您的订阅和支持~ 💡 创作高质量博文(平均质量分92+),分享更多关

    2024年04月27日
    浏览(51)
  • 解决 This request has been blocked; this endpoint must be available over WSS.

    使用WebSocket在本地是没有问题的,能够和前端进行正常交互,但是将项目部署到服务器上,发现和前端建立不了WebSocket的连接,打开浏览器控制台报错: This request has been blocked; this endpoint must be available over WSS. 1、 首先我们要明白 wss协议实际是websocket+SSL,就是在websocket协议上

    2023年04月09日
    浏览(30)
  • pktgen-dpdk arm编译问题 “Platform must be built with RTE_FORCE_INTRINSICS“

    编译报错 解决办法: 我是在 arm架构服务器上编译出现这个,要定义 RTE_FORCE_INTRINSICS 在meson.build中 增加gcc编译参数

    2024年02月14日
    浏览(30)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包