How to Run ADB Commands on Android Without a Computer?

Android Debug Bridge of ADB is a way for developers to test their applications. And besides developers, an average Android user can also use ADB commands to uninstall bloatware, block microphone, clipboard, camera, etc., access for the installed applications. Until recently, anyone who wanted to use ADB commands on their Android smartphones needed to connect the device to a computer. But that is not the case anymore.

Now there is a way to use and run ADB commands right from an Android smartphone. This makes the whole process hassle-free as you don’t need to depend on other devices to run ADB commands on your smartphone. You can now do it directly on the smartphone. So how do you exactly run ADB commands on a smartphone? Let’s find out in this article.

How to Run ADB Commands on Android Without a Computer?

How to ADB Commands on Android Without a Computer?

This is now possible because, with the Android 9 update, a new feature called Wireless USB debugging was pushed out to Android users. Android users who have developer options turned on have the ability to turn this feature on. It allows the user to run the ADB shell locally without a computer. Do keep in mind that if you are using a smartphone running on Android 11, then you need to connect your smartphone with a WiFi network before going ahead with the entire process.

  • Firstly, for this method to work, you need to enable Wireless USB debugging. To do that, navigate to your phone Settings menu and go to About Phone. Tap on the build number seven or eight times, and you will see a message on the screen that reads, “You are now a developer.” If you have already done this before, you will see a message that reads, “You are already a developer.”
  • Now go back to your Settings menu and look for developer options. In Oneplus phones, the developer options is inside the System settings. It might be different with your Android phone. If you are having trouble finding the “developer options”, search for it using the search box present at the top of the Settings menu.
  • Once you are in the Developer options menu, scroll and find the option “Debugging” here. In that section, you will find the option “Wireless Debugging,” enable it by turning on the toggle for it. You will now see a pop-up. Tick the box for the “Always allow for this network” option and then tap on “Allow.” If you have an option called “Wireless ADB Debugging” in the debugging section of developer options, then turn on the toggle for that too.
  • You need to create a local ADB server on the phone and use it to connect to the wireless debugging feature. For this, you can use any ADB shell application. However, an application called LADB is specifically built to run ADB commands on an Android smartphone directly. You need to purchase the application from the Google Play Store for a price of 2.99$. You can get the app installed on your phone for free as the developer of the application has hosted the app on Github for free. But to get it from there, you need to compile it from the source manually. But paying a 2.99$ seems like a better option as you don’t need to worry about installing the update for this application manually, too, using Github. You can update it from the Google Play Store if you have made the purchase.
  • If you are on Android 9 or Android 10, you will see a message that asks for confirmation for allowing the action. After that, the rest of the process is simple. However, if your Android smartphone runs on Android 11, things will be a bit different.
  • If you are on Android 11 and open the LADB app, it will ask you to enter a port number and a pairing code. You can find this information in the Wireless debugging submenu. But as soon as you close the pop-up that asks for the port number and pairing code, it will change itself. So you need to access the Wireless debugging submenu while running the LADB app in split-screen mode.
  • Enter the split-screen mode and put the LADB application on one of the screens. On the other screen, go to Developer Options and tap on the Wireless Debugging option. You don’t need to tap on the toggle to enable or disable it. Tap on the Wireless debugging text, and a submenu will appear on your screen. Then scroll and find the option “Pair device with pairing code.” Tap on it, and you will see a pop-up with a Wi-Fi pairing code, your IP address, a colon and then a number. This number is the port number.
  • Now enter that port number and WiFi pairing code in the pop-up that appears in the LADB application. Then tap on Okay.
  • If you see a notification that says Wireless Debugging connected, you are all set. You can now close the split-screen and the Settings application.
  • Now enter any ADB commands that you normally use while using ADB commands with your computer in the application’s provided field. It should work without any hiccups.

Do keep in mind, though, that only ADB shell commands work here. And while entering the adb shell commands in the computer, we use the keywords adb followed by shell followed by the actual command. Here, you don’t need to enter “adb shell” at the beginning of every command as you are interacting with the shell directly.

Most users will love this feature as it allows the end-user to get rid of the bloatware applications that smartphone manufacturers ship with their smartphones. The users cannot uninstall it directly, and in that case, using this method will do the trick. If you are new to this, then do proper research on the adb commands before actually trying it on the phone as a simple mistake can lead to a bricked phone.

This is all about running ADB Commands on Android Without a Computer. If you have any questions or queries about this article, then comment down below, and we will get back to you. Also, be sure to check out our other articles on iPhone tips and tricks, Android tips and tricks, PC tips and tricks, and much more for more useful information.

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.