Search This Blog

Saturday, November 30, 2013

Samsung Galaxy S4 - USB debugging mode in Android 4.2 and higher

Back to writing android applications.

With my new Samsung Galaxy 4, there is no longer a button for USB Debug Mode!

This setting allowed aps you develop in eclipse with the android sdk to be run directly on your phone when plugged into the USB cable.  Otherwise you have to post the apk file to the web, and turn on the "allow aps from unknown sources" every time you want to test your app on a real device.  Now it's gone.

This is a long trail of notes on what I did.  For the impatient, skip to the bottom, I summed it up at the end

A little googling found this:  Google hid the feature to protect the random user.

How to find and turn on USB debugging mode in Android 4.2 and higher

To see the option for USB debugging mode in Android 4.2 or higher, do the following:
  • Open up your device’s “Settings”. This can be done by pressing the Menu button while on your home screen and tapping “System settings”
  • Now scroll to the bottom and tap “About phone”
  • At the “About” screen, scroll to the bottom and tap on “Build number” seven times.
    • Make sure you tap seven times. If you see a “You are now a developer!” message pop up, then you know you have done it correctly.
Done! By tapping on “Build number” seven times, you have unlocked USB debugging mode on Android 4.2 and higher. You can now enable/disable it whenever you desire by going to “Settings” -> “Developer Options” -> “Debugging” ->” USB debugging”.



The phone says "You are now a developer".  So it clearly worked. But still not seeing the phone in Eclipse adb run chooser....
Phone says "Connected as an installer"

same answers.  I have the drivers installed and i did the 7x.  Still nothing.

from \Local\Android\android-sdk\platform-tools
adb kill-server
adb start server
Didn't work.  Still can't see the device.

Tried these drivers...


Tried installing KIES.
Kies 3Supported models : Note 3 and devices with Android 4.3.

Still not showing up in adb.  Arrggh

I doesn't even show up under Unknown Devices
Although it does show up as a portable device and i can see the sd card, etc.

Tried installing the drivers in KIES manually.  No dice.

This website shows where to get drivers

Tried the Moto drivers to get my old Droid 2 working again just to prove it is not eclipse.
Back to visit previous self...
2) Install the development USB driver on your Windows computerMore surfing... I think need to install the windows adb driver for my phone on my computer.  You need a special USB driver for developers. Clicked on Handset USB Driver for Windows 64 bit, had to register and all that junkDownloaded, installed  Motorola Mobile Drivers Installation 5.2.0Rebooted
3) Verify that you can see the phone from the computerReading the site again, I got some more info on how to run "adb devices". 
Turns out you run this in a command window on the windows box, after you cd over to the directory where the android sdk is installed.  Ran it there.  Duh.   Here you see the command running for me. 
You can verify that your device is connected by executing adb devices from your SDK platform-tools/ directory. If connected, you'll see the device name listed as a "device."

Or, to upgrade an existing Android USB driver on Windows 7 with the new driver:
  1. Connect your Android-powered device to your computer's USB port.
  2. Right-click on Computer from your desktop or Windows Explorer, and select Manage.
  3. Select Device Manager in the left pane of the Computer Management window.
  4. Locate and expand Android Phone in the right pane.
  5. Right-click Android Composite ADB Interface and select Update Driver. This will launch the Hardware Update Wizard.
  6. Select Install from a list or specific location and click Next.
  7. Select Search for the best driver in these locations; un-check Search removable media; and check Include this location in the search.
  8. Click Browse and locate the USB driver folder. (The Google USB Driver is located in<sdk>\extras\google\usb_driver\.)
  9. Click Next to upgrade the driver.
The old developer.motorola page is gone now.   Why is this so hard now?  I got this done in no time years ago.

Tried these drivers.  The unkown device goes away and I see a USB drive.

I go to the moto phone and it is now saying USB is in storage mode.  Change it to "PC mode" on the phone menu.
Drivers spin and it re-installs on the PC.  Motorola ADB Interface is listed in the things windows says is ready to use.    USB drive is gone and under network adapters in the device manager is "Motorola USB Networking Driver".

