From b789189e070be2dfe43079bd1d4e464f8069ba6b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 28 Apr 2021 18:37:17 -0400 Subject: [PATCH] update standalone platform-tools for CLI install --- static/install/cli.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/static/install/cli.html b/static/install/cli.html index 71aef47f..08ce4cdf 100644 --- a/static/install/cli.html +++ b/static/install/cli.html @@ -230,21 +230,21 @@ Ubuntu:

sudo apt install libarchive-tools
-curl -O https://dl.google.com/android/repository/platform-tools_r31.0.1-linux.zip
-echo 'e347361d1e6f8802da64272903b07180199e75f1a3b6636f851744d32b2fb090  platform-tools_r31.0.1-linux.zip' | sha256sum -c
-bsdtar xvf platform-tools_r31.0.1-linux.zip
+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

To download, verify and extract the standalone platform-tools on macOS:

-
curl -O https://dl.google.com/android/repository/d027ce0f9f214a4bd575a73786b44d8ccf7e7516.platform-tools_r31.0.1-darwin.zip
-echo 'SHA256 (d027ce0f9f214a4bd575a73786b44d8ccf7e7516.platform-tools_r31.0.1-darwin.zip) = 09e7c56bb1f9f5adf5f4cc6a868d9a46429e2de7ee93879b34c4ee8211e7d401' | shasum -c
-tar xvf d027ce0f9f214a4bd575a73786b44d8ccf7e7516.platform-tools_r31.0.1-darwin.zip
+
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

To download, verify and extract the standalone platform-tools on Windows:

-
curl -O https://dl.google.com/android/repository/platform-tools_r31.0.1-windows.zip
-(Get-FileHash platform-tools_r31.0.1-windows.zip).hash -eq "4d515aadf0b87db1b3da3d95d3696c3c237820dd6f953b2286f7711a7291ccf4"
-tar xvf platform-tools_r31.0.1-windows.zip
+
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

Next, add the tools to your PATH in the current shell so they can be used without referencing them by file path, enabling usage by the flashing script.

@@ -270,7 +270,7 @@ tar xvf platform-tools_r31.0.1-windows.zip

Example of the output after following the instructions above for the standalone platform-tools:

-
fastboot version 31.0.1-7187441
+                
fastboot version 31.0.2-7242960
 Installed as /home/username/platform-tools/fastboot