• Stars
    star
    264
  • Rank 155,103 (Top 4 %)
  • Language
    Shell
  • Created over 11 years ago
  • Updated over 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

#notglass #untilnow

Xenologer: repackaging Google Glass XE7 APKs to run on other devices

Google Glass's build process is fairly conservative - they don't use hidden APIs often, and when they do, they use reflection. Thus, it is relatively easy to repackage the Glass APKs for other devices.

Modifications to the base APK

The use-library element in AndroidManifest is removed, as it refers to unused code.

com/google/glass/hidden/HiddenViewConfiguration.smali is patched to always return 0xffff instead of calling the nonexistent View.getDeviceTapTimeout

All native libraries required are shipped with the APK, as are all the Glass fonts.

For the camera, instead of calling Camera.open() to get the rear facing camera, Camera.open(0) is called to get the first camera, as the Nexus 7 doesn't have a rear camera.

Install

Download the APK: These were extracted from the official XE7 system image.

Home: http://zhuoweizhang.net/Xenologer/glasshome-modded.apk

Voice: http://zhuoweizhang.net/Xenologer/glassvoice-modded.apk

Browser: http://zhuoweizhang.net/Xenologer/glassbrowser-modded.apk

People: http://zhuoweizhang.net/Xenologer/glasspeople-modded.apk

Setup: http://zhuoweizhang.net/Xenologer/glasssetup-modded.apk (Follow http://imgur.com/a/IBqFf to use the modified Setup)

Coming soon

Camera: http://zhuoweizhang.net/Xenologer/xe6/glasscamera-modded.apk

This is based on a XE6 APK, but have the XE6 features disabled as they crash the camera.

Bluetooth: http://zhuoweizhang.net/Xenologer/xe6/glassbluetooth-modded.apk

this is modified to include an icon in the app grid in case it doesn't start on reboot. Also, the Bluetooth headset functionality is disabled.

Install just like any other boring APK. None of the Google Glass apps need system privilages. I do not recommend installing these APKs as system APKs, as the Glass apps will attempt to reboot the phone after a force close.

