Google Glassã§ã¢ããªã±ã¼ã·ã§ã³ãåãã
Google IO 2013ã®Glass Platform Hackingã«ã¦
Glassä¸ã§Mirror APIã使ç¨ããã«ç´æ¥ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ããæ¹æ³ã
解説ããã¦ãã¾ããã®ã§ç´¹ä»ãã¾ãã
Glassãã©ãããã©ã¼ã
Glassãã©ãããã©ã¼ã ã®è©³ç´°ãå
¬éããã¾ããã
ã»ICS MR1(4.0.4) API 15
ã»GPS,wifi,bluetoohãã¿ããããã
ã»BluetoothãWifiãªã©
ã»640x360ã®ééåãã£ã¹ãã¬ã¤
ã»ADBã使ãã¾ã
Glass SDK
Glassåãã®ã¢ããªã±ã¼ã·ã§ã³ãGlass SDKã§éçºãããã¨ãã§ãã¾ãã
Mirror APIã使ç¨ããã¨Glassã®æ¨æºã®æ©è½ã«å¾ã£ã¦æ
å ±ã®è¡¨ç¤ºãå
±æãã§ãã¾ãã
ä¸æ¹Glass SDKã使ç¨ããã¨ã¢ããªã±ã¼ã·ã§ã³ãã®ãã®ãç´æ¥éçºãããã¨ãã§ãã¾ãã
Glass SDKã¯éçºè
ç¨ã®Glassæ¬ä½ã¨Androidã®åºç¤ãããã°å§ãããã¨ãã§ãã¾ãã
ããã¯root権éã¯å¿
è¦ã¯ãªããåä½ã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦åä½ããããã¨ãã§ãã¾ãã
ADBãæå¹ã«ãã
è¨å®ããDebugã¢ã¼ãããªã³ã«ããã¨ADBã使ç¨ã§ããããã«ãªãã¾ãã
USBã±ã¼ãã«ã§Glassã¨PCãæ¥ç¶ãã確èªãã¾ãã
$ adb devices
List of devices attached
015DB7xxxxxxxxxx device
Androidæ¨æºã®ã©ã³ãã£ã¼ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã
ADBçµç±ã§æ¨æºã®ã©ã³ãã£ã¼ã®APKãã¤ã³ã¹ãã¼ã«ãã¾ãã
$ adb install -r Launcher2.apk
3641 KB/s (5668527 bytes in 1.520s)
pkg: /data/local/tmp/Launcher2.apk
Success
Glassãèµ·åããã¨ã©ã³ãã£ã¼ã®é¸æç»é¢ã表示ããã¾ãã
rootã®åãæ¹
ã¾ããGlassã®rootã®åãæ¹ãç´¹ä»ããã¦ãã¾ããã
ãã ããä¿è¨¼å¯¾è±¡å¤ã¨ãªãã¾ãã®ã§èªå·±è²¬ä»»ã«ã¦ã¨ã®ãã¨ã§ãã
$ adb reboot bootloader
$ fastboot oem unlock
$ fast flash boot boot.img
$ fastboot reboot
$ adb reboot
æ責ï¼ã«ã¹ã¿ãã¼éçºé¨ã大éªéçºèª² ä½ååé