Google Glass (Explorer Edition)

From postmarketOS Wiki
Icon WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) has been considering dropping it.
Note This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it that way.
Foxconn Glass (Explorer Edition)
Running Xfce 4
Running Xfce 4
Manufacturer Foxconn
Name Glass (Explorer Edition)
Codename google-glass
Released 2013
Type glasses
Hardware
Chipset TI OMAP 4430
CPU Dual-Core 1.2 GHz Cortex-A9
GPU PowerVR SGX540
Display Prism projector, 640×360 pixels (equivalent of a 25 in/64 cm screen from 8 ft/2.4 m away)
Storage 16 GB
Memory 2 GB
Architecture armhf
Software
Original software Glass OS
postmarketOS
Category testing
Pre-built images no
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Screen
Works
Touchscreen
Partial
Multimedia
3D Acceleration
Audio
Works
Camera
Works
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
Works
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • kaendfinger

Maintainer(s)

How to enter flash mode

Note that the the device gives no indication of being in fastboot mode, just a blank screen.

Also note that fastboot devices may show no permissions in place of a serial number. If this is the case, you may need to run fastboot as root. If it still shows no permissions then you probably need to install the android udev rules package, AND copy the file to /etc/udev/rules.d/ AND add the Google Glass product ID to the Google vendor ID section. The Glass has at least 9001 and 9002 as adb and fastboot product identifiers.

Method #1

Method #2

  • power off device
  • hold camera button
  • press power
  • wait 10-15 seconds

(this method is somewhat tricky since pmbootstrap devices is the only way of determining if it was successful)

Method #3

  • power off device
  • enter recovery mode
    • hold camera button
    • press power once
    • continue holding camera button for 10 seconds
  • select Reboot into fastboot

Installation

Installation to flash seems to be challenging/broken at the moment, but pmbootstrap flasher boot does work to get pmOS running on the device, and you can access the device via SSH over USB networking to connect the wlan0 interface to a network using wpa_supplicant and then should be able to sudo apk add postmarketos-ui-i3wm if it didn't automatically start (which it didn't for dragon788).

Interesting notes

i3wm does work on the device, the touchpad on the temple is mapped like an absolute positioning mouse (emulates touchscreen behavior sort of). dragon788 was able to drag the i3wm initial config window to the center of the workspace, because it was way off at the far bottom right since it assumed a resolution higher than 640x360 (probably 800x600 or 1024x768 was the minimum the i3 guys expected).

SXMO doesn't show up as an option, possibly because the device is currently configured as armhf rather than arm7 so changing that per the note at the top of this page may open more options.

See also

pmbootstrap!957 Initial merge request