update standalone platform-tools to 31.0.3

This commit is contained in:
Daniel Micay 2021-08-09 20:18:38 -04:00
parent 5716618f99
commit dab7a6e995

View File

@ -231,21 +231,21 @@
Ubuntu:</p>
<pre>sudo apt install libarchive-tools
curl -O https://dl.google.com/android/repository/platform-tools_r31.0.2-linux.zip
echo 'cdde800a61766679abc5771596225b4e0081d01b20ffea51bde26c488bcbc677 platform-tools_r31.0.2-linux.zip' | sha256sum -c
bsdtar xvf platform-tools_r31.0.2-linux.zip</pre>
curl -O https://dl.google.com/android/repository/platform-tools_r31.0.3-linux.zip
echo 'e6cb61b92b5669ed6fd9645fad836d8f888321cd3098b75588a54679c204b7dc platform-tools_r31.0.3-linux.zip' | sha256sum -c
bsdtar xvf platform-tools_r31.0.3-linux.zip</pre>
<p>To download, verify and extract the standalone platform-tools on macOS:</p>
<pre>curl -O https://dl.google.com/android/repository/d027ce0f9f214a4bd575a73786b44d8ccf7e7516.platform-tools_r31.0.2-darwin.zip
echo 'SHA256 (d027ce0f9f214a4bd575a73786b44d8ccf7e7516.platform-tools_r31.0.2-darwin.zip) = ab9dbab873fff677deb2cfd95ea60b9295ebd53b58ec8533e9e1110b2451e540' | shasum -c
tar xvf d027ce0f9f214a4bd575a73786b44d8ccf7e7516.platform-tools_r31.0.2-darwin.zip</pre>
<pre>curl -O https://dl.google.com/android/repository/d027ce0f9f214a4bd575a73786b44d8ccf7e7516.platform-tools_r31.0.3-darwin.zip
echo 'SHA256 (e8b2b4cbe47c728c1e54c5f524440b52d4e1a33c.platform-tools_r31.0.3-darwin.zip) = 773c08cfa31cec1bb4568ce5b374366e6310a5ffc21875024604a0f65bc831b1' | shasum -c
tar xvf d027ce0f9f214a4bd575a73786b44d8ccf7e7516.platform-tools_r31.0.3-darwin.zip</pre>
<p>To download, verify and extract the standalone platform-tools on Windows:</p>
<pre>curl -O https://dl.google.com/android/repository/platform-tools_r31.0.2-windows.zip
(Get-FileHash platform-tools_r31.0.2-windows.zip).hash -eq "d560cb8ded83ae04763b94632673481f14843a5969256569623cfeac82db4ba5"
tar xvf platform-tools_r31.0.2-windows.zip</pre>
<pre>curl -O https://dl.google.com/android/repository/platform-tools_r31.0.3-windows.zip
(Get-FileHash platform-tools_r31.0.3-windows.zip).hash -eq "0f4b8fdd26af2c3733539d6eebb3c2ed499ea1d4bb1f4e0ecc2d6016961a6e24"
tar xvf platform-tools_r31.0.3-windows.zip</pre>
<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>
@ -271,7 +271,7 @@ tar xvf platform-tools_r31.0.2-windows.zip</pre>
<p>Example of the output after following the instructions above for the
standalone platform-tools:</p>
<pre>fastboot version 31.0.2-7242960
<pre>fastboot version 31.0.3-7562133
Installed as /home/username/platform-tools/fastboot</pre>
</section>