From 9e3110f8a56c4f6afee785b300b19ccfbee97512 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 1 May 2020 18:00:29 -0400 Subject: [PATCH] more detailed documentation on platform-tools --- static/install.html | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/static/install.html b/static/install.html index b0efe1e6..2d9520da 100644 --- a/static/install.html +++ b/static/install.html @@ -120,16 +120,24 @@ without root. -

If your distribution doesn't have a proper fastboot package, which is likely, - consider using the official releases of platform-tools from Google. You can either - obtain these as part of the standalone SDK or Android Studio which are self-updating - or via the standalone platform-tools releases. For one time usage, it's easiest to - obtain the latest - standalone platform-tools release, extract it and add it to your PATH - in the current shell. For example:

+

If your operating system doesn't make a proper version of fastboot available, + consider using the + standalone + releases of platform-tools from Google. If you have the Android SDK or intend to + do development work, you install the platform-tools package via the Android SDK + package manager which can be used to keep it up-to-date. The Android SDK is available + by itself or can be obtained via Android Studio.

-
unzip platform-tools_r30.0.0-linux.zip
-export PATH="$PWD/platform-tools:$PATH"
+

To download, verify and extract the standalone platform-tools for Linux:

+ +
curl -O https://dl.google.com/android/repository/platform-tools_r30.0.0-linux.zip
+echo 'f05b3d78def516d6fdf64be1caa1e1698e482b3adcf54a48dfaf9c972ddbd18e  platform-tools_r30.0.0-linux.zip' | sha256sum -c
+unzip platform-tools_r30.0.0-linux.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:

+ +
export PATH="$PWD/platform-tools:$PATH"

Sample output from fastboot --version afterwards: