downgrade fastboot version due to upstream issue

This commit is contained in:
Daniel Micay 2023-05-16 14:15:40 -04:00
parent 7e1a13a391
commit 71c5907a14

View File

@ -220,7 +220,7 @@
<p>You need an updated copy of the <code>fastboot</code> tool and the <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> directory containing it needs to be included in the <code>PATH</code>
environment variable. You can run <code>fastboot --version</code> to determine environment variable. You can run <code>fastboot --version</code> to determine
the current version. It must be at least <code>34.0.1</code>. You can use a the current version. It must be at least <code>33.0.3</code>. You can use a
distribution package for this, but most of them mistakenly package development distribution package for this, but most of them mistakenly package development
snapshots of fastboot, clobber the standard version scheme for platform-tools snapshots of fastboot, clobber the standard version scheme for platform-tools
(adb, fastboot, etc.) with their own scheme and don't keep it up-to-date (adb, fastboot, etc.) with their own scheme and don't keep it up-to-date
@ -249,21 +249,21 @@
Ubuntu:</p> Ubuntu:</p>
<pre>sudo apt install libarchive-tools <pre>sudo apt install libarchive-tools
curl -O https://dl.google.com/android/repository/platform-tools_r34.0.1-linux.zip curl -O https://dl.google.com/android/repository/platform-tools_r33.0.3-linux.zip
echo 'c72bba58d99103abd4931b5a5d75146047b35e498092b6f03b6db3f5b07afc51 platform-tools_r34.0.1-linux.zip' | sha256sum -c echo 'ab885c20f1a9cb528eb145b9208f53540efa3d26258ac3ce4363570a0846f8f7 platform-tools_r33.0.3-linux.zip' | sha256sum -c
bsdtar xvf platform-tools_r34.0.1-linux.zip</pre> bsdtar xvf platform-tools_r33.0.3-linux.zip</pre>
<p>To download, verify and extract the standalone platform-tools on macOS:</p> <p>To download, verify and extract the standalone platform-tools on macOS:</p>
<pre>curl -O https://dl.google.com/android/repository/platform-tools_r34.0.1-darwin.zip <pre>curl -O https://dl.google.com/android/repository/platform-tools_r33.0.3-darwin.zip
echo 'SHA256 (platform-tools_r34.0.1-darwin.zip) = 38e4abc642250e7090041e569d9de8d3f1dee2908fa30daf5ebe45a3089ec54b' | shasum -c echo 'SHA256 (platform-tools_r33.0.3-darwin.zip) = 84acbbd2b2ccef159ae3e6f83137e44ad18388ff3cc66bb057c87d761744e595' | shasum -c
tar xvf platform-tools_r34.0.1-darwin.zip</pre> tar xvf platform-tools_r33.0.3-darwin.zip</pre>
<p>To download, verify and extract the standalone platform-tools on Windows:</p> <p>To download, verify and extract the standalone platform-tools on Windows:</p>
<pre>curl -O https://dl.google.com/android/repository/platform-tools_r34.0.1-windows.zip <pre>curl -O https://dl.google.com/android/repository/platform-tools_r33.0.3-windows.zip
(Get-FileHash platform-tools_r34.0.1-windows.zip).hash -eq "328e7fa407ac50672b3935e2cf1ae40b4bf08120605b91ed1b089e065bce517c" (Get-FileHash platform-tools_r33.0.3-windows.zip).hash -eq "1e59afd40a74c5c0eab0a9fad3f0faf8a674267106e0b19921be9f67081808c2"
tar xvf platform-tools_r34.0.1-windows.zip</pre> tar xvf platform-tools_r33.0.3-windows.zip</pre>
<p>Next, add the tools to your <code>PATH</code> in the current shell so they can be <p>Next, add the tools to your <code>PATH</code> in the current shell so they can be
used without referencing them by file path, enabling usage by the flashing script.</p> used without referencing them by file path, enabling usage by the flashing script.</p>
@ -289,7 +289,7 @@ tar xvf platform-tools_r34.0.1-windows.zip</pre>
<p>Example of the output after following the instructions above for the <p>Example of the output after following the instructions above for the
standalone platform-tools:</p> standalone platform-tools:</p>
<pre>fastboot version 34.0.1-9680074 <pre>fastboot version 33.0.3-8952118
Installed as /home/username/platform-tools/fastboot</pre> Installed as /home/username/platform-tools/fastboot</pre>
</section> </section>