When developing applications for a device, it is very important to have proper drivers. Installing Google Glass drivers is not so easy as it should be. If you are running MAC OS or Linux you do not have to worry about installing Glass drivers. For the ones running Windows there are a few tweaks we must do to android_winusb.inf
Before you begin, verify that the Google USB Driver is installed through the Android SDK Manager under “Extra”.

SDK Google USB

 

Next step is only for Windows 8 users. We have to Disable Driver Signature Verification. This is the main issue that prevents Glass drivers to install properly in Windows.

Press Win + I to bring up the Settings side bar. Then press the Change PC Settings link.

changepc

When the left side panel opens, select “Update and Recovery”.

updateandrecover

Next click on the Recovery link on the left hand side.

recovery

On the right hand side, you will see “Advanced startup” and select the link to “Restart now”.

advanced

Once your computer fully reboots into Advanced settings, Select the “Troubleshoot” option.

troubleshoot

Once in the Advanced Tools section, select “Advanced options”.

advancedoptions

Next step you want to change the startup behavior in Windows, to do that select “Start Settings”

startup

Since this will change how Windows will boot, we have to restart the system one more time

restart

Last but not least, you will see a list of settings you can change. We are looking to select #7 “Disable driver signature enforcement”. To select that option we use our F-keys. Press “F7”. Your computer will now boot into Windows and the Driver Signature Verification will now be disabled.

Currently the Android SDK Manager does not have Glass drivers in its updates. So we have to manually add a snippet to the USB driver file. Navigate to your ADT bundle->sdk->extras->google->usb_driver and open android_winusb.inf in any text editor. In the file you will see two sections, [Google.NTx86] and [Google.NTamd64]. At the bottom of each section you will have to add the Google Glass snippet below:

;Google Glass
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&MI_01

Once you have added this snippet to the bottom of each section in the android_winusb.inf file make sure you save all changes to the file. 

Now open Device Manager and right click on Glass1 under “Other devices” and select “Update Driver Software”. When prompted on how to search for driver software, select “Browse my computer for driver software” and navigate to ADT bundle->sdk->extras->google->usb_driver. Once the driver will be installing, you will be prompted by a Windows Security warning, this warning occurs because we have disabled driver signature verification.

warning

Select “Install this driver software anyway”. Once the installation is complete, your Google Glass will be recognized as an Android Composite ADB Interface.

To verify that our Google Glass is working now with the correct USB drivers we will use ADB – Android Debug Bridge to communicate with Glass. Navigate to ADT bundle->sdk->plaform-tools and in the folder you will see adb.exe which is what we need to test with Glass. Hold down SHIFT and right-click to select “Open command window here”. This will pull up a command window that is already pointed to the path we need to run ADB commands. The command we will run is adb devices. Once the command has finished starting, you will see “List of devices attached”. If all is done correctly you will see a device listed; if no device are listed then that means the installation of the drivers were not successful or incomplete.

 

(some Windows screenshots are from HowToGeek)

 

By: Andrew Pritykin