Google I/O 2013 - Voiding Your Warranty: Hacking Glass

Google for Developers · 54K views · 2013 · 36:10

Open on YouTube

Consumer devices & gadgetsEmbedded systems & DIY electronicsSoftware (other)talkdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or asking about Google Glass development outside the Mirror API, such as sideloading Android apps, building Settings.apk, using Bluetooth input, and what the Glass team has said about emulators.

Recommended by 1 people across 1 different months, 2013 to 2013.

What it is

A Google I/O 2013 session in which Googlers Hyunyoung Song and P.Y. Laligand show how to hack the Glass hardware platform, gain root access, and run experimental apps such as stock Android APKs and Settings.apk. It is presented as unsupported territory that may void the warranty.

What people said

Recommends Mark Scheel · 2013-05 · Stack Overflow · on “refresh rate for insert/update for subscriptions? rate,quantity, etc”

This is not something that is expected to be done with the Mirror API. The GDK is where you would want to do this and they are taking feature requests. You might want to add your use case to this thread: [LINK] To answer some of your other questions: 1 - Mirror API card pushes happen within seconds 2 - Seconds 3 - You are currently limited to 1000 card pushes a day per developer account, so that would be shared across all your users 4 - Curently there is no supported way to do that As a final thought, if you really want to do this without official support, you could watch this video which shows you how to run "normal" android apk's on Glass. It is a presentation from Google I/O 2013: [this video]

Cites Jeff Thomas · 2013-05 · Stack Overflow · on “Modify Settings.apk to work with Project Glass”

I am trying to build the Settings.apk to be used on Glass from the Hacking Glass session at Google I/O here: [this video] He mentions that in order for settings apk to work one line in the manifest needs to be modified. This is the AOSP manifest as it is: [LINK] (Added to pastebin due to length) Every time I run the settings app, it crashes out and this is the logcat output: I/PowerManagerService( 184): Auto-brightness: light sensor = 320, brightness = 255 D/Watchdog( 683): Checking for errors D/dalvikvm( 683): GC_CONCURRENT freed 363K, 43% free 9944K/17223K, paused 3ms+2ms D/dalvikvm( 683): GC_CONCURRENT freed 382K, 42% free 10074K/17223K, paused 3ms+1ms D/dalvikvm( 683): GC_CONCURRENT freed 363

Cites Will Bendick · 2013-05 · Stack Overflow · on “Building Settings.apk for Glass”

I am trying to build Settings.apk for Glass as demoed here: [this video] I've cloned the source from [LINK] When I import the android project to eclipse. Every source file has errors because com.android.internal.R cannot be resolved to a type. Can anyone provide build instructions for this or other platform apps on the android.googlesource site?

Cites JJJ · 2013-06 · Stack Overflow · on “Offline emulator for Google glass OS”

The Glass team is looking to provide an offline emulator for Glass, but this does not change the fact that you need Glass to develop for Glass. PY stated this at Google I/O 2013 - Voiding Your Warranty: Hacking Glass (33:40) [this video] .

Cites Ostap Andrusiv · 2013-08 · Stack Overflow · on “How to use phone keyboard on google glass”

I guess, you can use apps like TabletRemote/DroidMote : install that on both devices and try to control your glass as any other android (I'm not sure, if this app would work for you, just try). Another option is to use Bluetooth keyboard/mouse . From what I have seen here: Voiding Your Warranty: Hacking Glass [this video] you can connect BT keyboard/mouse to your glass. If you don't have any bluetooth input devices you can try converting your android phone into bluetooth keyboard via BluePutDroid app. It requires rooted phone and supports a limited amount of devices [LINK] , but if it runs, your phone would be detected as BT keyboard.