Clay Murphy | a5864b5 | 2015-07-30 11:44:49 -0700 | [diff] [blame] | 1 | page.title=Running Builds |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 2 | @jd:body |
| 3 | |
| 4 | <!-- |
Gina Dimino | b12ef50 | 2015-05-12 13:42:28 -0700 | [diff] [blame] | 5 | Copyright 2015 The Android Open Source Project |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 6 | |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | --> |
| 19 | <div id="qv-wrapper"> |
| 20 | <div id="qv"> |
| 21 | <h2>In this document</h2> |
| 22 | <ol id="auto-toc"> |
| 23 | </ol> |
| 24 | </div> |
| 25 | </div> |
| 26 | |
| 27 | <p>This page complements the main page about |
Clay Murphy | a5864b5 | 2015-07-30 11:44:49 -0700 | [diff] [blame] | 28 | <a href="building.html">Building the System</a> with |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 29 | information that is specific to individual devices.</p> |
Robert Ly | 40e3b6d | 2013-04-17 18:12:10 -0700 | [diff] [blame] | 30 | |
Gina Dimino | b12ef50 | 2015-05-12 13:42:28 -0700 | [diff] [blame] | 31 | <h2 class="nexus-devices">Nexus devices</h2> |
| 32 | <p> |
| 33 | It is possible to build for Nexus devices using the AOSP |
| 34 | builds and the relevant hardware-specific binaries. |
| 35 | For a list of available Android builds and the Nexus devices |
| 36 | they can be installed on, see <a |
| 37 | href="build-numbers.html#source-code-tags-and-builds">Source |
| 38 | Code, Tags, and Builds</a>. |
| 39 | </p> |
| 40 | |
| 41 | <p class="note"> |
| 42 | <b>Note:</b> Due to hardware differences, do not use 4.1.1 on a Nexus 7 that |
Robert Ly | 40e3b6d | 2013-04-17 18:12:10 -0700 | [diff] [blame] | 43 | was originally sold with 4.1.2 or newer.</p> |
Gina Dimino | b12ef50 | 2015-05-12 13:42:28 -0700 | [diff] [blame] | 44 | |
| 45 | <h2 class="other-devices">Other devices</h2> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 46 | <p>The Motorola Xoom can be used in the Wi-Fi configuration "wingray" |
| 47 | sold in the USA, with Android 4.1.2. Graphics and audio are functional |
| 48 | as well as Wi-Fi and Bluetooth and the orientation sensors.</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 49 | <p>In addition, <a href="http://pandaboard.org">PandaBoard</a> a.k.a. "panda" can be used |
Robert Ly | 40e3b6d | 2013-04-17 18:12:10 -0700 | [diff] [blame] | 50 | in the jb-mr1-dev-plus-aosp branch, but is considered experimental. |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 51 | The specific details to use a PandaBoard with the Android Open-Source Project |
| 52 | are in the file <code>device/ti/panda/README</code> in the source tree.</p> |
Robert Ly | 40e3b6d | 2013-04-17 18:12:10 -0700 | [diff] [blame] | 53 | |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 54 | <h2 id="building-fastboot-and-adb">Building fastboot and adb</h2> |
| 55 | <p>If you don't already have those tools, fastboot and adb can be built with |
| 56 | the regular build system. Follow the instructions on the page about |
Clay Murphy | a5864b5 | 2015-07-30 11:44:49 -0700 | [diff] [blame] | 57 | <a href="building.html">Building a System</a>, and replace the main |
| 58 | <code>make</code> command with:</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 59 | <pre><code>$ make fastboot adb |
| 60 | </code></pre> |
Gina Dimino | b12ef50 | 2015-05-12 13:42:28 -0700 | [diff] [blame] | 61 | |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 62 | <h2 id="booting-into-fastboot-mode">Booting into fastboot mode</h2> |
| 63 | <p>During a cold boot, the following key combinations can be used to boot into fastboot mode, |
| 64 | which is a mode in the bootloader that can be used to flash the devices:</p> |
| 65 | <table> |
| 66 | <thead> |
| 67 | <tr> |
| 68 | <th>Device</th> |
| 69 | <th>Keys</th> |
| 70 | </tr> |
| 71 | </thead> |
| 72 | <tbody> |
| 73 | <tr> |
Xin Li | 4b1f12b | 2016-01-05 13:51:23 -0800 | [diff] [blame] | 74 | <td>angler</td> |
| 75 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 76 | </tr> |
| 77 | <tr> |
| 78 | <td>bullhead</td> |
| 79 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 80 | </tr> |
| 81 | <tr> |
Bill Yi | cc8fda5 | 2014-12-04 10:59:08 -0800 | [diff] [blame] | 82 | <td>shamu</td> |
| 83 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 84 | </tr> |
| 85 | <tr> |
| 86 | <td>fugu</td> |
| 87 | <td>Press and hold <em>Power</em></td> |
| 88 | </tr> |
| 89 | <tr> |
| 90 | <td>volantis</td> |
| 91 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 92 | </tr> |
| 93 | <tr> |
Clay Murphy | e75e3fe | 2013-11-06 17:15:35 -0800 | [diff] [blame] | 94 | <td>hammerhead</td> |
| 95 | <td>Press and hold both <em>Volume Up</em> and <em>Volume Down</em>, then press |
| 96 | and hold <em>Power</em></td> |
| 97 | </tr> |
| 98 | <tr> |
Jean-Baptiste Queru | 3b41843 | 2013-07-11 15:44:44 -0700 | [diff] [blame] | 99 | <td>flo</td> |
| 100 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 101 | </tr> |
| 102 | <tr> |
| 103 | <td>deb</td> |
| 104 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 105 | </tr> |
| 106 | <tr> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 107 | <td>manta</td> |
| 108 | <td>Press and hold both <em>Volume Up</em> and <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 109 | </tr> |
| 110 | <tr> |
| 111 | <td>mako</td> |
| 112 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 113 | </tr> |
| 114 | <tr> |
| 115 | <td>grouper</td> |
Jean-Baptiste Queru | d8fbf20 | 2013-06-18 14:51:12 -0700 | [diff] [blame] | 116 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 117 | </tr> |
| 118 | <tr> |
| 119 | <td>tilapia</td> |
Jean-Baptiste Queru | d8fbf20 | 2013-06-18 14:51:12 -0700 | [diff] [blame] | 120 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 121 | </tr> |
| 122 | <tr> |
| 123 | <td>phantasm</td> |
| 124 | <td>Power the device, cover it with one hand after the LEDs light up and until they turn red</td> |
| 125 | </tr> |
| 126 | <tr> |
| 127 | <td>maguro</td> |
| 128 | <td>Press and hold both <em>Volume Up</em> and <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 129 | </tr> |
| 130 | <tr> |
| 131 | <td>toro</td> |
| 132 | <td>Press and hold both <em>Volume Up</em> and <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 133 | </tr> |
| 134 | <tr> |
| 135 | <td>toroplus</td> |
| 136 | <td>Press and hold both <em>Volume Up</em> and <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 137 | </tr> |
| 138 | <tr> |
| 139 | <td>panda</td> |
| 140 | <td>Press and hold <em>Input</em>, then press <em>Power</em></td> |
| 141 | </tr> |
| 142 | <tr> |
| 143 | <td>wingray</td> |
| 144 | <td>Press and hold <em>Volume Down</em>, then press and hold <em>Power</em></td> |
| 145 | </tr> |
| 146 | <tr> |
| 147 | <td>crespo</td> |
| 148 | <td>Press and hold <em>Volume Up</em>, then press and hold <em>Power</em></td> |
| 149 | </tr> |
| 150 | <tr> |
| 151 | <td>crespo4g</td> |
| 152 | <td>Press and hold <em>Volume Up</em>, then press and hold <em>Power</em></td> |
| 153 | </tr> |
| 154 | </tbody> |
| 155 | </table> |
| 156 | <p>Also, the command <code>adb reboot bootloader</code> can be used to reboot from |
| 157 | Android directly into the bootloader with no key combinations.</p> |
| 158 | <h2 id="unlocking-the-bootloader">Unlocking the bootloader</h2> |
| 159 | <p>It's only possible to flash a custom system if the bootloader allows it.</p> |
| 160 | <p>The bootloader is locked by default. With the device in fastboot mode, the |
| 161 | bootloader is unlocked with</p> |
| 162 | <pre><code>$ fastboot oem unlock |
| 163 | </code></pre> |
| 164 | <p>The procedure must be confirmed on-screen, and deletes the user data for |
| 165 | privacy reasons. It only needs to be run once.</p> |
| 166 | <p>All data on the phone is erased, i.e. both the applications' private data |
| 167 | and the shared data that is accessible over USB, including photos and |
| 168 | movies. Be sure to make a backup of any precious files you have before |
| 169 | unlocking the bootloader.</p> |
| 170 | <p>On Nexus 10, after unlocking the bootloader, the internal storage is |
| 171 | left unformatted and must be formatted with</p> |
| 172 | <pre><code>$ fastboot format cache |
| 173 | $ fastboot format userdata |
| 174 | </code></pre> |
| 175 | <p>The bootloader can be locked back with</p> |
| 176 | <pre><code>$ fastboot oem lock |
| 177 | </code></pre> |
| 178 | <p>Note that this erases user data on Xoom (including the shared USB data).</p> |
| 179 | <h2 id="obtaining-proprietary-binaries">Obtaining proprietary binaries</h2> |
| 180 | <p>The Android Open-Source Project can't be used |
| 181 | from pure source code only, and requires additional hardware-related proprietary |
| 182 | libraries to run, specifically for hardware graphics acceleration.</p> |
Clay Murphy | 8bb8f4a | 2014-06-03 17:23:10 -0700 | [diff] [blame] | 183 | <p>Official binaries for the supported devices running tagged AOSP release |
| 184 | branches can be downloaded from <a |
| 185 | href="https://developers.google.com/android/nexus/drivers">Google's Nexus |
| 186 | driver page</a>. These add access to additional hardware capabilities with |
Clay Murphy | fa783d8 | 2015-05-01 14:26:20 -0700 | [diff] [blame] | 187 | non-open source code. To instead build the AOSP master branch, use the <a |
Clay Murphy | 8bb8f4a | 2014-06-03 17:23:10 -0700 | [diff] [blame] | 188 | href="https://developers.google.com/android/nexus/blobs-preview">Binaries |
| 189 | Preview for Nexus Devices</a>.</p> |
Robert Ly | 40e3b6d | 2013-04-17 18:12:10 -0700 | [diff] [blame] | 190 | <p>When building the master branch for a device, the binaries for the most |
Clay Murphy | 8bb8f4a | 2014-06-03 17:23:10 -0700 | [diff] [blame] | 191 | recent numbered release or with the most recent date are the ones that should |
| 192 | be used.</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 193 | <h3 id="extracting-the-proprietary-binaries">Extracting the proprietary binaries</h3> |
| 194 | <p>Each set of binaries comes as a self-extracting script in a compressed archive. |
| 195 | After uncompressing each archive, run the included self-extracting script |
| 196 | from the root of the source tree, confirm that you agree to the terms of the |
| 197 | enclosed license agreement, and the binaries and their matching makefiles |
| 198 | will get installed in the <code>vendor/</code> hierarchy of the source tree.</p> |
| 199 | <h3 id="cleaning-up-when-adding-proprietary-binaries">Cleaning up when adding proprietary binaries</h3> |
| 200 | <p>In order to make sure that the newly installed binaries are properly |
| 201 | taken into account after being extracted, the existing output of any previous |
| 202 | build needs to be deleted with</p> |
| 203 | <pre><code>$ make clobber |
| 204 | </code></pre> |
| 205 | <h2 id="picking-and-building-the-configuration-that-matches-a-device">Picking and building the configuration that matches a device</h2> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 206 | <p>The recommended builds for the various devices are available through |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 207 | the lunch menu, accessed when running the <code>lunch</code> command with no arguments. Factory images and binaries for Nexus devices can be downloaded from:</p> |
| 208 | <p><a href="https://developers.google.com/android/nexus/images">https://developers.google.com/android/nexus/images</a></p> |
| 209 | <p><a href="https://developers.google.com/android/nexus/drivers">https://developers.google.com/android/nexus/drivers</a></p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 210 | <table> |
| 211 | <thead> |
| 212 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 213 | <th>Device</th> |
| 214 | <th>Code name</th> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 215 | <th>Build configuration</th> |
| 216 | </tr> |
| 217 | </thead> |
| 218 | <tbody> |
| 219 | <tr> |
Xin Li | 4b1f12b | 2016-01-05 13:51:23 -0800 | [diff] [blame] | 220 | <td>Nexus 6P</td> |
| 221 | <td>angler</td> |
| 222 | <td>aosp_angler-userdebug</td> |
| 223 | </tr> |
| 224 | <tr> |
| 225 | <td>Nexus 5X</td> |
| 226 | <td>bullhead</td> |
| 227 | <td>aosp_bullhead-userdebug</td> |
| 228 | </tr> |
| 229 | <tr> |
Bill Yi | cc8fda5 | 2014-12-04 10:59:08 -0800 | [diff] [blame] | 230 | <td>Nexus 6</td> |
| 231 | <td>shamu</td> |
| 232 | <td>aosp_shamu-userdebug</td> |
| 233 | </tr> |
Bill Yi | cc8fda5 | 2014-12-04 10:59:08 -0800 | [diff] [blame] | 234 | <tr> |
| 235 | <td>Nexus Player</td> |
| 236 | <td>fugu</td> |
| 237 | <td>aosp_fugu-userdebug</td> |
| 238 | </tr> |
| 239 | <tr> |
| 240 | <td>Nexus 9</td> |
| 241 | <td>volantis (flounder)</td> |
| 242 | <td>aosp_flounder-userdebug</td> |
| 243 | </tr> |
| 244 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 245 | <td>Nexus 5 (GSM/LTE)</td> |
Clay Murphy | e75e3fe | 2013-11-06 17:15:35 -0800 | [diff] [blame] | 246 | <td>hammerhead</td> |
Clay Murphy | e75e3fe | 2013-11-06 17:15:35 -0800 | [diff] [blame] | 247 | <td>aosp_hammerhead-userdebug</td> |
| 248 | </tr> |
| 249 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 250 | <td>Nexus 7 (Wi-Fi)</td> |
| 251 | <td>razor (flo)</td> |
Jean-Baptiste Queru | 3b41843 | 2013-07-11 15:44:44 -0700 | [diff] [blame] | 252 | <td>aosp_flo-userdebug</td> |
| 253 | </tr> |
| 254 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 255 | <td>Nexus 7 (Mobile)</td> |
| 256 | <td>razorg (deb)</td> |
Jean-Baptiste Queru | 3b41843 | 2013-07-11 15:44:44 -0700 | [diff] [blame] | 257 | <td>aosp_deb-userdebug</td> |
| 258 | </tr> |
| 259 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 260 | <td>Nexus 10</td> |
| 261 | <td>mantaray (manta)</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 262 | <td>full_manta-userdebug</td> |
| 263 | </tr> |
| 264 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 265 | <td>Nexus 4</td> |
| 266 | <td>occam (mako)</td> |
Clay Murphy | c0fff38 | 2013-09-23 11:08:07 -0700 | [diff] [blame] | 267 | <td>full_mako-userdebug</td> |
Robert Ly | 40e3b6d | 2013-04-17 18:12:10 -0700 | [diff] [blame] | 268 | </tr> |
| 269 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 270 | <td>Nexus 7 (Wi-Fi)</td> |
| 271 | <td>nakasi (grouper)</td> |
Clay Murphy | c0fff38 | 2013-09-23 11:08:07 -0700 | [diff] [blame] | 272 | <td>full_grouper-userdebug</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 273 | </tr> |
| 274 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 275 | <td>Nexus 7 (Mobile)</td> |
| 276 | <td>nakasig (tilapia)</td> |
Clay Murphy | c0fff38 | 2013-09-23 11:08:07 -0700 | [diff] [blame] | 277 | <td>full_tilapia-userdebug</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 278 | </tr> |
| 279 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 280 | <td>Galaxy Nexus (GSM/HSPA+)</td> |
| 281 | <td>yakju (maguro)</td> |
Clay Murphy | c0fff38 | 2013-09-23 11:08:07 -0700 | [diff] [blame] | 282 | <td>full_maguro-userdebug</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 283 | </tr> |
| 284 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 285 | <td>Galaxy Nexus (Verizon)</td> |
| 286 | <td>mysid (toro)</td> |
Jean-Baptiste Queru | d8fbf20 | 2013-06-18 14:51:12 -0700 | [diff] [blame] | 287 | <td>aosp_toro-userdebug</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 288 | </tr> |
| 289 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 290 | <td>Galaxy Nexus (Experimental)</td> |
| 291 | <td>mysidspr (toroplus)</td> |
Jean-Baptiste Queru | d8fbf20 | 2013-06-18 14:51:12 -0700 | [diff] [blame] | 292 | <td>aosp_toroplus-userdebug</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 293 | </tr> |
| 294 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 295 | <td>PandaBoard (Archived)</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 296 | <td>panda</td> |
Jean-Baptiste Queru | d8fbf20 | 2013-06-18 14:51:12 -0700 | [diff] [blame] | 297 | <td>aosp_panda-userdebug</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 298 | </tr> |
| 299 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 300 | <td>Motorola Xoom (U.S. Wi-Fi)</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 301 | <td>wingray</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 302 | <td>full_wingray-userdebug</td> |
| 303 | </tr> |
| 304 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 305 | <td>Nexus S</td> |
| 306 | <td>soju (crespo)</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 307 | <td>full_crespo-userdebug</td> |
| 308 | </tr> |
| 309 | <tr> |
Clay Murphy | 470853d | 2014-03-25 18:22:02 -0700 | [diff] [blame] | 310 | <td>Nexus S 4G</td> |
| 311 | <td>sojus (crespo4g)</td> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 312 | <td>full_crespo4g-userdebug</td> |
| 313 | </tr> |
| 314 | </tbody> |
| 315 | </table> |
| 316 | <p>Do not use 4.1.1 on a Nexus 7 that was originally sold with 4.1.2 |
| 317 | or newer.</p> |
| 318 | <h2 id="flashing-a-device">Flashing a device</h2> |
| 319 | <p>Set the device in fastboot mode if necessary (see above).</p> |
| 320 | <p>An entire Android system can be flashed in a single command: this writes |
| 321 | the boot, recovery and system partitions together after verifying that the |
| 322 | system being flashed is compatible with the installed bootloader and radio, |
| 323 | and reboots the system. This also erases all the user data, similarly to |
| 324 | <code>fastboot oem unlock</code> mentioned earlier.</p> |
| 325 | <pre><code>$ fastboot -w flashall |
| 326 | </code></pre> |
| 327 | <p>Note that filesystems created via fastboot on Motorola Xoom aren't working |
| 328 | optimally, and it is strongly recommended to re-create them through recovery</p> |
| 329 | <pre><code>$ adb reboot recovery |
| 330 | </code></pre> |
| 331 | <p>Once in recovery, open the menu (press Power + Volume Up), wipe the cache |
| 332 | partition, then wipe data.</p> |
Clay Murphy | 62fc041 | 2014-07-10 12:53:18 -0700 | [diff] [blame] | 333 | <h2 id="restoring-a-device-to-its-original-factory-state">Restoring a device to |
| 334 | its original factory state</h2> |
| 335 | <p>Factory images for Nexus 5, Nexus 10, Nexus 4, Nexus Q, Nexus 7, Galaxy |
| 336 | Nexus (GSM/HSPA+ "yakju" and "takju", |
| 337 | and CDMA/LTE "mysid" and "mysidspr"), Nexus S, and Nexus S 4G are available |
| 338 | from <a href="https://developers.google.com/android/nexus/images">Google's |
| 339 | factory image</a> page.</p> |
Jean-Baptiste Queru | d8fbf20 | 2013-06-18 14:51:12 -0700 | [diff] [blame] | 340 | <p>Factory images for the Motorola Xoom are distributed directly by Motorola.</p> |