如何在Google Glass Enterprise Edition 2上启用调试模式? [英] How to enable the debug mode on Google Glass Enterprise Edition 2?

查看:122
本文介绍了如何在Google Glass Enterprise Edition 2上启用调试模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已经在 Enterprise Edition 2 中点击设备信息选项卡时,将打开默认的Android设置.使用触摸板几乎无法使用它们,因此我正在使用 scrcpy 对其进行控制.

When I am tapping the device info tab in the Enterprise Edition 2, the default Android settings open up. They are almost unusable using the touchpad, so I am using scrcpy to control it.

点击 System->关于电话-> scrcpy 中的内部版本号无效.由于它是最底端的条目,并且触摸板不够灵敏,因此无法通过触摸板轻敲它.

Clicking System -> About phone -> Build number multiple times in scrcpy does not work. Tapping it via the touchpad is impossible due to that it's the bottommost entry and the touchpad is not sensitive enough.

如何启用调试模式?

背景:我目前使用的是固件版本 OPM1.190831.003 ,我正尝试通过

Background: I am currently on the firmware version OPM1.190831.003 and I am trying to update it to the latest via the flashing tool.

推荐答案

问题的答案是:更新固件(有点像鸡和鸡蛋的问题).

The answer to the problem is: update the firmware (kind of a chicken-and-egg problem).

我能够使用USB-A电缆而不是Glass随附的USB-C电缆来刷新系统映像 OPM1.200625.001 .

I was able to flash the system image OPM1.200625.001 using an USB-A cable instead of the USB-C cable included with the Glass.

用于 adb / fastboot 的命令为:

cd OPM1.200625.001_user_signed
adb reboot-bootloader
fastboot oem xx-force-unlock-all 1
fastboot flash bootloader bootloader.img
fastboot flash bluetooth bluetooth.img
fastboot flash dsp dsp.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img
fastboot flash vendor vendor.img
fastboot flash userdata userdata.img
fastboot boot boot.img

您可能会注意到,这与 README.txt 中的闪烁说明有所不同.这是由于这个错误发生在我身上:

You may notice that this differs from the flashing instruction in the README.txt. This is due to that this error occurred to me:

...\OPM1.200625.001_user_signed> fastboot flash boot boot.img
fastboot: error: cannot get boot partition size

boot.img 启动Glass之后,该文件不会保存到启动分区中!因此,在系统启动后:

After the Glass has booted from boot.img this is not saved to the boot partition! So after the system is booted:

  1. 跳过配置
  2. 从设置中启用开发人员模式(请参见刷新工具
  3. 刷新固件
  1. skip the provisioning
  2. enable the developer mode from the settings (see this question)
  3. flash the firmware using the flash tool

刷新新固件后,您可以通过Glass设置启用开发人员模式.

When the new firmware is flashed you can enable the developer mode from the Glass settings.

黑客很开心!

这篇关于如何在Google Glass Enterprise Edition 2上启用调试模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