Got my pair of Glass, time to give back to the community

ytwytw

Senior Member
Nov 15, 2008
479
51
0
Toronto, ON
Hi,

I finally got very own pair of Google Glass, HAPPY :D

and I've done a little hack so far...

What works?

Install a launcher on Glass (i used holo launcher)
playback youtube.apk videos

What doesnt work?

Google Play services (cannot install, i guess some mod is required?)
Google Play Store (you can open the store, but when you try to download something, FC comes)

Semi-work?

Bluetooth mouse, but keyboard doesnt work(cannot type any letter or number), but the hotkey on the keyboard works (no idea why, but i ordered the keyboard&mouse bundled bluetooth device to get basic thing working) [Razer Orochi + Apple Bluetooth Keyboard]



If anyone want to ask something or wanna me try something fun on the Glass, please ask! :)

I would love to see the great potential of this little android devices
 
  • Like
Reactions: danguyf

trogdan

Senior Member
May 4, 2008
123
29
0
Hi,

I finally got very own pair of Google Glass, HAPPY :D

and I've done a little hack so far...

What works?

Install a launcher on Glass (i used holo launcher)
playback youtube.apk videos

What doesnt work?

Google Play services (cannot install, i guess some mod is required?)
Google Play Store (you can open the store, but when you try to download something, FC comes)

Semi-work?

Bluetooth mouse, but keyboard doesnt work(cannot type any letter or number), but the hotkey on the keyboard works (no idea why, but i ordered the keyboard&mouse bundled bluetooth device to get basic thing working) [Razer Orochi + Apple Bluetooth Keyboard]



If anyone want to ask something or wanna me try something fun on the Glass, please ask! :)

I would love to see the great potential of this little android devices
Like you suspect, it could be your keyboard. They demo'd something similiar to this keyboard at the Hacking Glass talk at I/O
 

ytwytw

Senior Member
Nov 15, 2008
479
51
0
Toronto, ON
You could try shoveling through the files for Google Play and see if it requires any frameworks and if so, then copy those from a nexus device.
i would love to try but it cant be done without root access and I don't want to root my Glass without factory image from Google

Sent from my HTC One using Tapatalk 2
 

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
i would love to try but it cant be done without root access and I don't want to root my Glass without factory image from Google
Just to organize everything:


The first link is the factory image for XRR35 (XE5) from google, the 2nd link is the OTA from XRR02 -> XRR35 (ie XE4 -> XE5)
Could you make a list of the partitions on the gGlass to see if we're actually missing any bootloader pieces?

I would assume that fpga.img/MLO/u-boot.bin would make up all the leftover pieces, but we could certianly use a confirmation.

Code:
/dev/block/platform/<omap something>.1(?)/by-name
would be a good place to start, you may need to be rooted but goog's posted enough files to revert that when needed.
 

TonyStark23

Senior Member
Dec 22, 2009
151
12
0
I was going to be ballsy and try flashing the image onto a Gnex, I'm actually curious if anyone will attempt to make a Glass ROM for other devices.
 

ytwytw

Senior Member
Nov 15, 2008
479
51
0
Toronto, ON
Could you make a list of the partitions on the gGlass to see if we're actually missing any bootloader pieces?

I would assume that fpga.img/MLO/u-boot.bin would make up all the leftover pieces, but we could certianly use a confirmation.

Code:
/dev/block/platform/<omap something>.1(?)/by-name
would be a good place to start, you may need to be rooted but goog's posted enough files to revert that when needed.

[email protected]:/dev/block/platform/omap/omap_hsmmc.1 $ ls
by-name
by-num
mmcblk0
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p2
mmcblk0p3
mmcblk0p4
mmcblk0p5
mmcblk0p6
mmcblk0p7
mmcblk0p8
mmcblk0p9
[email protected]:/dev/block/platform/omap/omap_hsmmc.1 $


I guess is this what you need?
 

ohcanada

Senior Member
Sep 2, 2009
146
41
0
This actually has huge potential because I think these Glass apps can be a viable replacement of car mode in our phone. Tasker+Glass app=awesomeness over 9000
 

ytwytw

Senior Member
Nov 15, 2008
479
51
0
Toronto, ON
spent 3 days on rooting glass

My computer cannot find Glass when its in Fastboot mode, and i tried another machine, fastboot devices works, but after i excute fastboot oem unlock, Glass hangs... damn... and the genetic 4.0.3 root not working either...



