Fastboot is not internal or external. ADB or fastboot is not an internal or external command


ADB, or Android Debug Bridge, is a console application for PC that can be used to control the device on Android based straight from your computer. It looks like this: first, ADB tools and drivers for Android are installed on the computer, then mobile device connects to PC via USB cable in debug mode, and finally after launching ADB in the console (command line) executes special teams, initiating certain actions with the gadget. detailed information about the principle of operation of the debugging tool itself is presented on the official website of the developer, so we will not dwell on this, but will immediately move on to the capabilities of ADB and how to install it on a computer.

What does ADB allow you to do?

First, let’s point out why ADB is needed at all. With it you can:

  • Reboot the device in various modes;
  • Exchange files/folders with your phone;
  • Install/uninstall applications;
  • Install custom firmware (including TWRP Recovery);
  • Produce;
  • Execute various kinds of scripts.

The ADB tool is usually installed in conjunction with the Fastboot console application.

Installing ADB and Fastboot from the Android SDK

This method involves using the official development and testing tool Android applications Studio. Go to the page https://developer.android.com/studio/index.html and find the heading “Get just the command line tools”. Below we download the SDK tools archive for Windows (before downloading, we agree to the terms of use).

We unpack the archive to drive C. In our case, the files were extracted to the folder sdk-tools-windows-3859397.

We go to the directory, and then go to the directory tools/bin. Here we are interested in the file sdkmanager, which will help you install ADB and Fastboot on your computer.

Now you need to open the folder with sdkmanager, for which you should run the command in the console cd C:\sdk-tools-windows-3859397\tools\bin, Where C:\sdk-tools-windows-3859397\tools\bin– path to the sdkmanager.

If you unpacked Android SDK not to drive C, but to some other place, then the full address can be found using top line Explorer (click on the destination folder right click mouse and click “Copy address”).

So we moved to tools\bin and now we need to run the command sdkmanager "platform-tools", which will install the Platform-tools package containing the ADB and Fastboot files.

During installation, please review license agreement and press Y to complete the operation.

If everything went as it should, in the root Android folder SDK directory will appear platform-tools with the necessary files adb.exe And fastboot.exe.

Minimal ADB and Fastboot

The second method is even simpler. On the developer forum Xda Developers you can download the package Minimal ADB and Fastboot with all the necessary files. To do this, go to the page https://forum.xda-developers.com/showthread.php?t=2317790 and, by clicking on the link, download the installation exe file.

We launch it and follow the instructions.

We installed Minimal ADB and Fastboot in the root of the same drive C.

Basically, that's all. All that remains is to check the presence of files.

Checking the operation of ADB and Fastboot

After installing applications using any of the above methods, you need to make sure that the utilities are working correctly. To do this through command line go to the folder with the adb and fastboot files (command cd C:\sdk-tools-windows-3859397\platform-tools or cd C:\Minimal ADB and Fastboot), and then run the command adb help. She should print the version installed Android Debug Bridge and list of ADB commands. If you see something similar to the screenshot below, then everything is working correctly.

Now you should connect your mobile device to your PC and check if it sees it adb app. We connect the phone (or tablet) to the computer using a USB cable, set the mode in the settings MTP connections(file sharing) and go to the section Settings – For Developers.

If there is no such item in the settings, then go to the “About phone” page and click on the line with the build number seven times.

Developer Mode will be activated and the “For Developers” section will become available. Go into it and enable the “USB Debugging” option.

After all these manipulations with the gadget, in the Windows command line, enter the command adb devices. It will display information about the connected device in approximately the same format as in the screenshot.

Thus, we tested ADB and Fastboot and made sure that the Android Debug Bridge is functioning normally, which means that you can now control the phone via a computer.

If communication with the device cannot be established, then you need to check the availability and correct installation of Android drivers. To do this, with debugging mode enabled, go to “Device Manager” and look for exclamation marks in the “ USB devices» item “ADB Interface” (may be called a little differently).

If problems are detected, we try to reinstall the drivers. You can download them on the phone manufacturer’s website or at https://adb.clockworkmod.com/.

We hope that the article was useful to you.

Almost every owner Android device, which decided to improve its pet by replacing the firmware or operating system kernel, encounters a program adb.

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, which will help you, for example, get root rights on your device, flash new versionAndroid or even restore your phone or tablet to its original state after unsuccessful system intervention.

So what is it A.D.B. loved by all modders and hackers, where can we get it, and why do we need it?

What is ADB.

Abbreviation A.D.B. stands for Android Debug Bridge(Android debug bridge). ADB is integral part, which can be downloaded from here .

