How to set up smartphones and PCs. Informational portal
  • home
  • Windows phone
  • Manual installation of ADB driver. The adb program will display a list of devices currently connected to the computer

Manual installation of ADB driver. The adb program will display a list of devices currently connected to the computer

Almost every owner of an Android device who decides to improve his pet by replacing the firmware or the kernel of the operating system is faced with the adb program.

For most beginners, it is this program that becomes an insurmountable obstacle, and today we will tell you how to install and start working with this wonderful application that will help you, for example, get root rights on your device, flash a new version of Android, or even restore your phone or tablet to the original one. state after an unsuccessful intervention in the system.

So what is ADB, loved by all modders and hackers, where can I get it, and why do we need it?

What is adb.

The abbreviation ADB stands for Android Debug Bridge (Android debug bridge). ADB is part of the Android SDK, which can be downloaded from here.

Since the Android operating system is a variant of Linux, it is often necessary to work through the command line to configure it. Of course, there are programs - terminal emulators that allow you to execute commands directly on the device, but, firstly, it is inconvenient to do this on a small phone screen, and secondly, sometimes you need access to the device through a computer, and in these and many other cases, the program adb is simply irreplaceable. The adb program establishes a connection between the device and the computer and allows you to perform various manipulations with the Android system directly on the computer.

How to install adb.

First of all, we recommend that you download the latest version of the Android SDK, at the time of writing this guide, version r11 is available, all further description is based on its example, and in earlier versions, the location of the necessary programs after installing the SDK may differ from that described here.

1. Download the Android SDK, it can be found at the link indicated earlier. There are several flavors of the SDK, for Microsoft Windows, Mac OS, and Linux.

We need a version for Microsoft Windows. And here there are two options - download the installer or zip archive from the Android SDK. We do not need an installer, especially since it will not allow you to install the SDK in Windows 7, and therefore we download the zip archive.

The archive contains a folder android-sdk-windows, which contains the SDK itself. Unpack it to your computer. In our example, we have placed a folder in the root of drive C. If you do the same, the path to the SDK will be like this: C:\android-sdk-windows

In earlier versions of the SDK, the adb program we needed was located inside this folder in the tools folder, but later it was moved by the developers to the platform-tools folder.

However, if you go to this folder, you will not find the adb program inside it, so let's move on to the next step of the installation.

2. Install SDK Platform Tools.
We make sure that our computer is connected to the Internet and run the SDK Manager program located in the android-sdk-windows folder. After starting the program, the following window will appear:

We need to download and install Android SDK Platform-tools and Android SDK Tools.

By double-clicking on the item or by clicking on "Accept" and "Reject" we mark these two items in the list and uncheck all other items, as shown in the above screenshot. Then click "Install" and wait until the components we need are downloaded and installed.

Now we have adb installed on our computer, but to work with our phone or tablet, we will need to install their driver, and for further convenience with the program, it would be nice to set the path to it and other components in the Windows system.

3. If we go to the folder C:\android-sdk-windows\platform-tools\, now we can find the adb program there.

After that, we need to edit the PATH system variable so that every time we start the program and enter commands, we don’t have to type the path to the program, which looks like this:

C:\android-sdk-windows\platform-tools\adb

If you have never edited system variables, create a system restore point so that you can return it to its original state later.

If you have Windows 7 installed, right-click on the "Computer" shortcut, select "properties" and select "Advanced system settings" in the window that opens.

If you have Windows XP, right-click on "My Computer" and then on "Properties"

In the next window, on the "Advanced" tab, click on the "Environment Variables" button. In the "System variables" list, select the "path" variable and click the "Change ..." button

The variable editing window will open, and in the “variable value” paragraph, at the very end of the line, after the semicolon, add the path to the tools folder and the platform-tools folder:

;c:\android-sdk-windows\tools;c:\android-sdk-windows\platform-tools;

(if there was no semicolon at the end of the line, add one - each path in this line must be separated from the other by a semicolon)

If you installed the Android SDK in a different folder, add your path to the tools and platform-tools folders at the end of the line.

Installing device drivers.

Some devices, such as Samsung phones and tablets, have their own software for syncing with a computer, and if you have it installed on your computer, then the device driver is already installed on your system.

But for devices such as Nexus One, which come without any additional programs and drivers, drivers must be installed to work with the Android SDK.

To do this, go to the folder where we installed the SDK and run the SDK Manager.

In the same way as we installed the Android SDK Platform-tools and Android SDK Tools, we find and select "Google Usb Driver package" in the list. Click "Install" and wait while the program downloads the drivers. Drivers for 32 and 64 bit Windows will be downloaded to the following folder:

C:\1\android-sdk-windows\extras\google\usb_driver

