How to turn on USB debugging on Android

In this article I will tell you how to enable debugging by USB on your phone or tablet under the control of Android. At the end of the article we will figure out why it is needed.

This article is suitable for all brands that produce phones on Android 11/10/9/8: Samsung, HTC, Lenovo, LG, Sony, ZTE, Huawei, Meizu, Fly, Alcatel, Xiaomi, Nokia and other. We are not responsible for your actions.

Attention! You can ask your question to a specialist at the end of the article.

Turn on the USB debugging on Android phone

To include USB debugging, you need to activate the Android developer mode according to the following instructions:

    We go to “Settings”, select the tab “On the tablet” or “On the phone”.

In the “settings” of your device, the section “for developers” should be displayed. We proceed to the next stage.

Cara instal driver adb, Fix Adb interface Debugging Usb

Need help?

I don’t know how to solve the problem in the work of your gadget and you need a specialist advice? Alexey, Master for the repair of smartphones and tablets in the service center answers questions.Write me “

Installing ADB on Android / adb install [Android Unknown ]

  • We go to “Settings”, select “For Developers” (on some Chinese phones models we indicate “Settings”, then “Additionally” and “For Developers”). At the top of the page we find a switch and transfer it to the “inclusive” position.

Now debugging is turned on, and you can use it with the desired goals.

Step one: Connect the device

First connect the Android device via USB to a computer. This step allows your device to be displayed in the Windows Device Manager. Run Windows Device Manager, then. I usually dial the “Device Manager” in the search utility.

Secondly, open the device manager and delete the currently displayed Android Adb driver. Just click on the ADB driver to open the context menu. select “Delete”.

Be sure to install the driver to remove the driver.

Now you can turn off the Android device from your PC.

Note: This prevents the loading of the same incompatible driver when the Android device is re.connecting. This step is not technically required, but it will show you the driver that causes the problem in case it restarts in any way.

Step two: kill bad drivers

First, unit Nirsoft USB Devices View (usbdeView). Then find the rejoiced folder and start the utility (installation is not required). NIRSOFT utility displays the total number of USB installed drivers on your computer.

Look at the color indicator in the extreme left corner of the USBdeView window. Green color means that the device works correctly. Pink means that the device can turn off and work properly (although in fact it can work incorrectly). Red indicates a disabled USB device. Gray (circled below) means that the device is installed but not connected.

Secondly, delete all the gray elements with the words “Google”, “Linux”, “Adb” or “Android” in the header. I always delete every item that is not green, but be careful: your experience may differ. You may need to reinstall the devices by deleting them here.

Note: NIRSOFT utility can be found as a malicious program when scanning for viruses. This, of course, is not.

Adb Devices does not see the device. all about Windows 10

If you test your programs on a real device, you need to have suitable drivers so that Android Studio can install your program on the device. Some phones use standard drivers and Windows sees your device without problems (I had it with Nexus 7 tablets). In some cases, it is required to download the driver from the manufacturer and only then everything will work (for example, Samsung S2).

I recently encountered the third case. the Megafon Login device. Studio did not see the device. There are no drivers, the operator’s support service replied that this does not concern them. Rays of diarrhea Megafon.

On the 4PDA website you can download drivers for login. The computer sees the device, and the studio still does not see it. Pichalka.

So, you set the “USB” debugging mode (“for developers” menu), installed drivers for Android Composite Adb Interface (may be called somewhat differently). The controller of the device of the Adb-Inteatheis of the device sees, but when the Adb Device command is entered, the list of connected devices remains empty.

There may be several reasons, but the most probable. the computer does not understand that the device is connected to it. Quite often observed when working with various Chinese brands and no-name devices. The solution to the problem is simple and will save you from multiple and useless attitudes-units of various versions of the drivers. You just need to “introduce” your gadget with a computer.

You need to find out Vendor ID (VID) device. In the device dispatcher, click twice on Android Composite Adb Interface (may be called a little differently) and go to the “Information” tab.

We are interested in what is between the signs of “_” and “”. this can be a four.digit number. Remember it, I had it 1271. Next, we go along the path C: users user name.Android and open the ADB_USB file.Ini text editor. We insert a line with your VID in the following form (example for login):

