• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][AOSP][5.1.1] AOSP for Google Glass

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
https://developers.google.com/glass/tools-downloads/system#factory_images said:
Warning: Rooting, unlocking, or flashing your Glass voids your warranty and can leave your device in an irrecoverable state. Proceed at your own risk.
This is the Android Open Source Project for Google Glass. The current version is 5.1.1 Lollipop. Thanks to the OMAP4-AOSP project, development for Glass has been rapid and stable. The blobs that are not provided by OMAP4-AOSP are pulled from XE22, and the XRX13B kernel is compiled from source.

This is not the OS you would expect to run on Glass. This is stock Android, and it is difficult to use. If you enjoy using your Glass on a day-to-day basis, please do not flash this ROM.



Why did you do this?
  1. I wanted to create a base platform for developers, like myself, who like to experiment. We shouldn't be bound to the GDK.
  2. I wanted to revive community interest in Google Glass. It is an incredibly interesting device that seemed to disappear before its peak.
  3. Above all else, I just wanted to see if I could.

Installation Instructions

Your Glass will be wiped if you follow these instructions.

1) Download and extract the zip containing the boot.img and system.img files:
2) Boot Glass into fastboot mode:
  • From Glass, enter the Settings menu.
  • Scroll to the Device Info card and select it.
  • Scroll to the "Turn on debug" card and select it.
  • Once debugging is enabled, connect Glass to your computer and enter:
    Code:
    $ adb reboot-bootloader
    https://developers.google.com/glass/tools-downloads/system#factory_images said:
    You can also enter fastboot mode by holding down the camera button, pressing the power button (Glass must be off before doing this), and waiting about 10-15 seconds. Glass does not indicate that it is in fastboot mode (display is off), but you can run fastboot devices to check.
3) If you have not already, unlock your Glass:
Code:
$ fastboot oem unlock
4)
Code:
$ fastboot flash system system.img
$ fastboot flash boot boot.img
$ fastboot erase cache
$ fastboot erase userdata
$ fastboot reboot
The first boot may take some time as partitions are created and firmware versions are checked. You may also experience a reboot during the initial boot. To revert back to the stock Glass ROM, simply follow the instructions at https://developers.google.com/glass/tools-downloads/system#factory_images.

Working:
  • WiFi
  • Bluetooth pairing
  • GPS
  • Touchpad
  • Audio (kind of)
  • Camera (see below)

Known Issues:
  • Audio currently outputs either the left or right signal
  • Bluetooth connections cannot be made to various devices
  • Backlight control does not work
  • Powered off charging indicator is flakey
  • Camera gamma is sketchy in low light
  • Screenshots are glitchy
  • You tell me

Tips and Tricks:

XDA:DevDB Information
AOSP for Google Glass, ROM for the Google Glass

Contributors
jtxdriggers, http://omap4-aosp.github.io/
Source Code: https://github.com/justindriggers/android_device_glass_glass-1

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Testing

Created 2016-04-11
Last Updated 2016-04-20
 

Attachments

Last edited:

fuekiin

Member
May 8, 2011
14
6
0
Awesome!

Thank you! That's awesome! I'll Flash it later this day :)

[edit]

installed it and its working :) I have also installed the pulled XE7 APKs from zhuowei . So far it is working. A real custom rom for Glass, with an easy to use launcher and glass-friendly apps would be fantastic. I think your Work is a perfect base for it. I am really looking forward on upcoming developments. Thank you again!
 
Last edited:
  • Like
Reactions: jtxdriggers

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
A real custom rom for Glass, with an easy to use launcher and glass-friendly apps would be fantastic. I think your Work is a perfect base for it. I am really looking forward on upcoming developments. Thank you again!
That's the long-term goal. Hopefully we can focus on getting Marshmallow working first, then we can start work on a new application layer. I am glad to hear that it's working for you. If you don't mind me asking, which version of Glass do you have (1GB or 2GB)? I personally have the 1GB model but I'd like to make sure the 2GB model works as well.
 
  • Like
Reactions: fuekiin

fuekiin

Member
May 8, 2011
14
6
0
That's the long-term goal. Hopefully we can focus on getting Marshmallow working first, then we can start work on a new application layer. I am glad to hear that it's working for you. If you don't mind me asking, which version of Glass do you have (1GB or 2GB)? I personally have the 1GB model but I'd like to make sure the 2GB model works as well.
It's the newer Version with 2GB of RAM :good:
Where are you tracking bugs? Github?
 
  • Like
Reactions: jtxdriggers

exseus

Member
Feb 19, 2016
11
1
0
Glad to see you've picked your glass up again. Does this rom support mouse functionality? If so it might be just what I am looking for. I will test this out later and let you know what I find.
 
Last edited:

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
Tomorrow i will maybe do some more testing. Also with an wired Mouse.

Beside this Problem, have you thought about mirroring the touch pad? For me it's very confusing right now [emoji1]
It makes sense as it is to me. Have you tried enabling "Show touches" in the Input section of the Developer options?
 

kevkid

Senior Member
Sep 22, 2010
302
48
28
Forgive my ignorance, but will this rom allow for installing regular android apps on the glass? What are the advantages of having this custom rom? Also where can I donate?
 
Last edited:

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
Forgive my ignorance, but will this rom allow for installing regular android apps on the glass? What are the advantages of having this custom rom? Also where can I donate?
That is correct, I've had reports of people installing GApps successfully and everything - just be aware that using the device is pretty difficult. Not really the "at a glance" mentality that Google was going for.

Long term, I'm looking to get Lollipop and Marshmallow working, and eventually develop a Glass-friendly UI on top of those based off of what the community thinks Glass should have been. Only a handful of people seem to be interested, but it's a really great side project for me.

That said, I'm not currently accepting donations. If the cost of my build box gets too high then I may reconsider, but I honestly don't want people investing in something that I actually have very little time to work on.
 
  • Like
Reactions: kevkid

kevkid

Senior Member
Sep 22, 2010
302
48
28
That is correct, I've had reports of people installing GApps successfully and everything - just be aware that using the device is pretty difficult. Not really the "at a glance" mentality that Google was going for.

Long term, I'm looking to get Lollipop and Marshmallow working, and eventually develop a Glass-friendly UI on top of those based off of what the community thinks Glass should have been. Only a handful of people seem to be interested, but it's a really great side project for me.

That said, I'm not currently accepting donations. If the cost of my build box gets too high then I may reconsider, but I honestly don't want people investing in something that I actually have very little time to work on.
I believe you have opened the flood gates. It may reinvigorate the community and get some great stuff out there. Thanks!
 

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
The first Lollipop build has been uploaded and the OP has been updated to reflect the changes. During development, I stumbled upon a project whose focus is to maintain AOSP for OMAP4 CPUs (which Glass happens to use). Coincidentally, their development started only a few months ago, and is ready for us to use! I commend the developers of OMAP4-AOSP - without them, our progress would take much longer.

The newly uploaded image is based on their project. Don't worry, it's still very much AOSP. Up next - Marshmallow.
 
  • Like
Reactions: jocarog