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



这个问题中已经问过了,但这似乎是Glass Explorer Edition

当我点击Enterprise Edition 2中的设备信息选项卡时,会打开默认的Android设置。它们几乎无法使用触摸板,所以我使用scrcpy来控制它

scrcpy中多次单击System -> About phone -> Build number无效。通过触摸板敲击是不可能的,因为它是最底部的入口,而且触摸板不够灵敏。

如何启用调试模式?


背景:我目前使用的固件版本为OPM1.190831.003,我正试图通过闪烁工具将其更新为最新版本。

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

我能够使用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. 从设置中启用开发人员模式(请参阅此问题(
  3. 使用闪存工具闪存固件

当新固件闪存时,您可以从Glass设置启用开发者模式。

黑客快乐!

最新更新