[Q] USB Debugging not being detected - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Hey, I'm trying to root my AT&T GS4 and obviously need usb debugging to do it, but whenever I connect the chord to my computer it says it's still "Connected as a media device" in the notification bar.
Yes I have:
1) Enabled developer mode
2) Downloaded and installed the usb driver from Samsung (however I'm not sure it went correctly, will explain farther down) also have successfully connected phone with Kies and backed it up.
3) Tap the checkbox to enable usb debugging
The same process I took when rooting my Nexus 7. Only this time usb debugging isn't actually turned on or isn't being detected.
The reason I said I think something went wrong with the install of the drivers is because after I ran the .exe I got off of Samsung's support site it did that icon for driver installation, I opened it and after a while it showed this (replace DOT with . because of XDA's anti-spam thing): i.imgurDOTcom/M6pewok.png
As it shows there were multiple drivers that were installed, but one unidentified device that failed.
I'm really wanting to root my phone but need usb debugging, can anyone help?

re: USB Debugging -Root
T4yB4cK said:
Hey, I'm trying to root my AT&T GS4 and obviously need usb debugging to do it, but whenever I connect the chord to my computer it says it's still "Connected as a media device" in the notification bar.
Yes I have:
1) Enabled developer mode
2) Downloaded and installed the usb driver from Samsung (however I'm not sure it went correctly, will explain farther down) also have successfully connected phone with Kies and backed it up.
3) Tap the checkbox to enable usb debugging
The same process I took when rooting my Nexus 7. Only this time usb debugging isn't actually turned on or isn't being detected.
The reason I said I think something went wrong with the install of the drivers is because after I ran the .exe I got off of Samsung's support site it did that icon for driver installation, I opened it and after a while it showed this (replace DOT with . because of XDA's anti-spam thing): i.imgurDOTcom/M6pewok.png
As it shows there were multiple drivers that were installed, but one unidentified device that failed.
I'm really wanting to root my phone but need usb debugging, can anyone help?
Click to expand...
Click to collapse
If it says "Connected as a media device" that is NORMAL and the way it should be.
If you have check marked "USB Debugging" in your phone settings and the checkbox remains "checked"
then there is nothing wrong with your phone. If the USB debugging does not stay "check marked" after
you "check mark" it then there is something wrong with your phone.
Most likely there is NOTHING wrong with the phone itself and the rooting issue you are having has
nothing to do with usb debugging.
If that's the case then your problem most likely is the usb drivers in your computer or the usb cable
itself and possibly you need to plug the cable into a different usb port on your computer.
First thing I would do if this is the case is to un-install all samsung drivers and applications
from your computer including kies if it's installed. Then reboot the computer and only install
the Samsung USB Drivers and nothing else.
After the samsung usb drivers are installed reboot your computer.
Then you should be able to root the phone with no problem.
The very best and easiest way to root your phone is to download either the cwm or twrp
recovery Odin flash TAR file and download ODIN if you don't already have it.
After doing that download one of the cwm/twrp flashable custom rom zips file and copy it to
your internal sdcard.
Then use Odin to flash the TAR recovery file in the PDA slot of Odin.
After that's done reboot into recovery and select "install" or "install zip" and navigate to your
internal sdcard and find the cwm/twrp flashable custom rom which you copied to the sdcard
and flash it.
After it's flashed you will be rooted, all the cwm/twrp flashable custom roms are pre-rooted
so you will not need to worry about having to root.
Good luck!

Related

Rooted Vibrant - won't detect USB?

Just rooted using this method:
http://forum.xda-developers.com/showthread.php?t=723479
When I hook up the USB cable, it no longer shows up on the phone and gives me the option to mount memory card.
How do I go about fixing that?
(and also, should I need to, how do I unroot?)
EDIT - Now works after reapplying USB settings, weird.
Re Root the phone with one click. If you cannot mount to the computer etc. then odin back to stock and then reroot, You are not the first person to use this rooting and have this happen. Not sure why may be just a batch of phones this method doesn't work with.......
I had the same problem and solved it by allowing USB Debugging mode. When you use ROM Manager and CWR, it actually tells you to leave the phone in the USB Debug mode, maybe the connections issue is the reason?

