blob: ffaec4c8b6f333b32eb2bf8284618fb043842e20 [file] [log] [blame]
Scott Main0f805632011-01-07 10:45:03 -08001page.title=Google USB Driver
Scott Mainad68fdd2009-11-05 18:53:59 -08002@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 Main0f805632011-01-07 10:45:03 -08009 <li><a href="#WinUsbDriver">Downloading the Google USB Driver</a></li>
10 <li><a href="#InstallingDriver">Installing the USB Driver</a>
11 <ol>
12 <li><a href="#Win7">Windows 7</a></li>
13 <li><a href="#WinXp">Windows XP</a></li>
14 <li><a href="#WinVista">Windows Vista</a></li>
15 </ol>
16 </li>
Scott Mainad68fdd2009-11-05 18:53:59 -080017 </ol>
18 <h2>See also</h2>
19 <ol>
Scott Main0f805632011-01-07 10:45:03 -080020 <li><a href="{@docRoot}guide/developing/device.html">Developing on a Device</a></li>
21 <li><a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a></li>
22 <li><a href="{@docRoot}sdk/oem-usb.html">OEM USB Drivers</a></li>
Scott Mainad68fdd2009-11-05 18:53:59 -080023 </ol>
24</div>
25</div>
26
Scott Main0f805632011-01-07 10:45:03 -080027<p>The Google USB driver is a downloadable component for Windows developers, available
28for download from the AVD and SDK Manager.</p>
Scott Mainad68fdd2009-11-05 18:53:59 -080029
Scott Main0f805632011-01-07 10:45:03 -080030<p>The Google USB Driver is only for Android Developer Phones (ADP), Nexus One, and Nexus S.
31If you're using a different Android-powered device,
32then you need to get a USB driver from the device OEM. For help finding the appropriate
33driver, see the list of <a href="{@docRoot}sdk/oem-usb.html">OEM USB Drivers</a>.</p>
34
35<div class="sidebox-wrapper">
36<div class="sidebox">
37 <p>The Google USB driver for Windows provides support for the following
38Android-powered devices:</p>
39 <ul>
40 <li>ADP1 / T-Mobile G1*</li>
41 <li>ADP2 / Google Ion / T-Mobile myTouch 3G*</li>
42 <li>Verizon Droid*</li>
43 <li>Nexus One</li>
44 <li>Nexus S</li>
45 </ul>
46 <p>* <em>Or similar hardware on other carriers</em></p>
47 <p>Any additional devices will require Windows drivers provided by
48the hardware manufacturer. See <a href="{@docRoot}sdk/oem-usb.html">OEM USB Drivers</a>.</p>
49</div>
50</div>
Scott Mainad68fdd2009-11-05 18:53:59 -080051
52<p class="note"><strong>Note:</strong>
53If you're developing on Mac OS X or Linux, then you do not need to install a
54USB driver. Refer to <a
55href="{@docRoot}guide/developing/device.html#setting-up">Setting up a
56Device</a> to start development with a device.</p>
57
Scott Main0f805632011-01-07 10:45:03 -080058<p>The sections below provide instructions on how to download the USB Driver
59for Windows and install it on your development computer. </p>
60
61
62
63
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070064<h2 id="notes">Revisions</h2>
Scott Mainad68fdd2009-11-05 18:53:59 -080065
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070066<p>The sections below provide notes about successive revisions of the USB Driver
67for Windows, as denoted by revision number. To determine what revision of the
68USB Driver for Windows you are using, refer to the "Installed Packages" listing
69in the Android SDK and AVD Manager.</p>
Scott Mainb149ee82009-12-15 10:47:31 -080070
Dirk Dougherty7b229ef2010-03-26 17:32:26 -070071<script type="text/javascript">
72function toggleDiv(link) {
73 var toggleable = $(link).parent();
74 if (toggleable.hasClass("closed")) {
75 //$(".toggleme", toggleable).slideDown("fast");
76 toggleable.removeClass("closed");
77 toggleable.addClass("open");
78 $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png"));
79 } else {
80 //$(".toggleme", toggleable).slideUp("fast");
81 toggleable.removeClass("open");
82 toggleable.addClass("closed");
83 $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png"));
84 }
85 return false;
86}
87</script>
88<style>
89.toggleable {
90padding: .25em 1em;
91}
92.toggleme {
93 padding: 1em 1em 0 2em;
94 line-height:1em;
95}
96.toggleable a {
97 text-decoration:none;
98}
Dirk Dougherty0d1b0812010-04-07 17:05:16 -070099.toggleme a {
100 text-decoration:underline;
101}
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700102.toggleable.closed .toggleme {
103 display:none;
104}
105#jd-content .toggle-img {
106 margin:0;
107}
108</style>
Scott Mainad68fdd2009-11-05 18:53:59 -0800109
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700110<div class="toggleable opened">
111 <a href="#" onclick="return toggleDiv(this)">
Scott Main60c4e032011-01-07 14:48:18 -0800112 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
113width="9px" />
114USB Driver for Windows, Revision 4</a> <em>(December 2010)</em>
115 <div class="toggleme">
116
117<dl>
118<dt><p>Adds support for the Nexus S.</p></dt>
119</dl>
120 </div>
121</div>
122
123<div class="toggleable closed">
124 <a href="#" onclick="return toggleDiv(this)">
125 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
126width="9px" />
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700127USB Driver for Windows, Revision 3</a> <em>(January 2010)</em>
128 <div class="toggleme">
129
130<dl>
131<dt><p>Adds support for the Nexus One.</p></dt>
132</dl>
133 </div>
134</div>
135
136<div class="toggleable closed">
137 <a href="#" onclick="return toggleDiv(this)">
138 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
139USB Driver for Windows, Revision 2</a> <em>(November 2009)</em>
140 <div class="toggleme">
141
142<dl>
143<dt><p>Adds support for the Verizon Droid (or similar hardware on
144other carriers).</p></dt>
145</dl>
146 </div>
147</div>
148
149<div class="toggleable closed">
150 <a href="#" onclick="return toggleDiv(this)">
151 <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" />
152USB Driver for Windows, Revision 1</a> <em>(October 2009)</em>
153 <div class="toggleme">
154
155<dl>
156<dt><p>Initial release of the WinUsb-based driver, with support
157for the T-Mobile G1 and myTouch 3G (and similar devices).</p></dt>
158</dl>
159 </div>
160</div>
Scott Mainad68fdd2009-11-05 18:53:59 -0800161
Scott Mainad68fdd2009-11-05 18:53:59 -0800162
Scott Main0f805632011-01-07 10:45:03 -0800163<h2 id="WinUsbDriver">Downloading the Google USB Driver</h2>
164
165<div class="figure" style="width:498px;margin:0">
166 <img src="{@docRoot}images/developing/sdk-usb-driver.png" alt="" />
167 <p class="img-caption"><strong>Figure 1.</strong> The SDK and AVD Manager
168 with the Google USB Driver selected.</p>
Scott Mainad68fdd2009-11-05 18:53:59 -0800169</div>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700170
171<p>The USB Driver for Windows is available for download as an optional SDK
172component. You need the driver only if you are developing on Windows and
Scott Main0f805632011-01-07 10:45:03 -0800173want to connect an Android-powered device (ADP, Nexus One, or Nexus S) to your
174development environment over USB. </p>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700175
176<p>To download the driver, use the Android SDK and AVD Manager tool that is
Scott Main0f805632011-01-07 10:45:03 -0800177included with the <a href="{@docRoot}sdk/index.html">Android SDK</a>:</p>
178<ol>
179 <li>Launch the SDK and AVD Manager by double-clicking <code>SDK Manager.exe</code>,
180 at the root of your SDK directory.</li>
181 <li>Expand the <em>Third party Add-ons</em> and <em>Google Inc. add-ons</em>.</li>
182 <li>Check <strong>Google Usb Driver package</strong> and click <strong>Install selected</strong>.</li>
183 <li>Proceed to install the package. When done, the driver files are
184downloaded into the <code>&lt;sdk&gt;\google-usb_driver\</code> directory.</li>
185</ol>
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700186
Dirk Dougherty7b229ef2010-03-26 17:32:26 -0700187
Scott Mainad68fdd2009-11-05 18:53:59 -0800188
Scott Main0f805632011-01-07 10:45:03 -0800189<h2 id="InstallingDriver">Installing the USB Driver</h2>
190
191<p>Once you've downloaded your USB driver, follow the instructions below to install or upgrade the
192driver, based on your version of Windows and whether you're installing for the first time
193or upgrading an existing driver.</p>
194
195<p class="note"><strong>Tip:</strong> When you finish the USB driver installation,
196see <a
Scott Mainad68fdd2009-11-05 18:53:59 -0800197href="{@docRoot}guide/developing/device.html">Developing on a Device</a> for
198other important information about using an Android-powered device for
199development.</p>
200
201<ol class="nolist">
Scott Main0f805632011-01-07 10:45:03 -0800202 <li><a href="#Win7">Windows 7</a></li>
203 <li><a href="#WinXp">Windows XP</a></li>
204 <li><a href="#WinVista">Windows Vista</a></li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800205</ol>
206
207
208<p class="caution"><strong>Caution:</strong>
209You may make changes to <code>android_winusb.inf</code> file found inside
210<code>usb_driver\</code> (for example, to add support for other devices),
211however, this will lead to security warnings when you install or upgrade the
212driver. Making any other changes to the driver files may break the installation
213process.</p>
214
Scott Mainad68fdd2009-11-05 18:53:59 -0800215
Scott Main0f805632011-01-07 10:45:03 -0800216<h3 id="Win7">Windows 7</h3>
Scott Mainad68fdd2009-11-05 18:53:59 -0800217
Scott Main0f805632011-01-07 10:45:03 -0800218
219<p>To install the Android USB driver on Windows 7 for the first time:</p>
Scott Mainad68fdd2009-11-05 18:53:59 -0800220<ol>
Scott Main0f805632011-01-07 10:45:03 -0800221 <li>Connect your Android-powered device to your computer's USB port.</li>
222 <li>Right-click on <em>Computer</em> from your desktop or Windows Explorer,
223 and select <strong>Manage</strong>.</li>
224 <li>Select <strong>Devices</strong> in the left pane.</li>
225 <li>Locate and expand <em>Other device</em> in the right pane.</li>
226 <li>Right-click the device name (such as <em>Nexus S</em>) and select <strong>Update
227 Driver Software</strong>.
228 This will launch the Hardware Update Wizard.</li>
229 <li>Select <strong>Browse my computer for driver software</strong> and click
230 <strong>Next</strong>.</li>
231 <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB
232Driver is located in {@code &lt;sdk&gt;\google-usb_driver\}.)</li>
233 <li>Click <strong>Next</strong> to install the driver.</li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800234</ol>
235
Scott Main0f805632011-01-07 10:45:03 -0800236<p>Or, to <em>upgrade</em> an existing Android USB driver on Windows 7 with the new
Scott Mainad68fdd2009-11-05 18:53:59 -0800237driver:</p>
238
239<ol>
240 <li>Connect your Android-powered device to your computer's USB port.</li>
Scott Main0f805632011-01-07 10:45:03 -0800241 <li>Right-click on <em>Computer</em> from your desktop or Windows Explorer,
242 and select <strong>Manage</strong>.</li>
243 <li>Select <strong>Device Manager</strong> in the left pane of the Computer Management
Scott Mainad68fdd2009-11-05 18:53:59 -0800244 window.</li>
Scott Main0f805632011-01-07 10:45:03 -0800245 <li>Locate and expand <em>Android Phone</em> in the right pane.</li>
246 <li>Right-click <em>Android Composite ADB Interface</em> and select <strong>Update
247 Driver</strong>.
248 This will launch the Hardware Update Wizard.</li>
249 <li>Select <strong>Install from a list or specific location</strong> and click
250 <strong>Next</strong>.</li>
251 <li>Select <strong>Search for the best driver in these locations</strong>; un-check
252<strong>Search removable media</strong>; and check <strong>Include this location in the
253search</strong>.</li>
254 <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB
255Driver is located in {@code &lt;sdk&gt;\google-usb_driver\}.)</li>
256 <li>Click <strong>Next</strong> to upgrade the driver.</li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800257</ol>
258
259
Scott Main0f805632011-01-07 10:45:03 -0800260
261
262
263<h3 id="WinXp">Windows XP</h3>
Scott Mainad68fdd2009-11-05 18:53:59 -0800264
265<p>To install the Android USB driver on Windows XP for the first time:</p>
266
267<ol>
268 <li>Connect your Android-powered device to your computer's USB port. Windows
269 will detect the device and launch the Hardware Update Wizard.</li>
Scott Main0f805632011-01-07 10:45:03 -0800270 <li>Select <strong>Install from a list or specific location</strong> and click
271 <strong>Next</strong>.</li>
272 <li>Select <strong>Search for the best driver in these locations</strong>; un-check
273<strong>Search
274 removable media</strong>; and check <strong>Include
275this location in the search</strong>.</li>
276 <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB
277Driver is located in {@code &lt;sdk&gt;\google-usb_driver\}.)</li>
278 <li>Click <strong>Next</strong> to install the driver.</li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800279</ol>
280
Scott Main0f805632011-01-07 10:45:03 -0800281<p>Or, to <em>upgrade</em> an existing Android USB driver on Windows XP with the new
Scott Mainad68fdd2009-11-05 18:53:59 -0800282driver:</p>
283
284<ol>
285 <li>Connect your Android-powered device to your computer's USB port.</li>
Scott Main0f805632011-01-07 10:45:03 -0800286 <li>Right-click on <em>My Computer</em> from your desktop or Windows Explorer,
287 and select <strong>Manage</strong>.</li>
288 <li>Select <strong>Device Manager</strong> in the left pane.</li>
289 <li>Locate and expand <em>Android Phone</em> in the right pane.</li>
290 <li>Right-click <em>Android Composite ADB Interface</em> and select <strong>Update
291 Driver</strong>.
Scott Mainad68fdd2009-11-05 18:53:59 -0800292 This will launch the Hardware Update Wizard.</li>
Scott Main0f805632011-01-07 10:45:03 -0800293 <li>Select <strong>Install from a list or specific location</strong> and click
294 <strong>Next</strong>.</li>
295 <li>Select <strong>Search for the best driver in these locations</strong>; un-check <strong>Search
296 removable media</strong>; and check <strong>Include
297this location in the search</strong>.</li>
298 <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB
299Driver is located in {@code &lt;sdk&gt;\google-usb_driver\}.)</li>
300 <li>Click <strong>Next</strong> to upgrade the driver.</li>
301</ol>
302
303
304
305<h3 id="WinVista">Windows Vista</h3>
306
307<p>To install the Android USB driver on Windows Vista for the first time:</p>
308
309<ol>
310 <li>Connect your Android-powered device to your computer's USB port. Windows
311 will detect the device and launch the Found New Hardware wizard.</li>
312 <li>Select <strong>Locate and install driver software</strong>.</li>
313 <li>Select <strong>Don't search online</strong>.</li>
314 <li>Select <strong>I don't have the disk. Show me other options</strong>.</li>
315 <li>Select <strong>Browse my computer for driver software</strong>.</li>
316 <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB
317Driver is located in {@code &lt;sdk&gt;\google-usb_driver\}.) As long as you specified the exact
318location of the
319 installation package, you may leave <strong>Include subfolders</strong> checked or
320 unchecked&mdash;it doesn't matter.</li>
321 <li>Click <strong>Next</strong>. Vista may prompt you to confirm the privilege elevation
322 required for driver installation. Confirm it.</li>
323 <li>When Vista asks if you'd like to install the Google ADB Interface device,
324 click <strong>Install</strong> to install the driver.</li>
325</ol>
326
327<p>Or, to <em>upgrade</em> an existing Android USB driver on Windows Vista with the new
328driver:</p>
329
330<ol>
331 <li>Connect your Android-powered device to your computer's USB port.</li>
332 <li>Right-click on <em>Computer</em> from your desktop or Windows Explorer,
333 and select <strong>Manage</strong>.</li>
334 <li>Select <strong>Device Manager</strong> in the left pane.</li>
335 <li>Locate and expand <em>ADB Interface</em> in the right pane.</li>
336 <li>Right-click on <em>HTC Dream Composite ADB Interface</em>, and select <strong>Update
337 Driver Software</strong>.</li>
338 <li>When Vista starts updating the driver, a prompt will ask how you want to
339 search for the driver
340 software. Select <strong>Browse my computer for driver software</strong>.</li>
341 <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB
342Driver is located in {@code &lt;sdk&gt;\google-usb_driver\}.) As long as you specified the
343exact location of the
344 installation package, you may leave <strong>Include subfolders</strong> checked or
345 unchecked&mdash;it doesn't matter.</li>
346 <li>Click <strong>Next</strong>. Vista might prompt you to confirm the privilege elevation
347 required for driver installation. Confirm it.</li>
348 <li>When Vista asks if you'd like to install the Google ADB Interface device,
349 click <strong>Install</strong> to upgrade the driver.</li>
Scott Mainad68fdd2009-11-05 18:53:59 -0800350</ol>
351