Now you can install the drivers for your device. To do this, in the settings menu of the phone or tablet, select the "Applications" item (Applications), and turn on "USB debugging" in it.

We connect our device to the computer. The computer will detect new hardware and prompt you to install drivers. Install the drivers from the folder where they were downloaded earlier.

After installing the drivers, a new “ADB Interface” device will appear in the Device Manager and we can verify this by opening it by right-clicking on the icon “Computer” -> “Properties” -> “Device Manager”

How to run ADB

The best way to work with the adb program is through the Windows command line. To call the command line on a computer with Windows XP, click "Start" and in the "Run" input field, type cmd and press "Enter".

On a computer with Windows 7, click "Start" and in the input field "Search programs and files" type cmd and press "Enter".

A command line window will open, and in order, for example, to see which devices we have connected to the computer, we type the command in it:

adb devices

The adb program will display a list of devices currently connected to the computer.



If you want to learn how to use Adb Run, then you are most likely already familiar with the main program - Adb. If not, then consider these two tools for Android users. What are utilities for, how to configure and use them?

Program

So what is adb? This is a program that got its name from the abbreviation. adb is an android debug bridge. A tool for debugging, troubleshooting utilities, unlocking gadgets on this operating system. These are the main features of the program, but if you are well versed in this topic, you will learn about a dozen more hidden options.

Installation

To understand how to use Adb Run, you need to install ADB on your PC. To do this, you need to download it from the official website of the developer. In principle, many sites make it possible to download this utility to your computer, so there will be no problems with the search.

Connection

To understand why ADB is needed, and, accordingly, Adb Run, let's look at the main commands. For example, if you are not sure that the computer sees the phone correctly and will work with it correctly, you can enter the adb devices command. This way you can make sure the connection is stable.

After you use the command, the program will display a message stating that List of devices attached. If you didn’t see a similar phrase, then most likely the problem is either with the cable or with the drivers. You will have to double-check the performance of the device and find out the reasons why the PC does not see the smartphone.

If you find out that the cable was not working, you can try connecting the gadget via a wireless network. Wi-Fi connection is made using ADB Wireless. In addition, the device must be rooted.

After we enter the adb connect ip: port command. Instead of ip:port, enter the value that is set for the address of your network.

Opportunities

Since the question of how to use Adb Run is related to using ADB, it is worth understanding what features the main utility hides. For example, thanks to the code, you can install an application that is on a PC. To do this, you need to write adb install, and then specify the path where it lies

Similarly, you can transfer a regular document from your computer to your phone. The algorithm is the same, only the command has changed. We enter adb push, and then we indicate the address of the location of the file, which should be transferred to the gadget. If you need to do the reverse operation, enter adb pull. Only the first address indicates the folder on the phone, and the second - the place where you want to save the transferred document on the PC.

adb run

This is a tool that makes the job easier. Especially convenient for those who understand how to use the Adb Run program. The utility is designed to simplify the work with ADB, makes the functionality of the last program clearer. The essence of the additional tool is that it automates common user commands and greatly simplifies actions with the console. Also, Adb Run can reset the pattern.

The program looks like a console. It consists of 14 items, and navigation through the menus and sections occurs by selecting the desired number and the Enter confirmation button.

Training

Before learning how to use Adb Run with this program, it is important to remember about USB debugging. This step is often forgotten, after which the program simply does not see the phone. To do this, you need to go to the settings, find the “About phone” option there.

In the latest versions of the operating system, you need to find the line with the serial number and click on it several times. A notification appears at the bottom, first that you are on the right track, then that you have become a developer. When you see such a message, you can return to the settings, the item "Developer options" should appear there. In it, you can enable debugging.

Overview

A small overview of the utility and how to use Adb Run for Android. Immediately the first point is to check the correct connection of the gadget. If you forgot about debugging, the program will immediately detect it. The first item is called Device attached. By selecting it, you will know if the phone is connected to the system.

Next - point move. Instead of entering the commands that were described earlier, it will be enough to choose between two points. The first is responsible for transferring files from a computer to a phone, the second is responsible for the reverse process.

Third paragraph Install responsible for downloading applications to the gadget. There are five items available here. Among them there is copying the program, installation is normal or on a memory card. It is possible to remove utilities from the phone via a PC or move them.

Paragraph Reboot restarts the device. It does this with three options, among which there is a normal reboot, switching to bootloader mode or to the Recovery menu. The next line under the fifth number is responsible for the firmware of the device. Fastboot is a menu that has 10 items. Moreover, all of them are highly specialized, if you do not know what to choose, you will have to consider each subparagraph.

In the next paragraph - Unlock Gesture Key- you can learn how to use Adb Run with Windows 10 if you need to unlock pattern. Often users, using this protection method, forget it, but when failures occur, this particular utility comes to the rescue. The sixth menu contains items with different pattern options. You need to choose the one you forgot.