Reboot the computer, start the studio, connect the device. voila. everything works!

Experienced owners of Android devices often use the ADB and Fastboot programs that are part of Android SDK to unlock the bootloader of their tablets and smartphones, install custom firmware, obtain ROOT rights and many other things.

However, on one “wonderful” day you can find that after you connected your Android device to PC and scored the usual command “Adb Devices” in the command line, a list of devices connected to the computer, which should display this program empty. What to do in such cases to rectify the situation?

If this happened to you, then first of all you need to check the following:

Believe me, whether the debugging option is included in the settings of your tablet through USB

Check that the USB cable that you use to connect to a computer is working and connected correctly

Check whether you have Android SDK installed and whether the ON Do version is updated

Try switching the connection mode of your tablet or smartphone from the media device (MTP) to the camera (PTP) or back.

You may ask. why do all this if before that the device worked fine? The reason for the occurrence of such a situation can be many. For example, you updated the PC operating system and forgot to install Android SDK, or you have not updated the SDK for a long time or you connected your tablet or smartphone not with a branded cable that came with it, but later bought to be conveniently used to use it the device in the process of charging, or. USB drivers of your device are installed incorrectly.

Speaking of drivers. If you checked all of the above, but this did not help you and the ADB program still does not see your device, try to remove it from the system and reinstall it again.

To do this, on a computer with a tablet or smartphone connected to it, open the device manager and find a device with “Composite Adb Interface” in the name. For example: “Android Composite Adb Interface” or “Google Nexusadb Interface”

Then click on the device of the right mouse key and in the menu that opens, select the “Delete” option

Disconnect the tablet or smartphone from the computer, confirm the removal by clicking on the OK button and after completing the process of removing the device, connect it again and wait until Windows installs it again. After that, your tablet or smartphone should be displayed in the list of devices connected to the computer in the ADB program.

Yesterday I bought an Omega T107 tablet. Now I’m trying to launch my applications. But Abr does not see my device. I tried almost everything: / ADB still does not see any devices. I do such things. Please help.

I made all the methods listed on the Internet within one day, but I did not receive any answer! Then I followed this link, and in just two minutes my problem was solved.

Find out the device of the device supplier from the device manager. To do this, connect the otg port to the USB port of your computer. Go to the “Start” menu and click on my computer with the right mouse button and select “Properties”. Select the “device” option that will open the “Device Manager”. Select the device (mainly on USB devices or other devices) and click with the right mouse button and select “Properties”. Select the “Details” tab and select “Equipment identifiers” in the descent of the properties, you will see the equipment identifier, in my case it was x2207. Open Android_winusb.Inf and add the following lines:

Open C: Users.Android Adb_usb.ini and add the next entry

Fastboot Devices

Users often meet with the problem when receiving root. In difficult cases, for this use ADB commands using the command line of the computer. over, the majority simply introduce them, not knowing the purpose.

The FASTBOOT Devices command is used when receiving a ROOT if the device is in the bootloader mode. Entering this command allows you to get certain information about the phone or tablet. Fastboot Devices allows you to understand whether the device is able to receive a signal from Fastboot and perform the specified commands. This is a powerful tool that is often blocked for an ordinary user.

In addition, the team displays the serial number of the device, the presence of the necessary drivers on the computer and some confidential information about the device.

What can I do if Windows 10 does not recognize my Android device?

Check the settings of the USB connection to the computer

To transfer files from your computer, you need to connect the Android phone as a multimedia device (MTP). To do this, follow the following actions:

  • On the Android device, open the settings and go to the storage.
  • Click the icon in the upper right corner and select the USB connection to the computer.
  • In the list of parameters, select a multimedia device (MTP).
  • Connect the Android device to the computer and it must be recognized.

In some cases, you may need to connect the Android phone to the computer and switch several times between different connection options before the computer recognizes your Android device as a multimedia device.

I need an alternative? We will provide you with the best applications for transferring files between the phone and PC.

Install the USB device driver MTP