Sent from my HTC One using Tapatalk 4 Beta
 

r3pwn

Inactive Recognized Developer
Jul 11, 2012
1,745
2,046
0
Lakeland, FL
r3pwn.com
spent 3 days on rooting glass

My computer cannot find Glass when its in Fastboot mode, and i tried another machine, fastboot devices works, but after i excute fastboot oem unlock, Glass hangs... damn... and the genetic 4.0.3 root not working either...



Sent from my HTC One using Tapatalk 4 Beta
Try using my tool. :D

Sent from my Kindle Fire HD 7 using xda app-developers app
 

ytwytw

Senior Member
Nov 15, 2008
479
51
0
Toronto, ON
Try using my tool. :D

Sent from my Kindle Fire HD 7 using xda app-developers app
Here is the problem, my Windows Machine cannot even see Glass if I do "adb devices", when I reboot the Glass into fastboot mode, connecting to the windows machine, it simply says the USB device has problem, please unplug and plug in again

On my mac machine, I tried to run your bat manually, it doesn't work, which I am not surprised (the exploit only works on XE4, not XE5, and its Android 4.0.3 only, 4.0.4 wont work)

and when I try to unlock bootloader on my Mac, I have the following error

$ fastboot oem unlock
< waiting for device >
...
(bootloader) Warning: Unlocking your device will void your warranty
(bootloader) and erase your personal data from the device.
(bootloader) Run "fastboot oem unlock" again to confirm.
(bootloader) Device still locked.
OKAY [ 0.001s]
finished. total time: 0.001s
$ fastboot oem unlock
...
ERROR: usb_read failed with status e00002ed
FAILED (status read failed (No such file or directory))
finished. total time: 0.149s
$ fastboot oem unlock
...
ERROR: usb_read failed with status e00002ed
FAILED (status read failed (No such file or directory))
finished. total time: 230.879s
$

I also tried a ubuntu machine, adb devices can see Glass, but after i reboot into bootloader, fastboot devices wont see Glass anymore

I am MAD, just saying, I have a N4 and HTC One, both works great on Windows, Mac and Ubuntu Machine, no issue at all, so... IDK if google did some trick somewhere IDK
 

r3pwn

Inactive Recognized Developer
Jul 11, 2012
1,745
2,046
0
Lakeland, FL
r3pwn.com
Here is the problem, my Windows Machine cannot even see Glass if I do "adb devices", when I reboot the Glass into fastboot mode, connecting to the windows machine, it simply says the USB device has problem, please unplug and plug in again

On my mac machine, I tried to run your bat manually, it doesn't work, which I am not surprised (the exploit only works on XE4, not XE5, and its Android 4.0.3 only, 4.0.4 wont work)

and when I try to unlock bootloader on my Mac, I have the following error

$ fastboot oem unlock
< waiting for device >
...
(bootloader) Warning: Unlocking your device will void your warranty
(bootloader) and erase your personal data from the device.
(bootloader) Run "fastboot oem unlock" again to confirm.
(bootloader) Device still locked.
OKAY [ 0.001s]
finished. total time: 0.001s
$ fastboot oem unlock
...
ERROR: usb_read failed with status e00002ed
FAILED (status read failed (No such file or directory))
finished. total time: 0.149s
$ fastboot oem unlock
...
ERROR: usb_read failed with status e00002ed
FAILED (status read failed (No such file or directory))
finished. total time: 230.879s
$

I also tried a ubuntu machine, adb devices can see Glass, but after i reboot into bootloader, fastboot devices wont see Glass anymore

I am MAD, just saying, I have a N4 and HTC One, both works great on Windows, Mac and Ubuntu Machine, no issue at all, so... IDK if google did some trick somewhere IDK
Follow the tutorial I linked for the adb drivers in my thread on rooting the glass

Sent from my Amazon Kindle Fire HD using xda app-developers app
 

ytwytw

Senior Member
Nov 15, 2008
479
51
0
Toronto, ON
Follow the tutorial I linked for the adb drivers in my thread on rooting the glass

Sent from my Amazon Kindle Fire HD using xda app-developers app
The problem is... there is no yellow warning sign in device manager, only Glass 1 Camera device listed in device manager :[

tried to force update that driver, but win8 doesnt allow me to do so (driver signature already turn off as I am using other toolbox)