[Q] USB Debugging Not Working

I've googled and searched everywhere for this, but no luck. I got the S4 yesterday (AT&T) and i went through the steps to turn on developer options for the new 4.2.2 jellybean to get access to the USB debugging option. I turn USB debugging on and hook it up to my computer and it will not install the ADB interface driver (needed for PDAnet). The phone connects as if USB debugging is not turned on saying "connected as a media device" and keeps giving me the option on the computer to access storage. Anyone or everyone else having this problem?
urn357 said:
I've googled and searched everywhere for this, but no luck. I got the S4 yesterday (AT&T) and i went through the steps to turn on developer options for the new 4.2.2 jellybean to get access to the USB debugging option. I turn USB debugging on and hook it up to my computer and it will not install the ADB interface driver (needed for PDAnet). The phone connects as if USB debugging is not turned on saying "connected as a media device" and keeps giving me the option on the computer to access storage. Anyone or everyone else having this problem?
Click to expand...
Click to collapse
Did you install the drivers? Did you have the phone connected when you enabled it? If so disconnect and reconnect.
urn357 said:
I've googled and searched everywhere for this, but no luck. I got the S4 yesterday (AT&T) and i went through the steps to turn on developer options for the new 4.2.2 jellybean to get access to the USB debugging option. I turn USB debugging on and hook it up to my computer and it will not install the ADB interface driver (needed for PDAnet). The phone connects as if USB debugging is not turned on saying "connected as a media device" and keeps giving me the option on the computer to access storage. Anyone or everyone else having this problem?
Click to expand...
Click to collapse
I did the same thing and it worked for me tho..
Also, you may want to check your phone's screen after you connect it to the computer. I had to "accept" my computer's RSA key before adb could detect the device.
crawrj said:
Did you install the drivers? Did you have the phone connected when you enabled it? If so disconnect and reconnect.
Click to expand...
Click to collapse
I've done everything and tried everything I know to. I have restarted the computer, the phone, enabled and disabled usb debugging while it's connected to the pc and no conncected. I've installed the drivers PDAnet says to, but still my phone connects as if usb debugging is not on (says connected as media and pc doesn't recognize and install the adb driver). Is there anything I'm missing?
Dare{D}evil said:
I did the same thing and it worked for me tho..
Click to expand...
Click to collapse
Did you do anything different besides just turn on usb debugging?
urn357 said:
I've done everything and tried everything I know to. I have restarted the computer, the phone, enabled and disabled usb debugging while it's connected to the pc and no conncected. I've installed the drivers PDAnet says to, but still my phone connects as if usb debugging is not on (says connected as media and pc doesn't recognize and install the adb driver). Is there anything I'm missing?
Did you do anything different besides just turn on usb debugging?
Click to expand...
Click to collapse
All I did was install install the S4 drivers from Samsung. Enabled USB Debugging. Plugged it into the computer. Waited for the drivers to finish setting up. Disconnected and reconnected again just to make sure drivers were loaded. And launched ADB. Nothing else.
Edit: Oh almost forgot. I got a message on the phone saying something about a computer trying to connect do you allow it. I hit always allow or something. Sorry don't remember exactly was too long ago. That is probably it because if you weren't watching the screen you wouldn't see it.
Edit2: LOL just saw captawsm's post. Yes what he said.
captawsm said:
Also, you may want to check your phone's screen after you connect it to the computer. I had to "accept" my computer's RSA key before adb could detect the device.
Click to expand...
Click to collapse
crawrj said:
All I did was install install the S4 drivers from Samsung. Enabled USB Debugging. Plugged it into the computer. Waited for the drivers to finish setting up. Disconnected and reconnected again just to make sure drivers were loaded. And launched ADB. Nothing else.
Edit: Oh almost forgot. I got a message on the phone saying something about a computer trying to connect do you allow it. I hit always allow or something. Sorry don't remember exactly was too long ago. That is probably it because if you weren't watching the screen you wouldn't see it.
Edit2: LOL just saw captawsm's post. Yes what he said.
Click to expand...
Click to collapse
You guys on AT&T? I never got that message. I know nothing ever popped up like that. Did you get the actual driver from Samsung website for your phone? I just tried installed the one pdanet offered.
urn357 said:
You guys on AT&T? I never got that message. I know nothing ever popped up like that. Did you get the actual driver from Samsung website for your phone? I just tried installed the one pdanet offered.
Click to expand...
Click to collapse
I did not install any other drivers tho..it was all default but it did ask me to confirm the computer's RSA key
Hallelujah! I finally got it working! It must of been a driver install quirk on my pc. For anyone else with this prob who used a previous phone with pdanet on the same pc like I did ( I used a samsung infuse prior). I went and uninstalled the samsung drivers that were already on my pc and then went to the samsung site and installed the newest ones they had. Hooked the phone back up and after about 6 or 7 seconds (have no idea why it took so long) the drivers on the pc started installing again and cha ching usb debugging was working correctly. The RSA thing popped up after that.
Thanks guys for assuring me it was only my problem and not a mass-wide problem to make me troubleshoot further.
I've been having the same problem but can't seem to find the drivers on the Samsung website. Could you please post the link?
Drivers
http://www.sammobile.com/kies/
http://www.samsung.com/us/support/owners/product/SGH-I337ZKAATT
If your computer recognized (and installs drivers) when your S4 is connected via usb (not in developer mode) but does NOT recognize your S4 when connected with USB debugging this is what you might need to do. It took me 2.5 hours to find this.
Remember to have your phone set to MTP + ADB mode.
to do this:
in phone mode type *#0808#
Choose : AP on upper part and
for USB Setting, choose : MTP.
http://forums.androidcentral.com/samsung-galaxy-s4/282817-pc-cant-detect-galaxy-s4.html

