Connecting an Android phone to a computer via USB like a flash drive. Why is USB debugging needed and how to enable it? Instructions for different versions of Android OS Where to enable USB debugging 4.4 2

There are many ways to root your phone, but almost all of them require USB debugging to be enabled. There are also many other operations that require this option to be enabled. You can learn about what USB debugging is, why it is needed and how to enable it in this article.

So, what is this option for?

This function is necessary to check the operation of applications and services of the Android operating system. This service is called ADB. To check and configure applications, this service supports many service functions that are not needed and even unnecessary in the normal operation of a smartphone, which is why this option is enabled separately.

So how do you enable USB debugging?

Although we have one operating system - Android, this option can be located in many different places, so let's describe them all so that you don't have any difficulties enabling this feature on any device.

  1. We go along the path: Menu – Settings – Development – ​​USB Debugging and check this item.
  2. The item is located at: Menu – Settings – For Developers – USB Debugging – check this item.
  3. We follow the path: Menu – Settings – Applications – USB Debugging – check this item.
  4. Menu – Settings – More – Developer options – USB debugging – check the box next to this item.
  5. The most likely option. We go along the path Menu - Settings - About device - look for the “Build number” item and press it several times until the message “Developer mode is enabled” appears. After that, we return to the settings and go to the For Developers item, where we actually check the “USB Debugging” checkbox.






Further actions


After enabling this option, you will have full control over the device from your computer. When you connect for the first time, after which a confirmation dialog appears on the gadget’s screen, you will be asked whether you trust the computer from which control will be performed or not. It is worth checking the box “Always allow debugging from this computer” so that in the future you do not bother yourself every time you connect the device to the computer. You now have full access to operating system, and you can perform any actions and enter any commands available within the ADB protocol.

What should you do if you followed everything according to the instructions, but the device is not detected by the computer?


First of all, you need to check whether the drivers are installed on your device and, if necessary, install or update them. Also, to avoid glitches, you should unlock the device and connect it only in USB interface 2.0, since there may be some problems with 3.0.
If you have done everything correctly, but communication with the computer is still not established, then you should change the method of connecting to the computer. To do this, you should reconnect the device using USB cable, pull out the curtain and click on USB Connection, and then select PTP mode. If even in this case nothing works out or you simply don’t have the courage USB hand cable, but there is a Wi-Fi network, then you can try to use it.

Connecting your device using Wi-Fi

First you need to get an IP address and the port of your gadget that is connected to Wi-Fi networks. This can be done using ADB programs Wireless, which is available completely free at Google Play. After launching this application, click on the red button, which will turn into green, and then the connection will begin. Below you can see some service information.

After that, on the computer, press the combination Start + R, in the window that appears, write cmd and press Enter. A window will appear command line, in which you will need to enter adb connect “Device IP address and connection port.” Now you can take full advantage of the ADB protocol.

A few more words about ADB

Adb is a console application for PC through which you can perform Android debugging gadgets or emulators. It works according to the client-server scheme. On first startup, a system service is created that listens to commands that are sent to port 5037 (can be changed). ADB will allow you to:

  • Work with logs;
  • View the list of connected devices;
  • Copy files;
  • Install applications;
  • Work with the data section;
  • Work with different scripts;
  • Manage various hidden OS options.

ADB you can download along with the SDK kit, but if you are not a developer (which is most likely the case, because a developer would hardly read these lines), then you are better off downloading adb separately, because full package weighs quite a lot.

On devices running Android OS, access to any actions that make changes to the system is hidden by default. For example, by connecting your smartphone to a PC via USB, you can perform simple steps to transfer images, audio or videos. Now we will tell you how to expand the capabilities of the gadget, i.e. how to enable usb debugging on android.

To summarize, we can say that without enabling USB debugging, it is impossible to perform the following actions:

  • Restore normal operation of the device.
  • Get Superuser rights (ROOT).
  • Install a program that was downloaded from a third-party resource.
  • Flash a smartphone or tablet.
  • Send any file from your computer to your Android gadget.
  • Make a copy of any folder from file system smartphone or backup copy applications available on the device.

The debugging mode is aimed primarily at developers, but, taking into account the above, we can conclude that the average user also has to resort to this tool in certain cases.

How to enable USB debugging mode on Android

Even though activating this option is not difficult at all, users have trouble finding its location. Below we will look at the possible options.

On Android versions 2.3

To activate debugging, go to “ Settings", open the section " Applications", find the item " Development" and in it, opposite the line " USB Debugging» put a tick. When prompted by the system, press the button “ Yes", ready:

On Android versions 4+

In this case also, through " Settings" In chapter " System"find the item " About the phone" and click " Version information«:

Next we find the parameter “ Build number" and make a few quick light presses on it until the message " You became a developer". Now, returning to the settings section " System"we will see that a new item has appeared - " For developers", click on it and opposite the line " USB Debugging» put a tick:

On some models of Android devices, when you connect your smartphone to your computer, the “ USB Connection Settings", then here you will also need to check the box " USB Debugging«:

When prompted by the system to allow debugging, confirm the action by clicking on the “ OK«:

On Android versions 5+

