
Using ADB Commands on Android without Root adb or adb helpĪs you can see below, you’ll get information such as the Android Debug Bridge version and other ADB options on your phone’s screen. Type one of the following commands in Termux and tap the Enter key. Having set up ADB and Fastboot on your Android phone or tablet, it’s time to verify that you have done everything as expected. Read my detailed tutorial to learn how you can do that. If you own a Samsung Galaxy device, you can download Samsung firmware on your phone or tablet via Termux.
pkg update & pkg upgrade & pkg install python & pkg install git & git clone & cd adb-fastboot-termux & python af.py
This command includes all the above commands in one line. You can also install the ADB and Fastboot tools on your Android using a single command.
When ADB and Fastboot are installed, you’ll get a message saying, “ Tools were successfully installed!“. As soon as you tap the Enter key, a new screen will appear and you would be prompted to type 1 to install ADB and Fastboot on your Android device, and 2 to uninstall if already installed them. Finally, execute the following command in Termux. Now that the ADB and Fastboot Git has been cloned to your Android device we need to change the path directory path using cd as shown below (see the screenshot above). Okay, it’s time now to clone the ADB Fastboot Termux Git using Termux. Since we have to clone Git from Github, you’ll need to install another package called Git using this command. While Python is being installed on your Android device, you might be prompted to authorize the installation by typing ‘ Y‘ (for Yes). Since ADB Fastboot Termux is a Python-based script, we need to install Python on the Android device.
Now, execute the following command to upgrade Termux packages. Now open Termux, type the following command, and tap the Enter key on the keyboard. To do so, go to Settings > Apps > Termux and tap on Permissions. Having installed the app, you need to grant Storage permission to Termux. Download and install Termux from the Play Store. Now let’s see how you can install ADB and Fastboot on an Android phone or tablet.