The Sensor Logging App on Google Glass
- 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).
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.
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
$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
$adb shell $su #chmod 664 /sys/bus/i2c/devices/4-0035/proxraw -rw-rw-r-- system system 4096 2013-11-04 10:05 proxraw
Please build the .apk file by eclipse or android studio.