As in previous versions, the first step is to go to “ Settings", then go to the item " About the phone", find the line " Build number“, “tap” on it several times until a happy notification from the system appears below “ You have become a developer!". After this we return to " Settings" and click on the line " Additionally«:

We see that the menu " For developers", open it and set the slider in the line " to the active position USB Debugging"When asked to allow debugging, click the button " OK«:

On Android 6.0 versions

In conclusion, we bring to your attention a video tutorial on how to enable usb debugging mode on Android version 6:

And with that we say goodbye until new topic, we hope that this material was useful to you and now you can confidently enable developer mode on your smartphone. Good luck!

Many people ask how to enable (or, conversely, disable) “USB debugging” in Android 4.2 and 4.4.

In theory, "USB debugging" is enabled here:

Settings -> Applications -> Development -> USB Debugging (set flag).

However, as of Android 4.2, the Develop menu item is no longer available by default. However, you can enable it.

You need to go to Settings -> About phone (or About tablet) and tap “Build number” 7 times. If everything works out, you will be told that you have become a developer, and you will have the corresponding menu item.

And if you quickly click on the “Android Version” line 7 times, you will see something interesting.

After enabling USB debugging mode, you will be able to work with the device using the ADB utility. After this, features such as viewing debug messages, installing and uninstalling programs using ADB and other useful things will become available. Also, some methods of obtaining root rights require you to enable USB debugging. However, turning on USB debugging mode will prevent you from accessing the tablet's memory as a simple flash drive.

At the same time we will decide problem with recording to external SD card.

How tired I am of this eternal “Yaroslavna’s cry” about problems with writing files to an external SD card under Android 4.4 and advice from armchair experts about the mandatory use of a patch, rooting, and so on. Lord, what idiots live in this world. In fact, everything is simple and logical: starting with Android 4.4 non-system applications are prohibited from writing to someone else's folder, and in your own way, accordingly, you can. In this case - you will laugh - “your” folder is recognized simply by the NAME of the folder, which must match the name of the application. Simple and tasteful.

The authors of the applications, who have a brain, took this into account a long time ago and corrected everything. And for applications by headless, hand-assed authors (like Yandex developers, for example), the owner of the device has the head and hands. You have? Great, I’ll tell you now how to fix everything, using fucking Yandex Maps as an example:

1. First we need to find out the key name (ID) of the application. Let's go to the #Google store Play Store, open the page desired application and we see this very key name (ID) in address bar, in our case, from “https://play.google.co...d=ru.yandex.yandexmaps” it is clear that the name (ID) of the application is “ru.yandex.yandexmaps”

2. Create through the system file manager(which comes with official firmware and can write and delete anything on the card anywhere) the folder for our application data in the format “/storage/sdcard1/Android/data/myappname” - in our case with Yandex cards it will be “/storage/sdcard1/Android/data/ru .yandex.yandexmaps.”

3. Launch the application and specify the created folder in it, if necessary (in the case of Yandex maps this is required) - restart the application.

4. We receive profit - Yandex cards are downloaded and saved to an external flash card in the location specified by us.

And so for any application - without any root!

At the same time, a regular (non-system) application cannot access other people’s data - which, in theory, should make it very difficult for someone to steal your data using spies built into seemingly harmless utilities and games. Rooting and rolling out a patch that removes this protection - accordingly throws you back to the times previous versions and leaves you without protection, so it’s better not to indulge in this, but to use the method I described.

How to enable USB debugging on Android is a very popular question among Android phone users.

Why is USB debugging needed? It is needed to turn your device, when connected to a computer, into not a drive, memory card or hard drive etc.

The mode makes your phone a device that provides greater access to programs on your computer's operating systems.

In short, here is a list of possibilities:

  • copy the required folder or other file from your smartphone to your PC;
  • send a file from PC to smartphone;
  • install the application on Android;
  • make a backup copy of applications;
  • flash a smartphone;
  • restore the functionality of the smartphone;
  • will help you get Root is right A. Let's start setting up. First, we need to open the functionality for the developer.

Important Settings

Open the “Settings” of the phone:

  • at the bottom of the settings functions we find the item “About smartphone” (“About tablet”);
  • go into it and click on the “Build number” item many times. Until a message appears that we have become developers;
  • now we have access to hidden add-ons called “for developers”;

These steps will allow us to go to the menu through which we will enable USB debugging on Android. On some devices, the secret section may be labeled "Developer Options," so don't be alarmed if yours doesn't match. The names may be different, but the meaning is similar.

Going to the developer add-ons, we will immediately see a list of various functions, but we are only interested in the item – “USB Debugging”. (see screenshot above).

For this:

  • activate the function by checking the line;
  • a warning will appear stating that USB debugging is intended for development purposes, and that you can copy data from the computer to the phone, or from the phone to the computer;
  • We confirm our action with the “Ok” key;

Thus, usb debugging is enabled on Android 4.2.2 and now you can use a new useful feature.

Possible errors when connecting your phone to a computer in debugging mode

What to do if the computer does not see the phone in debugging mode on Android 4.2.2?

