Skip to content

shoya140/GlassLogger

Repository files navigation

GlassLogger

The Sensor Logging App on Google Glass

screen shot

Features

  • Recording built-in sensor data -> /sdcard/GlassLogger/TIMESTAMP/SENSORNAME.txt
  • Monitoring and visualizing infrared proximity sensor.
  • Blink detection (counting up and making a sound if user blinks).

Installation

Warning: Rooting, unlocking, or flashing your Glass voids your warranty and can leave your device in an irrecoverable state. You will no longer receive OTA updates if you unlock or root your Glass. There is no guarantee that you will receive OTA updates even after flashing back to factory specifications. Proceed at your own risk.

1.Set up android sdk on Linux

fastboot on MacOSX has some trouble and doesn't work.
Please set "adb" and "fastboot" commands and do path settiings on Linux.
Get the Android SDK | Android Developers

2.Get the root permission of Google Glass

$adb reboot bootloader
$fastboot oem unlock #You have to type this command twice.
$fastboot flash boot boot.img
$fastboot reboot
$adb root

You can download boot.img from here

3.Change the permission of /sys/... raw sensor data file.

$adb shell
$su
#chmod 664 /sys/bus/i2c/devices/4-0035/proxraw
-rw-rw-r-- system   system       4096 2013-11-04 10:05 proxraw

4.Build GlassLogger.apk and install to GoogleGlass

Please build the .apk file by eclipse or android studio.

About

The Sensor Logging App on Google Glass

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages