Freeman, who obtained the device by pre-ordering it at Google I/O last year, announced his success on Friday via Twitter. Such tactics give the user full command of the operating system without restriction.
Freeman is not the first to crack Glass, though: another developer, Liam McLoughlin, also got root on his device.Now Freeman has shared instruction to Jailbreak Google Glass , in steps below :
Condensed Instructions on Rooting Google Glass
- You will need the Android SDK installed and two files (exploit.aband su) from Jay Freeman
- Backup all personal data using the Android Debugging Tool (adb)’s backup command. Run the following:
$ adb backup -f backup.ab com.google.glass.logging - Glass will display a dialog through the prism, so make sure you’re wearing Glass and use its touchpad to scroll to “back up my data,” and then select it by tapping
- The next step involves setting up the race condition. Run the following command in the adb shell to create a symlink:
$ adb shell “while ! ln -s /data/local.prop \ /data/data/com.google.glass.logging/a/file99 \ 2>/dev/null; do :; done” - The previous step will take some time, so open up a new window and start the restore process of the modified backup payload using adb restore. Run the following command, and a new dialog will pop up on Glass:
$ adb restore exploit.ab - Scroll to the “restore my data” option and select it.
- The previous symlink process should now be completed.
- Restore the backup of the personal data that was made before by running this command:
$ adb restore backup.ab - Reboot your Google Glass. If you encounter Bluetooth errors, this is expected. Continue to the next step.
- Copy the su binary to Glass by running this command:
$ adb reboot
$ adb shell “mount -o remount,rw /system”
$ adb push su /system/xbin
$ adb shell “chmod 6755 /system/xbin/su”
$ adb shell “rm /data/local.prop”
$ adb reboot - Reboot your Google Glass again. At this point, it should be rooted with all errors resolved.
Via [Saurik]