The steps to enable USB debugging depend on the version of Android running on the target device, as indicated in the following table:
Android Device
Instructions
Android 4.0 and newer (Jelly Bean)
Enable the USB Debugging option under Settings > Developer options.
For Android 4.2 and newer, Developer options is hidden by default; use the following steps:
On the device, go to Settings > About .
Tap the Build number seven times to make Settings > Developer options available.
Then enable the USB Debugging option. Tip: You might also want to enable the Stay awake option, to prevent your Android device from sleeping while plugged into the USB port.
Kindle Fire devices
Select Settings > Security and set Enable ADB to On. For more information, see the Amazon documentation.
If you are running Android 4.2.2 or later, you may see the following dialog when you connect your device to your PC running RAD Studio:
Click OK to allow USB debugging on your PC. If you accidentally click Cancel, disconnect your device from your PC and connect it back to make the dialog show up again on your device.
Troubleshooting
If your Android device is not correctly detected by RAD Studio or the system Device Manager, follow the steps above to verify that USB debugging is enabled.
For general information about development setup for Android devices, see the Android documentation.
Источник
How to Enable USB Debugging Mode on Android
The ways to enable USB Debugging mode, which is accounted for the key step in Android rooting process, vary from one Android version to another. USB Debugging is required by adb, which is used for rooting, backing up, installing a custom ROM, tacking screenshots from computer and more.
First, you need to enable «Developer Options Menu».
Tap the Build number field seven times to enable Developer Options. Tap a few times and you’ll see a countdown that reads «You are now 3 steps away from being a developer.»
When you are done, you’ll see the message «You are now a developer!».
Tap the Back button and you’ll see the Developer options menu under System on your Settings screen.
Now, you can enable USB Debugging mode.
Settings > About Phone > Build number > Tap it 7 times to become developer;
Settings > Developer Options > USB Debugging.
Warning USB Debugging should only be enabled when you need it. Leaving it enabled all the time is kind of a security risk for that this mode grants you high-level access to your device. Say if you connect your Android phone to a USB charging port in a public location, the port could use the USB access to your phone to access data on your phone or install malware. This could happen when and only when USB debugging mode is enabled.
To disable USB Debugging and other developer options when you don’t need them, slide the switch at the top of the screen to OFF.
Источник
Как включить отладку по USB на Android
Включенная отладка по USB на Android устройстве может потребоваться для самых разных целей: прежде всего, для выполнения команд в adb shell (прошивка, кастомный рекавери, запись экрана), но не только: например, включенная функция может пригодиться и для восстановления данных на Android.
В этой пошаговой инструкции подробно о том, как включить отладку по USB на Android 5-7 (в общем-то, то же самое будет и на версиях 4.0-4.4), в видео показано включение отладки на Android 9 Pie и на смартфонах Samsung Galaxy.
Скриншоты и пункты меню в руководстве соответствуют почти чистой ОС Android 6 на телефоне Moto (то же самое будет на Nexus и Pixel), но принципиальной разницы в действиях на других устройствах, таких как Samsung, LG, Lenovo, Meizu, Xiaomi или Huawei не будет, все действия практически те же самые, также в статье присутствуют текстовые пути для настроек на других версиях Android и марках телефонов.
Включение отладки по USB на Android телефоне или планшете
Для того, чтобы появилась возможность включить отладку по USB, сначала необходимо включить режим разработчика Android, сделать это можно следующим образом.
Зайдите в Настройки и нажмите пункт «О телефоне» или «О планшете», на Samsung — «Сведения о телефоне» — «Сведения о ПО». На чистом Android 9.0 зайдите в пункт «Система» — «О телефоне».
Найдите пункт «Номер сборки» (на телефонах Xiaomi и некоторых других — пункт «Версия MIUI») и несколько раз нажимайте по нему, пока не увидите сообщение о том, что вы стали разработчиком.
Теперь в меню «Настройки» вашего телефона появится новый пункт «Для разработчиков» и можно переходить к следующему этапу (может быть полезно: Как включить и отключить режим разработчика на Android).
Процесс включения отладки по USB также состоит из нескольких очень простых шагов:
Зайдите в «Настройки» — «Для разработчиков». На Android 9, например, на Nokia — в Настройки — Система — Дополнительно — Для разработчиков. На некоторых китайских телефонах, например, на Xiaomi — в Настройки — Дополнительно — Для разработчиков или Настройки — Расширенные настройки — Для разработчиков. Если вверху страницы есть переключатель, который установлен в положение «Выкл», переключите его в «Вкл».
В разделе «Отладка» включите пункт «Отладка по USB», чтобы включить режим отладки по USB.
Подтвердите включение отладки в окне «Разрешить отладку по USB», внимательно прочитав предупреждение.
На этом всё готово — отладка по USB на вашем Android телефоне включена и ее можно использовать с нужными вам целями.
Видео инструкция
В дальнейшем, вы можете отключить отладку в том же разделе меню, а при необходимости — отключить и убрать из меню Настроек пункт «Для разработчиков» (ссылка на инструкцию с необходимыми действиями была приведена выше).
А вдруг и это будет интересно:
17.07.2021 в 22:27
Здравствуйте! С помощью «Для разработчиков» и «Отладки USB» я удалял проблему связи, через кабель компьютер видел и изображения, и видео, и я оперировал ими. И это прекрасно! Но есть пару но. 1. На всё время данной связи связи с интернетом не было (пока я работал с файлами через кабель, файлы, направляемые ко мне как и всегда через вай-фай, отсутствовали. И как только восстановил через Google связь, файлы гурьбой прилетели). 2. Второе но — после восстановления интернета связь через кабель с компьютером опять отсутствует. Как и ранее. Есть ли вариант разовой настройки на связи одновременно и с интернетом, и компьютером по USB навсегда, кто знает?
28.09.2021 в 17:24
13.10.2021 в 18:30
Спасибо, никак не мог разобраться с просмотром файлов с телефона Redmi 4 на ПК, очень помогли.
Источник
Knowledge about USB Debugging Android
What is USB debugging? How do I enable USB debugging? Just follow the manual instructions in our guide, and you’ll be a master in no time.
(Recommended: Mirror Android phone after USB debugging? Tenorshare Phone Mirror can easily display Android screen on PC in real-time.)
Free Download For Windows 11/10/8.1/8/7
Part1
What is USB Debugging Android?
Part2
How to Enable USB Debugging?
Part3
How to Turn off USB Debugging?
What is USB Debugging?
In a word, USB debugging is a way for an Android device to communicate with the Android SDK (Software Developer Kit) using USB connectivity. It permits an Android device to communicate with computers directly, thus the Android device can receive terminal commands, files, etc. from the computer, and the computer can pull crucial information like log files of the Android device.
Why I need to enable USB Debugging Mode?
USB debugging mode grants you high-level access to your device. It is important when you need system-level clearance, such as coding a new app, transferring data between an Android device and the computer, mirroring Android to PC, rooting your device, flashing firmware with ADB commands, and reading log data of the Android device.
How to Enable USB Debugging on Android?
The steps to enable USB debugging depend on the version of Android and vary from the Android device brand to brand. If you are not sure about how to enable USB debugging on Samsung, Huawei, Xiaomi, HTC, LG, etc., follow the quick guide given below.
How to Enable USB Debugging on Samsung Devices
Step 1: Unlock your phone and go to «Settings» and select «About phone».
Step 2: Choose «Software information» and tap «Build number» about seven times until you see a message saying «Developer mode has been enabled».
Step 3: Go back to Settings and the «Developer options» menu is now under Settings.
Step 4: Enter «Developer options» and turn on the «USB debugging» button.
Step 5: If you see a messages «Allow USB Debugging», click «OK». Now you have enabled debugging on your Samsung Galaxy successfully.
Step 1: On your Samsung Galaxy S7/S7 Edge. Head to «Settings» > «About phone» > «Software info».
Step 2: Tap «Build number» several times until you see a message that says «Developer mode has been enabled».
Step 3: Go back to Settings and the «Developer options» menu is now under Settings.
Step 4: Enter «Developer options» and enable «USB debugging» option.
Step 5: When you connect your Samsung phone to computer using a USB cable, you will see a message «Allow USB debugging» for connection, click «OK».
Step 1: On your device, head to «Settings» > «About device» (About phone for S5).
Step 2: Scroll down and tap «Build number» several times until you see a message that says «Developer mode has been enabled».
Step 3: Go back to Settings and the «Developer options» menu is now under Settings.
Step 4: Select «Developer options» and enable the USB debugging option.
Step 5: Now you can connect your device to a desktop computer via USB and you will see a message «Allow USB debugging» for connection, click «OK».
Step 1: Turn on your Samsung Galaxy Note 10/9/8. Head to «Settings» > «About phone» > «Software information».
Step 2: Tap «Build number» about seven times and you will see a message saying «Developer mode has been enabled».
Step 3: Select on the Back button and tap on «Developer options» under Settings.
Step 4: Slide the «Developer Options» button to «On» and turn on «USB debugging». If prompted, tap OK to confirm.
Step 1: Unlock your phone and go to Settings > About device > Software info.
Step 2: Scroll down the screen and tap «Build number» several times until you see a message that says «You are now a developer! /Developer mode has been enabled».
Step 3: Go back to Settings. Tap on «Developer option» and drag the switch to right to turn it on.
Step 4: Under developer option, enable «USB debugging» and you will see a message “Allow USB debugging” when you connect your phone to the computer.
How to Enable USB Debugging on HUAWEI Devices
Step 1: Head to «Settings» > «About phone» at the bottom of the interface.
Step 2: Tap «Build number» about seven times until you get the prompt «You are now a developer!».
Step 3: Go back to setting and you can see the «Developer options», select Developer options.
Step 4: Turn on the “USB debugging”, and you have debugged your Huawei Mate 7 or Huawei Mate 8 successfully. Remember to tap «OK» to allow USB debugging when connect your Huawei phone to computer with the USB cable.
Step 1: Go to «Settings» > «About phone».
Step 2: Find «Build number» and tap seven times on it until you get a message saying that «You are now a developer!».
Step 3: Return to Settings and the «Developer options» menu in now under Settings. Select Developer options.
Step 4: Enter «Developer options» and slide to turn «USB debugging» on.
Step 5: After that, when connect your Huawei phone to computer via USB cable you will see a message «Allow USB debugging». Click «OK» to allow a connection.
Step 1: Unlock your phone and go to «Settings» > «About phone».
Step 2: Tap «Build number» seven times until you see a message saying that » You are now a developer!».
Step 3: Now you have enabled developer option. Go back to settings and you will see «Developer options» under Settings.
Step 4: Enter «Developer options» and slide to turn on the «USB debugging».
Step 5: Now you have successfully debugged your Huawei Honor 6/7/8. Next time when you connect your phone to computer using a USB cable and see a message «Allow USB debugging», click «OK» to allow a connection.
Источник
How To Enable USB Debugging On Your Android Phone
Learning how to enable USB debugging mode is critical if you want to do anything useful with your Android Mobile Phone. This tutorial explains how to do it.
Are you interested in creating Android Apps, or maybe just running home diagnostics on your device? If so, one of the first things you’ll want to do is connect your phone to your computer. But to do this, it requires that you set up your phone and enable USB debugging mode accordingly. Let’s enable Debug Mode.
Note: Every manufacturer of Android devices varies. This article was written in 2010 and some things have changed but this should give you an idea of what to look out for.
Debugging Mode for Android
When paired with a computer running Android SDK (or another diagnostic program), Debug Mode can allow you to pull up all sorts of useful information about your phone. In the screenshot below I’m using the DDMS tool from the Android SDK to monitor where RAM is being used on my Samsung Galaxy S Android phone. But this is just one example of what you can do!
Enable USB Debugging Mode On Your Android Mobile Phone Device
Newer versions of Android (4.0+)
Step 1
Launch the Settings app on your phone. This app can be found in your App Drawer, or by pressing the menu button on the outside of your device.
Step 2
In the Ice Cream Sandwich (4.0+) or a newer version of the Android OS, the System USB Debugging is now located under Developer Options > Android Debugging.
Done! That’s all there is to enable USB debugging in the new version of Android.
Older versions of Android
The same as above, except after entering the Settings menu you’ll need to enter Applications options.
Next tapDevelopment.
Check the box for USB debugging.
You can also Enable, Stay Awake, and Allow mocklocations to make things easier when you are running tests.
Your phone should now be in Debug Mode. If you go into the notification bar, you’ll find an Ongoing alert stating USB debugging connected. Note that even while USB debug mode is enabled you can still Mount your Android phone to your computer to transfer files without causing any problems!
79 Comments
Awesome – Is there a simple way to backup your phone this way also?
Thanks man totally worked!!
Yes, if your phone is rooted, Titanium Backup Pro is by far the best backup utility out there
Thank you, awesome it is so simple super.
hello there…!!1 i need to know if there is other ways that makes my android phone get in to hard reset mode because the three combination key wont work for me and i even tried to connect to mobogenie but how could i enable usb debug mode please help…. 1??
Thank you so much! Was really helpful;-)
i am locked out and cannot enable debbuging. not linked with google account and have no 3 button combi. “/ HEEEEEEEEEELPPPP need to master reset but adb wont connect to device, odin connects but hangs at file analysis. newB but im sure ive done EVERYTHING
@tanny I have the exact same problem, did you manage to do anything? Send me a reply pls if you found any solution. Any help would be appreciated
YES! i have my galaxy S working perfectly now 🙂 Go to youtube and Search Galaxy usb jig. when in download mode odin WILL flash but i just chose to reset. the youtube video does no justice for how fiddly the thing is to make, but it does work so be patient. dont buy a jig kit its only like 50pence to get all the bits you need.
please help bro . your problem is now my problem any solution please contact me
Excellent Dennis! Thanks for the feedback. I’m glad the article helped out!
Nice,, Thanks a lot.
Thanks for this info! I am using EasyTether Pro and I have a question. Once I check the box for ‘USB Debugging’ do I (and should I) leave this box check alway? Or should I manually check this box every time I go to use my EasyTether Pro app? Is there any danger in leaving the box for ‘USB Debuggin’ always checked? Also, why wouldn’t something like USB Debugging be a default feature anyway? Thanks for any help and information!
@Aaron, Great feedback! To answer your question, once you check USB Debugging it should remain checked indefinitely. There are a few things that can disable it; certain apps, system updates, and total loss of battery life (in some cases).
There isn’t any danger in leaving USB debugging mode enabled, but the reason that it isn’t on by default is because it causes a lot of driver issues if you plug it into a computer. You’ll notice while USB debug mode is off that you can easily mount your phone as an external drive, enable (built-in subscription based) tethering, or just have it charge. With Debug mode on, you usually need to download/install an additional driver on your computer if you want to retain the same features.
USB debug mode also uses up more system resources on the phone, so if you need to use it while it is charging you might notice slower performance. But, most USB-based tethering apps need it enabled because it grants elevated access privileges.
Hope that helps. Thanks for the groovy question!
whenever i m trying to turn on USB debugging it restarts my phone & after the restart again debug mode is unchecked.. & same restarting thing is there… can’t connect my Phone to PC.. any solution
Can someone hack in your phone going through USB debugging. Is that what this is for. Do they need access to your phone to hack in it?
look at bet your bottom dollar on youtube the one with the guy in the mask
I have problem to log as debug mode even I have set the option to debug mode. It will still remain as USB storage, any advise on this? I am using Galaxy S, Android 2.3.3. Thanks.
Sir , Have you solved this problem ? Till now existing for me. If you got rid of this , pleaese show me the way.
i hope by now you have the issue resolved.two years down the line.
> i hope by now you have the issue resolved.two years down the line.
Yes – by buying a new phone with Android 4.1 (not because of the problem with USB debugging but because the old one had too small a memory and a lot of software doesn’t install on the SD card).
The new phone (Samsung Galaxy S II plus) has USB debugging switched OFF by default, which is what I want. Connecting it to the Win7-PC at home as a hard drive now works fine without having to switch off USB debugging manually every time.
Unfortunately, at work, where an old XP system without admin rights is installed, the PC does not find a driver for accessing the phone as a hard disk, so I cannot load pictures ONTO the phone (download of pictures still works with some XP-builtin camera app).
Older versions of Android like 2.3.3: Task the following: Enter the Settings menu you’ll need to click Application options. Then click on development;you’ll see debug mode. Click on it….You should get it right now.
Is there a way to enable USB debugging with a broken screen?
Hi, I don’t have the Development entry. What should I do ? Android 2.3.4, kernel 2.6.32.9 infotmic “flytouch 3”
Thanks 🙂 Good Help
nice post. its really help for my Android IP Webcam.
Thanx a million Sir. It worked for my Samsung Galazy Note. Was struggling for a week. Wroked as a breeze..Thanx again.
You bet! And welcome to the groovyPost community!
I need a help with my phone Motorola XT531. After its Rooted, i could move many apk files to SDcard and create a link file to place in the original folder. So using this method was great. But I dont remember exactly why, I guess I move motoswitch.apk from system/app and did not create de link to replace it. So now i can not access the home and the worst the usb debug is not selected. Does anybody know how can I enable it? Or use the Update.zip to restore just the system/app folder to the original place, because I’ve a original copy of it in the SDCard.
Thanks! Simple and easy to understand!
I have a Droid RAZR. Following your instructions it will not let me changer the USB debugging to USB charge. Can you help me.
Maybe you need to click some ones times on Adjust> About telephone> Compilation number
Just by switching off the USB debugging mode I resolved the issue tht had been driving me barmy.
Thanks for your help.
What issue were you having Geoff?
thanks for the post.
Like Geoff Berry, I need to switch *OFF* USB Debugging on my Samsung Galaxy Ace in order to connect it as a mass storage device to my PC.
The problem is that I have to do it every time again, which is a big hassle. Even when I have it switched off, as soon as I plug in the USB cable, it automatically switches on again, and I have to perform all the above steps again.
Do you know of a way of permanently switching OFF the USB debugging once and for all?
Thanks in advance.
Groooooveee Mannnnnnn! Yeah walked me right home, I love ya for this.
Thanks, was really helpful 🙂
NOT help Have any ideas? pls
Some time ago I was had a problem related some posts above tha was about I got blank screen after I had moved a system file. So I asked for help on how to enable the usb debug without use settings menu, off course that was because if I got a blank screen i could not use settings menu. So far I don’t know how to enable de usb debug, but the solution were this steps. 1 – Reset the cellPhone to default factory 2 – paste the missed file on the sdcard using a PC. 3 – using another phone send to you a sms and paste a link to an webmail. 4 – using a PC, send to yourself a link to the file posted on your sdcard described above using the webmail. 5 – turn on you phone, follow the initial setup screen. 6 – Your sms will be received and so click on the link, then the webmail will be launched. 7 – click on the link and select to install the missed file. Doing this steps I solve my problems, good look to you.
thaanx. you are great!
Just great. Thanks!!
Once again, you are amazing!
dude… you literally saved my life…
The best post I have seen so far about USB debugging.
Well thank you very much!
For the last few days I have looked at debugging an Android phone or any indormation to connect an android phone. I have an HTC Magic which I received last Christmas from my son. He knows I like gadgets and buttons, it was an introduction to touch phone. I used it until some time in February and then on and off the next couple of months. I have a very nice Nokia E5 which does GPS without going online and I can connect to the computer to transfer files and photos to my hearts content. Now my needs from a mobile are that I can TXT, phone, take pictures and use the GPS. Now the Magic, the camera pixels are less, the GPS you have to go online being Google, yes I can text and phone, but I cannot connect to the computer so I cannot upload Co-pilot which I bought. I have ticked the debug, and the phone tells me the software is up to date. I am tempted to do a factory reset, do you know how dangerous that is, should I have the sim card out, it is the same card I use on my Nokia when I am fed up with the Magic. By the way I live in rural France where mobile signals are optional, I am not a computer whiz but I get by and I am retired.
I’m not sure of what you’re tying to do. Co-pilot has a free android app which can be downloaded form the Google Play store. If you are trying to run the co-pilot Windows program on your phone that will not work, it only works on Windows computers.
If you purchased one of the area-specific premium Co-pilot apps from the Google Play Market, you don’t need USB debugging to transfer it to your phone. It should just be downloadable straight to your device. If the device isn’t listed as compatible, you can try forcing it by just transferring it to your device after mounting the SD.
Don’t forget to disable debug mode when its not in use. Leaving debug mode enabled is a security issue.