Item seven - Manual- Needed by those who want to independently enter commands. Perhaps there are such directives that are not in the list presented. That's what this menu item is for. There is also a special menu for owners of HTC smartphones. In it, you can unlock Bootloader, change CID and get S-OFF.

The eighth point checks for utility updates. The ninth is a creative option for those who are tired of the animation when turning on the device. If you want to replace it or disable it, then you need to Intsall Bootanimation menu.

The tenth item gives information about all existing device blocks. There are sections here, perhaps hidden or hard to reach. Run Script is the eleventh menu for using scripts. Backup - the twelfth point, which creates a backup copy of the entire gadget. Convenient if you need to do a Reboot.

The next menu is responsible for odexing the firmware. If you do not know this process, it is better not to experiment on your own. The fourteenth point is working on screenshots. The last menu is needed to exit the utility.

conclusions

How to use Adb Run on Windows XP is clear. There is no difference at all with how this program works on Windows 7 or 10. Therefore, no problems should arise. The above instructions are suitable for all occasions.

For Linux owners, there is also an option that is easy to use. You just need to install a special version.

The ADB and Fastboot utilities are part of the Android SDK (don't confuse with Android Studio, let alone download its cumbersome installation file, unless you're going to develop for Android, of course). ADB is a debugging tool that allows you to access the Android console from a computer () by connecting the gadget to a PC via USB. At the same time, it should be. Fastboot is designed to work with the device when it is loaded in the mode of the same name (if there is one on your device).

With the help you can control your smartphone/tablet from your computer: backup apps, record a screencast, put your smartphone into recovery mode and much more. In addition, you can work with ADB over Wi-Fi. To do this, root rights must be obtained on your device, and you will also need a special application that connects to your computer over the network. For example, ADB Wireless either WiFi ADB. But this is material for a separate article.

Using Fastboot you can install firmware, ( or CWM ), unlock bootloader(it is blocked on HTC, Motorola, Sony, Nexus, Huawei, latest LG devices), clear system partitions.

1. First of all, go to the official website where you can download the Android SDK: https://developer.android.com/studio/index.html. We go down the page to the section " Get just the command line tools» and choose to download the archive for Windows.

2. Download it and unzip it to the root of the Disk " C:».

3. You also need to download the Java Development Kit from official page. Go to it, select " JDK”, agree with the license by checking the appropriate box and download the version that matches the bitness of your system.

Then install the downloaded package.

4. Then go back to the Android SDK folder, open " tools" and run " android».

Check the box " Android SDK Platform-tools" (as well as " Google USB driver" if you have a Nexus device) and click " Install Packages».

Read about installing drivers for other devices below.

5. Select " Accept License" and press " Install».

6. My log showed that an error occurred during the installation process. But in the end, everything ended successfully.

After completing the above steps in the folder " tools_windows-version» appears « platform-tools”, and in it there will be interesting for us“ adb" And " fastboot».

smartphone or tablet, you need to download the USB driver:
  • Samsung - the driver is included in the Kies utility: http://www.samsung.com/ru/support/usefulsoftware/KIES/ or you can download it separately by selecting the desired model: http://www.samsung.com/us/support/downloads
  • HTC - as part of HTC Sync Manager: http://www.htc.com/ru/software/htc-sync-manager/
  • Nexus - The Android driver is installed with the Android SDK, as described above.
  • Huawei - together with the HiSuite utility: http://consumer.huawei.com/minisite/HiSuite_en/index.html
  • LG - Install LG PC Suite: http://www.lg.com/en/support/software-firmware
  • Motorola - see this page: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
  • Sony Xperia - FastBoot drivers for all models can be found here: http://developer.sonymobile.com/downloads/drivers/
  • Xiaomi - Mi PC Suite: http://pcsuite.mi.com
  • MTK - for Chinese devices on MediaTek chips: http://online.mediatek.com/Public%20Documents/MTK_Android_USB_Driver.zip
  • Lenovo - select the model of smartphone, tablet and download the ADB driver: http://support.lenovo.com/us/en/GlobalProductSelector
  • Look for solutions for devices from other manufacturers on their official websites.

