How to enable ADB in Windows 8 for Google Glass XE7

Google Glass XE7 when you try to connect with the ADB like other Android phone will not work in Windos 8. The ADB will not identify the Google Glass. This problem does not exist in the Mac. Lets see how to make the ADB discover and connect to the Google Glass in Windows 8.

The problem is, there is no proper driver yet for the google glass. Windows 8’s auto search for drivers will also not work.

For this what we can do is we have to add some properties manually to the android_winusb.inf file, and save it.

The normal path of this file is ‘sdk\extras\google\usb_driver’ inside your Android sdk folder.

But here I am giving you the link for the modified android_winusb.inf , just download it and replace it.

And before starting the steps belove you have to bring down Windows security check by going to command prompt as admin and typing the following command

bcdedit -set loadoptions ENABLE_INTERGRITY_CHECKS
bcdedit -set TESTSIGNING OFF

Then go to control panel –> Device Manager where you will see your glass connected but shown with a exclamation mark which tells you driver not found.
Click on it and, click on update button and instead of selecting update by online search, select manual update and give the path of the folder where you replaced the winusb.inf
The path will be Android–>sdk–>extras–>google–>usb_driver

in my case the path is ‘C:\Development\sdk\extras\google\usb_driver’

Also don’t forget to add the Path of the adb in the system variable path.

Now you can access your Google Glass through the adb commands in the normal command prompt.

before starting to use adb commands re enable the windows security check with this command in the command prompt


bcdedit -set loadoptions DISABLE_INTERGRITY_CHECKS
bcdedit -set TESTSIGNING ON


adb install urapp.apk
  – this command will install the app to the google glass

adb uninstall packagenameofurapp
will uninstall the app from the google glass.

adb shell am start -n com.package.name/.ActivityName
  This command will run the app inside the Google Glass.

Advertisements

One thought on “How to enable ADB in Windows 8 for Google Glass XE7

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s