USB debugging mode does not work. How to enable USB debugging on Android - enable developer mode on any device. What is USB debugging - why is it needed?

USB debugging mode - special function Android devices, needed mainly for developers. With its help, you can check the functionality of the application and test it in different situations. But debug mode is also useful for users. Let's consider why it can be useful, how to turn it on and off on Android devices.

Why do you need USB debugging mode on Android OS?

Debug mode allows users to:

  • Test the application being developed.
  • Get root access to your smartphone or tablet.
  • Copy and move files from your Android device to your computer.
  • Install a third party downloaded onto your computer (not from Play Market) application for Android.
  • Install different firmware versions for the device.
  • Restore a broken device.
  • Create backup copy files and applications.

In addition, in debug mode you can access system processes and also analyze changes in behavior random access memory, processor and other components.

How to enable USB debugging mode on your device

The “Enable USB Debugging” option is located in the “Developer Menu” (or “Developer Options”), which is hidden from users in Android versions above 4.2. But, again, some manufacturers decide to open access to the menu, others decide to hide it. For example, on Meizu smartphones the developer menu is always open and is located in the “Special Features” section, and on Samsung devices access to the menu is closed. It all depends not only on the company, but also on specific model

devices.

So, if access to the developer menu is blocked on your device, do the following: in the device settings, open the “About device” tab and click on the “Build number” item until a notification appears that you have been assigned developer status and you can use the special menu. Now go to this menu. Depending on the model, the menu entry may be located in different sections of the settings menu. Either in the device settings there may immediately be a section “For Developers” (“Developer Options”, “Developer Menu”), or it may be a subsection of the items “Accessibility”, “Other”, “More”, “».

When you enter the developer menu, check the box next to “Enable USB debugging” (or “USB debugging mode”). Usually this item comes first.

Where is the mode located in different versions of Android (photo gallery)

The developer menu is located in the “More” section. In Android 2.2–3.0, the “USB Debugging” item is located in the “Applications” section. In Android 4.2 and higher, the developer menu is moved to the “Settings” section

Video instruction: how to enable USB debugging mode on Android

How to enable USB debugging mode if this cannot be done from the device

There are ways to enable debugging mode even if this cannot be done on the device itself due to, for example, a broken screen, a broken touchscreen, or problems with the device as a whole.

The main condition: your device must already have a third-party Recovery installed - CWM or TWRP. This is necessary to be able to gain full root access to the operating system.


After the reboot, you can work with your smartphone or tablet using QtADB, MyPhoneExplorer, ADB and other similar programs. That is, using USB debugging mode.

What to do if nothing works

To work with USB debugging, special ADB drivers are used (Android Debug Bridge, literally “bridge for Android debugging”), which can be downloaded from the Google website, Official page located at: https://developer.android.com/studio/index.html. Let's figure out what to do if ADB does not detect the device, why it is impossible to use USB debugging mode.

Make sure that mobile device detected by computer. For this:

  1. Check the USB cable for damage. Pay special attention to strong bends and sections of the cable near the plugs, where connecting wires often break. Try using a different cable to connect. If the problem really is due to physical defects, replace the cable.
  2. Try plugging the plug into a different USB port on your computer. It is advisable to use the ports on the back side system unit, since the rear ports are located directly on motherboard. The front USB ports are not always connected correctly, which is what causes the problem.
  3. Try connecting your Android device to another computer. Sometimes it happens that a particular PC incorrectly recognizes a smartphone or tablet and does not read the necessary data from it. If the device is recognized correctly on another computer, take your PC for repair and explain the problem, since the causes of problems may be different.
  4. Try disconnecting all USB devices from your computer. Some of them may prevent your smartphone or tablet from connecting normally to your PC.

Make sure you use official firmware device manufacturer. If you have installed third-party firmware on your smartphone or tablet (such as CyanogenMod or similar), then USB debugging may not work correctly.

Make sure you have installed the correct ADB drivers. There are different versions of drivers for different devices. All of them are distributed according to smartphone and tablet models on the official website. There are also universal ADB drivers, but it is better to use them only if there is no separate driver for your device, since universal drivers There may be connection issues that can only be resolved by contacting Google Support.

For developers software It’s better to use the system rather than separate ADB drivers Android Studio, which can also be downloaded from the official website: developer.android.com. In Android Studio, driver configuration occurs automatically; in addition, there is Android emulator for a computer, so USB debugging may not be necessary.

How to turn off USB debugging

To disable USB debugging mode on Android devices, open the Developer Menu and uncheck the Use USB Debugging option.

USB debugging mode is an extremely useful tool not only for software developers, but also for ordinary users operating room Android systems. With its help, you can install and reinstall firmware on your mobile devices, move files from a smartphone or tablet to a computer, download to Android third party applications. The ability to use USB debugging mode will also be useful in cases where the device has stopped working correctly, as it allows you to delve into system processes, which will help you find problems and malfunctions. In addition, USB debugging will help you gain root access to the device, which will significantly expand the capabilities of the operating system.