There are various universal ADB driver installers (for example, this one: http://adbdriver.com/downloads/) - they can also be used, for example, when for some reason it was not possible to establish an official solution.

If your model comes with a driver without an installer, you will have to follow these steps:

1. Go to " Control Panel» → « Device Manager". In Windows 10, just right-click on the menu " Start» and select « Device Manager».

2. Find the device for which you need to install drivers in the list. Right click and click " Update drivers».

As you can see, the computer correctly recognizes my Nexus 7 tablet. If your PC detects the smartphone incorrectly or there is a yellow triangle with an exclamation mark inside it, manual installation of Android drivers is mandatory for you.

3. Select " Search for drivers on this computer».

4. Specify the path to the folder with the drivers on the PC.

Wait for the installation to complete and then reconnect the gadget to the computer via USB.

Working with ADB or Fastboot is carried out from the command line, you can enter in two ways:

Method 1: Right click on " Start' and select ' Command Prompt (Admin)". Next, using the commands, you need to go to the folder with ADB and Fastboot (after entering each, press " Enter»).

To return to the root of the disk " C:\", use:

cd /

Thanks to this command, open the desired folder:

cd

In my case it turned out like this:

cd \tools_windows-version\platform-tools

The path to Fastboot and ADB is specified, now you can work with them from the console.

Method 2: Go to the folder " tools_version-windows”, then holding down “ Shift", right-click on an empty space and select " Open command window».

Enter the following to check how the PC sees Android:

adb devices

Don't forget that USB debugging must be enabled to work with ADB! You will find more useful commands in the last article, the link is at the beginning of this post.



Many have heard of adb, many have used adb and know the full power of the console. It's time to simplify the interaction with this functionality through the Adb Run program. You can find out more in this review.

The essence of the Adb Run program is that many users who use adb use typical commands and actions, and it automates them and simplifies the user's access to the console.

As you can see, the program has a console view and currently consists of 14 items, the control in the program is as follows: transitions from menu to menu using numbers, confirming the choice with the Enter button

Instruction-Overview of the program ADB RUN

Now let's briefly study all the menu items in the Adb Run program.

1. Item Device attached? - checks if the smartphone is connected to the PC (do not forget to enable USB debugging on the Android device)

2. Item Move - move files from Android to PC and PC to Android. These paragraphs contain "typical" options, as well as manual control.

3. Item Install Android App to Device - installing applications on Android, options for installing data saving, moving to a memory card are possible.

4. Item


7. The Manual item is responsible for itself, here you can enter commands manually, there is an item that allows you not to constantly enter adb, but write a command right away, unlocking the Booltolader Nexus and Sony devices

In the additional HTC Menu, the ability is to unlock the bootloader HTC, getting S-OFF

8. Item Check Update checking the new version of the program Adb Run

10. The Memory and Partition item allows you to find out everything about existing Android blocks and partitions

ADB Run- an application designed to make it easier for a simple user to carry out the process of flashing devices on Android. It contains and fastboot from the Android SDK.

Almost all users who have encountered the need for such a procedure as Android firmware have heard about ADB and Fastboot. These modes allow you to perform a wide range of manipulations with the device, but the tools for working with them offered by Android developers have one drawback - these are console applications. Those. the user is forced to manually enter commands into the console, which is not always convenient, moreover, the correct spelling of commands can cause difficulties for an unprepared person. To make it easier to work with the device in ADB and Fastboot modes, a special, quite functional solution has been created - the ADB Run program.

How the app works

At its core, the program is a shell over ADB and Fastboot, providing its users with only the ability to more conveniently and quickly call the most frequently used commands. In other words, the use of ADB Run in many cases leads to the absence of the need to enter commands manually, it is enough to select the necessary item in the shell by entering its number in a special field and press the " Enter».

The program will automatically open a list of available sub-actions.

Or it will call the command line and enter the necessary command or script, and then display the system response in its own window.

Opportunities

The list of actions that can be implemented using Adb Run is quite wide. In the current version of the application, there are 16 items that provide access to an extensive list of functions. Moreover, these items allow you to perform not only standard flashing operations, such as clearing certain partitions in Fastboot mode or writing them (p. 5), but also install applications (p. 3), create a system backup (p. 12), get root- rights (clause 15), as well as to perform many other actions.

The only thing worth noting, with all the advantages in terms of convenience, ADB Run has a rather significant drawback. This program cannot be considered a universal solution for all Android devices. Many device manufacturers bring some specificity to their offspring, so the ability to work with a specific device through ADB Run should be considered on an individual basis, taking into account the features of the hardware and software of a smartphone or tablet.

Important warning! Incorrect and thoughtless actions in the program, especially when manipulating memory sections, can damage the device!

Advantages

  • The application allows you to almost completely automate the input of ADB and Fastboot commands;
  • In one tool, functions are collected that allow you to flash many Android devices from "0", from installing drivers to writing memory sections.

disadvantages

  • Missing on the Russian interface;
  • The application requires certain knowledge in working with Android through ADB and Fastboot modes;
  • Incorrect and thoughtless user actions in the program can damage the Android device.

In general, ADB Run allows you to greatly facilitate the process of user interaction with an Android device during low-level manipulations using ADB and Fastboot modes. Many previously unused operations become available to an untrained user due to their complexity, but they must be carried out with caution.

Top Related Articles