• What is usb android debugging. Enable USB Debugging on an Android Device with a Broken Screen

    USB debugging mode is a special feature of Android devices, mainly needed by 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 versions firmware 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 RAM, 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 the company's smartphones Meizu menu developers is always open and is located in the “ Accessibility", 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”, “Advanced Settings”.

    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 mobile device detected by computer. To do 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 is truly a physical defect, 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 is 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.

    It is better for software developers to use not separate ADB drivers, but a system 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 - 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 your smartphone or tablet to your computer, download to Android third party applications. The ability to use USB debugging mode is also 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. And in addition, USB debugging will help you gain root access to the device, which will significantly expand the capabilities operating system.

    I doubt that most people know what USB debugging is on Android 7.0 xiaomi phone, HTC, Motorola, Samsung, Sony Xperia, Lenovo LG, Google Nexus and so on.

    Usually they only find out about it when they find a solution to their problem on the network, where one of the conditions is to enable usb debugging mode, or the system will display something like “device detected, enable usb debugging.”

    No one is usually interested in what this means – it has to be done, it has to be done. Turned it on and forgot it.

    However, this function is already for developers, although without it you will not be able to see or transfer the contents of your phone to a computer or vice versa using a cable, flash the firmware or gain superuser rights.

    Ordinary smartphone owners go no further than these functions. Although the term sounds very technical, it is actually very simple to do. This feature is especially relevant for Samsung users.

    Of course, you won’t be programming anything, but you’ll need to quickly reflash and transfer photos - you can find out how to allow your phone to do USB debugging by reading the instructions below.

    How to enable USB debugging on Android 7.0

    In the title of the section I wrote Android 7.0, but this applies to all Android 7, since there is also 7.1.

    There are no special differences in this version and almost everything is the same as the others, with the exception of the names of some parameters.

    In the settings, select “Phone information” and go to “Software information”, then click until you drop on the “Build number” line.

    Of course, I was joking until I dropped, but the system will tell you when to stop. Next, go back and select the new “Developer Options” section that appears.


    Once open, scroll down the page until you see “USB Debugging”. Did you screw it up? Now move the slider and confirm.

    Congratulations. You have done everything necessary. Now you can solve your problems or fix problems.


    Disabling USB debugging mode on Android 7 (7.0, 7.1) is as simple as moving the slider to its previous position (to the left).

    It is more difficult to remove a developer function (section). To do this, you will need to reset the settings to factory defaults. Good luck.

    On any smartphone or tablet computer running on the Android platform, regardless of its manufacturer and pre-installed OS version, it is possible to enable special function, which is called “Debug Mode”. However, the process for activating this functionality varies. The fact is that it all depends on the version of the installed system.

    In this article we will take a closer look at the question of how to enable USB debugging on Android, as on earlier versions OS, and on the latest ones. We will also look at the question of what tasks this mode is intended to solve.

    Let's first figure out for what purposes the average user may need to activate this mode.

    As you might guess, it is necessary for debugging applications and the devices themselves. Speaking more in simple language, is intended for checking the functionality of programs, and therefore is very popular, first of all, among software developers. However, for mere mortals it is also valuable, since it allows you to interact with Android via a PC and use programs (primarily ADB) that can remotely carry out various manipulations with the device.

    Activation procedure on different versions

    Android version 2.0 - 3.0

    If you have an old Android device with versions 2.0 and 3.0 installed on board, then to activate debugging you need to take a few simple steps:

    Android version 4.0, 5.0 and 6.0

    On Android versions four, five and six, you have to tinker a little, since the debugging mode in them is carefully hidden from the user’s eyes.

    How to enable the mode USB debugging on the latest versions of Android? To do this, you need to take the following steps:

    What should I do when the device is not detected when debugging is enabled?

    As practice shows, quite often users find themselves in situations where, after turning on the debugging mode, the smartphone or tablet computer for some reason. What should the user do in this case?

    • First of all, you need to check whether the latest version of drivers for detecting a device via USB is installed on your computer. Try updating the drivers by downloading them latest version from the device manufacturer's website.
    • Check if your device is locked. When connecting to a computer, it is recommended to remove the lock.
    • Check the ports where the cord connects. Yes, for more correct operation better use USB ports 2.0, there will be better compatibility with them.

    Debugging over Wi-Fi

    In a situation where it is not possible to use Android USB debugging mode, you can try connecting via Wi-Fi.

    Important! Before you begin, make sure that you have ROOT rights on your device. This instruction relevant only for the operating room Windows systems 7, which is on given time the most common on PC.

    1. First you need to find out the IP address and port of your device. For this purpose, you can use the program. It is available in the store Google applications Play.
    2. Download the program and run it.
    3. Information about the current IP address should appear at the bottom.
    4. On your PC, go to “Start” - “All Programs” - “Accessories”. In the list of applications, find and select Command Prompt.
    5. In the console that opens, enter the following command: adb connect 192.168.0.1:8555. That's all. Android connection is complete. Now all manipulations with ADB can be performed through wireless technology Wi-Fi.

    Disabling debugging

    To deactivate debugging, use the following instructions:

    Conclusion

    Thanks to our material, you now know how to enable USB debugging on Android, as well as why and in what cases the average owner of a smartphone or tablet may need this function.

    Let us remind you that USB debugging is a useful system tool, which provides the user with the ability to reinstall firmware, download and install third-party software, synchronize your mobile device with your PC and so on. Advanced users will be able to obtain “Superuser” rights and even in some cases restore the system if it has stopped working normally.

    In many instructions for obtaining root rights and modifying firmware, it is necessary to enable USB debugging and OEM Factory Unlocking. What is USB Debugging? You can find out why it is needed and how to enable it from this article!

    What is USB Debugging used for?

    USB debugging is used to use the service for debugging applications and changing device settings on Android OS (check how the application and the system as a whole work and what failures have occurred) using a utility called ADB.

    What is OEM Factory Unlock?

    Starting with Android 5.0, many manufacturers began to implement an additional security mechanism against unauthorized changes system partitions. As a result, the function “ Factory Unlock OEM", when activated, you will be able to flash third-party Recovery and custom firmware.

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

    Android Developer Menu

    "USB Debugging" and "OEM Factory Unlock" are all in one hidden section Android settings, called "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! Consider 8 possible options from new Android versions to older ones.

    Option No. 1 for Android 4.2 - Android 7.1:

    Menu -> Settings -> About smartphone/About tablet -> Settings -> For Developers -> USB Debugging- check the box.

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

    Menu -> Settings -> About phone->MIUI versionand 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 go back to the System section -> Developer menu.

    For Android versions 1.6 - 4.2

    Option #4:

    Menu -> Settings -> Development -> USB Debugging - check the box

    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 #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

    [collapse]

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

    When connecting to a computer for the first time and enter some command or getting Root right, you will have a request for trust the computer to which Android is currently connected! This request will appear on any new computer or laptop! Check the box and press OK button.USB debugging is enabled.

    USB debugging enabled and Android device
    not determined?

    First what you will need to believe is this presence of installed USB drivers to your computer or reinstall/update them. Another problem, because Android is not detected - 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.

    If you want to connect via WI-FI

    After you have enabled this option on Android, you can connect your smartphone to your PC and enter the necessary adb commands or get Root rights!

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

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

    Sometimes it becomes necessary to connect a smartphone with an Android system to a computer, conduct diagnostics or general testing. To do this, you need to enable USB debugging mode. This mode is intended exclusively for developers and runs without a connected USB cable. Let us immediately note that the procedure does not require a deep understanding of the technical principles of the gadgets’ operation and can be performed even by beginners. Before we begin, I would like to note that USB debugging is much preferable to testing the device on a computer emulator.

    How to enable USB debugging

    To enable debugging for this:

    1. Enter the menu of your smartphone;
    2. Enter the settings item;
    3. Go to “developer options”;
    4. Check the box next to “USB Debugging”.

    Enable Debugging on Android 4.2

    Often users encounter the problem that they cannot enable debugging on Android platform 4.2 because there is no developer mode in the settings. It is unknown why, the manufacturer decided to make it deliberately hidden (probably so that regular user There was no desire to once again tinker with the settings and do unnecessary dirty tricks).

    But this is not a problem for us and we can easily bypass this barrier:

    1. Go to the section about the device;
    2. Click 10 times on the build number (after this you will see a message that you have become a developer).

    This method works on almost all stock (store) firmware. This is also possible on smartphones Samsung Galaxy S4