move obtaining fastboot out of prerequisites

This commit is contained in:
Daniel Micay 2021-01-03 22:03:08 -05:00
parent 9a1b6e3fea
commit 7777f66049

View File

@ -57,9 +57,8 @@
<h2><a href="#table-of-contents">Table of contents</a></h2>
<ul>
<li>
<a href="#prerequisites">Prerequisites</a>
<ul>
<li><a href="#prerequisites">Prerequisites</a></li>
<li><a href="#enabling-oem-unlocking">Enabling OEM unlocking</a></li>
<li>
<a href="#obtaining-fastboot">Obtaining fastboot</a>
<ul>
@ -67,9 +66,6 @@
<li><a href="#checking-fastboot-version">Checking fastboot version</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#enabling-oem-unlocking">Enabling OEM unlocking</a></li>
<li><a href="#fastboot-as-non-root">Fastboot as non-root</a></li>
<li><a href="#connecting-phone">Connecting the phone</a></li>
<li><a href="#unlocking-the-bootloader">Unlocking the bootloader</a></li>
@ -141,9 +137,23 @@
<p>These instructions use command-line tools. On Windows, use PowerShell rather
than the legacy Command Prompt. Open up a single terminal and use it for the whole
installation process.</p>
</section>
<section id="enabling-oem-unlocking">
<h2><a href="#enabling-oem-unlocking">Enabling OEM unlocking</a></h2>
<p>OEM unlocking needs to be enabled from within the operating system.</p>
<p>Enable the developer options menu by going to Settings ➔ About phone and
pressing on the build number menu entry until developer mode is enabled.</p>
<p>Next, go to Settings ➔ System ➔ Advanced ➔ Developer options and toggle on the
'Enable OEM unlocking' setting. This requires internet access on devices with Google
Play services as part of Factory Reset Protection (FRP) for anti-theft protection.</p>
</section>
<section id="obtaining-fastboot">
<h3><a href="#obtaining-fastboot">Obtaining fastboot</a></h3>
<h2><a href="#obtaining-fastboot">Obtaining fastboot</a></h2>
<p>You need an updated copy of the <code>fastboot</code> tool and the
directory containing it needs to be included in the <code>PATH</code>
@ -167,7 +177,7 @@
</ul>
<section id="standalone-platform-tools">
<h4><a href="#standalone-platform-tools">Standalone platform-tools</a></h4>
<h3><a href="#standalone-platform-tools">Standalone platform-tools</a></h3>
<!-- https://developer.android.com/studio/releases/platform-tools -->
@ -210,7 +220,7 @@ tar xvf platform-tools_r30.0.5-windows.zip</pre>
</section>
<section id="checking-fastboot-version">
<h4><a href="#checking-fastboot-version">Checking fastboot version</a></h4>
<h3><a href="#checking-fastboot-version">Checking fastboot version</a></h3>
<p>Check the output of <code>fastboot --version</code> before continuing.</p>
@ -221,20 +231,6 @@ tar xvf platform-tools_r30.0.5-windows.zip</pre>
Installed as /home/username/platform-tools/fastboot</pre>
</section>
</section>
</section>
<section id="enabling-oem-unlocking">
<h2><a href="#enabling-oem-unlocking">Enabling OEM unlocking</a></h2>
<p>OEM unlocking needs to be enabled from within the operating system.</p>
<p>Enable the developer options menu by going to Settings ➔ About phone and
pressing on the build number menu entry until developer mode is enabled.</p>
<p>Next, go to Settings ➔ System ➔ Advanced ➔ Developer options and toggle on the
'Enable OEM unlocking' setting. This requires internet access on devices with Google
Play services as part of Factory Reset Protection (FRP) for anti-theft protection.</p>
</section>
<section id="fastboot-as-non-root">
<h2><a href="#fastboot-as-non-root">Fastboot as non-root</a></h2>