Sometimes your Android phone is not recognized due to problems with drivers, so you can try to update the drivers. To do this, follow the following actions:

  • Press Windows Key X and select devices manager in the menu.
  • Find your Android device, click it with the right mouse button and select update the driver’s software.
  • We recommend that you download this tool for updating drivers (100% safe and tested by us) to do it automatically.
  • Click View my computer to search for drivers.
  • Now click let me choose from the list of devices drivers on my computer.
  • In the list, select the MTP USB device and click on.
  • After installing the driver, your Android device should be recognized.

To avoid problems with drivers in the future, this is how you can support them all in the current condition.

Download and install Media Feature Pack for Windows 10 versions for N and KN

We have already mentioned that to transfer files from your computer to the Android device, you need to use the MTP protocol.

The MTP protocol is associated with the Windows Media player, and some versions of Windows 10 do not have a Windows Media player and do not support technologies such as MTP protocol.

If your version of Windows 10 does not recognize the Android device, download and install Media Feature Pack for versions of Windows 10 N and KN.

Use another USB cable

If you do not use the original cable supplied with your device, you may think about switching your USB cable. In some rare cases, some USB cables are designed only for power, and not for transferring files, so you may have one of these USB cables.

To verify this, try using another USB cable or connect the Android device to another computer using the same USB cable.

Your USB cable is aging? Replace it with new ones to avoid connecting problems.

Removing Android drivers

Sometimes you may not have the latest versions of drivers or drivers can be installed incorrectly, so it is recommended to remove Android drivers to eliminate problems with Android and Windows 10 devices. To do this, follow the following actions:

  • Connect the Android device to the computer and open the device manager.
  • In the device manager, find your Android device. It is usually located in the section of other devices or in the section portable devices. But on your computer it can be different.
  • Click with the right mouse button on the device and select remove.
  • After removing the drivers, disconnect your Android device.
  • Connect it again and wait for Windows 10 to install drivers again.
  • Check if your Android device is recognized.

Keep in mind that sometimes Windows cannot find and download some drivers. In this case, you can check this guide to make sure that your Android drivers will be installed correctly.

Connect your Android phone as a USB remembering device.

To connect your Android phone as a USB drive, follow the following actions:

  • On the phone, select Additional settings settings.
  • Select USB utilities and click connect the storage to PC.
  • You may be asked to disable and connect the Android device to install the necessary drivers. In addition, you may also be asked to disable USB debugging.
  • After you have completed all the steps, check if your Android phone is recognized.

Turn on USB debugging

Users report that the inclusion of USB debugging can sometimes help with this problem. To enable USB debugging on your Android phone, follow the following actions:

  • Go to the settings and click the developer parameters.
  • If you received a warning, click OK.
  • Now you need to turn on the developer parameters and install the USB debugging flag.
  • After the warning message appears, click OK. To close it.

If you use Android 4.2 or more new version, USB debugging option can be hidden on your device. To enable USB debugging, follow the following actions:

  • Go to the settings and click on the phone.
  • Go to the assembly number and press it seven times.
  • After that, you can turn on USB control.

ADB integration update

Sometimes the problem is related to the outdated driver of the ADB integration. To update the driver, you need to do the following:

  • On your computer, click on my computer with the right mouse button and select the “Device Manager”.
  • In the section “Other devices” you will see “Android Adb Interface” or “Android Phone”. Click the right mouse button and select “Update the driver”. Updating the ADB integration driver
  • After that, select “View my computer to search for drivers”.
  • Then select “Let me choose from the list of devices drivers on my computer”.
  • A window will appear, make sure “show all the devices” is highlighted, and click “Next”. Highlight show all devices
  • Click “Install the disk”.
  • Go to where you installed your SDK, usually this is C: \ Program Files \ Android \ Android-SDK \ EXTRAS \\ Google \ Usb_DRIVER \, where you will need to twice click on Android_WinUinUinusb.Inf
  • Select the Android Adb Inte Week from the list. Select the Android ADB integration
  • Click “Yes” and then “install”.
  • Wait until the installation is completed and then close the window.

You can try to re.connect your device if it does not recognize it.

Resetting of the process

Sometimes it happens that everything else works, but you still cannot list your smartphone. this means that you installed the USB driver, turned on USB debugging, etc. D. In such cases, the server shutdown and its re.starting can help you. To do this, enter the following command line commands