PC&Odin not able to detect phone via USB after flashing custom ROM: tried dif pc too

PC&Odin not able to detect phone via USB after flashing custom ROM: tried dif pc too
Hi all,
I've recently flashed this awesome ROM: [GearCM][i9500][4.4.4] Optimized CyanogenMod 11 for Samsung Galaxy S4 [20140912] in my device. ROM works great, very stable, fast performance, however since install, I am not able to detect my phone via USB. Not even ODIN sees the device connected.
Was doing my research before posting, so I will let you know what I've tried which was recommended in other posts and google:
1. Re-installed Samsung USB Drivers: No Go
2. Used different USB Cables (using stock one that came w/ phone right now): No Go
3. Tried different USB Ports: No Go
4. Tried a different PC: No Go
5. Yes, I am testing with my screen unlocked
Anything else I can try? Maybe a setting in my Phone?
Thanks!
Odin should always see your phone in download mode. No rom will change that.
If Odin doesn't detect your phone in download mode then it's either a:
- Driver problem
- Cable/port problem
- Faulty usb port
By the way, the device charges normally when connected to my computer USB.
Lennyz1988 said:
Odin should always see your phone in download mode. No rom will change that.
If Odin doesn't detect your phone in download mode then it's either a:
- Driver problem
- Cable/port problem
- Faulty usb port
Click to expand...
Click to collapse
Good call. Odin is not detecting the phone in download mode-- so I guess we can eliminate problem in the device configuration.
I'm going to try again in another PC and different cables. Maybe my Cable went bad, sucks because it's pretty new? Going to copy Odin to a pen drive so I can try in friends computer. On other PCs I only tried connecting in Windows-- no download mode & odin.
Ok, so I was able to get working back.
I enabled developer options by going in about and clicking the build 7 times. Proceeded to go to Debugging options and selected Android Debugging marked. Reinstalled Drivers again, then it showed PC connected as Media Device on notifications. I clicked there and changed to Camera PTP and then back to MTP.
Now I'm able to see the Device again!
No idea why I was not able to see it in Odin while on download mode, however, I can see it now even when not download mode.
Thread can be closed, thanks!

USB doesn't work after OTA