Since the operating system Android is a variety Linux, to configure it you often need to work through the command line. 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 via a computer, and in these and many other cases the program adb simply irreplaceable. Program adb establishes a connection between the device and the computer and allows you to perform various manipulations with the system directly on the computer Android.

How to install ADB.

First of all, we recommend that you download the most latest version, at the time of writing this guide, the version available is r11, all further descriptions are based on her example, and more earlier versions, location necessary programs after installation SDK, may differ from what is described here.

1. Download it, it can be found at the link provided earlier. There are several varieties SDK, For Microsoft Windows,MacOS And Linux.

We need a variety for Microsoft Windows. And here there are two options - download the installer or zip archive with Android SDK. We don’t need an installer, especially since it won’t allow us to install SDK V Windows 7, and therefore download the zip archive.

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

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

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

2. Install SDK Platform Tools.
We make sure that our computer is connected to the Internet and launch the folder located android-sdk-windows, program SDK Manager. 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 an item or by clicking on “ Accept" And " Reject» Check 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 installed adb on your computer, but to work with our phone or tablet you will need to install their driver and for further convenience with the program, it would be nice to write the path to it and other components in the Windows system.

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

After this, we need to edit the PATH system variable so that every time we start the program and enter commands we do not 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 later return it to its original state.

If you have installed Windows 7, right-click on the shortcut “ Computer", select " properties" and in the window that opens select " Extra options systems».

If you have Windows XP, right-click on “ My computer" and then by " Properties»

In the next window on the tab " Additionally» click on the button « Environment Variables " In the list " System Variables"select a variable" path" and press the button " Change…»

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

;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 in another folder, write at the end of the line your path to the tools and platform-tools.

Installing device drivers.

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

But for devices like Nexus One, which are supplied without any additional programs and drivers for working with Android SDK, drivers need to be installed.

To do this, go to the folder in which we installed SDK and launch SDK Manager.

Exactly the same as we installed Android SDK Platform-tools And Android SDK Tools, find and select from the list “ Google USB Driver package" 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

You can now install drivers for your device. To do this, in the settings menu of your phone or tablet, select “ Applications"(Applications), and in it we include " USB Debugging"(USB debugging).

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

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

Additionally, you can try installing a universal ADB driver on your computer.

How to launch ADB

Work with the program adb best way is through the command line Windows. To open the command line on a computer with Windows XP, click " Start" and in the input field " Execute» dialing cmd and press “Enter”.

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

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

adb devices.

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

Almost every owner Android device, which decided to improve its pet by replacing the firmware or operating system kernel, encounters a program adb.

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, which will help you, for example, get root rights on your device, flash a new version Android or even restore your phone or tablet to its original state after unsuccessful system intervention.

So what is it A.D.B. loved by all modders and hackers, where can we get it, and why do we need it?

What is ADB.

Abbreviation A.D.B. stands for Android Debug Bridge(Android debug bridge). ADB is a component that can be downloaded from here .

Since the operating system Android is a variety Linux, to configure it you often need to work through the command line. 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 via a computer, and in these and many other cases the program adb simply irreplaceable. Program adb establishes a connection between the device and the computer and allows you to perform various manipulations with the system directly on the computer Android.

How to install ADB.

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

1. Download it, it can be found at the link provided earlier. There are several varieties SDK, For Microsoft Windows, Mac OS And Linux.

We need a variety for Microsoft Windows. And here there are two options - download the installer or zip archive from the Android SDK. We don’t need an installer, especially since it won’t allow us to install SDK V Windows 7, and therefore download the zip archive.

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

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

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

2. Install SDK Platform Tools.
We make sure that our computer is connected to the Internet and launch the folder located android-sdk-windows, program SDK Manager. 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 an item or by clicking on “ Accept" And " Reject» Check 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 write the path to it and other components in the Windows system.

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

After this, we need to edit the PATH system variable so that every time we start the program and enter commands we do not 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 later return it to its original state.

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

If you have Windows XP, right-click on “ My computer" and then by " Properties»

In the next window on the tab " Additionally» click on the button « Environment Variables" In the list " System Variables"select a variable" path" and press the button " Change…»

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

;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 in another folder, write at the end of the line your path to the tools and platform-tools.

Installing device drivers.

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

But for devices like Nexus One, which are supplied without any additional programs and drivers, to work with Android SDK, drivers need to be installed.

To do this, go to the folder in which we installed SDK and launch SDK Manager.

Exactly the same as we installed Android SDK Platform-tools And Android SDK Tools, find and select from the list “ Google USB Driver package" 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

You can now install drivers for your device. To do this, in the settings menu of your phone or tablet, select “ Applications"(Applications), and in it we include " USB Debugging"(USB debugging).

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

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

Additionally, you can try installing a universal ADB driver on your computer.

How to launch ADB