Adb Kill / Start Server

How to enable debugging on Android

Despite the possibilities opened by debugging, it is absolutely safe to turn it on. This will not lead to unstable software work and will not cause a guarantee removal, unlike the bootloader unlock and, in some cases, obtaining a ROOT.

On Android 8, 9, 10, 11

The latest versions of the Android not only allow to turn on the debugging as easily as possible, but also provide safe operation of this function, requesting confirmation for each connected device.

If the firmware is used from the manufacturer, and not the “clean” Android, the procedure will be approximately the same, but the names of the elements of the intense may differ. We examined more details for gadgets of popular brands in the article.

On Android 5.0–

For devices running less modern operating systems, the instruction looks similar to the one that is relevant for new devices:

Do not forget that you need not only to turn on the debugging, but also all the functions in the section. the toggle switch is in the upper right corner for this. On Android 7.X is allowed to control the “black” list of devices.

On old versions Android (4.2 and below)

In the early versions of Android, the function was not as “hidden” as now. Of course, hidden parameters are not so difficult to see on new versions, but to Android 4.2 The procedure has the following format:

Here, the use of this feature is really unsafe-the system does not conduct “white” lists of devices that can use USB-paperwork, which is why it is available for all PC connected to the smartphone. This makes the device vulnerable in case of theft or loss. it can be completely discarded. It will only please that such devices are almost nothing and even incompatible with modern programs available in Google Play.

Instructions for more new ones, but, nevertheless, outdated releases Android are as follows:

Next, you need to connect the device to the computer and select the “Debugging by USB”. If it is not, and the function is activated, then debugging will be turned on automatically.

On Samsung

Modern models manufactured by Samsung are running One UI, which guarantees compatibility with the functions of each brand device. The new firmware inherited the procedure for turning on the developer menu from Touchwiz, where the actions are carried out as follows:

On Honor, Huawei

The devices of both brands work on the same EMUI shell, so the instructions for these devices are combined into one section of the article. Despite frequent firmware updates, the next list of steps is relevant from the first versions:

On Xiaomi

MIUI firmware users, even if the last release of Android is installed, must follow a separate order of actions:

Turning on the debugging mode through the computer

The method is especially relevant in case of problems with the screen. The option is available only if there is a custom.made TWRP or CWM reservoir. Both can be put through PC, and on the example of the latter, instructions are compiled:

You can also install the Rashr Rashr utility, but it requires direct interaction with the Android itself, so it will not work to use it with a broken display. Similarly, things are with ROM Manager, requiring the ROOT access and also launched on the phone itself. As soon as you complete the previous steps, it remains only to turn on the USB-laying:

  • Download archives (1, 2) on PC. The second is the QTADB utility.exe, which will automatically determine where the ADB files are located. If she did not succeed, indicate the path to the contents yourself. Then go to the Advanced tab and, by connecting the phone through USB, look at the “Status” window: “Ready” should be written here;
  • Click the “files” on the left panel;
  • The screen will be divided into two parts. The one on the left contains files on the computer, and the contents of the phone are presented on the contrary. In the latter, follow the path/Data/System/Users/0/. Open the settings_global file.XML, in it-XML-Tag named Adb_enabled. Change the value of the Value attribute by 1.

If TWRP is used, not CWM, there will be no difference in this instructions. In some versions of Android, the Default document is available for this location.PROP, in which you need to additionally put = 0 so that the device can connect to any other computers, without saving them in “white” lists.

Turning on USB debugging

We will show the activation of the regime on the example of pure Android 5. If you have a different version of the operating system, as well as some kind of proprietary shell, then your actions may differ slightly. But not dramatically. the basic principle will remain the same.

The first thing to do is turn on the developer mode. To do this, it is enough to find in the settings of the “On the phone” menu, and then click 5-7 times on the “Android version” item (for Xiaomi devices is “Miui version”) until the inscription “You became a developer!””. When the “For Developers” section is displayed in the settings, you can proceed to activation of the debugging mode.

So, you need to do the following manipulations:

Go to “Settings”.

Scroll at the very bottom list. Here, click on the item “for developers”.

