Glass OS
Glass OS
Jump to navigation
Jump to search
Developer | |
---|---|
Written in | C (core), C++, Java[1] |
OS family | Android |
Working state | discontinued |
Source model | Open source with closed source components[2] |
Initial release | XE4 / April 11, 2013 (2013-04-11) |
Final release | XE23 / June 20, 2017 (2017-06-20) |
Marketing target | Augmented Reality |
Available in | Multi-lingual |
Update method | FoTA |
Platforms | 32-bit ARM |
Kernel type | Monolithic (modified Linux kernel) |
License | Developer Preview: proprietary[3] Apache License 2.0 Linux kernel patches under GNU GPL v2[4] |
Official website | www.google.com/glass |
Glass OS (Google XE) is a version of Google's Android operating system designed for Google Glass. "glass-omap" Tag is used in referring to the modified Android code which can be found inside Kernel Repository.[5]
Contents
1 Release History
1.1 April 11, 2013: XE4.0
1.2 May 7, 2013: XE5.0
1.3 June 4, 2013: XE6.0
2 Glass OS update
3 OS hacks
3.1 Gain root access
3.2 Flash factory image
3.3 Modify Kernel source code
3.4 Build OS kernel from source code
4 References
Release History[edit]
The following list shows the main changes happened for each update release.[6] For more detailed release notes visit the support website.
April 11, 2013: XE4.0[edit]
Initial release.
May 7, 2013: XE5.0[edit]
XE5 updates included[7]:
- Change to sync policy: require power + WiFi for background uploads
- Crash reporting
- Incoming G+ notifications (direct shares, comments, +mentions), including ability to comment and +1
- Incoming Hangout notifications
- Transcription of queries & messages is now wicked-fast
- Long-press to search from anywhere in the UI (no longer just from off)
- International number dialing + SMS
- Hop animation on disallowed swipes in the UI
- New On-Head Detection calibration flow
- Show device Serial Number on Device Info card
- More reliable estimation of battery charge remaining
- New recipient-list mosaic
June 4, 2013: XE6.0[edit]
XE6 updates include[8]:
- Better photos through Glass
- Voice annotate your photos and videos when sharing
- Improvements to On-Head Detection. Please re-calibrate to enable the improvements.
- Improved cards in Google Now for Sports, and a new card for Birthdays
- Fixes for several issues
Glass OS update[edit]
Glass updates by itself automatically over the air. Glass will check Google servers periodically for updates. When an update is available, Glass will download it to the device and will install the update all by itself. This happens under the condition of active battery charging and a reliable Wi-Fi connection.[9]
OS hacks[edit]
This section contains instructions, advice, or how-to content.September 2018) ( |
Gain root access[edit]
Root access can be easily obtained by using the following script using the rooted bootloader.[10]
$ adb reboot bootloader # enter fastboot mode, takes 10-15 seconds
$ fastboot devices # verify device is in fastboot, should see its serial #
$ fastboot oem unlock # unlocking erases all data, you are prompted to run this command twice to be sure
$ fastboot flash boot boot.img # gain root shell access with the rooted bootloader
$ fastboot reboot # reboot the device
$ adb root # start adb as root
$ adb shell # access the shell as root
Flash factory image[edit]
Extract the desired factory system image package to flash Glass back to factory specifiations, then run the following script.[10] Boot and system images can be found on Google Glass developer website.
$ adb reboot bootloader # enter fastboot mode
$ fastboot devices # verify device is in fastboot, should see its serial no.
$ fastboot flash boot boot.img # flash partitions with factory images
$ fastboot flash system system.img
$ fastboot flash recovery recovery.img
$ fastboot erase cache # optional, erase the cache and userdata partitition
$ fastboot erase userdata
$ fastboot oem lock # optional, only if you want to re-lock the bootloader.
Modify Kernel source code[edit]
The kernel source code is easily attainable from the Google repository by using the following script.
$ mkdir <path-for-kernel-source>
$ cd <path-for-kernel-source>
$ git clone https://android.googlesource.com/kernel/omap.git
Build OS kernel from source code[edit]
To build kernel from the source code, first download the GCC toolchain from the same repository.
$ git clone https://android.googlesource.com/platform/prebuilt
$ export PATH=<path-for-kernel-source>/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH
Then, build the kernel using these commands.
$ export ARCH=arm
$ export SUBARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ cd <path-for-kernel-source>/omap
$ git checkout glass-omap-xrr02 #choose the suitable release
$ make notle_defconfig
$ make
References[edit]
^ "Android Code Analysis". Retrieved June 6, 2012..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:"""""""'""'"}.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}
^ "Philosophy and Goals". Android Open Source Project. Google. Archived from the original on 2014-10-17. Retrieved 2014-12-19.
^ "Developer Preview License Agreement | Android Developers". Developer.android.com. Retrieved 2014-03-20.
^ "Licenses". Android Open Source Project. Open Handset Alliance. Retrieved 2012-09-09.The preferred license for the Android Open Source Project is the Apache Software License, 2.0. ... Why Apache Software License? ... For userspace (that is, non-kernel) software, we do in fact prefer ASL2.0 (and similar licenses like BSD, MIT, etc.) over other licenses such as LGPL. Android is about freedom and choice. The purpose of Android is promote openness in the mobile world, but we don't believe it's possible to predict or dictate all the uses to which people will want to put our software. So, while we encourage everyone to make devices that are open and modifiable, we don't believe it is our place to force them to do so. Using LGPL libraries would often force them to do so.
^ "Refs - kernel/omap - Git at Google". android.googlesource.com. Retrieved 2017-03-15.
^ "Release notes - Google Glass Help". support.google.com. Retrieved 2017-03-15.
^ "Google Glass Explorer Editions start receiving XE5 software update, new features". Engadget. Retrieved 2017-03-15.
^ "Google Glass Receiving XE6 Update With Massive Photo Quality Improvements - Here Is The Full Changelog". Android Police. 2013-06-04. Retrieved 2017-03-15.
^ "Updating Glass software - Google Glass Help". support.google.com. Retrieved 2017-03-15.
^ ab "System and Kernel Downloads - Google Glass - Google Developers". Google Developers. Retrieved 2017-03-15.
Categories:
- 2013 software
- Android (operating system)
- Augmented reality
- Google operating systems
(window.RLQ=window.RLQ||).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.444","walltime":"1.236","ppvisitednodes":{"value":1411,"limit":1000000},"ppgeneratednodes":{"value":0,"limit":1500000},"postexpandincludesize":{"value":132776,"limit":2097152},"templateargumentsize":{"value":1535,"limit":2097152},"expansiondepth":{"value":20,"limit":40},"expensivefunctioncount":{"value":2,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":32911,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 1025.867 1 -total"," 10.26% 105.282 10 Template:Cite_web"," 8.47% 86.902 1 Template:Infobox_OS"," 6.47% 66.375 7 Template:Navbox"," 5.56% 56.993 1 Template:Infobox"," 4.38% 44.980 1 Template:Android"," 3.57% 36.663 1 Template:How-to"," 3.27% 33.574 1 Template:Ambox"," 2.23% 22.887 1 Template:Google_Inc."," 2.08% 21.321 3 Template:Icon"]},"scribunto":{"limitreport-timeusage":{"value":"0.145","limit":"10.000"},"limitreport-memusage":{"value":4684565,"limit":52428800}},"cachereport":{"origin":"mw1330","timestamp":"20190119123144","ttl":1900800,"transientcontent":false}}});mw.config.set({"wgBackendResponseTime":89,"wgHostname":"mw1255"});});