"adb devices"  returns a number for the moto phone now.  But in eclipse I still don't see it.

I tried the samsung changing usb mode to "media device" and "camera"  neither helped adb see it.
It is hung up in USB stick mode.  I don't see a listing under "Network adapters"

I scoured the settings on the samsung again.   I find under Settings->More->Developer options, there is now a button that says USB Debugging Mode.  It is unclicked.
Whaaa Daaa Faaaa???  How could I have missed that.   The secret unlock just reveals the button, I sitll have to click it.
Things start happening on the device manager, installing, etc.
Now I see SAMSUNG_Android in the Other devices for a sec until it blips out.
It doesn't like the installed samsung driver and after a few seconds, blips and goes back to being a usb stick.
says uninstall kies and just do the samsung drivers
Have it working - and did remember I have Kies installed.Maybe I downloaded both the separate driver and Kies?
USB Driver Link:
Kies Link:
Know I have problem still with Kies... but I can use ODIN without issues.I can't really explain how I did it, as there was a lot of trial and error and I wasn't keeping notes. But the basic trick was to right click in device manager on the unknown SAMSUNG_Android device, choose Update Driver, choose "Let me pick", choose "Have disk", point to the "SAMSUNG\USB Drivers\25_escape" folder from the KIES installation, and then choose "Samsung Mobile USB Composite Device".
You may then get another unknown device, which using the same method you set to ADB. I did a bunch of stuff in different ways, trying to match different drivers from the 25_escape folder to different devices, until it finally worked.
Pull up a commandline, go to Documents and Settings\username\.android directory, and do
echo 0x04e8 >> adb_usb.ini

this is the code for samsung

Folllowed those instructions, but the usb driver folder C:\Program Files (x86)\Samsung\USB Drivers\25_escape didn't exist in my install.

Went back to the kies site and downloaded the older version of kies and installed

Not in there either.  Fail
There is a link in the posts to the lastest adb driver.  it's broken
selected the carrier and model number
Win XP/Vista/Win 7/Win 8Nov 9, 2012ENGLISH23.06
Doesn't work.

Putting the USB in "Camera" mode left the SAMSUNG_Android in the device manager.  MTP mode
makes it dissapear.  Windows tries to install a driver for it in this mode and fails.

A day of complete frustration.

back to google

Read a bunch of pages about rooting.  I'm doing everything they say.  Fail.


Finally tried device manager one more time, right clicked on the unknown device and picked choose from compatible drivers.  Let me pick from a list.  Strangely I got a list of moto and generic adb drivers.  I picked adb composite device.  it installed with a warning.

Now adb devices gives me a response!  Device manager other device dissapeared . So it might not be healthy yet.  ADB Interface device showed up on top of the device manager.

I run ecllipse and I suddenly have a device!   it looks a little broken but finally something is happening.

I find I can't select it.  OK is greyed out .

Try switching to one of the moto composite drivers.  Requires rebooting.  Fail.  Now it has dissapeared again.

Went back to the single composite ADB sooner driver on the list.

Tried to figure out why it was unauthorized

The phone had never asked me to authorize.  I went to the developer settings menu on the phone.
Uncliked usb debug.  Pressed the button that says revoke permissions.   Unplugged the phone.
Plugged it back in, re-enabled usb debug and tadah!  It asked me to give the computer permission.
I did so and and adb devices now says the device is there!

It works!!! OMG.  This was the biggest pain in the arse.  Eclipse now reports the phone there.

