Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 619c8961 authored by Andrew Solovay's avatar Andrew Solovay Committed by Android (Google) Code Review
Browse files

Merge "docs: Added table for the L device images." into klp-modular-dev

parents 300caefb 0341fba9
Loading
Loading
Loading
Loading
+32 −32
Original line number Original line Diff line number Diff line
@@ -7,7 +7,7 @@ as using the Android SDK Manager and creating projects. If you're new to
Android, see <a href="/training/basics/firstapp/index.html">Building Your First
Android, see <a href="/training/basics/firstapp/index.html">Building Your First
App</a> training lesson first.</a></p>
App</a> training lesson first.</a></p>


<h2>Download the SDK</h2>
<h2 id="downloadSdk">Download the SDK</h2>


<ol>
<ol>
  <li>Start the Android SDK Manager.</li>
  <li>Start the Android SDK Manager.</li>
@@ -20,7 +20,7 @@ App</a> training lesson first.</a></p>
    <b>Install</b>.</li>
    <b>Install</b>.</li>
</ol>
</ol>


<h2>Set Up Hardware and AVDs</h2>
<h2 id="setupHardware">Set Up Hardware and AVDs</h2>


<p>The Android L developer preview provides you with 32-bit system images
<p>The Android L developer preview provides you with 32-bit system images
to flash the following devices:
to flash the following devices:
@@ -35,10 +35,9 @@ to flash the following devices:
experimental 64-bit system images along with standard 32-bit system images.
experimental 64-bit system images along with standard 32-bit system images.
</p>
</p>


<h3>Instal the L Preview System Image</h3>
<h3 id="installImage">Install the L Preview System Image</h3>


<!-- Will we get an official warning text from the lawyercats? Is this it? -->
<p class="warning"><b>Warning:</b> This is a preview version of the Android
<p class="warning"><b>Warning</b>: This is a preview version of the Android
system image, and is subject to change. Your use of this system image is
system image, and is subject to change. Your use of this system image is
governed by the Android SDK Preview License Agreement. The Android preview
governed by the Android SDK Preview License Agreement. The Android preview
system image is not a stable release, and may contain errors and defects that
system image is not a stable release, and may contain errors and defects that
@@ -49,35 +48,37 @@ can cause your phone and installed services and applications to stop working.




<ol>
<ol>
  <li>Download and extract the Android Developer Preview package to a directory
  <li>Download and uncompress the Android Developer Preview package.
  (which we'll call <code>&lt;l_download_dir&gt;</code> in these
    <p class="table-caption" id="table1">
  instructions).</li>
      <strong>Table 1.</strong> L Developer Preview system images.</p>
  <li>Connect your powered-off Android device to your development machine. Put
    <table>
  the device in fastboot mode by pressing and holding the following buttons:
      <tr>
    <ul>
        <th scope="col">Device</th>
    <li><strong>Nexus 5:</strong> <i>volume down</i> + <i>volume up</i> +
        <th scope="col">Download</th>
        <i>power</i></li>
        <th scope="col">MD5 Checksum</th>
    <li><strong>Nexus 7:</strong> <i>volume down</i> + <i>power</i> </li>
        <th scope="col">SHA-1 Checksum</th>
    </ul>
      </tr>
    <p class="note">Alternatively, you can enter fastboot mode by booting up
      <tr id="hammerhead">
    the device and running <code>adb reboot bootloader</code> with USB debugging
        <td>Nexus 5 (GSM/LTE) "hammerhead"</td>
    turned on.</p>
        <td><!-- TODO --></td>
        <td><code>5a6ae77217978cb7b958a240c2e80b57</code></td>
        <td><code>ac1d8a8e4f4a1dca5864dc733caa940bffc28616</code></td>
      </tr>
      <tr id="razor">
        <td>Nexus 7 (Wifi) "razor"</td>
        <td><!-- TODO --></td>
        <td><code>b293a5d3a4e07beabebcc0be85ad68a2</code></td>
        <td><code>d0ddf8ce733ba2a34279cdff8827fd604762c2342d</code></td>
      </tr>
    </table>
  </li>
  </li>

  <li>Follow the instructions at
  <li>Follow the instructions at
  <a href="https://developers.google.com/android/nexus/images#instructions">developers.google.com/android</a>
  <a href="https://developers.google.com/android/nexus/images#instructions">developers.google.com/android</a>
  to set up your system for flashing devices.</li>
  to flash the image onto your device.</li>
  <li>Run the <code>&lt;l_download_dir&gt;/flash-all</code> script
  corresponding to your platform. This script flashes all of the system data
  onto the phone.</li> <!-- Confirm names of flash scripts -->
  <li>(Optional) After flashing is complete, lock your device's bootloader by
  putting it in   fastboot mode and running <code>fastboot oem lock</code>.
  (This does not wipe   your device.) Once you do this,  you will not be able to
  flash your device until you run   run <code>fastboot oem   unlock</code>,
  which unlocks the bootloader and wipes your device. We recommend you leave the
  bootloader unlocked until you are done with flashing the device.</li>
</ol>
</ol>


<h3>Revert a Device to Factory Specifications</h3>
<h3 id="revertDevice">Revert a Device to Factory Specifications</h3>


  <p>If you want to uninstall the L Preview and revert the device to factory
  <p>If you want to uninstall the L Preview and revert the device to factory
specifications, go to <a href="http://developers.google.com/android
specifications, go to <a href="http://developers.google.com/android
@@ -85,8 +86,7 @@ specifications, go to <a href="http://developers.google.com/android
to flash to for your device. Follow the instructions on that page to flash the
to flash to for your device. Follow the instructions on that page to flash the
image to your device.</p>
image to your device.</p>



<h3 id="setupAVD">Set up an AVD</h3>
<h3>Set up an AVD</h3>


<p>You can set up <a href="{@docRoot}tools/devices/">Android Virtual Devices
<p>You can set up <a href="{@docRoot}tools/devices/">Android Virtual Devices
(AVD)</a> and use the emulator to build and test apps with the L Preview.</p>
(AVD)</a> and use the emulator to build and test apps with the L Preview.</p>
@@ -109,7 +109,7 @@ image to your device.</p>
  </li>
  </li>
</ol>
</ol>


<h2>Create a Project</h2>
<h2 id="createProject">Create a Project</h2>


<ol>
<ol>
  <li>Create a new Android project with the following properties:
  <li>Create a new Android project with the following properties: