diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-05-01 18:00:29 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-05-01 18:06:03 -0400 |
| commit | 9e3110f8a56c4f6afee785b300b19ccfbee97512 (patch) | |
| tree | 1f6345d014a3b1cc6b86490ab033387dc9719c73 /static/install.html | |
| parent | 9f8dc8aef7678fc9ca8dbc21015f0ab258c7eaf3 (diff) | |
more detailed documentation on platform-tools
Diffstat (limited to 'static/install.html')
| -rw-r--r-- | static/install.html | 26 |
1 files 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.</li> </ul> - <p>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 <a href="https://developer.android.com/studio/releases/platform-tools">latest - standalone platform-tools release</a>, extract it and add it to your <code>PATH</code> - in the current shell. For example:</p> + <p>If your operating system doesn't make a proper version of fastboot available, + consider using the + <a href="https://developer.android.com/studio/releases/platform-tools">standalone + releases of platform-tools from Google</a>. 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.</p> - <pre>unzip platform-tools_r30.0.0-linux.zip -export PATH="$PWD/platform-tools:$PATH"</pre> + <p>To download, verify and extract the standalone platform-tools for Linux:</p> + + <pre>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</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> + + <pre>export PATH="$PWD/platform-tools:$PATH"</pre> <p>Sample output from <code>fastboot --version</code> afterwards:</p> |
