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