blob: 1f74ffed4861d3e0fc2eb6b414682c21af5a080c [file] [log] [blame]
Scott Mainad68fdd2009-11-05 18:53:59 -08001page.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>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -07008 <li><a href="#notes">Revisions</a></li>
Scott Mainad68fdd2009-11-05 18:53:59 -08009 <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
23Android SDK. If you are developing on Windows and would like to
24connect an Android-powered device to test your applications, then you will need
25to install the USB driver.</p>
26
27<p>This document provides information about the latest version of the
28USB driver and a guide to installing the driver on your development
29computer.</p>
30
31<p class="note"><strong>Note:</strong>
32If you're developing on Mac OS X or Linux, then you do not need to install a
33USB driver. Refer to <a
34href="{@docRoot}guide/developing/device.html#setting-up">Setting up a
35Device</a> to start development with a device.</p>
36
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070037<h2 id="notes">Revisions</h2>
Scott Mainad68fdd2009-11-05 18:53:59 -080038
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070039<p>The sections below provide notes about successive revisions of the USB Driver
40for Windows, as denoted by revision number. To determine what revision of the
41USB Driver for Windows you are using, refer to the "Installed Packages" listing
42in the Android SDK and AVD Manager.</p>
Scott Mainb149ee82009-12-15 10:47:31 -080043
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070044<script type="text/javascript">
45function toggleDiv(link) {
46 var toggleable = $(link).parent();
47 if (toggleable.hasClass("closed")) {
48 //$(".toggleme", toggleable).slideDown("fast");
49 toggleable.removeClass("closed");
50 toggleable.addClass("open");
51 $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));
52 } else {
53 //$(".toggleme", toggleable).slideUp("fast");
54 toggleable.removeClass("open");
55 toggleable.addClass("closed");
56 $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));
57 }
58 return false;
59}
60</script>
61<style>
62.toggleable {
63padding: .25em 1em;
64}
65.toggleme {
66 padding: 1em 1em 0 2em;
67 line-height:1em;
68}
69.toggleable a {
70 text-decoration:none;
71}
Dirk Dougherty0d1b0812010-04-07 17:05:16 -070072.toggleme a {
73 text-decoration:underline;
74}
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070075.toggleable.closed .toggleme {
76 display:none;
77}
78#jd-content .toggle-img {
79 margin:0;
80}
81</style>
Scott Mainad68fdd2009-11-05 18:53:59 -080082
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070083<div class="toggleable opened">
84 <a href="#" onclick="return toggleDiv(this)">
Scott Main60c4e032011-01-07 14:48:18 -080085 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
86width="9px" />
87USB Driver for Windows, Revision 4</a> <em>(December 2010)</em>
88 <div class="toggleme">
89
90<dl>
91<dt><p>Adds support for the Nexus S.</p></dt>
92</dl>
93 </div>
94</div>
95
96<div class="toggleable closed">
97 <a href="#" onclick="return toggleDiv(this)">
98 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
99width="9px" />
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700100USB Driver for Windows, Revision 3</a> <em>(January 2010)</em>
101 <div class="toggleme">
102
103<dl>
104<dt><p>Adds support for the Nexus One.</p></dt>
105</dl>
106 </div>
107</div>
108
109<div class="toggleable closed">
110 <a href="#" onclick="return toggleDiv(this)">
111 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
112USB Driver for Windows, Revision 2</a> <em>(November 2009)</em>
113 <div class="toggleme">
114
115<dl>
116<dt><p>Adds support for the Verizon Droid (or similar hardware on
117other carriers).</p></dt>
118</dl>
119 </div>
120</div>
121
122<div class="toggleable closed">
123 <a href="#" onclick="return toggleDiv(this)">
124 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
125USB Driver for Windows, Revision 1</a> <em>(October 2009)</em>
126 <div class="toggleme">
127
128<dl>
129<dt><p>Initial release of the WinUsb-based driver, with support
130for the T-Mobile G1 and myTouch 3G (and similar devices).</p></dt>
131</dl>
132 </div>
133</div>
Scott Mainad68fdd2009-11-05 18:53:59 -0800134
135<h2 id="WinUsbDriver">Installing the USB Driver for Windows</h2>
136
137<div class="sidebox-wrapper">
Scott Mainf54574a2010-03-24 17:18:01 -0700138<div class="sidebox">
Scott Mainad68fdd2009-11-05 18:53:59 -0800139 <p>The USB driver for Windows provides support for the following
140Android-powered
141devices:</p>
142 <ul>
Scott Main60c4e032011-01-07 14:48:18 -0800143 <li>ADP1 / T-Mobile G1*</li>
144 <li>ADP2 / Google Ion / T-Mobile myTouch 3G*</li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800145 <li>Verizon Droid*</li>
Scott Mainb149ee82009-12-15 10:47:31 -0800146 <li>Nexus One</li>
Scott Main60c4e032011-01-07 14:48:18 -0800147 <li>Nexus S</li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800148 </ul>
149 <p>* <em>Or similar hardware on other carriers</em></p>
150 <p>Any additional devices will require Windows drivers provided by
151the hardware manufacturer.</p>
152</div>
153</div>
154
Scott Mainad68fdd2009-11-05 18:53:59 -0800155
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700156<p>The sections below provide instructions on how to download the USB Driver
157for Windows and install it on your development computer. </p>
Scott Mainad68fdd2009-11-05 18:53:59 -0800158
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700159<h3>Downloading the USB Driver for Windows</h3>
160
161<p>The USB Driver for Windows is available for download as an optional SDK
162component. You need the driver only if you are developing on Windows and
163want to connect an Android-powered device to your development environment
164over USB. </p>
165
166<p>To install the driver or upgrade your existing driver to the latest
167revision, you must first download the driver to your development computer. </p>
168
169<p>To download the driver, use the Android SDK and AVD Manager tool that is
170included with the Android SDK. If you haven't yet installed the Android SDK, as
171described in <a href="installing.html">Installing the Android SDK</a>, please do
172so before continuing with the driver installation. </p>
173
174<p>When you are ready to download the driver, follow the instructions given in
175<a href="adding-components.html">Adding SDK Components</a> to launch the Android
176SDK and AVD Manager. From the <strong>Available Packages</strong> panel, select
177"Usb Driver Package" and download it to your computer. The driver files are
Scott Main93d204e2010-12-06 15:19:37 -0800178downloaded into the <code>&lt;sdk&gt;\google-usb_driver\</code> directory.</p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700179
180<p>After the download, follow the instructions below to install or upgrade the
181driver, based on your needs and Windows operating system version. If you are
182connecting an Android-powered device to your computer for the first time, follow
183the below procedure to "Perform a fresh installation." If you have installed one
184of the older USB drivers and would like to upgrade to the latest version, follow
185the procedure to "Upgrade an existing driver."</p>
Scott Mainad68fdd2009-11-05 18:53:59 -0800186
187<p>Once you've completed the USB driver installation,
188please see <a
189href="{@docRoot}guide/developing/device.html">Developing on a Device</a> for
190other important information about using an Android-powered device for
191development.</p>
192
193<ol class="nolist">
194 <li><strong>Windows Vista:</strong>
195 <ol class="nolist">
196 <li><a href="#VistaFreshInstall">Perform a fresh installation</a></li>
Scott Main369c1c12010-12-07 11:17:00 -0800197 <li><a href="#VistaUpgrade">Upgrade an existing driver</a></li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800198 </ol>
199 </li>
200 <li><strong>Windows XP:</strong>
201 <ol class="nolist">
202 <li><a href="#XPFreshInstall">Perform a fresh installation</a></li>
203 <li><a href="#XPUpgrade">Upgrade an existing driver</a></li>
204 </ol>
205 </li>
206</ol>
207
208
209<p class="caution"><strong>Caution:</strong>
210You may make changes to <code>android_winusb.inf</code> file found inside
211<code>usb_driver\</code> (for example, to add support for other devices),
212however, this will lead to security warnings when you install or upgrade the
213driver. Making any other changes to the driver files may break the installation
214process.</p>
215
216<h3 id="VistaFreshInstall">Windows Vista: Perform a fresh installation</h3>
217
218<p>To install the Android USB driver on Windows Vista for the first time:</p>
219
220<ol>
221 <li>Connect your Android-powered device to your computer's USB port. Windows
222 will detect the device and launch the Found New Hardware wizard.</li>
223 <li>Select "Locate and install driver software."</li>
224 <li>Select "Don't search online."</li>
225 <li>Select "I don't have the disk. Show me other options."</li>
226 <li>Select "Browse my computer for driver software."</li>
227 <li>Click "Browse..." and locate the folder where you copied the
228 installation package. As long as you specified the exact location of the
229 installation package, you may leave "Include subfolders" checked or
230 unchecked&mdash;it doesn't matter.</li>
231 <li>Click "Next." Vista may prompt you to confirm the privilege elevation
232 required for driver installation. Confirm it.</li>
233 <li>When Vista asks if you'd like to install the Google ADB Interface device,
234 click "Install" to install the driver.</li>
235</ol>
236
237
238<h3 id="VistaUpgrade">Windows Vista: Upgrade an existing driver</h3>
239
240<p>To upgrade an existing Android USB driver on Windows Vista with the new
241driver:</p>
242
243<ol>
244 <li>Connect your Android-powered device to your computer's USB port.</li>
245 <li>Right-click on "Computer" from your desktop or Windows Explorer,
246 and select "Manage."</li>
247 <li>Select "Device Manager" in the left pane of the Computer Management
248 window.</li>
249 <li>Locate and expand "ADB Interface" in the right pane.</li>
250 <li>Right-click on "HTC Dream Composite ADB Interface", and select "Update
251 Driver Software..."</li>
252 <li>When Vista starts updating the driver, a prompt will ask how you want to
253 search for the driver
254 software. Select "Browse my computer for driver software."</li>
255 <li>Click "Browse..." and locate the folder where you copied the
256 installation package. As long as you specified the exact location of the
257 installation package, you may leave "Include subfolders" checked or
258 unchecked&mdash;it doesn't matter.</li>
259 <li>Click "Next." Vista may prompt you to confirm the privilege elevation
260 required for driver installation. Confirm it.</li>
261 <li>When Vista asks if you'd like to install the Google ADB Interface device,
262 click "Install" to install the driver.</li>
263</ol>
264
265
266<h3 id="XPFreshInstall">Windows XP: Perform a fresh installation</h3>
267
268<p>To install the Android USB driver on Windows XP for the first time:</p>
269
270<ol>
271 <li>Connect your Android-powered device to your computer's USB port. Windows
272 will detect the device and launch the Hardware Update Wizard.</li>
273 <li>Select "Install from a list or specific location" and click
274 "Next."</li>
275 <li>Select "Search for the best driver in these locations"; un-check "Search
276 removable media"; and check "Include this location in the search."</li>
277 <li>Click "Browse..." and locate the folder where you copied the installation
278 package.</li>
279 <li>Click "Next" to install the driver.</li>
280</ol>
281
282
283<h3 id="XPUpgrade">Windows XP: Upgrade an existing driver</h3>
284
285<p>To upgrade an existing Android USB driver on Windows XP with the new
286driver:</p>
287
288<ol>
289 <li>Connect your Android-powered device to your computer's USB port.</li>
290 <li>Right-click on "My Computer" from your desktop or Windows Explorer,
291 and select "Manage."</li>
292 <li>Select "Device Manager" in the left pane of the Computer Management
293 window.</li>
294 <li>Locate and expand "Android Phone" in the right pane.</li>
295 <li>Right-click "Android Composite ADB Interface" and select "Update
296 Driver..."
297 This will launch the Hardware Update Wizard.</li>
298 <li>Select "Install from a list or specific location" and click
299 "Next."</li>
300 <li>Select "Search for the best driver in these locations"; un-check "Search
301 removable media"; and check "Include this location in the search."</li>
302 <li>Click "Browse..." and locate the folder where you copied the installation
303 package.</li>
304 <li>Click "Next" to install the driver.</li>
305</ol>
306