I don't know if anyone could follow my notes, and i'm too fed up to clean them up.
The gist is this.

  • 7 pushes on build to enable the developer menu in the phone info screen
  • Go to the now visible developer menu and select USB debugging
  • Install the samsung usb drivers.  Don't know which version really did it, if any.  From Kies or from their website
  • Plug in the phone
  • Tell the USB to go to "camera" mode
  • Go to windows device manager and right click on the unknown samsung device
  • Select browse and select from list
  • Pick adb single sooner driver
  • Go back to the phone developer menu and unauthorize devices.  plug it in again and it should ask to allow the computer to connect.  Say yes.
  • Win!


  1. I feel that a debt of gratitude is in order for the valuabe data and bits of knowledge you have so given here. haasil

  2. I feel that a debt of gratitude is in order for the valuabe data and bits of knowledge you have so given here. Jannat Zubair Rahmani

  3. ultimate, however now not the least, Biogenic Xr it is a superb concept to strive a natural testosterone supplement.

  4. Hi,
    Wao Great i Much like this Post really impressed from this
    Haasil Full Video See it and Enjoy

  5. Cla Safflower Oil The water replenishes the fluids in order to be used to make bicarbonate answer at the mucus membrane of our belly lining.


  6. You've made some really good points there. I checked on the internet for more info about the issue and found most individuals will go along with your views on this website. Porus Drama

  7. Wow, This is a great post, i hope it is helpful for every body. Dash Cam

  8. CLA Safflower Oil My buddies used to name me fatty and always made amusing of me. That section was disturbing for me, and the keenness to appearance attractive made me understand that it was high time now.

  9. Dermagen IQ On the off chance that you have skin break out you should remember that it can be caused and turned out to be aggravated at times in view of ecological variables Dermagen IQ for UK.

  10. Yeh Hai Mohabbatein watch online full episodes and written updates free on desi tashan
    \x3ca href\x3d\x22\x22 rel\x3d\x22nofollow\x22\x3e Porus Drama\x3c/a\x3e

  11. Dermagen IQ It has a one of a kind hostile to bacterial property formally alluded to as Unique Manuka Factor (UMF) which secures the skin against bacterial contaminations.

  12. Rapiture Muscle Builder once more, it's miles important to put together these on your personal, and cook with as little synthetic flavorings as possible Rapiture Muscle for Spain.

  13. Perlelux Take the regular Collagen creams for instance. Did you realize that Collagen atoms are so enormous in measure, they can't pass .

  14. D BAL Max certainty I gained as I was building my body. Man, I let you know. Something transforms you inside. Influences you to feel intense.

  15. Slimfire Forskolin from TV advertisements and others, that being overweight Forskolin is ugly? We get the message. We feel the need.

  16. Xtrfact All in all, what are the choices open to you? Progressively, an ever increasing number of individuals are .

  17. Pure CBD Oil Battles against pallor Keeps up the adjust of glucose Upgrades our safe framework Contains vitamin C.

  18. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog, I will keep visiting this blog very often. Tutu VIP

  19. Dermagen IQ it will respond in a more positive way Common fixings won't cause disturbance or irritation Dermagen IQ for UK and since whatever .

  20. This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post. App Valley

  21. Perlelux the age of 30 to 40 which is considered as the pinnacle age for rosacea to create. The vast majority don't understand.

  22. Nitridex the estrogen levels in ladies are many They incorporate ill-advised nourishment, lopsided exercise, hormonal lopsidedness .

  23. Zylix Plus with a specific end goal to supplant the spilling insert. It won't not be conceivable to evacuate the majority of the silicone gel.

  24. I as of late discovered numerous helpful data in your site particularly this website page. Among the heaps of remarks on your articles. Much obliged for sharing.

    WorldWide Life Styles
    Download AcMarket

  25. I really Like these all thing that are in your webpage, I was Looking such website that Contains article like that. Thanks for providing us articles like that I will again visit your blog soon. Thanks one again
    Tu Aashiqui Full Episode

  26. Yeh Hai Mohabbatein Star Plus Drama Serial, watch online video Naamkaran on youtube, Yeh Rishta Kya Kehlata Hai live telecast today episode, Ishqbaaz free download hot star video.

  27. Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... Yeh Pyaar Nahi Toh Kya Hai

  28. Watch Full Episodes of Star Plus, colors TV, Zee TV, Sony TV.

  29. Ek Deewaana Tha is an Indian romance-horror television show on broadcast on Sony Entertainment Television since 23 October 2017. The show is created by Prateek Sharma and is produced by his production company LSD films. Haasil

  30. An intriguing discussion is worth comment. I think that you ought to publish more on this subject matter, it might not be a taboo matter but generally people don't discuss these issues. To the next! Kind regards!!
    Teleserye Replay
    Pinoy Teleserye
    Pinoy Tambayan
    Pinoy Channel
    Pinoy TV Replay
    Pinoy TV
    Pinoy TV shows
    Ang Probinsyano Full Episode
    Asintado Full Episode

  31. Sir I am very happy to find your blog you are working good. I was looking such article today I find the blog which is full of articles that I was looking. Every article is good in wrinting and also full of quality material. Thanks for sharing I am looking forward to visit your blog again and again. Thanks
    Kasam Full Episode

  32. Watch all your favorite Pinoy TV shows online for free! Our website can provide you with free PinoyTv Full Episode of pinoy tambayan and Pinoy channel tv.

  33. Watch all your favorite Pinoy TV shows online for free! Our website can provide you with free PinoyTv Full Episode of pinoy tambayan and Pinoy channel tv.

  34. Watch all your favorite Pinoy Tambayan shows online for free! Our website can provide you with free PinoyTv Full Episode of pinoy tambayan and Pinoy channel tv.

  35. Watch all your favorite Sub Eng shows online for free! Our website can provide you with free Eng Sub Full Episode of Subbed and Sub Korean tv.

  36. wow this is wonderful post.Hindi Tv Series Brings Indian Dramas and i like your article always.
    You have a grip on this topic. We have to come daily to watch latest updates.
    i must say you will always rock like blogger. best Wishes.
    Hindi Tv Series

  37. We have to come daily to watch latest updates.
    i must say you will always rock like blogger. best Wishes.
    Indian Dramas

  38. Watch all your favorite Sub Title shows online for free! Our website can provide you with free Eng Sub Full Episode of Subbed and Sub Korean tv.

  39. Watch all your favorite Sub Title shows online for free! Our website can provide you with free Eng Sub Full Episode of Subbed and Sub Korean tv.

  40. Having read this I thought it was extremely informative. I appreciate you taking the time and effort to put this information together. I once again find myself personally spending a lot of time both reading and posting comments. But so what, it was still worth it!
    Porus Drama

  41. such a outclass video HaasilI found today providing great information

  42. Tu Aashiqui is wonderfull drama serial by colors tv. Its I presented by voot. This serial got huge fame due to its unique story and cast. We have all the list of Indian dramas, must come and visit and watch your favorite shows. We hope you like our Spirit and work.

  43. Tu Aashiqui is wonderfull drama serial by colors tv. Its I presented by voot. This serial got huge fame due to its unique story and cast. We have all the list of Indian dramas, must come and visit and watch your favorite shows. We hope you like our Spirit and work.



    Tutuapp Android

  45. I am unquestionably making the most of your site. You certainly have some extraordinary understanding and incredible stories. Visit Fifa 2018 live streaming

  46. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!. ios screen recorder

  47. Pinoy Tambayan Live Pinoy Tambayan is another type of filipino TV shows because there are different terms for each of them so Pinoy Tambayan is also a famous Keyword and ASINTADO Pinoy Tambayan shows are also watched and loved by the people of Phillippines.

  48. Video Watch Online The Step Daughters June 19 2018 Full Episode. The Step Daughters June 2018 Full Episode today. The Step Daughters June 19 2018 ABS-CBN TV HD. The Step Daughters June 19 2018 Replay by GMA Network. Watch The Step Daughters June 19 2018 Pinoy Tv, Pinoy Channel, Pinoy Tambayan.

  49. The next time I read a blog, I hope that it does not fail me just as much as this particular one. I mean, I know it was my choice to read, nonetheless I actually believed you would probably have something useful to talk about. All I hear is a bunch of whining about something you could fix if you were not too busy looking for attention.\
    Yeh Hai Chahatein Drama

  50. Having read this I thought it was rather enlightening. I appreciate you spending some time and effort to put this short article together. I once again find myself spending a lot of time both reading and commenting. But so what, it was still worthwhile!
    Kaun Hai Drama

  51. Hi there! This blog post couldn’t be written much better! Going through this article reminds me of my previous roommate! He constantly kept preaching about this. I will forward this article to him. Pretty sure he'll have a great read. Thank you for sharing!
    Dil Hi Toh Hai TV

  52. Pretty! This was a really wonderful post. Thank you for providing these details.
    Kaun Hai Drama

  53. very nice one yar .... solve the problem s4 ... keep it up

    Mission Impossible 6Watch online full movie free download

  54. According to Reports are swirling that while Salman Khan will keep on being the host, jodis will go into the house as candidates this time around. Bigg Boss 12 to most recent report in Tellychakkar, the creators are paying special mind to some extremely questionable members this time around. As the candidates will enter in sets, it could be anybody from saas-bahu to manager secretary and the show may have disputable writers, tranquilize addicts, and apparition seekers too.
    Bigg Boss 12

  55. You've made some really good points there. I checked on the internet for more info about the issue and found Our pinoy tambayan at lambingan update you with the best video service most individuals will go along with your views on this website.

  56. I read that Post and got it fine and enlightening. If it's not too much trouble share more like that...
    Digital Marketing And Security Services

  57. The far reaching utilization of the web as a media source means the world can be viewed on the web, from motion pictures to even specialty showcase appears. This makes the digital TV out of date. It appears to be presently that the future stimulation TVs will have broadband associations serving the substance from around the globe.Best android tv boxes

  58. The story is about three brothers of the Nazar who have an everlasting bond and how they met their partners.
    Kalyani Dadi is included in the family. She is seen as the ruler of the family.

  59. With,it's easy to find the right music for every moment – on your phone, your computer, your tablet and more. There are millions of tracks on Spotify.

  60. Spotify is a digital music service that gives you access to millions of songs. Applets can help you save your Discover Weekly and Release Radar playlists.A common gripe among Spotify users is that the app limits the number of songs that can be downloaded to phones and computers.

  61. thanks for the post … nice one

    Watch Online Movies & Free Download


  62. Thanks for sharing this Brilliant post. Keep posting. download hp drivers

  63. After going over a handful of the blog articles on your website, I truly appreciate your technique of writing a blog. I bookmarked it to my bookmark webpage list and will be checking back in the near future. Please check out my website as well and let me know what you think.

    Bepanah Ru

  64. Watch Online Patiala Babes 10th December 2018 Full Episode 10 Video Serial By Sony TV, Indian Drama Serial Patiala Babes Complete Show Full Episodes in Hd, Watch Patiala Babes 10 December 2018 Online.
    Telecast Date : 10th December 2018
    Distributed By : Sony TV And SonyLiv
    Video Source : Standard Video Licence

  65. You ought to take part in a contest for one of the most useful blogs on the internet. I'm going to highly recommend this web site!

    Taarak Mehta Ka Ooltah Chashmah Ka Episodes

  66. Nice Blog. Thanks dear for sharing this interesting information with us and put your thoughts in this blog. Visit for Best Web Design Company.
    Web Design Company

  67. This is very Amazing and Very Informative Site we get alot of Informations from this website we really appreciate your team work keep it up and keep writting such informative article.
    yehhaimohabbatein Episode Episode

  68. I think this is a standout amongst the most huge data for me. Furthermore, i'm happy perusing your article. Be that as it may, ought to comment on some broad things, The site style is flawless, the articles is truly incredible : D. Great job, salud
    Thai Lottery Result


  69. keto slim rapid diet keto slim powder reviewscider vinegar all three ingredients work together to balance insulin, a hormone crucial for regulating glucose levels and the metabolism of carbohydrates. keto slim plus keto slim price