The occurrence of this problem means one thing - on personal computer or laptop does not have configuration drivers for your phone, so it cannot detect the device and establish contact with it.

(The most common problem occurs in the operating room Windows system 10, since not all phone manufacturers have developed software for the new OS, or for older phone models it is not available at all, since for mobile companies it is no longer interesting and not at all profitable to support older devices. It’s better to let people buy new mobile phones.)

Drivers will have to be downloaded in advance. You can easily find them with a Google search.


Lack of MTP device driver in the computer

In this case, at step 7, the user will need to make a choice at the “Select driver from specified folder on your computer" and click on the "Browse..." button.

A conductor will open, through which we will have to indicate the path to the drivers for your phone. Drivers will have to be downloaded in advance.

If the drivers are already available, indicate the location of the files - click “Ok” and click the “Next” button.

The PC will scan the driver for local disk(in the root directory) and will begin to install them, but if the drivers are not suitable, the system will report an error. It will be indicated that in this storage location, the required configuration files not found for device.

If the drivers are what you need, the system will install them and notify you that the installation is complete.

How can we find out what drivers are required for our smartphone?

If the user does not know which driver he needs for his phone, then he will need to install a simple program, for example “Quadrant Standard Edition”.

This application shows all system information about your device. It can be easily downloaded via Play Market.

For this:

  • installed the application and launch it;
  • we need the “System information” item.

Knowing what processor our Android has, we can easily find the driver for our smartphone and thus enable the debugging mode for Android 4.2.2.

Any search engine can easily find a driver.

In many instructions for obtaining root rights and modifying firmware, you must enable USB debugging. What USB Debugging is and why it is needed and how to enable it can be found in this article.

What is USB Debugging used for?

USB debugging is used to use the service for debugging applications and devices on the Android OS (check how the application and the system as a whole work and what failures have occurred), which is called.

What is OEM Factory Unlock?

Starting with Android 5.0, many manufacturers began to implement an additional security mechanism against unauthorized modification of system partitions. As a result, the “OEM Factory Unlock” function was introduced into the “Developer Menu” section; when activated, you will be able to flash third-party Recovery and custom firmware.

Do not confuse “OEM Factory Unlocking” with Bootloader Unlocking, which is required by many manufacturers - Xiaomi, HTC, Huawei, Google Pixel,Sony.

Android Developer Menu

« USB Debugging" And " Factory Unlock OEM» are all in one hidden section Android settings, entitled " Developer Menu" To see this section you need to complete a simple activation procedure.

How to enable USB debugging?

Absolutely in all Android devices, no matter whether it is a smartphone or a tablet, USB debugging is in Menu -> Settings

Possible location options

Despite the fact that USB debugging is in the settings, the location options in the menu may be different and there may be several options for how to find it! Let's consider 6 possible options.

Option No. 1 for Android 4.2 - Android 7.1:

Menu -> Settings -> About smartphone/About tablet -> Build number and click on it about 7 - 10 times, then return to Settings -> For Developers ->

Option No. 2.1 for Xiaomi (new versions of MIUI)

Menu -> Settings -> About phone -> MIUI version and click on it about 7 - 10 times, then return to Settings -> Advanced -> For Developers -> USB Debugging - check the box.

Option No. 2.2 for Xiaomi (old versions of MIUI)

Menu -> Settings -> General -> About smartphone/About tablet -> Build number and click on it about 7 - 10 times, then return to Settings -> For Developers -> USB Debugging - check the box.

Option No. 3 for Android 8.X and higher:

On Android 8.0 and newer, the settings have been slightly updated and now, to get to the developer menu and enable “USB Debugging” you need to: go to System -> About device (tablet/phone) -> Click 5-7 times on “Build number” and return back to the System -> Developer Menu section.

For Android versions 1.6 - 4.2

Option #4:

Menu -> Settings -> Development ->

Option #5:

Menu -> Settings -> For Developers -> USB Debugging - check the box

Option #6:

Menu -> Settings -> Applications -> Development -> USB Debugging (Android 2.2 - 3.0)

Option No. 7:

Menu -> Settings -> More -> Developer Options -> USB Debugging - check the box

Option No. 8 for Android 4.2 and higher:

Menu -> Settings -> System -> About smartphone/About tablet -> Build number and click on it about 7 - 10 times, then return to Settings -> For Developers -> USB Debugging - check the box

After enabling USB Debugging, authorize the computer! (For Android 4.2 and above)

The first time you connect to a computer and enter some command or getting Root rights, you will be prompted to trust the computer to which Android is currently connected! This request will appear on any new computer or laptop! Check the box and click OK.

USB debugging is enabled.

USB debugging is enabled and your Android device is not detected?

The first thing you need to believe is this Availability installed drivers to your computer or reinstall/update them. Details about installing drivers, as well as links to the latest drivers, can be found in the article - how. Another problem that Android is not detected is that it is in locked state - unlock your smartphone or tablet! Don't use the port USB 3.0, only USB 2.0 .

If you still cannot install USB debugging with your computer, then you should try changing the method of connecting to the PC. When you have already connected your smartphone or tablet to your PC, pull the top information bar “curtain” down -> choose USB connection And activate PTP mode.