Android is easy to use, but it contains a lot hidden functions for experienced users. Many of them are hidden in the Developer Options menu. As the name suggests, these features are vital for developers developing apps on Android, but they also have benefits for the average user.

One of the most famous Android developer features is USB Debugging. You may have seen this in Settings and wondered if you should enable it. Let's see what this mode is for and whether you need it.

What is USB Debugging?

In short, USB debugging allows an Android device to communicate with a PC running Android SDK to use advanced operations.

When you develop Android apps, you need to install the Android Software Development Kit (SDK) on your PC. The SDK includes a set of tools that are vital for any developer, such as a debugger for troubleshooting code problems. Libraries are another key component of the SDK.

This allows developers to do general functions without the need to re-encode them. For example, Android has a built-in printing feature, so when writing an application you don't have to come up with new way print. You simply call the built-in method included in the library when you need to do it.

You can do a lot with Android from the device itself. But developers need more options, especially when collecting detailed error logs. It would be a huge pain to find and move these files manually from the device, so they use the tools built into Android Studio and the Android SDK to make it painless.

Enabling USB debugging allows your phone to communicate with your PC so you can take advantage of these tools.

What is USB debugging used for?

Without USB debugging, you can't send any advanced commands to your phone using a USB cable. The most common reason for enabling USB debugging is because developers are running applications on their devices for testing.

Whenever you create new version of your app in Android Studio and want to test it, you can copy it to your connected device in just a few clicks. After assembly, it will launch and immediately appear on your device. It's faster than downloading APK file and installing it manually.

Non-developers usually enable USB debugging to get root rights(super user access or root access) on their phones. Root access varies by device, but most methods involve the program you run from your desktop. Once you enable USB debugging and connect your phone, you can use the root tool to send root instructions to your mobile device without even touching it. Installing a custom ROM involves a similar process.

You will also need to enable USB debugging to use Android commands Debug Bridge (ADB). They allow you to install APKs located on your PC onto your phone, move files back and forth, and view device logs for debugging errors. ADB commands and fast loading can also be saved to your device even if you can't turn it on normally.

In older versions of Android, USB debugging was used for some other functions. The most notable of these was taking a screenshot via USB. This was before Android had a standard command for taking a screenshot. Now you just need to hold down a combination of buttons on your device (usually: Power and Volume Down) to capture a screenshot - this eliminated this method.

How to enable USB debugging?

On modern devices On Android, you'll find USB debugging in the Developer Options menu, which is hidden by default. To unlock it, open Settings and scroll down to About Phone. Scroll down the page and you will see an entry with the build number. Tap it a few times and you'll see a notification telling you that you're now a developer.

Go back to Settings and scroll down to the bottom of About Phone. You will see new entry, developer options. Tap it and look for USB Debugging under the Debugging heading. Tap the slider to enable it and acknowledge Android's warning that you understand what the feature does.

That's it - now you just need to connect your phone to your PC using a USB cable. When you do this, you will see a prompt on your phone asking if you want to enable USB debugging for that particular computer. This is a security feature designed to keep your device safe from attacks.

Is USB Debugging Safe?

In theory, with USB debugging enabled, connecting your phone to a public charging port could cause problems. If someone has access to the port, they can steal information from your device or install malicious applications. This is why Android displays a confirmation prompt, so you shouldn't connect to a computer you don't trust. However, an unsuspecting user may accept the invitation without understanding what it is.

Additionally, enabling USB debugging will allow you to manage your device if you lose it. Anyone who finds it can connect your device to their computer and issue commands to it through ADB without knowing your PIN code.

If you don't use ADB regularly and don't connect your Android device to your computer all the time, you shouldn't leave USB debugging enabled all the time. It's okay to turn it on for a few days while you're working on something, but there's no need to turn it on when you're not using it regularly.

How to use USB debugging?

We took a look at what USB debugging does and what you can use it for. So this feature allows you to access advanced Android functions when connected to a PC. USB debugging is vital for developers, but still contains some useful tricks for advanced users. While you should be prepared to turn it on when necessary, I recommend turning it off when you're not using it to increase the security of your device.

Do you have USB debugging enabled or disabled on your phone? What do you use it for? Tell us about it in the comments!

The mode discussed below (in the original USB Debugging) is enough useful feature, which is intended for developers mobile applications. It allows you to test programs in various situations. However, it will also be quite useful for users. For example, as a solution to an error connecting to personal computer.

However, before you enable USB debugging mode on Meizu or any other device model running Android, it’s worth understanding what exactly this function allows.

Possibilities