Hey all,
I have tried to google and figure this out but my phone doesn't show up in device manager in windows or in android file transfer on mac EXCEPT when in download mode or when the phone is off/charging via my computers USB port.
So when in download mode, the phone shows up in device manager....
When my device is off and charging via USB port, it shows up in device manager...
I have tried USB debugging mode no change...
Charges just fine. No usb port issues because it connects during download mode etc...
During these times, i obviously can't access the SDcard.... but as soon as the device boots, it disconnects and disappears from device manager even though its still charging etc...
This only happened after the last OTA update.
I assume i will have to restore to defaults as its probably an issue with the kernel and usb protocol but I dont have the phone rooted and i don't want to root it at this time... I am hoping there might be a quick fix and/or setting i am missing.
Thanks!
tronicsmasta said:
Hey all,
I have tried to google and figure this out but my phone doesn't show up in device manager in windows or in android file transfer on mac EXCEPT when in download mode or when the phone is off/charging via my computers USB port.
So when in download mode, the phone shows up in device manager....
When my device is off and charging via USB port, it shows up in device manager...
I have tried USB debugging mode no change...
Charges just fine. No usb port issues because it connects during download mode etc...
During these times, i obviously can't access the SDcard.... but as soon as the device boots, it disconnects and disappears from device manager even though its still charging etc...
This only happened after the last OTA update.
I assume i will have to restore to defaults as its probably an issue with the kernel and usb protocol but I dont have the phone rooted and i don't want to root it at this time... I am hoping there might be a quick fix and/or setting i am missing.
Thanks!
Click to expand...
Click to collapse
You do have to have USB debugging mode checked. If you don't have the developer option enabled in settings, go to about phone, find your build number and tap on it rapidly until it says your developer option is enabled. Back out and you should see a developer tab. Click it and make sure USB debugging is checked. If that doesn't work you might reinstall the latest USB drivers.
i did both of those. the odd part is when in download mode windows chimes that my device it attached.. no problems right? but anytime the android OS is running no chimes at all no recognition at all on any computer... its almost like back in my linux days when the kernal had a usb module failed to load... i swear its as if the kernal turned off usb data communication... power is fine... just wont communicate unless in download mode or in a power off state.... totally weird...
When you plug it into the computer, pull down your notification drawer, make sure USB setting is set to MTP. It usually is set to installer, or charge only by default.
Also I'd say completely wipe out your phone drivers on the computer, and reinstall all new ones.
Possibly reinstall ADB as well.
Sent from my SM-G900V using XDA Free mobile app

CM 12.1 on Note 3: Usb is now disconnected

Hi to everyone, I'm having bad time finding a solution to my problem, but for now nothing helped me.
I've CM 12.1 installed on my Note 3. Since I installed it to my phone, I've never be able to connect my phone to the computer.
When I click on settings-->storage-->usb computer connection, it says:
"USB is now disconnected".
This doesn't allow me to set the usb connection, and so my pc doesn't recognize my phone.
On my pc, it says: "Unknown device, code 43" (looks like it doesn't have drivers).
I've tried everything:
1) different cable, pc, usb connected directly to main board;
2) reboot phone;
3) all the steps about enabling and disabling developer option:
**********************************************************************************************
To see the USB computer connection options:
1. Developer>Disable USB debugging.
2. Reboot.
3. Connect to PC.
4. Settings>Storage, press the overflow button (three dots).
If that does not do it, then:
1. Disable developer options.
2. Reboot.
3. Connect to PC.
4. Settings>Storage, press the overflow button (three dots).
5. Re enable developer options. (About Phone>Build Number-6x)
**********************************************************************************************
But, apparently, nothing changed.
I want to solve this situation becasue I need to install stock firmware now.
Another problem is that I've tryed to install twrp recovery (using flashify), but this made my phone go in recovery bootloop, and so now, It seems I can't access no custom recovery.
If there is no solution to the problem above, at least help me to install the right twrp recovery (if compatible with cyanogen mod 12.1), so I can try a stock firmware flashing using it.
Thanks for answering, hope someone can help me.
Note: I've installed 12.1-20151120-NIGHTLY-hlte version, and, if I search update it says that there are some updates, but I cannot upgrade my system.
Have you installed the drivers on the PC ??
Usb cable is damaged or lack of driver on PC.

Categories

Resources