Re-Enabling USB Debugging in Android 4.3

It's been a while since I've deployed an ADF Mobile app directly to my Samsung Galaxy S3; apparently since December of 2013. It was on that date that my mobile service provider upgraded my phone to Android 4.3 and in the process, turned off USB debugging.

It started with an unusual error message when I tried to deploy the app to my phone:

No device authorization

Technically, USB debugging was still enabled on my device, but the device certificates were lost, so as you can see in the screenshot, my device was on a USB connection, but it did not recognize my computer as a legitimate USB connection. Hence the unauthorized note listed with my device. Just for test purposes I turned off the USB function completely and got a slightly different error:

The error message when USB is complete disabled

Both errors start out with "Failed to detect a connected Android device". A little bit of research led me to the solution which is quick and simple, though totally arcane and non-intuitive.

On your device, go to the Settings app and click on the More tab and then click on About device

Start in the Settings app and Choose the More tab, then click on About device

Next, locate the Build number entry in the list and quickly click on it 10 times in a row. You should see a little message popup each time you click the list item.

Click the Build list item 10 times quickly to enable Developer Options

Next hit the Back button and you should now see Developer Options listed in the More tab. 

The Developer Options list item now appears in the list

Click on the Developer Options list item and it will take you to a screen that allows you to re-enable USB debugging and accept new device certificates.

Finally, you have access to the Developer Options screen again!


In nexus 5, its getting enabled after tapping 7 times.

Posted by guest on March 20, 2014 at 12:58 AM PDT #

Very well written article,It has helped me a lot in debugging, thnx for sharing

Posted by George on April 24, 2014 at 05:54 PM PDT #

very helpful, thanks

Posted by guest on June 08, 2014 at 01:09 AM PDT #

I already done that but still my device not recognize by my laptop, OS win7 64bit. And on my device, usb tethering was colored gray. How can i enable it??? Any suggestion??

Posted by guest on June 30, 2014 at 05:14 PM PDT #

@guest - Its hard to say why your phone is not being recongnized. I had similar problems with my Samsung Galaxy S3. Try the following before contacting your mobile phone company for product support

1) Be sure to use the USB cable that shipped with your phone
2) Plug the USB cable directly into your computer, NOT into a USB hub
3) Update your computers software for your mobile phone (Samsung uses an app called Kies, other vendors may have similar apps)

If those steps don't help, call tech support for your phone manufacturer.

- Jeff

Posted by Jeff Davies on July 01, 2014 at 11:23 AM PDT #

Many thanks!

Posted by Metaspace on July 03, 2014 at 05:14 PM PDT #

Perfect explanation. Thanks buddy.

Posted by Farookh Shaikh on July 11, 2014 at 03:31 AM PDT #

Using Galaxy S3 connected through a USB hub, the phone was not even detected by the device manager. But when plugged directly to a USB socket of the PC, every-thing work perfectly.

Posted by guest on July 14, 2014 at 03:43 AM PDT #

Very good. Yaar.

Posted by Pankaj on July 14, 2014 at 07:10 AM PDT #

Thank you very much :)

Posted by guest on August 01, 2014 at 09:57 PM PDT #

Thanks works on Grand 2 4.3 stock rom

Posted by sajid on August 07, 2014 at 05:16 PM PDT #

MY galaxy s3 isn't recognozed by computer. i tried all of the above still it wont connect. I enabled usb debugging option in developer option. also used that code *#7284# but these didnt help me. Please someone tell me how could i use my s3 as usb drive with computer and transfer data?

Posted by guest on August 11, 2014 at 08:47 AM PDT #

thank you!

Can't even properly backup the device without developer options. And tapping inactive menu item isn't exactly intuitive solution.

Posted by electric on October 18, 2014 at 02:36 AM PDT #

Thank's million's
these steps worked for me .... :)

Posted by guest on October 29, 2014 at 05:57 AM PDT #

All these options have failed to fix my Huewei Y330 01. And now the screen has loads of small text scrolling over continually. Should and could and how do I turn of developer status?

Posted by badger on November 14, 2014 at 09:25 AM PST #

great thanks a lot

Posted by guest on February 25, 2015 at 01:34 AM PST #

I tried all the above, nothing worked.
So i did a factory reset. Now it works perfectly fine, I can connect my phone to the PC. Yes, I lost my data.

Posted by guest on March 01, 2015 at 11:27 AM PST #

Thank you Very Much this helped me

Posted by idadtech on March 11, 2015 at 05:15 PM PDT #

good its working thanks

Posted by guest on August 19, 2015 at 12:36 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog is is dedicated to announcements,tips and tricks and other items related to developing, integrating, securing, and managing mobile applications using Oracle's Mobile Platform. It is created and maintained by the Oracle Mobile product development team.

Archive of past entries

Even More Mobile Development Blogs

Oracle A-Team Site - Mobile Related Entries

Code samples from the Community

Fusion Middleware Blogs


« November 2015