As noted earlier, this mode is most useful for both program developers and ordinary users. With it you can:

  1. Perform testing of an application that is under development.
  2. If you enable USB debugging mode with Kingo Root ( special application), it will help you get root access for your smartphone or tablet without unnecessary steps and problems.
  3. With it, you can copy or move files from your device to your PC.
  4. Install an application that was downloaded to your PC not from a specialized Play Market store.
  5. As noted earlier, using this function, you can successfully restore a broken device.
  6. The presented mode makes it possible to install different versions firmware for a smartphone or tablet.
  7. Thanks to it, the user can make additional copies of applications, documents and various files.
  8. Using such a function, you can gain access to various processes occurring in the system, as well as be able to analyze changes in the behavior of the main components of the device.

Location

Before enabling USB debugging mode, it is worth keeping in mind that the location of the function will differ on different firmware versions. The following is a basic list of places where you need to look for it:

  • In firmware versions up to 3.0, debugging can be found in a subsection named “Applications”, which can be accessed through the settings section.

  • And starting from operating system 4.2, this function can be found in the menu for developers, which was included in the general list of settings that can be changed.

How to run the function?

It is worth keeping in mind that quite often device manufacturers prefer to hide this feature from the user. This is justified by the fact that an unprepared user may try to install mobile phone firmware that is not supported by it. Or he may decide to reinstall it himself, during which an error may occur that leads to the breakdown of the device. As an example, devices from Samsung.

What to do if access is denied?

  1. Open the settings window of your smartphone or tablet.
  2. Next, go to the tab called “About device”.
  3. There, run the item called "Build number". Continue clicking on this line until a warning pops up saying that the user has been assigned developer status. Now you can start using the special menu.
  4. Proceed to it by selecting a section, depending on the current firmware version. This can be either Developer Options or Accessibility. Options such as “Other”, “More” and “Advanced settings” are also available.
  5. Once in the required directory, mark the line with the required function. It will be listed first.

If you can't access your device

This method will be useful for those who have any problems accessing the device menu. For example, a broken screen or general problems with the phone. But before you enable USB debugging mode, you should install third-party Recovery-CWM. As an option, the previously mentioned Kingo Root. Now directly to the instructions themselves:

  • The first thing you need to do is download QtADB-cwm-edition to your computer and install it. It must be placed in the root directory of the disk with operating system.
  • After that, download the third version of SQLite. In the same root directory, make a folder SQlite3_Windows and install here.
  • After these manipulations, run on the device Recovery mode.
  • Connect it to your personal computer.
  • Now run the QtADB.exe file. It may happen that the system requires you to enter the adb.ext directory. Complete this action and confirm the changes.
  • Now activate the key called Advanced and check that the Data partition is mounted correctly.
  • The next step is instructions on how to enable USB debugging mode. In the program window, click on the "Files" button. On the left side, launch SQLite3_Windows, and on the right, open the folder with the /data/data/com.android.providers.settings/databases/ directory.
  • Next, move the settings.db file. It needs to be transferred from database to SQLite3_Windows.
  • Using the combination Win + R, run command line.
  • Enter the following here:
  1. cd C:\Sqlite3_Windows.
  2. sqlite3 settings.db.
  3. update secure set value=1 where name=’adb_enabled’.
  4. .quit.
  • Now open QtADB and move settings.db back. Perform an overwrite.
  • The last step in the instructions on how to enable USB debugging mode is to reboot your smartphone or tablet.

Detection check

If there are no results, you should run a computer detection test. Although it’s worth checking this even before you start following the instructions on how to enable USB debugging mode:

  1. Make sure the cable is intact. Walk along its entire length. Pay attention to creases and kinks. Test it on another device or use an additional cord.
  2. Reconnect the device to an additional USB port on your computer. Most often, they are divided into those located in the case (front) and those installed on the motherboard (rear). It is recommended to use the latter, as they last longer and are of higher quality.
  3. Connect your device to another computer. If the connection did not occur and the cord was not damaged, then most likely the connector of your phone or tablet is broken. Otherwise, you should take your computer to be repaired.
  4. Disconnect others connected via USB devices. Perhaps the ports simply do not have enough power. Check if your firmware is licensed. You must download only from trusted sources. Otherwise, you may completely damage the system of your phone or tablet. This will also lead to incorrect operation debugging
  5. Make sure you have the necessary ADB drivers. They must strictly correspond to the specified phone model. You can find them on the licensed website of the device manufacturer.

You accidentally dropped your smartphone or tablet and its Android display broke. The cost of replacing it will be exorbitant, but what if you urgently need to get all the data from it? Then let's move on to reading this article!

Very often on the Internet you can come across the following question:

“I broke the display and now how can I get all the data from Android? Help!!!"

Viber

