Scott Main | ad68fdd | 2009-11-05 18:53:59 -0800 | [diff] [blame] | 1 | page.title=USB Driver for Windows |
| 2 | @jd:body |
| 3 | |
| 4 | <div id="qv-wrapper"> |
| 5 | <div id="qv"> |
| 6 | <h2>In this document</h2> |
| 7 | <ol> |
| 8 | <li><a href="#RevisionNotes">Revision Notes</a></li> |
| 9 | <li><a href="#WinUsbDriver">Installing the USB Driver for Windows</a></li> |
| 10 | </ol> |
| 11 | <h2>See also</h2> |
| 12 | <ol> |
| 13 | <li><a |
| 14 | href="{@docRoot}guide/developing/device.html">Developing on a |
| 15 | Device</a></li> |
| 16 | <li><a |
| 17 | href="adding-components.html">Adding SDK Components</a></li> |
| 18 | </ol> |
| 19 | </div> |
| 20 | </div> |
| 21 | |
| 22 | <p>The USB driver for Windows is a downloadable component for the |
| 23 | Android SDK. If you are developing on Windows and would like to |
| 24 | connect an Android-powered device to test your applications, then you will need |
| 25 | to install the USB driver.</p> |
| 26 | |
| 27 | <p>This document provides information about the latest version of the |
| 28 | USB driver and a guide to installing the driver on your development |
| 29 | computer.</p> |
| 30 | |
| 31 | <p class="note"><strong>Note:</strong> |
| 32 | If you're developing on Mac OS X or Linux, then you do not need to install a |
| 33 | USB driver. Refer to <a |
| 34 | href="{@docRoot}guide/developing/device.html#setting-up">Setting up a |
| 35 | Device</a> to start development with a device.</p> |
| 36 | |
| 37 | <h2 id="RevisionNotes">Revision Notes</h2> |
| 38 | |
Scott Main | b149ee8 | 2009-12-15 10:47:31 -0800 | [diff] [blame^] | 39 | <h4>Revision 3</h4> |
| 40 | <p>Adds support for the Nexus One. Released January 2010.</p> |
| 41 | |
Scott Main | ad68fdd | 2009-11-05 18:53:59 -0800 | [diff] [blame] | 42 | <h4>Revision 2</h4> |
| 43 | <p>Adds support for the Verizon Droid (or similar hardware on |
| 44 | other carriers). Released November 2009.</p> |
| 45 | |
| 46 | <h4>Revision 1</h4> |
| 47 | <p>This was the initial release of the WinUsb-based driver, with support |
| 48 | for the T-Mobile G1 and myTouch 3G (and similar devices).</p> |
| 49 | |
| 50 | <h2 id="WinUsbDriver">Installing the USB Driver for Windows</h2> |
| 51 | |
| 52 | <div class="sidebox-wrapper"> |
| 53 | <div class="sidebox-inner"> |
| 54 | <p>The USB driver for Windows provides support for the following |
| 55 | Android-powered |
| 56 | devices:</p> |
| 57 | <ul> |
| 58 | <li>T-Mobile G1* / ADP1</li> |
| 59 | <li>T-Mobile myTouch 3G* / Google Ion</li> |
| 60 | <li>Verizon Droid*</li> |
Scott Main | b149ee8 | 2009-12-15 10:47:31 -0800 | [diff] [blame^] | 61 | <li>Nexus One</li> |
Scott Main | ad68fdd | 2009-11-05 18:53:59 -0800 | [diff] [blame] | 62 | </ul> |
| 63 | <p>* <em>Or similar hardware on other carriers</em></p> |
| 64 | <p>Any additional devices will require Windows drivers provided by |
| 65 | the hardware manufacturer.</p> |
| 66 | </div> |
| 67 | </div> |
| 68 | |
| 69 | <p>Before you perform the installation below, you must have the USB |
| 70 | driver saved to your development computer. To get the USB driver, use |
| 71 | the AVD and SDK Manager included with the SDK Tools to download the USB driver |
| 72 | as an SDK component. For more information, read <a |
| 73 | href="adding-components.html">Adding SDK Components</a>.</p> |
| 74 | |
| 75 | <p>Once you have the USB driver saved to your computer, select the |
| 76 | appropriate procedure below, based on your operating system and whether you're |
| 77 | installing for the first time or upgrading.</p> |
| 78 | |
| 79 | <p>If you are connecting an Android-powered |
| 80 | device to your computer for the first time, follow the below procedure to |
| 81 | "Perform a fresh installation." If you have installed one of the older |
| 82 | USB drivers and would like to upgrade to the latest version, follow the |
| 83 | procedure to "Upgrade an existing driver."</p> |
| 84 | |
| 85 | <p>Once you've completed the USB driver installation, |
| 86 | please see <a |
| 87 | href="{@docRoot}guide/developing/device.html">Developing on a Device</a> for |
| 88 | other important information about using an Android-powered device for |
| 89 | development.</p> |
| 90 | |
| 91 | <ol class="nolist"> |
| 92 | <li><strong>Windows Vista:</strong> |
| 93 | <ol class="nolist"> |
| 94 | <li><a href="#VistaFreshInstall">Perform a fresh installation</a></li> |
| 95 | <li><a href="#VistaUprade">Upgrade an existing driver</a></li> |
| 96 | </ol> |
| 97 | </li> |
| 98 | <li><strong>Windows XP:</strong> |
| 99 | <ol class="nolist"> |
| 100 | <li><a href="#XPFreshInstall">Perform a fresh installation</a></li> |
| 101 | <li><a href="#XPUpgrade">Upgrade an existing driver</a></li> |
| 102 | </ol> |
| 103 | </li> |
| 104 | </ol> |
| 105 | |
| 106 | |
| 107 | <p class="caution"><strong>Caution:</strong> |
| 108 | You may make changes to <code>android_winusb.inf</code> file found inside |
| 109 | <code>usb_driver\</code> (for example, to add support for other devices), |
| 110 | however, this will lead to security warnings when you install or upgrade the |
| 111 | driver. Making any other changes to the driver files may break the installation |
| 112 | process.</p> |
| 113 | |
| 114 | <h3 id="VistaFreshInstall">Windows Vista: Perform a fresh installation</h3> |
| 115 | |
| 116 | <p>To install the Android USB driver on Windows Vista for the first time:</p> |
| 117 | |
| 118 | <ol> |
| 119 | <li>Connect your Android-powered device to your computer's USB port. Windows |
| 120 | will detect the device and launch the Found New Hardware wizard.</li> |
| 121 | <li>Select "Locate and install driver software."</li> |
| 122 | <li>Select "Don't search online."</li> |
| 123 | <li>Select "I don't have the disk. Show me other options."</li> |
| 124 | <li>Select "Browse my computer for driver software."</li> |
| 125 | <li>Click "Browse..." and locate the folder where you copied the |
| 126 | installation package. As long as you specified the exact location of the |
| 127 | installation package, you may leave "Include subfolders" checked or |
| 128 | unchecked—it doesn't matter.</li> |
| 129 | <li>Click "Next." Vista may prompt you to confirm the privilege elevation |
| 130 | required for driver installation. Confirm it.</li> |
| 131 | <li>When Vista asks if you'd like to install the Google ADB Interface device, |
| 132 | click "Install" to install the driver.</li> |
| 133 | </ol> |
| 134 | |
| 135 | |
| 136 | <h3 id="VistaUpgrade">Windows Vista: Upgrade an existing driver</h3> |
| 137 | |
| 138 | <p>To upgrade an existing Android USB driver on Windows Vista with the new |
| 139 | driver:</p> |
| 140 | |
| 141 | <ol> |
| 142 | <li>Connect your Android-powered device to your computer's USB port.</li> |
| 143 | <li>Right-click on "Computer" from your desktop or Windows Explorer, |
| 144 | and select "Manage."</li> |
| 145 | <li>Select "Device Manager" in the left pane of the Computer Management |
| 146 | window.</li> |
| 147 | <li>Locate and expand "ADB Interface" in the right pane.</li> |
| 148 | <li>Right-click on "HTC Dream Composite ADB Interface", and select "Update |
| 149 | Driver Software..."</li> |
| 150 | <li>When Vista starts updating the driver, a prompt will ask how you want to |
| 151 | search for the driver |
| 152 | software. Select "Browse my computer for driver software."</li> |
| 153 | <li>Click "Browse..." and locate the folder where you copied the |
| 154 | installation package. As long as you specified the exact location of the |
| 155 | installation package, you may leave "Include subfolders" checked or |
| 156 | unchecked—it doesn't matter.</li> |
| 157 | <li>Click "Next." Vista may prompt you to confirm the privilege elevation |
| 158 | required for driver installation. Confirm it.</li> |
| 159 | <li>When Vista asks if you'd like to install the Google ADB Interface device, |
| 160 | click "Install" to install the driver.</li> |
| 161 | </ol> |
| 162 | |
| 163 | |
| 164 | <h3 id="XPFreshInstall">Windows XP: Perform a fresh installation</h3> |
| 165 | |
| 166 | <p>To install the Android USB driver on Windows XP for the first time:</p> |
| 167 | |
| 168 | <ol> |
| 169 | <li>Connect your Android-powered device to your computer's USB port. Windows |
| 170 | will detect the device and launch the Hardware Update Wizard.</li> |
| 171 | <li>Select "Install from a list or specific location" and click |
| 172 | "Next."</li> |
| 173 | <li>Select "Search for the best driver in these locations"; un-check "Search |
| 174 | removable media"; and check "Include this location in the search."</li> |
| 175 | <li>Click "Browse..." and locate the folder where you copied the installation |
| 176 | package.</li> |
| 177 | <li>Click "Next" to install the driver.</li> |
| 178 | </ol> |
| 179 | |
| 180 | |
| 181 | <h3 id="XPUpgrade">Windows XP: Upgrade an existing driver</h3> |
| 182 | |
| 183 | <p>To upgrade an existing Android USB driver on Windows XP with the new |
| 184 | driver:</p> |
| 185 | |
| 186 | <ol> |
| 187 | <li>Connect your Android-powered device to your computer's USB port.</li> |
| 188 | <li>Right-click on "My Computer" from your desktop or Windows Explorer, |
| 189 | and select "Manage."</li> |
| 190 | <li>Select "Device Manager" in the left pane of the Computer Management |
| 191 | window.</li> |
| 192 | <li>Locate and expand "Android Phone" in the right pane.</li> |
| 193 | <li>Right-click "Android Composite ADB Interface" and select "Update |
| 194 | Driver..." |
| 195 | This will launch the Hardware Update Wizard.</li> |
| 196 | <li>Select "Install from a list or specific location" and click |
| 197 | "Next."</li> |
| 198 | <li>Select "Search for the best driver in these locations"; un-check "Search |
| 199 | removable media"; and check "Include this location in the search."</li> |
| 200 | <li>Click "Browse..." and locate the folder where you copied the installation |
| 201 | package.</li> |
| 202 | <li>Click "Next" to install the driver.</li> |
| 203 | </ol> |
| 204 | |