Skip to content

Use ADB and Fastboot Commands on Android without Root

ADB and Fastboot are versatile command-line tools for Android devices and emulators. It’s very easy to download and set up ADB and Fastboot on Windows, macOS, and Linux. Since Google doesn’t provide the Android SDK platform tools for Android devices officially, it’s not easy to install ADB and Fastboot on Android devices via the Termux terminal emulator app and Web ADB without root and a laptop or PC.

It’s possible to install ADB and Fastboot on Android by cloning any of the 3 Gits listed below using a terminal emulator like Termux.

  1. ADB Fastboot Termux
  2. Termux ADB
  3. Termux ADB Fastboot

Must Read: How to Use ADB to Unlock Android PIN and Pattern Lock

Installing ADB and Fastboot via Termux

If you are a Mac user, don’t forget to check out my detailed tutorial on installing ADB and Fastboot on macOS.

Now let’s see how you can install ADB and Fastboot on an Android phone or tablet.

  1. Download and install Termux from the Play Store.
  2. Having installed the app, you need to grant Storage permission to Termux. To do so, go to Settings > Apps > Termux and tap on Permissions. Then tap on Storage and select Allow.termux storage permission android
  3. Now open Termux, type the following command, and tap the Enter key on the keyboard.
    pkg update
  4. Now, execute the following command to upgrade Termux packages.
    pkg upgrade
  5. Since ADB Fastboot Termux is a Python-based script, we need to install Python on the Android device. Issue the following command in Termux.
    pkg install python

    install python on android via termux

  6. While Python is being installed on your Android device, you might be prompted to authorize the installation by typing ‘Y‘ (for Yes).
  7. Since we have to clone Git from Github, you’ll need to install another package called Git using this command.
    pkg install git

    install git and android via termux

  8. Okay, it’s time now to clone the ADB Fastboot Termux Git using Termux.
    git clone

    adb fastboot git clone termux android

  9. 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).
    cd adb-fastboot-termux
  10. Finally, execute the following command in Termux.
  11. 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. Type 1 and tap the Enter key.adb fastboot installed in termux android
  12. When ADB and Fastboot are installed, you’ll get a message saying, “Tools were successfully installed!

You can also install the ADB and Fastboot tools on your Android using a single command. This command includes all the above commands in one line.

pkg update && pkg upgrade && pkg install python && pkg install git && git clone && cd adb-fastboot-termux && python

If you own a Samsung Galaxy device, you can download Samsung firmware on your phone or tablet via Termux. Read my detailed tutorial to learn how you can do that.

Having set up ADB and Fastboot on your Android phone or tablet, it’s time to verify that you have done everything as expected. Type one of the following commands in Termux and tap the Enter key.

adb help

As you can see below, you’ll get information such as the Android Debug Bridge version and other ADB options on your phone’s screen.

adb command in termux for android

Please note that if you run the adb devices command, you won’t get any device ID under the list of devices attached because your Android device will now act like an ADB/Fastboot host.

adb devices command on android device via termux

Please note that in order to use ADB and Fastboot commands, your host Android device needs to be rooted as it can be done using a Magisk module called ADB & Fastboot for Android NDK. I’ll be updating this tutorial describing the steps to use ADB commands without a PC or laptop.

Using ADB Commands on Android without Root

Very recently, a developer named Yume Chan launched a website that lets us use ADB commands on Android devices via mobile browsers like Chrome and Microsoft Edge. It means that now we no longer need a rooted Android device to use ADB. Web ADB, as it’s aptly named, makes use of the WebUSB API found in all Chromium-based desktop and mobile browsers.

Web ADB comes with a bunch of features. It lets you send ADB commands from one Android device to another, mirror the screen and control the other device, install APK, browse the files on the other device, capture screenshots, etc.


  • Two Android devices (phone or tablet).
  • A USB OTG or a USB Type-C to a USB Type-C cable.USB OTG and USB Type-C to Type-C cable
  • Enable USB debugging on the Android device you want to send ADB commands.

Let’s see how to use Web ADB to run ADB commands on Android devices without root. You can one of two Android devices you have as a host to perform ADB commands on the other device.

  1. Open Web ADB website on the Android device you want to use as a host.
  2. Tap the 3-dot icon in the Chrome browser and enable the Desktop site option.enable desktop site option in chrome for android
  3. Insert the USB OTG or the USB Type-C cable on the device you want to use as a host. Now plug in the other end of the USB cable into the client Android device you want to send the command to.
  4. Tap on the Add Device option on the Web ADB website. Select your device in the pop-up window and tap on the Connect android device in web adb
  5. Tap on OK when the browser asks to grant access to your connected device.grant usb adb connection on chrome for android
  6. At this point, you will receive a notification on your second device asking you to Allow USB debugging. Tap on Allow.allow usb debugging on computer
  7. You’ll see your device codename in the Web ADB command box. It means that both devices have been appropriately connected for ADB devices connected via adb
  8. You’re now all set to use ADB commands or ADB Shell commands to control the connected Android device. Just keep in mind that you are supposed to omit “adb” and “adb shell” in the commands that you use while executing them on a computer. For example, if you want to reboot the connected Android phone or tablet into the bootloader mode, you should use just reboot bootloader and tap on the Enter key on the keyboard.adb reboot bootloader comand

You can execute any other ADB command on your Android device without a laptop or PC without rooting your device.

Read Next: List of 500+ Funny Things to Ask Google Assistant

3 thoughts on “Use ADB and Fastboot Commands on Android without Root”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.