On more modern Android devices, the debugging mode, like the developer menu, can be hidden in some subsections (it depends on the version of the operating system and the features of the shell used). Therefore, the easiest way to use the search for the desired parameter.

In this section, you need to activate the switch near the “Debugging on USB” item.

It is possible that first you will need to activate the main switch located at the very top.

Turning on the debugging mode for Samsung products

This is how just the debugging mode on most smartphones is turned on. But on some devices, the developer’s mode is hidden. For example, this is observed on the tablet Samsung Galaxy Note 10.1 2014 Edition and other South Korean gadgets. Here you need to use another way:

Go to “Settings”.

Follow the section “On the device”. If necessary, visit the “General” tab for this.

Click on the point “Information about the software”. This must be done on the Android 6 operating system.0. On older versions of the operating room, this item may be absent.

Pay attention to the point “Build number”. You need to quickly press it with your finger about 7 times. This activates the developer mode, which the system will immediately report to you.

Now return to the main menu of “settings”. You will find the “developer parameters” that has just appeared. Click on it.

Click on the flag near the “Debugging on USB” item.

Confirm your actions by pressing the OK button.

This is a simple algorithm of action. It is noted that on old South Korean devices with Android 4.2.2 on board the developer mode can be turned on by default.

What is USB debugging for

As I said above, debugging on USB needs developers who write applications and test them on a smartphone. It can also be useful for transferring files to a smartphone or for downloading them to a computer.

Sometimes the USB debugging mode helps to make a copy of the applications or not to install them from Google Play. And the only way you can flash a smartphone or restore its performance after some kind of failure.

Many will remember another item on this list. The USB debugging mode can be very useful for those who plan to perform operations with ROOT laws.

Routing (English. Rooting). the process of obtaining Android of the rights of a superpoler. Sometimes it is necessary to perform some non.standard actions.

In any case, before you use what I will tell later, keep in mind that you carry all the risks yourself. If you are not sure of your actions, it is better not to climb this matter. As they say, it will be more purpose.

How to enable or disable the debugging mode by USB

There is nothing complicated in turning on this mode. It is enough just to go to the phone settings, scroll to the “System” point and open “developer settings”. If you do not know how to get the rights of the developer, I will talk about it just below.

If you already have rights, you just need to scroll to the “USB” debugging point and move the switch to the “inclusive” position ”. In the same way you can not only turn on this mode, but turn off if necessary. For example, for greater safety or if you just don’t need it.

I note that the names of some menu items may vary slightly depending on the manufacturer of the smartphone and what the version of the operating system and the shell is installed on it. Despite this, the formulations will still be approximately the same as I wrote. I think you will figure it out without any problems.

If you are interested, one of our authors has not so long ago told how to install an APK file on Android

Turning on USB debugging

If the problem has not been solved, then you need to change the phone settings. turn on USB debugging. It is intended for those who understand the devices, tests programs and decompile them. In our case, this will help to quickly solve the problem when a computer or laptop does not see a smartphone.

Open your device settings and go to the “System” section.

Next, expand the menu by clicking on the “Additionally” button and enter the “For Developers” tab. If you don’t have one, you must first unlock it. How to do this is written at the beginning of the article in the section “Change of connection method”.

Find the item “Debugging by USB”. Activate it by moving the slider to the “inclusive” position.

A context menu will appear on the screen, in which it is necessary to press the OK key to confirm turning on USB debugging.

Settings are also used to firm the gadget through the computer, restoration of remote data and not only. If necessary, the mode can be turned off in the same method by switching the slider.

Viruses on the device

The presence of viruses on a smartphone or computer does not allow some functions to work correctly. In this case, you need to download the antivirus program and check both devices.

If there are viruses on a mobile device, then turn on the safe mode:

Close the power button until the menu appears in which it is proposed to turn off or restart the gadget.

Click on the “Disable power” key (or “turn off”) and hold it. A window will open on the screen with the question “Go to safe mode?””. For the transition, select OK and expect a reboot.

If the PC saw a smartphone, then the reason in the mobile apparatus installed on the mobile apparatus. See what uploaded applications are in it, after which the computer stopped seeing the device. By going into safe mode, malware can be deleted.

If this did not help, most likely, the problem in the computer/laptop itself.