如何在Google Glass Enterprise Edition 2上启用调试模式?

问题描述

this questions中已经有人要求使用它,但这似乎是 Glass Explorer Edition

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

scrcpy 中多次单击System -> About phone -> Build number无效。由于它是最底端的条目,并且触摸板不够灵敏,因此无法通过触摸板轻敲它。

如何启用调试模式?


背景:我目前在firmware version OPM1.190831.003上,我正尝试通过flashing tool将其更新为最新版本。

解决方法

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

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

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中的闪烁说明有所不同。 这是由于这个错误发生在我身上:

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

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

  1. 跳过配置
  2. 从设置中启用开发人员模式(请参见this question
  3. 使用flash tool
  4. 刷新固件

刷新新固件后,可以从Glass设置启用开发人员模式。

黑客很开心!