Work with the program adb best way is through the command line Windows. To open the command line on a computer with Windows XP, click " Start" and in the input field " Execute» dialing cmd and press “Enter”.

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

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

adb devices.

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

When you try to open any command through a utility window or console, you encounter an error - “File name” is not internal or external team, executable program or batch file. The system stubbornly does not open the file for some reason and this fact is very annoying. The reason for this may be one of several options: the path to the file is incorrectly specified and the absence of a component in the system at all, i.e. specified address it does not exist.

The main reasons why the error “is not an internal or external command” appears

As already mentioned, one of the reasons is that the path to the file to be opened is incorrect. Usually the path to the file is specified in the “Path” variable in the system; the strict path to the directory in which the files are located must be specified. necessary files. If there are any errors in the settings when specifying a path in a variable, or when specifying a file name, then the system will generate exactly this error - “file name” is not an internal or external command executed by the program.

The first step is to specify the exact path of the “Path” variable to the operating system so that errors do not occur when opening the file. To do this, you need to know the location of the folder for sure. For example, let's turn to a program that will later work with executable file in a specific folder.

The Path variable is an operating system variable that is used to locate specified executable objects via the command line or terminal. You can find it in the panel Windows management. In new Windows versions and other operating systems, specifying manually is usually not required.

Specify the correct path in the path variable on Windows 7

To correctly specify the path, you need to know the exact location of the file. If the program file that needs to be opened is located on the disk in C:\Program Files\Java\jdk 1.8.0.45\bin, then this path must be copied and specified in the system variable for subsequent opening.


If the error appears again, try moving the program to the working directories of the disk with the installed operating system eg /System32. Windows works with this directory more often.

Errors also occur due to missing program components. You can eliminate them by adding the necessary ones. Let's take the Telnet component as an example. To enable it, go to:


Set the “Path” variable in Windows 8/8.1/10

  1. Go to the “Control Panel”.
  2. Click the “Advanced system settings” link.
  3. Find "Environment Variables". In this section you need to select “Path”. Next, “Change”, if there is no ready one, create it again.
  4. In the “Change system variable” item, specify the value you need and confirm with the “Ok” button. Close all other windows by clicking “Ok”.
  5. Reopen the command line or terminal and try your query again. Everything should work fine now.

Many of us are already familiar with ADB (Android Debug Bridge) because, being the owner Android devices, quite often you have to perform such simple steps, How adb push And pull, or adb reboot etc. But for many novice users, just the sight of the command line is already scary, and it seems prohibitively possible. Although in fact everything is quite simple, experienced users will not let me lie, and the biggest difficulty is to remember all these commands, although this is not necessary to do either, since the Internet is always at hand and can be found the right command is not difficult.

Android Debug Bridge, which is part of Android emulator SDK allows you to communicate between your computer and an Android device connected to it. By the way, if you need some software, you can download the programs for your laptop for free here. What can I do with using ADB? Its capabilities are quite wide, for example, the most popular actions: copy files from an Android device to a computer, upload files from a computer to Android, perform many Linux commands, receive error reports, etc.

So if you're new to this and want to learn a little more about ADB than just what it is, then I suggest you check out my little basic guide to learning ADB.

What you will need

1. Android Debug Bridge (ADB) for Windows 32bit - download

2. Android Debug Bridge (ADB) for Windows 64bit - download

3. Computer with installed Windows OS.

Now let's move on to the active phase:

1. Download the required zip archive and extract it wherever you want, for example, drive C.

2. Now go to the directory C:/adb/sdk/platform-tools. Here you will find a set of files as shown in the image below.

3. Hold down the Shift button + right-click and launch the Windows command line from the current directory.

4. Enter the command adb start-server.

5. To make sure that your device is connected correctly and has been recognized by the computer, enter the command: adb devices. If all is well, you will see something similar to this:

Now that your device is connected and everything is working, let's play with it a little.

Reading LOGCAT via ADB

The easiest way is to run the command: adb logcat. As a result, the entire contents of the device log file will appear on the screen. To get logcat to separate file do: adb logcat > logcat.txt.

BUGREPORT

You can run the command: adb bugreport, but you will receive a notification that the generated report will not be readable, so it is better to use: adb bugreport >result.txt.

ADB together with ROOT access rights

To work from under ADB with full rights access, you need to root the device. If the device is already manual, then run the command: adb root and we see what is shown in the picture below (reboot ADB with root rights).

Installing applications via ADB

To install the application, make sure that in the title apk file there were no spaces and you need to know exactly the correct path to it. Well, then we run the command: adb install+ name of the installation file. In my example, I installed the papertoss game, so if everything goes well, you will get this picture on the screen:







2024 gtavrl.ru.