blob: bb0dde64357a555b54705270fb42de97b0aa4e55 [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)">
85 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" />
86USB Driver for Windows, Revision 3</a> <em>(January 2010)</em>
87 <div class="toggleme">
88
89<dl>
90<dt><p>Adds support for the Nexus One.</p></dt>
91</dl>
92 </div>
93</div>
94
95<div class="toggleable closed">
96 <a href="#" onclick="return toggleDiv(this)">
97 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
98USB Driver for Windows, Revision 2</a> <em>(November 2009)</em>
99 <div class="toggleme">
100
101<dl>
102<dt><p>Adds support for the Verizon Droid (or similar hardware on
103other carriers).</p></dt>
104</dl>
105 </div>
106</div>
107
108<div class="toggleable closed">
109 <a href="#" onclick="return toggleDiv(this)">
110 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
111USB Driver for Windows, Revision 1</a> <em>(October 2009)</em>
112 <div class="toggleme">
113
114<dl>
115<dt><p>Initial release of the WinUsb-based driver, with support
116for the T-Mobile G1 and myTouch 3G (and similar devices).</p></dt>
117</dl>
118 </div>
119</div>
Scott Mainad68fdd2009-11-05 18:53:59 -0800120
121<h2 id="WinUsbDriver">Installing the USB Driver for Windows</h2>
122
123<div class="sidebox-wrapper">
Scott Mainf54574a2010-03-24 17:18:01 -0700124<div class="sidebox">
Scott Mainad68fdd2009-11-05 18:53:59 -0800125 <p>The USB driver for Windows provides support for the following
126Android-powered
127devices:</p>
128 <ul>
129 <li>T-Mobile G1* / ADP1</li>
130 <li>T-Mobile myTouch 3G* / Google Ion</li>
131 <li>Verizon Droid*</li>
Scott Mainb149ee82009-12-15 10:47:31 -0800132 <li>Nexus One</li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800133 </ul>
134 <p>* <em>Or similar hardware on other carriers</em></p>
135 <p>Any additional devices will require Windows drivers provided by
136the hardware manufacturer.</p>
137</div>
138</div>
139
Scott Mainad68fdd2009-11-05 18:53:59 -0800140
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700141<p>The sections below provide instructions on how to download the USB Driver
142for Windows and install it on your development computer. </p>
Scott Mainad68fdd2009-11-05 18:53:59 -0800143
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700144<h3>Downloading the USB Driver for Windows</h3>
145
146<p>The USB Driver for Windows is available for download as an optional SDK
147component. You need the driver only if you are developing on Windows and
148want to connect an Android-powered device to your development environment
149over USB. </p>
150
151<p>To install the driver or upgrade your existing driver to the latest
152revision, you must first download the driver to your development computer. </p>
153
154<p>To download the driver, use the Android SDK and AVD Manager tool that is
155included with the Android SDK. If you haven't yet installed the Android SDK, as
156described in <a href="installing.html">Installing the Android SDK</a>, please do
157so before continuing with the driver installation. </p>
158
159<p>When you are ready to download the driver, follow the instructions given in
160<a href="adding-components.html">Adding SDK Components</a> to launch the Android
161SDK and AVD Manager. From the <strong>Available Packages</strong> panel, select
162"Usb Driver Package" and download it to your computer. The driver files are
Scott Main93d204e2010-12-06 15:19:37 -0800163downloaded into the <code>&lt;sdk&gt;\google-usb_driver\</code> directory.</p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700164
165<p>After the download, follow the instructions below to install or upgrade the
166driver, based on your needs and Windows operating system version. If you are
167connecting an Android-powered device to your computer for the first time, follow
168the below procedure to "Perform a fresh installation." If you have installed one
169of the older USB drivers and would like to upgrade to the latest version, follow
170the procedure to "Upgrade an existing driver."</p>
Scott Mainad68fdd2009-11-05 18:53:59 -0800171
172<p>Once you've completed the USB driver installation,
173please see <a
174href="{@docRoot}guide/developing/device.html">Developing on a Device</a> for
175other important information about using an Android-powered device for
176development.</p>
177
178<ol class="nolist">
179 <li><strong>Windows Vista:</strong>
180 <ol class="nolist">
181 <li><a href="#VistaFreshInstall">Perform a fresh installation</a></li>
Scott Main369c1c12010-12-07 11:17:00 -0800182 <li><a href="#VistaUpgrade">Upgrade an existing driver</a></li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800183 </ol>
184 </li>
185 <li><strong>Windows XP:</strong>
186 <ol class="nolist">
187 <li><a href="#XPFreshInstall">Perform a fresh installation</a></li>
188 <li><a href="#XPUpgrade">Upgrade an existing driver</a></li>
189 </ol>
190 </li>
191</ol>
192
193
194<p class="caution"><strong>Caution:</strong>
195You may make changes to <code>android_winusb.inf</code> file found inside
196<code>usb_driver\</code> (for example, to add support for other devices),
197however, this will lead to security warnings when you install or upgrade the
198driver. Making any other changes to the driver files may break the installation
199process.</p>
200
201<h3 id="VistaFreshInstall">Windows Vista: Perform a fresh installation</h3>
202
203<p>To install the Android USB driver on Windows Vista for the first time:</p>
204
205<ol>
206 <li>Connect your Android-powered device to your computer's USB port. Windows
207 will detect the device and launch the Found New Hardware wizard.</li>
208 <li>Select "Locate and install driver software."</li>
209 <li>Select "Don't search online."</li>
210 <li>Select "I don't have the disk. Show me other options."</li>
211 <li>Select "Browse my computer for driver software."</li>
212 <li>Click "Browse..." and locate the folder where you copied the
213 installation package. As long as you specified the exact location of the
214 installation package, you may leave "Include subfolders" checked or
215 unchecked&mdash;it doesn't matter.</li>
216 <li>Click "Next." Vista may prompt you to confirm the privilege elevation
217 required for driver installation. Confirm it.</li>
218 <li>When Vista asks if you'd like to install the Google ADB Interface device,
219 click "Install" to install the driver.</li>
220</ol>
221
222
223<h3 id="VistaUpgrade">Windows Vista: Upgrade an existing driver</h3>
224
225<p>To upgrade an existing Android USB driver on Windows Vista with the new
226driver:</p>
227
228<ol>
229 <li>Connect your Android-powered device to your computer's USB port.</li>
230 <li>Right-click on "Computer" from your desktop or Windows Explorer,
231 and select "Manage."</li>
232 <li>Select "Device Manager" in the left pane of the Computer Management
233 window.</li>
234 <li>Locate and expand "ADB Interface" in the right pane.</li>
235 <li>Right-click on "HTC Dream Composite ADB Interface", and select "Update
236 Driver Software..."</li>
237 <li>When Vista starts updating the driver, a prompt will ask how you want to
238 search for the driver
239 software. Select "Browse my computer for driver software."</li>
240 <li>Click "Browse..." and locate the folder where you copied the
241 installation package. As long as you specified the exact location of the
242 installation package, you may leave "Include subfolders" checked or
243 unchecked&mdash;it doesn't matter.</li>
244 <li>Click "Next." Vista may prompt you to confirm the privilege elevation
245 required for driver installation. Confirm it.</li>
246 <li>When Vista asks if you'd like to install the Google ADB Interface device,
247 click "Install" to install the driver.</li>
248</ol>
249
250
251<h3 id="XPFreshInstall">Windows XP: Perform a fresh installation</h3>
252
253<p>To install the Android USB driver on Windows XP for the first time:</p>
254
255<ol>
256 <li>Connect your Android-powered device to your computer's USB port. Windows
257 will detect the device and launch the Hardware Update Wizard.</li>
258 <li>Select "Install from a list or specific location" and click
259 "Next."</li>
260 <li>Select "Search for the best driver in these locations"; un-check "Search
261 removable media"; and check "Include this location in the search."</li>
262 <li>Click "Browse..." and locate the folder where you copied the installation
263 package.</li>
264 <li>Click "Next" to install the driver.</li>
265</ol>
266
267
268<h3 id="XPUpgrade">Windows XP: Upgrade an existing driver</h3>
269
270<p>To upgrade an existing Android USB driver on Windows XP with the new
271driver:</p>
272
273<ol>
274 <li>Connect your Android-powered device to your computer's USB port.</li>
275 <li>Right-click on "My Computer" from your desktop or Windows Explorer,
276 and select "Manage."</li>
277 <li>Select "Device Manager" in the left pane of the Computer Management
278 window.</li>
279 <li>Locate and expand "Android Phone" in the right pane.</li>
280 <li>Right-click "Android Composite ADB Interface" and select "Update
281 Driver..."
282 This will launch the Hardware Update Wizard.</li>
283 <li>Select "Install from a list or specific location" and click
284 "Next."</li>
285 <li>Select "Search for the best driver in these locations"; un-check "Search
286 removable media"; and check "Include this location in the search."</li>
287 <li>Click "Browse..." and locate the folder where you copied the installation
288 package.</li>
289 <li>Click "Next" to install the driver.</li>
290</ol>
291