How to Run ADB From Your Web Browser

Android Debug Bridge (ADB) is a handy command line tool that allows developers and enthusiasts to manipulate various aspects of their Android device from a computer. You can install ADB on Windows, macOS, Linux and Chrome OS, but there There is a new website called WebADB This allows you to use ADB directly from the comfort of your web browser. Today we will take a look at how you can use WebADB from your browser.

Run ADB From Your Browser

History of WebADB

WebADB is a website created by XDA member steeltoe. According to Steeltoe Post on XDA forumswebsite a open source project ‘ya-webadb’ by web developer Simon Chan. In other words, the WebADB website is essentially a nicer version of the original ‘ya-webadb’ project.

by Simon Chan The WebADB project uses WebUSB API allows scanners to communicate with devices over USB. Since Chromium-based web browsers support WebUSB by default, it is recommended to use one such as Google Chrome, the new Chromium-based Edge or Opera.

Since Simon Chan has also launched an online implementation of the project on GitHub, I’ll use it to demonstrate this in this article. You can also use WebADB’s websitebut I would recommend using Chan’s version as the new features will appear there first.

Features of WebADB

  • APK Installation
  • Interactive Shell
  • Screen Recording
  • Scrcpy Screen Mirroring
  • Device information
  • File Manager
  • Enabling ADB over Wi-Fi

Prepare Your Android Device for ADB

1. The first step to using ADB is to prepare your device to use it. Therefore, before enable developer options on your phone. To do this go to ‘About phone’ in your phone’s Settings and Tap ‘Build number’ seven times.

2. You will now see a new ‘Developer options’ section in your phone’s settings. While the option is usually found in Settings -> Developer optionsmay vary depending on the OEM of your device. On OnePlus phones, you’ll find the new Developer options on the S.settings -> System -> Developer options. What to do from developer options Enable usb debugging. Your phone is now ready to interact with WebADB from your web browser.

In relation :  How to Get Your Mac to Read Documents, Email, and Web Pages

enable usb debugging android

Prepare Your Computer for ADB

If you plan to use WebADB from a Windows PC, you must enable a feature flag. The flag in question is ‘Enable new USB backend’. It looks like this flag will probably top our list of top Chrome flags.

1. Open Google Chrome (or any other Chromium browser of your choice) and visit chrome://flags. This may vary depending on the browser you are using. For example, the URL used to access the flags page in Microsoft Edge is ‘edge://flags’.

2. From this page, Search for ‘enable new USB backend’ and select ‘Enabled’ from the drop-down list. Alternatively, you can paste the URL below into your browser’s address bar for direct access.

chrome://flags/#new-usb-backend

enable new usb backend chrome flag

3. After enabling the flag, restart the browser. Once you’ve done that, you’re ready to use WebADB from your web browser. As mentioned earlier, make sure you are using a Chromium-based web browser.

Connect Your Phone to WebADB

Now that your phone and PC are ready to use ADB, let’s move on to the execution part. This section will guide you through the browser side setup process and how you can use the tool from the browser.

1. Plug your smartphone into your computer using a USB cable. When the prompt appears, Set USB preference to ‘File Transfer’ mode.

enable mtp mode

2. Open WebADB’s website and click the ‘Add device’ button. If you have connected more than one Android device to your computer, select the correct one from the list of available devices.

connect device webadb

3. After selecting the correct device, click ‘Connect’ to start using WebADB from your browser. On this page, your device may appear with the full name or just the model number.

connect your device to webadb 2

4. Shortly after clicking the connect button, a prompt will appear on your Android phone asking you to allow USB debugging access. If you plan to use WebADB quite often, be sure to tick the ‘Always allow from this computer’ checkbox. After granting access, you can start using WebADB.

usb debug authentication

Run ADB From Your Browser

As you can see below, I can now access my phone’s file manager, install apps, run ADB shell commands, capture screenshots and more without a full fledged ADB installation on my computer. You can switch between various features from the left-hand menu on the website.

In relation :  How to Set Time Limits on Nintendo Switch

screen capture tool demo

Another thing worth mentioning is that you can enable ADB over Wi-Fi from this tool. However, the tool does not yet work with wireless ADB. As a result, your device will be disconnected from the vehicle after enabling ADB over Wi-Fi.

enable adb over wifi

Access ADB from Chrome, Edge and Opera

You can do a lot of cool things on your Android device using ADB. Access to tools like WebADB will help you take quick actions on the go. I think this will come in handy when you don’t have access to your primary productivity machine. So, would you consider using WebADB over a traditional ADB installation? Do not forget to share your thoughts with us in the comments.

Moyens I/O Staff has motivated you, giving you tips on technology, personal development, lifestyle and strategies that will help you.