• What is USB Debugging mode on Android. How to properly enable USB debugging mode on Android: the most effective ways

    Good afternoon. It often happens that we need to check our device with the Android operating system using a computer. Be it general testing or routine diagnostics to look for any deficiencies. To do this, you need to enable the so-called “USB Debugging” mode. No matter how scary it may sound, it is actually very simple and accessible not only to gadget gurus, but also within the capabilities of the most ordinary beginner. What is Android USB debugging, how to enable this USB debugging via PC on your Android, we can learn from our article.

    Let's say right away that connecting to our personal computer is much preferable than working with a PC emulator.

    Just in case, we are inserting a short video instruction on how to set “USB Debugging”, but below we will talk in more detail about all the methods and rules of this procedure.

    What needs to be done and in what order

    In most cases, the USB debugging mode we need, for all manufacturers, can be found and set through the “Settings” menu. It usually contains the “Development” or “For Developers” submenu. And although we are not any developers, we still boldly find the desired “USB Debugging” there and, without further ado, check the box there.

    You might think that this was the end of all our ordeals, but that was not the case. It is quite possible that your menu does not have such an option. These are the times. This is no longer for me, but for the real developers. Why did they do this? Not clear. Maybe not everyone can rummage through the device and mess things up.

    The easiest way to enable USB debugging

    If it’s not on our menu, then we’ll try to go a different route. Several types of obtaining debugging via USB on different Android OS. If you have Android 2.2 3.0, then let’s first try to enter the same “Menu”, then to Settings, then to “Applications”, then to “Development”. It is quite possible that the “USB Debugging” item will already be there.

    For everyone Android owners 4.2 and above, the following very cunning way was invented. Again we go to “Menu”, then to “Settings”, to “About smartphone/About tablet”. We find here “Build number » and perform some shamanic actions. We click on it 8-10 times and the next time we go to “Settings”, “For Developers” and “USB Debugging” suddenly appear. All that remains is to check the box again.

    Let's assume that we succeeded and this debugging is enabled. The first time you connect to our PC or enter any command, you will be asked to trust the computer in at the moment connected. So we completely trust our computer, then check the box and click “OK”. All. Debugging is enabled. If suddenly the computer does not want to detect our device, then try the following. Check if your smartphone/tablet is suddenly blocked. Unblock it, check the debugging again.

    If it still doesn’t work, try updating/replacing/reinstalling USB drivers on your PC. Note: It is advisable to use only a USB 2.0 port and not a port like USB 3.0. Still, I dare to be sure that everything worked out for you and the USB setup mode has turned on.

    Come visit us more often!

    Mode " USB Debugging" can always be found in the settings menu of the smartphone, regardless of the brand of the device or version of the operating system. However, it is worth noting that the final path along which you can get to this mode may differ. And if you decide enable usb debugging, then you are probably trying or some program requires it, for example, to recover deleted files on Android.

    Option one (relevant for most versions of Android OS).

    First, you need to enter the settings menu. After that, find “Development” in the lower items and check the “USB Debugging” box.

    Option two (relevant for most tablets)

    Here the algorithm of actions is identical to the first option, with the exception of the “Development” item. In Android OS versions below 2.2, this item is called “For Developers”.

    The Android operating system is very tricky. By default, it does not allow you to perform any special actions with it that lead to serious changes. In particular, by connecting the device to a computer via a USB cable, you can only transfer images, music and videos, while at the same time recharging the device a little. The system will not allow you to do anything more. This can be fixed by activating the mode USB debugging. In this material we will tell you how to do this.

    What is debug mode for?

    Actually this mode allows you to download absolutely any files to your smartphone or tablet if connected via USB. As a result, this contributes to the most various changes operating system. Without activating the debugging mode, it is impossible to imagine customizing the installed software. What can I say, without this you won’t even be able to install a program downloaded from a third-party resource...

    In general, USB debugging mode paired with one or another computer utility allows you to do the following:

    • Send absolutely any file from PC to smartphone;
    • Flash the device;
    • Do backup copy applications available on the device;
    • Restore the functionality of the smartphone;
    • Get root rights;
    • Install an application downloaded from a third-party resource;
    • Copy any folder from file system devices.

    Google positions debug mode as a feature useful for developers. But we understand that enabling USB debugging mode on Android also makes sense for the average user. It remains to figure out how to do this.

    Enable USB Debugging

    We will show how to activate the mode using the example of pure Android 5. If you have a different version of the operating system, and also have some proprietary shell installed, then your actions may be slightly different. But not radically - the basic principle will remain the same.

    So, you need to perform the following manipulations:

    Step 1. Go to " Settings».

    Step 2. Scroll almost to the bottom of the list. Here click on the item “ For developers».

    Step 3. In this section you need to activate the switch near the item “ USB Debugging».

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

    Enabling Debug Mode on Samsung Products

    This is how easy it is to turn on debugging mode on most smartphones. But on some devices the developer mode is hidden. For example, this is observed on a tablet Samsung Galaxy Note 10.1 2014 Edition and other South Korean gadgets. Here you need to use another method:

    Step 1. Go to " Settings».

    Step 2. Proceed to the section " About the device" If necessary, visit the tab " General».

    Step 3. Click on the item " Software details" This must be done in the operating room. Android system 6.0. On older versions of the operating system this item may not be available.

    Step 4. Pay attention to the point " Build number" You need to quickly press it with your finger about 7 times. This will activate developer mode, which the system will immediately notify you about.

    Step 5. Now go back to the main menu " Settings" You will find the item that has just appeared “ Developer Options" Click on it.

    In some situations, it becomes necessary to diagnose a smartphone via a PC. For this purpose, the developers have created a special USB debugging mode. Despite the fact that this option is always in the menu system settings, she may have many options for her further location. Let's look at a few basic ways to enable USB debugging mode on Android.

    The entrance to the menu can be either open or hidden. This depends on the brand of your device and the version of the Android operating system and remains at the discretion of the developers. If it is open, then it will be easiest to test the mobile device through a computer. Depending on the model, the input may be located in different tabs system settings menu. We list the main options for its location:

    • The “for developers” tab (“developer menu”, “developer options”), which is located directly in the main settings menu.
    • Subsection of one of the paragraphs: “ special features", "auxiliary settings", etc.

    After you go to the desired directory, the USB debugging item will be the first in the list presented. To enable it, you need to click the checkbox located opposite the item name. Now you can connect your mobile device to your computer and work with it using the ADB utility. We recommend watching a visual video instruction on how to enable USB debugging mode on Android version 5.1.

    Login with hidden menu

    In many smartphone models running the Android 4.2 operating system and higher, the mode is hidden from users. You can detect and enable it in the following way:

    • Go to the system settings menu.
    • Select the “About device” tab.
    • Quickly tap on the “build number” item until the system issues an information notification that you have been assigned developer status.

    After this you can use special menu settings of your Android smartphone. To enable USB debugging mode, you must repeat the steps described in the previous section.

    Through recovery mode (Recovery)

    In some cases, it is not possible to enable this mode on a mobile device. This could be, for example, due to damage to the touchscreen screen or a non-functioning mobile phone in general. In such a situation, a method that involves using recovery mode will help you. It is worth noting that to implement this, a custom software must be installed on the smartphone. Recovery CWM or TWRP. This will allow you to get root rights access to the mobile phone operating system.
    Let's consider the list of necessary actions that need to be performed to be able to debug the phone via USB in this case:

    • From the official website, download and unpack the qtADB-cwm-edition application into the root directory of the computer operating system.
    • There, create a folder called SQlite3_Windows and install the pre-downloaded SQLite relational database into it.
    • Reboot your mobile phone and log in Recovery Mode by simultaneously pressing several keys. How to enter recovery mode specific model can be read on the manufacturer's official website.
    • Connect your mobile phone to your computer using USB cable.
    • Run the executive file QtADB.exe on your computer, located in the folder of the manager you downloaded earlier.
    • Click “advanced” and make sure that the section mobile device"Data" is displayed correctly.
    • Select the “files” tab in the left panel, and then open the previously created folder with the SQLite relational database.
    • Open the directory data/com.android.providers.settings/databases/ in the right panel of the program.
    • Move the file called settings.db from the right panel folder to the left one.
    • Run command Windows string(using the Win+R key combination) and enter: “cd C:\Sqlite3_Windows”, “sqlite3 settings.db”, “update secure set value=1 where name=’adb_enabled”.
    • We copy back the file called settings.db, agreeing to rewrite and reboot the mobile device.

    If none of the methods work

    Let's consider what needs to be done if ADB does not see the mobile device. First of all, you need to check the software component, which may involve using unofficial firmware or not suitable adb drivers. The OS version can always be downloaded from the manufacturer’s website, and the required software from Google website. Another reason why debugging from a computer does not work is using damaged USB cable or connector. You can check this by connecting your mobile phone using a different wire and into a different connector.

    USB debugging is a mode of an Android device in which it provides enhanced access to its OS for computer programs. This feature is actively used by application developers.

    But for ordinary users Debug mode can also be useful. Thanks to it, utilities like PhoneRescue accidentally deleted files. And apps like Helium create mobile device data using a PC. These are just typical examples. There are many different situations in which USB debugging may come in handy.

    How to enable USB debugging on Android

    It will only take you a few seconds. First, open your device settings. Then go to the “About Phone” section and click on the “Build Number” item until the system says that you have become a developer.

    Then return to the main settings menu and open the “For Developers” section that has just appeared in it. On the next screen, enable Developer Tools and USB Debugging.

    Is it safe to leave USB debugging enabled?

    Debugging mode opens deep access to the system, and these are new loopholes for . If a device is lost, the finder can connect it to a computer and try to extract the owner's data. Therefore, it is better to disable debugging mode after use. This can also be done in the “For Developers” section.

    In this article we will figure out how to connect Android to a computer/laptop via USB as a flash drive and be able to transfer information without using a classic flash drive.

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

    Before Android 4.4 KitKat, it was possible to connect via USB as a flash drive. The PC saw the device as removable disk and provided the same rights: the user could also perform other actions.

    Then, in new versions of Android, the USB mode was replaced by MTP, in which only the data transfer function remained, and the same formatting did not work.

    Setting up a USB connection

    To manage the connection to a computer via USB, you need. To do this, add to the settings Android section“For developers” (if it is not there):

    1. Open settings.
    2. Go to the "About phone" or "About device" section.
    3. "Build number" or "MIUI version".
    4. Press (click) on this item until you see a message that you have become a developer (usually 7-10 clicks are enough).
    Increase

    After the developer section appears in the settings, you can enable USB debugging. The item is called that way, so you just need to move the slider to the “On” position and confirm the resolution.


    Increase

    Now you can connect the device to your computer via USB and select the operating mode. IN latest versions Android most used are:

    • MTP - transfer any files from computer to phone and vice versa.
    • PTP - transfer of photos, as well as transfer of files not supported in MTP mode.
    • Charging only.

    Connecting in USB storage mode

    If you can't get used to using the media player, go back to using USB storage mode. For this you will need:

    This method may cause damage system files. In this case, you will have to reflash Android.

    To connect Android to your computer as a drive:

    1. Launch USB MASS STORAGE Enabler.
    2. Grant superuser rights and agree to change how Selinux works.
    3. If the device is supported, the main application menu will open.
    4. Click "Enable USB MASS STORAGE".

    Increase

    Now, when connected to a PC, the phone or tablet will appear as a drive. To connect in MTP or PTP mode, just restart the device. Once you're done with mass storage mode, go back into the app and disable USB MASS STORAGE.