How to enable the debug mode on Google Glass Enterprise Edition 2?

风格不统一 提交于 2020-12-15 06:08:16

问题


It has already been asked in this questions, but this seems to be the Glass Explorer Edition.

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.

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.

How can I enable the debugging mode?


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.


回答1:


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

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.

The commands for adb/fastboot were:

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

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

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

  1. skip the provisioning
  2. enable the developer mode from the settings (see this question)
  3. flash the firmware using the flash tool

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

Happy hacking!



来源:https://stackoverflow.com/questions/64532583/how-to-enable-the-debug-mode-on-google-glass-enterprise-edition-2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!