For more fun, Download the official MyGlass companion (can't download in your country? https://www.dropbox.com/s/5u88xt3iqd0wndw/com.google.glass.companion-130-v1.3.0.apk ) onto another companion phone and connect to the Glass device with MyGlass.

Thanks to @mralext20 for the copy of MyGlass!

Maps: use the XE5 version for now. http://zhuoweizhang.net/Xenologer/xe5/glassmaps-modded.apk

Glass apps that won't be converted

Hangouts: crashes on Android 4.2 due to a change in the underlying Android code. If you have another version of Android, try http://zhuoweizhang.net/Xenologer/xe6/glasshangouts-modded.apk

GlassSound.apk: installs and runs without modification. Get a copy from any XE7 system dump, or at http://zhuoweizhang.net/Xenologer/xe7/GlassSound.apk Not essential for Glass; Glass will just run muted without it.

GlassPhotosphere.apk: As stated by http://www.studio8apps.com/running-google-glass-photo-sphere-viewer-on-android-phone/ , runs (for the easter egg) without modification. Again, any dumped copy from a XE6 should run fine. Not essential to Glass.

GlassSettings.apk: installs and runs without modification. Get a copy from any XE6 system dump. Not essential for Glass.

Tutorials and guides

Need help? Want to help? Check out the Wiki page.

Tutorial by tonystark23: http://www.youtube.com/watch?v=fNsu9xvpdNw

Virtual DPad app for navigating around Glass by Androguide: https://github.com/Androguide/GLASSInput/blob/master/GlassInput.apk?raw=true

Setting up Glass with the Setup application: http://imgur.com/a/IBqFf

Building these APKs from the modified dump

This area is still quite rough - I would love some help!

These sources are managed with a shell script (because I am not familiar with git submodules).

Run getsrc.sh then one of the build*.sh to build the APK you want. You need to modify them to suit your needs. In particular, there's a dosignapk.sh script that they call, which signs the APKs with your key. Go to http://developer.android.com/tools/publishing/app-signing.html for details.

You must have APKTool, 7Zip, and the Android SDK in your path.

Finally, note that the build scripts copy the com folder into the resulting APKs, as APKTool is too dumb to get them from the original APK.

Credits/License

While I don't have permission from the Glass team to post these, Google Glass is a device for explorers, thus, I believe it agrees with the spirit of discovery to post these APKs.

Some APKs was pulled from Android Police's dump at http://www.androidpolice.com/2013/05/08/download-google-glass-xe4-and-xe5-system-dumps-please-do-something-cool-with-these/

More Repositories

1

nft_ptr

C++ `std::unique_ptr` that represents each object as an NFT on the Ethereum blockchain
Rust
1,957
star
2

MCPELauncher

Source code for BlockLauncher, a launcher that patches Minecraft for Android
Java
654
star
3

WDBRemoveThreeAppLimit

Objective-C
510
star
4

MacDirtyCowDemo

Get root on macOS 13.0.1 with CVE-2022-46689 (macOS equivalent of the Dirty Cow bug), using the testcase extracted from Apple's XNU source.
C
366
star
5

VisionOSStereoScreenshots

Take 3D stereoscopic screenshots in the visionOS emulator.
M
340
star
6

Boardwalk

Source code for Boardwalk, a Minecraft Java Edition launcher for Android (not actively developed)
Java
339
star
7

RaspberryJuice

A plugin for Bukkit implementing the Minecraft Pi API
Java
326
star
8

MarzipanTool

Tools for running iOSMac apps on macOS 10.14 Beta
Python
286
star
9

DSReality

Swift
249
star
10

marina

Understanding SwiftUI by reimplementing it to render to HTML ⛵ - you shouldn't use this, use https://github.com/swiftwebui/SwiftWebUI instead
Swift
243
star
11

ClubhouseAPI

119
star
12

HvDecompile

Decompiling macOS Hypervisor.framework by hand
Objective-C
113
star
13

hipster.house

HTML
102
star
14

CoreTrustDemo

Proof-of-concept for CVE-2022-26766 on macOS 12.3.1
C
80
star
15

MetalShaderTools

Tools and samples for understanding Apple's Metal shading language and its LLVM Bitcode shader files
LLVM
72
star
16

XNUQEMUScripts

Some scripts I made to patch iOS device trees.
Java
59
star
17

worthdoingbadly.com

My blog where I make a new coding project every Thursday.
HTML
45
star
18

PocketInvEditor

A inventory editor for Minecraft PE on Android
Java
45
star
19

MemojiCatalyst

iOS Memoji editor ported to run on macOS through Catalyst
Objective-C
45
star
20

ryujinx-ios

NOTHING USEFUL HERE; trying to see if Ryujinx's new Apple Silicon port would also runs on iOS
Swift
44
star
21

dsc_extractor_badly

Modifications to Apple's dsc_extractor to fix ObjC selector names. You don't need this.
C++
42
star
22

iOS-run-macOS-executables-tools

Failed experiment for running command line macOS tools on jailbroken iOS. There's nothing useful here.
C
39
star
23

ModPEScripts

A collection of scripts for the ModPE Script Runtime used to modify Minecraft PE
JavaScript
38
star
24

PCICrash

PCIDriverKit proof-of-concept for CVE-2022-26763
Objective-C
38
star
25

MCPELauncher-addons

Addons by myself aka 500 Internal Server Error
C++
29
star
26

GhidraLog4Shell

Java
27
star
27

DisneyPlusMetadataDownloader

pulls metadata from Disney+. Probably useless for you.
Python
25
star
28

MinecraftPEModWiki

Shell
23
star
29

Varodahn

Some code to experiment with Steam In-Home Streaming
Java
21
star
30

LearningIOSurfaceAccelerator

Learning how to use IOSurfaceAccelerator
Swift
21
star
31

SimServerAndroid

Gets SIM card ICCID/runs 3G Authentication over ADB shell
Java
21
star
32

iOSAvatarUITester

Example for using iOS's private frameworks to create Animoji/Memoji in an app
Objective-C
21
star
33

UnleashTheGoogle

DOESN'T WORK ANYMORE: Enables Dogfooding and Team Debug features of Google Search for Android
Java
20
star
34

loljava

Demonstration of the Java System.arraycopy type confusion vulnerability
Java
20
star
35

macOS-Virtualization-framework-tools

Useless tools for exploring Virtualization.framework
Objective-C
20
star
36

WDBDDISSH

DOESN'T WORK YET, PLEASE IGNORE
Shell
17
star
37

NUS-Downloader-WiiU

C#
16
star
38

VirtualizationDemo

demoing Virtualization.framework changes in macOS 12 beta
Swift
16
star
39

SimServeriOS

Runs SIM-AKA Authentication on a jailbroken iPhone for VoLTE/VoWiFi/IMS research. Exposes a http interface compatible with fasferraz/USIM-https-server
Objective-C
16
star
40

PocketInvEditor-app

The free version of PocketInvEditor. Requires the PocketInvEditor library project.
Java
16
star
41

SwitchBrowserUnlock

Unlocking the Nintendo Switch's hidden browser. Set DNS to 104.236.216.051.
15
star
42

TweetbotLoginProxy

JavaScript
15
star
43

libcorkscrew-ndk

Libcorkscrew (a stack trace printer from Android source) modified to build on the Android NDK
C
15
star
44

DecryptAppBadly

A terrible iOS app decryptor for jailbroken devices
Objective-C
14
star
45

MCPELauncher-app

This is the part that actually builds an APK for MCPELauncher
Java
14
star
46

BleachThisCode

Obfuscates C/C++ programs by replacing everything with whitespace and #define's
C++
13
star
47

wiiu-tools

Ambulance!
Python
12
star
48

FakeHVF

Useless learning project: simulates Hypervisor.framework APIs on top of Linux KVM
C
11
star
49

is_like_a

"more than just a simple ebooks bot." - @mralext20
Ruby
11
star
50

myglasscatfacts

An example for using the Google Glass MyGlass API
Java
10
star
51

nexus7-baremetal

Baremetal development for the Nexus 7 2012 (Grouper) and Nexus 6P (Angler)
C
10
star
52

NotifyTooth

A tool to forward notifications to Google Glass from a tethered phone.
Java
10
star
53

actions-on-google-php

Prototyping an AI Chatbot for Google Assistant for Google Home using the Actions on Google API in PHP
PHP
10
star
54

UnixTalkToInstagramProxy

A proxy to allow browsing Instagram with the Unix `talk` command. Inspired by alt text of https://xkcd.com/1810/.
Java
8
star
55

ClickFast

Android app that tricks a user into clicking a button
Java
8
star
56

scanmediaplz

Forces the Android media scanner to run
Java
8
star
57

Piplup

WIP: decompile Playdate Pulp .pdx files back to .json project files
JavaScript
7
star
58

arctic

NO LONGER WORKS THIS IS NOW USELESS DON'T BOTHER DOWNLOADING
Java
7
star
59

nyandroid-daydream

An Android daydream based on the Nyandroid easter egg from Android 4.0
Java
7
star
60

PocketMine-BLScriptEnable

Sends the enable ModPE script command to connected BlockLauncher clients
PHP
7
star
61

HackerTyper

A clone of duiker101's Hacker-Typer
C
7
star
62

MacUptimeChanger

Changes the result of macOS's `uptime` command with a kernel extension
C
6
star
63

fake-arm-macOS-sdk

Obsolete: Xcode 12 Beta's out now. -- Script that modifies Xcode 11’s macOS SDK to build for ARM
Shell
6
star
64

YoutubePlaysEverything

Twitch Plays Everything knockoff for YouTube Gaming
Python
6
star
65

PillAppSwitcher

Android app that demonstrates retrieving recent tasks through adb shell
Java
6
star
66

FFMPEGShortcutsApp

A Siri Shortcut extension that uses FFMPEG to convert an audio file into a .wav
Swift
6
star
67

Xenologer-src-glasshome

GlassHome.apk
6
star
68

vectordrawable

Backported VectorDrawable from Android 5.0 Lollipop to Android 4.1; used in Nyandroid
Java
5
star
69

Chromosphere

A launcher for Corona based games
Java
5
star
70

Colmena

No longer works. Attempt at making a web U( for Hive Social using Mastodon's web UI as a base.
HTML
5
star
71

Flappy2048

Flappy bird and 2048 at the same time
JavaScript
4
star
72

FancyTwitterNames

JavaScript
4
star
73

CompRemote-server

The server for CompRemote lite
Java
4
star
74

design

Zhuowei Zhang's design portfolio
CSS
4
star
75

MinecraftClassicDeobfuscate

Don't bother with this branch - use Steveice10's fork at https://github.com/Steveice10/MinecraftClassicDeobfuscate
Shell
4
star
76

zhuowei.github.com

HTML
4
star
77

Fait

Currently just code to interact with iOS's Lockdownd
Go
3
star
78

addongen

JavaScript
3
star
79

BitcodeEvaluation

App that dumps its own main executable, for comparing differences between original and Bitcode built code
Objective-C
3
star
80

Ironsand

Notes on testing VirtualBox's DevPlayground virtual device plugin sample on macOS
C++
3
star
81

AMDPSP_Extract

Extract AMD Secure Processor components from a BIOS image
Python
3
star
82

my-vscode-macros

My personal vscode macros used with exceedsystem/vscode-macros
JavaScript
3
star
83

unnamedL

The unnamed Android L SDK port for Nexus 7 (2012): build tools
Shell
3
star
84

CompRemote-client

The sources for CompRemote lite, a Blackberry PlayBook app
ActionScript
3
star
85

MCPIScripts

A collection of scripts for Minecraft Pi
JavaScript
3
star
86

mcpetexturenames

JavaScript
3
star
87

Mercator

Java
3
star
88

trippyvideo

JavaScript
3
star
89

AGXShaderExplorer

Objective-C
3
star
90

m3exploration

Generating adversarial avatars for m3inference with PyTorch and Foolbox
Python
3
star
91

Xenologer-src-glasssetup

Modified APKTool dump of GlassSetup.apk. Prebuilt APKs at the main Xenologer repo.
3
star
92

Keybored

Android keyboard that sends keypresses from a PC on Wi-Fi to the phone
Java
2
star
93

as3craft-classic

ActionScript
2
star
94

Xenologer-util-recolada

Sets up the Bluetooth identity socket to allow MyGlass to work
Java
2
star
95

Nyastrocat

Astrocade + Nyancat
Assembly
2
star
96

PTPatchUpdater

Java
2
star
97

MC-Android-Patch

Java
2
star
98

SGX5Dec

Useless
Python
2
star
99

MemeMaker

Image macro generator for the Apple Watch
Swift
2
star
100

Xenologer-src-glasscamera

GlassCamera.apk
2
star