2- Android Debug Bridge (ADB) for ThirdEye’s OS

AR Smart Glasses

2. Android Debug Bridge (ADB) for ThirdEye’s OS

2.1       Android Debug Bridge (ADB) is a useful tool to communicate between Android devices and Windows/Mac computers.  ADB is a command-line utility included with Google’s Android SDK. ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more.  ADB can be used to identify apps or services that may be consuming too much battery power and other use cases.

2.2       Make sure to first set up the Android SDK if you have not already. Head to the Android SDK download page at https://developer.android.com/studio/index.html and scroll down to “SDK Tools Only”, which is a set of tools that includes ADB. Download the ZIP file for your platform and unzip it wherever you want to store the ADB files — they’re portable, so you can put them anywhere you want.

Start the SDK Manager EXE and deselect everything except “Android SDK Platform-tools”. Click the Install button. This downloads and installs the platform-tools package, which contains ADB and other utilities.

2.3       For more info on USB debugging in Android Studio check out https://developer.android.com/studio/run/device.html#setting-up

2.4       Enable USB Debugging on Smart glass

To enable USB Debugging on Android 5.0+  is the same as Android 4.2.x.

Settings > About Phone > Build number > Tap it 7 times to become developer; click on “enable USB debugging”

Settings > Developer Options > USB Debugging.

3.5        Setting up ADB on Windows

  1. Turn on X1
  2. Connect the X1 to your computer via USB.
  3. Navigate to ThirdEyeGen/Developers directory and copy the windows_adb folder to the folder on the computer where you want the drivers to be installed (choose folder for where to install).
  4. Open the Device Manager and locate the X1 smartglass. Right click on it and select Update Driver Software
  5. Choose “Browse my computer” for driver software.
  6. Browse to the path usb_driver folder located in the windows_adb folder.
  7. Ensure “Include subfolders” is checked.
  8. Press Next.
  9. If Windows warns of an unverified publisher, choose “Install this driver software anyway”.
  10. Open up command and navigate to the usb-driver folder.
  11. Run the command adb.exe X1 to test if ADB recognizes the device.
  12. ADB should detect the X1 and display its serial number.

3.6       Setting up ADB on Mac

  1. Turn on X1.
  2. Download and Install Android File Transfer per step 1.4.
  3. Connect X1 and open Android File Transfer.
  4. Browse to ThirdEyeGen/Developers and copy the mac_adb folder to the desired location on computer.
  5. Launch terminal and navigate to the mac_adb directory.
  6. Run the following command adb devices.
  7. ADB should detect the X1 and display its serial number
0