-
Download lastest Android platform tools
-
Unzip the folder to
platform-tools- Use ADB with
./platformtools/adb <COMMAND>
- Use ADB with
-
-
Save ifiokjr/b70882d3f1182ed48ec7eefa5c93a740 to your computer and use it in GitHub Desktop.
great but the phone crashes immandently.
Maybe add steps, on Linux at least, on how to compile the platform-tools from source (like for arm Linux)? In any case, thanks! The "right" way to get the binaries is to use the 3 Download links (below) from https://developer.android.com/tools/releases/platform-tools It seems each link is supposed to popup a form saying "Before downloading, you must agree to the following terms and conditions..." Until the "agree" box is checked, the download link is grayed-out. But the "right" way did not work for me, as the agreement-form never pops up on chrome on my Chromebook, not even in incognito mode: that is, nothing happens when I click any of these:
- Download SDK Platform-Tools for Windows
- Download SDK Platform-Tools for Mac
- Download SDK Platform-Tools for Linux
The brave browser (installed via chromebrew/sommalier) does pop up the form on same chromebook. I suspect the reason nothing happens in chrome when I click the above might be some sort of popup blocker or privacy cookie blocker. But I won't waste time trying to figure out why, because the links you give allow me to download without having first agreed to any terms. My Intel chromebook in dev mode with chromebrew then can run the tools for Linux if I unzip in /usr/local/tmp
chronos@localhost cd /usr/local/tmp/platform-tools; ls
adb etc1tool hprof-conv make_f2fs mke2fs NOTICE.txt sqlite3
billday.txt fastboot lib64 make_f2fs_casefold mke2fs.conf source.properties
chronos@localhost /usr/local/tmp/platform-tools $ date
Fri Dec 20 11:24:33 PM EST 2024
chronos@localhost /usr/local/tmp/platform-tools $ ls -l ../platform-tools-latest-linux.zip
-rw-r--r-- 1 chronos chronos 7472902 Dec 20 22:44 ../platform-tools-latest-linux.zip
chronos@localhost /usr/local/tmp/platform-tools $ ./adb --version
Android Debug Bridge version 1.0.41
Version 35.0.2-12147458
Installed as /usr/local/tmp/platform-tools/adb
Running on Linux 6.6.30-02726-gb84bbdf6955e (x86_64)
chronos@localhost /usr/local/tmp/platform-tools $ ./fastboot --version
fastboot version 35.0.2-12147458
Installed as /usr/local/tmp/platform-tools/fastbootNote adb and fastboot are newer versions (35.x.y) than the 34.x.y versions that come with the Chromebook in read-only /use/bin/ location even with newest chromeos: "Your Chromebook is up to date Version 126.0.6478.214 (Official Build) (64-bit) .
(Oddly, no matter if I have latest version 35 or earlier version 34, every file timestamp is always 2008-01-01 00:00:00).
$ cd /usr/bin
chronos@localhost /usr/bin $ /usr/bin/adb --version
Android Debug Bridge version 1.0.41
Version 34.0.4-android-tools
Installed as /usr/bin/adb
Running on Linux 6.6.30-02726-gb84bbdf6955e (x86_64)
chronos@localhost /usr/bin $ /usr/bin/fastboot --version
fastboot version 34.0.4-android-tools
Installed as /usr/bin/fastboot
chronos@localhost /usr/bin $ file adb
adb: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[xxHash]=539248096e2bb648, stripped
chronos@localhost /usr/bin $ cd /usr/local/tmp/platform-tools
chronos@localhost /usr/local/tmp/platform-tools $ file adb
adb: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, not stripped
ls -la --time-style=full-iso
-rwxr-xr-x 1 chronos chronos 8104656 2008-01-01 00:00:00.000000000 -0500 adb
-rwxr-xr-x 1 chronos chronos 56824 2008-01-01 00:00:00.000000000 -0500 dmtracedump
-rwxr-xr-x 1 chronos chronos 1645440 2008-01-01 00:00:00.000000000 -0500 e2fsdroid
-rwxr-xr-x 1 chronos chronos 305400 2008-01-01 00:00:00.000000000 -0500 etc1tool
-rwxr-xr-x 1 chronos chronos 2417136 2008-01-01 00:00:00.000000000 -0500 fastboot
Free fire panal
cd /usr/bin
chronos@localhost /usr/bin $ /usr/bin/adb --version
Android Debug Bridge version 1.0.41
Version 34.0.4-android-tools
Installed as /usr/bin/adb
Running on Linux 6.6.30-02726-gb84bbdf6955e (x86_64)
chronos@localhost /usr/bin $ /usr/bin/fastboot --version
fastboot version 34.0.4-android-tools
Installed as /usr/bin/fastboot
chronos@localhost /usr/bin $ file adb
adb: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[xxHash]=539248096e2bb648, stripped
chronos@localhost /usr/bin $ cd /usr/local/tmp/platform-tools
chronos@localhost /usr/local/tmp/platform-tools $ file adb
adb: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, not stripped
ls -la --time-style=full-iso
-rwxr-xr-x 1 chronos chronos 8104656 2008-01-01 00:00:00.000000000 -0500 adb
-rwxr-xr-x 1 chronos chronos 56824 2008-01-01 00:00:00.000000000 -0500 dmtracedump
-rwxr-xr-x 1 chronos chronos 1645440 2008-01-01 00:00:00.000000000 -0500 e2fsdroid
-rwxr-xr-x 1 chronos chronos 305400 2008-01-01 00:00:00.000000000 -0500 etc1tool
-rwxr-xr-x 1 chronos chronos 2417136 2008-01-01 00:00:00.000000000 -0500 fastboot
ssgfffd