Have you used Viber on your smartphone? Great, this messenger will help you restore all your phone book. To do this you need to install Viber program on your computer, if it has already been installed, then great, you don’t need to do anything. How to install Viber on a PC is written in detail in.

If Android screen is completely broken and there is no image, then you will have to do this:

In the “Contacts” tab you will see all your contacts that you had on Android.

Connect a USB keyboard and mouse to Android via an OTG adapter

Android screen shows image but sensor doesn't work? Then the following solution will help you, with the help of which you can control Android to access your data and try to extract them all.

Almost all modern Android smartphones Supports connecting an external USB keyboard and mouse. This can be done through a special adapter from USB to MicroUSB or from USB to USB Type C.

Once connected, press the power button to turn on the screen and you can control Android using an external keyboard and mouse.

Using built-in Recovery

Many Android devices have a built-in Recovery menu that can be used to create a backup copy of the internal Android memory to the SD card, after which you can extract all the necessary data.

MTP connection and screenshot

If your Android is recognized by your computer as a flash drive, you can copy files to it or vice versa to get the necessary data, here's what you can do. We connect the device to the computer and do it on the PC, go to Android files, go to Pictures/Sceenshot or DCIM/Screenshot and see what’s on your screen. If the screen responds, then click where we need it, if not, then use external keyboard or with the mouse, using the method indicated above.

Controlling Android with Enabled USB Debugging

Below are several ways to see what is currently displayed on your Android on your computer screen.

How to enable Debugging if it is disabled

To start this function should be enabled - but as a rule it is disabled by default, you can try to enable it using the method indicated above “MTP connection and screenshot”, and then do as indicated in the video:

Now you can move on to choosing programs to manage Android.

Android management software

  • - control using adb and Chrome
  • — control using ADB and java programs
  • - management using ADB in Linux

Watch the video example!


(if you have Root)

  1. We write adb commands shell
    su


    cp contacts.db/sdcard
  2. http://gsmrecovery.ru/db2vc/

Copying data using ADB
(if you have Root)

If there Root rights and there is USB debugging, then you can try to recover data as follows:

  1. Launch the Windows command line
  2. We write adb shell commands
    su
    cd /data/data/com.android.providers.contacts/databases/
    and look for the file contacts.db or contacts2.db
    Copy using the command to the phone memory this file
    cp contacts.db/sdcard
  3. We connect the phone as a flash drive and copy it to the computer or copy it using adb - adb pull /sdcard/contacts.db
  4. Open this file through the service http://gsmrecovery.ru/db2vc/

Using scripts using ADB

If your Android is “USB debugging”, then Android can be unlocked using scripts using the shell input tap and shell input swipe commands.

Screen casting to PC or Smart TV

Starting with version Android 5, it became possible to broadcast an image to a computer from or to .

You just need to get to this function, you can try this using “MTP connection and screenshot” + using the mouse and keyboards as indicated above, or using ADB.

Connecting to a memory chip (Service Center)

If Android device in very poor condition and it is not possible to revive it, but it is necessary to extract the data, then you need to find service center which can connect to the memory chip and retrieve all the data.

Combined data recovery method

Are you looking for more working options on how to recover data? Try to come up with your own new way!

Almost any of the proposed methods can be combined with another, which greatly increases the chances of data recovery.

Still have questions? Write them in the comments, tell us what you did or vice versa!

That's all! Read more articles and instructions in the section. Stay with the site, it will be even more interesting!

Where in Xiaomi Redmi 3s is USB debugging and what is it?

Answer

USB debugging mode is usually required for getting root access (superuser rights) or modification and modification of firmware, in other words, making changes to the OS at a deeper level. This mode was originally created for developers; it allows you to:

  • Optimize applications and the operating system itself
  • Check how the created program functions with the OS
  • Detect operational failures
  • Test hardware components
  • Update software
  • Create a backup
  • Access file system smartphone from computer
  • Restore your phone
  • Receive detailed process statistics

The debugging service itself is called ADB (Android Debug Bridge). You can enable debugging mode on all Xiaomi devices through the phone/tablet settings. Depending on the version of your system, the location of the menu item you need may vary slightly.

  1. Go to the following path: Settings-General-About smartphone
  2. Find the line with the build number ( miui version), then press it about 7 – 10 times
  3. There should be a notification about enabling the menu for developers
  4. We return to the settings, go to “Advanced” and find the item “For Developers”
  5. In this menu we find the “USB Debugging” option and check the box next to it, that’s all.

It is worth mentioning that after connecting to the computer for the first time in debugging mode, you will need to confirm the connection on your phone.

If the smartphone is not detected, there are usually three reasons:

  • The device is locked - you just need to unlock the smartphone
  • Unsuitable usb port- use only ports located at the back and version 2.0
  • Drivers are missing - download MI PC Suite or find drivers separately