From 3362195a947d8eea52765dbdde26dc51834cbdd8 Mon Sep 17 00:00:00 2001
From: Daniel Micay
sudo apt install libarchive-tools -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+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
To download, verify and extract the standalone platform-tools on macOS:
-curl -O https://dl.google.com/android/repository/e8b2b4cbe47c728c1e54c5f524440b52d4e1a33c.platform-tools_r31.0.3-darwin.zip -echo 'SHA256 (e8b2b4cbe47c728c1e54c5f524440b52d4e1a33c.platform-tools_r31.0.3-darwin.zip) = 773c08cfa31cec1bb4568ce5b374366e6310a5ffc21875024604a0f65bc831b1' | shasum -c -tar xvf e8b2b4cbe47c728c1e54c5f524440b52d4e1a33c.platform-tools_r31.0.3-darwin.zip+
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
To download, verify and extract the standalone platform-tools on Windows:
-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+
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
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 31.0.3-7562133 +fastboot version 32.0.0-8006631 Installed as /home/username/platform-tools/fastboot