From 9748ecc1a19044c499a3aaf3053b10684793774d Mon Sep 17 00:00:00 2001
From: flawedworld
sudo apt install libarchive-tools -curl -O https://dl.google.com/android/repository/platform-tools_r32.0.0-linux.zip -echo 'b10f0e159f11aa08437f2e612c91e52616b8429e9d3b8c2d230456f0edd394e6 platform-tools_r32.0.0-linux.zip' | sha256sum -c -bsdtar xvf platform-tools_r32.0.0-linux.zip+curl -O https://dl.google.com/android/repository/platform-tools_r33.0.1-linux.zip +echo 'a339548918c3ab31c4d88416c21cee753bd942040540216c06e640f4b6db3ae2 platform-tools_r33.0.1-linux.zip' | sha256sum -c +bsdtar xvf platform-tools_r33.0.1-linux.zip
To download, verify and extract the standalone platform-tools on macOS:
-curl -O https://dl.google.com/android/repository/platform-tools_r32.0.0-darwin.zip -echo 'SHA256 (platform-tools_r32.0.0-darwin.zip) = 29f0163a8f5c2cea7b3bedf3ccaa9374513a2cd653f436b0debdb7c4974ba525' | shasum -c -tar xvf platform-tools_r32.0.0-darwin.zip+
curl -O https://dl.google.com/android/repository/platform-tools_r33.0.1-darwin.zip +echo 'SHA256 (platform-tools_r33.0.1-darwin.zip) = 7b2acfb3ae02aff2cd679d9df9c125d46543d0db2e95b6b249c25ec6160fddf0' | shasum -c +tar xvf platform-tools_r33.0.1-darwin.zip
To download, verify and extract the standalone platform-tools on Windows:
-curl -O https://dl.google.com/android/repository/platform-tools_r32.0.0-windows.zip -(Get-FileHash platform-tools_r32.0.0-windows.zip).hash -eq "41f4c7512b32cbb3f8c624c20b56326abb692a6f169b03b4b63b6c5a6fdbb08c" -tar xvf platform-tools_r32.0.0-windows.zip+
curl -O https://dl.google.com/android/repository/platform-tools_r33.0.1-windows.zip +(Get-FileHash platform-tools_r33.0.1-windows.zip).hash -eq "c1f02d42ea24ef4ff2a405ae7370e764ef4546f9b3e4520f5571a00ed5012c42" +tar xvf platform-tools_r33.0.1-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.
Example of the output after following the instructions above for the standalone platform-tools:
-fastboot version 32.0.0-8006631 +fastboot version 33.0.1-8253317 Installed as /home/username/platform-tools/fastboot