re-enable usb debugging? - Fire Q&A, Help & Troubleshooting

probably a dumb question, but here it goes
I made the mistake of setting usb mode to charge only and now I can't enable usb debugging in developer options. Is there any way I can re-enable usb debugging?

wulfie66 said:
probably a dumb question, but here it goes
I made the mistake of setting usb mode to charge only and now I can't enable usb debugging in developer options. Is there any way I can re-enable usb debugging?
Click to expand...
Click to collapse
There is but I don't recall the solution. Search the forums; there have been several posts (with solutions) over the past several months.

Davey126 said:
There is but I don't recall the solution. Search the forums; there have been several posts (with solutions) over the past several months.
Click to expand...
Click to collapse
yeah, I've done it before on my phone as well, just don't remember how I 'fixed' it

Go back and change USB from Charging only to MTP. See if it helps...

shabuboy said:
Go back and change USB from Charging only to MTP. See if it helps...
Click to expand...
Click to collapse
that's the problem, there is no option to change usb from charging to mtp when I plug it into my pc

Just undo what you did on post 1, same way.

shabuboy said:
Just undo what you did on post 1, same way.
Click to expand...
Click to collapse
there is no option to 'undo' it, nothing comes up when I connect the usb cable, it just starts charging

nobody else has an idea on how I can re-enable usb debugging on this tablet?

wulfie66 said:
nobody else has an idea on how I can re-enable usb debugging on this tablet?
Click to expand...
Click to collapse
Keep searching; several people have experience this problem and overcome it. Google it or use the XDA search function. You'll probably have to sift through dozens/hundreds of posts to find the Golden nugget.

Davey126 said:
Keep searching; several people have experience this problem and overcome it. Google it or use the XDA search function. You'll probably have to sift through dozens/hundreds of posts to find the Golden nugget.
Click to expand...
Click to collapse
SCORE!
Used Root Explorer with ES File Manager and browsed to /data/property. Then I edited the _file_ persist.sys.usb.config with a text editor and replaced the chargingonly with
mtp,adb
reboot and now I have adb debugging again!

Related

[Q] Windows 7 multimedia controller

Ok i have looked to find a resolution to this problem.. but have not found it anywhere.. I really apologize if this has been already asked and moderators be nice as I have seen how "firm" some ppl have been with posting in the wrong place.
My question is i cannot connect my Galaxyi896 phone to my computer because it states the multimedia controller and video controller is not there(Gives Code 28)... I am using windows 7 64 bit and i have downloaded the drivers but am still getting this message.. If anyone could help it would be greatly appreciated..
Again sorry if this is in the wrong place or has been asked already...
rheanjd said:
Ok i have looked to find a resolution to this problem.. but have not found it anywhere.. I really apologize if this has been already asked and moderators be nice as I have seen how "firm" some ppl have been with posting in the wrong place.
My question is i cannot connect my Galaxyi896 phone to my computer because it states the multimedia controller and video controller is not there(Gives Code 28)... I am using windows 7 64 bit and i have downloaded the drivers but am still getting this message.. If anyone could help it would be greatly appreciated..
Again sorry if this is in the wrong place or has been asked already...
Click to expand...
Click to collapse
First thing's first..... what are you running ROMwise?
I am running stock 2.2 Froyo JI6
rheanjd said:
I am running stock 2.2 Froyo JI6
Click to expand...
Click to collapse
What's your computer recognizing your phone as in device manager? What do you have your USB settings set to in development?
Twicebak3d said:
What's your computer recognizing your phone as in device manager? What do you have your USB settings set to in development?
Click to expand...
Click to collapse
The phone is recognizing it as "Other devices"
There are 4 ports
multimedia controller
multimedia video controller
unknown device
unknown device
and i have my usb debuggin set...
my phone is set to ask on connection in USB settings..
All it does when it plugs the phone is charge it...
rheanjd said:
The phone is recognizing it as "Other devices"
There are 4 ports
multimedia controller
multimedia video controller
unknown device
unknown device
and i have my usb debuggin set...
my phone is set to ask on connection in USB settings..
All it does when it plugs the phone is charge it...
Click to expand...
Click to collapse
You have usb debugging on? If so... turn it off.
rheanjd said:
I am running stock 2.2 Froyo JI6
Click to expand...
Click to collapse
JI6 is the leaked version with all kind of problems. Try installing drivers and reinstall. I'm on Win 7x64 and never had an issue connecting.
Sent from my SAMSUNG-SGH-I897 using XDA App
cappysw10 said:
JI6 is the leaked version with all kind of problems. Try installing drivers and reinstall. I'm on Win 7x64 and never had an issue connecting.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
To be honest i don't think its the phone... bcuz i am able to connect it to my labtop and it seems to work its just the computer does not pick this up.. Anything and everything else works on the computer other than my phone...
Have you tried to change USB cables? The one I got from ATT died fairly quickly, after I replaced it, my phone connected again to my computer.
popfan said:
Have you tried to change USB cables? The one I got from ATT died fairly quickly, after I replaced it, my phone connected again to my computer.
Click to expand...
Click to collapse
The cable i have is the original samsung cable and as mentioned earlier when connecting it to my labtop it works... I have been reading up a bit on other forums and i think it has to do with my computer not being able to recognize the device.. hopefully i can find something useful and post it here to help anybody else. if anyone else got any ideas, please share...

[Q]Hardware bricked USB connector or just software prob?

Hello,
few days ago I've got my USB OTG cable. So, when I connected this OTG cable to my USB HUB through USB cable with 2 sides of type A port (pic here : http://www.cyfronika.com.pl/art93/kab120aa-l.jpg) to get power on HUB from USB port charger but nothing happened on phone with flash storage, any notifications or something. Then, when I wanted to transfer some files from my computer to sdcard. I've connected USB cable but Windows 7(32-bit) says that my device can be damaged or something (code 43). I've searched about this and found this http://pcsupport.about.com/od/errorc/a/code-43-error.htm . I've used http://forum.xda-developers.com/showthread.php?p=21503469 for setting up the OTG and for kernel too.
Well, I've followed this tutorial but the error still appears. Tried on 3 computers with different cables and different USB ports.
So just tell me if it's software problem or I must do something with this.
LOGCAT : http://pastebin.com/gbqqDxay
LOGCAT_radio : http://pastebin.com/H4dU9JWX
dmesg : http://pastebin.com/tkicx7xb
Logs has been taken after USB cable connecting.
Thanks
(bump) can anyone help me?
(bump again)
(bumpin' like a crazy) Please, anyone have solution for this problem?
So the general idea is, you're trying to let your phone connect to other hardware while the phone is the host, right?
Now you're trying to connect your computer to your phone again normally and it's not working? (normal usb cable)
For one, there are a bunch of errors in the log you posted, thinks like
Code:
W/PackageManager( 353): Unknown permission android.permission.ACCESS_SUPERUSER in package hu.sztupy.android.usbhostcontroller
That might be a problem, I don't know. Perhaps you're better off asking the dev of this mod about these errors. Maybe there's something you forgot or wasn't mentioned in your guide that causes these?
Have you also considered the possibility your phone is now *always* trying to be the host (which is not going to be something a pc likes)? You're saying you can't properly connect with your pc any more, but can you connect with another device (usb stick for example)?
Marshian said:
So the general idea is, you're trying to let your phone connect to other hardware while the phone is the host, right?
Click to expand...
Click to collapse
Yes, It was the general idea when I've bought OTG cable.
Marshian said:
Now you're trying to connect your computer to your phone again normally and it's not working? (normal usb cable)
Click to expand...
Click to collapse
Yes, tried with 2 Nokia cables and one stock from Samsung. Windows is always showing code 43 ;/
Marshian said:
That might be a problem, I don't know. Perhaps you're better off asking the dev of this mod about these errors. Maybe there's something you forgot or wasn't mentioned in your guide that causes these?
Click to expand...
Click to collapse
Well, I'll try to contact with @sztupy (http://forum.xda-developers.com/showthread.php?t=1468531). Anyways I think I haven't forgotten what I wanted to write.
Mashian said:
Have you also considered the possibility your phone is now *always* trying to be the host (which is not going to be something a pc likes)? You're saying you can't properly connect with your pc any more, but can you connect with another device (usb stick for example)?
Click to expand...
Click to collapse
I've set default settings for USB Host Controller app. But no, I can't connect another device. I'm in half way to download Linux, maybe on it everything will be working properly.
Anyway thanks for your reply, let's see if it will be working on Linux ;f
//EDIT : Same problem on Linux. Device is not recognized.
(bump) Any ideas?
(bump)
ADDED MORE LOGS.

[Q] Disable automatic mount dialog on USB connect?

For the record I did a search and the only similar thread I found was from 2010 http://forum.xda-developers.com/showthread.php?t=687587 and there aren't any solution/tips in there that are still relevant.
I've been finding with a lot of different roms (all jellybean ROMS as far as I can remember, but Slim 3.1 and 4.2.1 betas 1 & 2 for sure) that as soon as I plug in a USB cable the mount prompt comes up.
Does anyone know how/if this can be disabled? I prefer to only mount when I choose to touch the notification.
Thanks for any tips/solutions.
iamzombie said:
For the record I did a search and the only similar thread I found was from 2010 http://forum.xda-developers.com/showthread.php?t=687587 and there aren't any solution/tips in there that are still relevant.
I've been finding with a lot of different roms (all jellybean ROMS as far as I can remember, but Slim 3.1 and 4.2.1 betas 1 & 2 for sure) that as soon as I plug in a USB cable the mount prompt comes up.
Does anyone know how/if this can be disabled? I prefer to only mount when I choose to touch the notification.
Thanks for any tips/solutions.
Click to expand...
Click to collapse
I'm not sure if that changes anything but I'm on AOKP with USB debugging on and other than the notification, I have to go in my pulldown menu to mount up.
Sent from my SGH-I897 using xda app-developers app
try enabling both usb debug and usb debug notification. if usb debug is off, it may just jump to the usb storage prompt.
I'm on CM10.0, and I don't have the problem. when I connect usb cable, I get 2 notification icons: debug and usb. I only get the usb dialog if I tap on the usb notification.
Sent from my SGH-I897
Neither USB debugging nor USB debugging notify made any change, as soon as I plug my USB cable in, the fullscreen mount prompt pops up :/
The only thing I've found so far that gets rid of it is enabling fast charge, which I guess is acceptable if no other method can be found.
Thanks for the suggestions though.
I was going to suggest what you already did and that was to enable fast charge.
I don't see anything like that in developer options on my phone... I assume by "active awy" you meant "active away"? Either way, didn't see anything similar anywhere on my phone.
frozen01 said:
you need active awy mode in developer options
Click to expand...
Click to collapse
iamzombie said:
I don't see anything like that in developer options on my phone... I assume by "active awy" you meant "active away"? Either way, didn't see anything similar anywhere on my phone.
Click to expand...
Click to collapse
He doesn't use the same phone as us.
Not sure what you mean, but for the record I've got an unlocked AT&T cappy, not a rogers one.
iamzombie said:
Not sure what you mean, but for the record I've got an unlocked AT&T cappy, not a rogers one.
Click to expand...
Click to collapse
He has a htc mini or something like that.
the AT&T (I897) and Canadian (I896) are the same device.

Massive Storage not working in T813, computer does not detect

Hello fellas,
I have a problem with my brand new T813 running the latest official firmware available (Android 7).
Massive storage is not working, my computer running Windows 10 with updated samsung drivers has failed to detect it. The device charges, but I am unable to modify the usb options, regardless the choice MTP always remain.
I have tried with three different cables, all of them work fine with my S7, the computer never detects the device, eventhough it's charging. This means it is not a problem with the device's micro usb port. I have the latest drivers, and I have also tried with all usb ports. None of them seemed to do the trick.
The computer has faulty usb 3 drivers, ever since I have installed Windows 10, the speed is not what used to be with the previous configuration. I have the same drivers, I don't understand what's wrong.
Any help would be appreciated, I have tried most solutions mentioned on this community and they didn't work. I can't flash the device because it is never detected. The problem still persists after a restablishment via the menu.
Download mode shows
QUALCOMM SECURE BOOT: ENABLE (CSB)
FRP LOCK IS OFF
[UPDATE] 06/08 11 AM
Left the device at SAMSUNG ARGENTINA repair shop. Also had to pay 300 pesos (around 20 dollars) as a diagnostic fee, they told me that if I accept the repair cost later on, they would discount the 300 pesos I have paid out of the total price. And if I don't, they will keep the money.
Will update again when Samsung calls me in a couple of days. Maybe this monday, I hope so.
[UPDATE] 06/08 15 PM
I have just received an email from BGH, which is the SAMSUNG ARGENTINA official partner for repairs. They told me that the problem is a FAILURE on the SUB board.
http://www.ebay.com/itm/Micro-USB-C...g-Galaxy-Tab-S2-9-7-034-SM-T813-/322414846816
The good thing, is not that expensive. The bad thing, this tablet hasn't arrived officially to Argentina, and since it has been bough in Chile, the guys at SAMSUNG ARGENTINA had to request an international order replacement, which I have been told it could take some time. But they will eventually get the piece.
Will update again.
What does device manager report when the device is connected?
Sure you don't have ADB enabled? Disable developer settings and try again.
ashyx said:
What does device manager report when the device is connected?
Click to expand...
Click to collapse
Thanks for replying, please refer to first screenshot. No Mass Storage option appears after connecting device. MTP option seems to be forced, i am unable to change it.
The tablet is brand new, but the guy who sold it to me said that it has always been working. He even told me that it has been barely used, and that the device is recognized when connected to an usb audio system. It has been upgraded to 7.0.1 a couple of days ago, maybe that's the problem.
I have just tried with a macbook air and it didn't detect it either, it is only charging. The same computer has detected my S7.
hemp_invader said:
Thanks for replying, please refer to first screenshot. No Mass Storage option appears after connecting device. MTP option seems to be forced, i am unable to change it.
The tablet is brand new, but the guy who sold it to me said that it has always been working. He even told me that it has been barely used, and that the device is recognized when connected to an usb audio system. It has been upgraded to 7.0.1 a couple of days ago, maybe that's the problem.
I have just tried with a macbook air and it didn't detect it either, it is only charging. The same computer has detected my S7.
Click to expand...
Click to collapse
Modern devices don't use mass storage anymore, they use the MTP protocol.
You should see your storage folders pop up in my computer.
fonetyk said:
Sure you don't have ADB enabled? Disable developer settings and try again.
Click to expand...
Click to collapse
Thanks for replying. ADB and USB debugging activated, I have also performed a factory reset and the problem still persists.
Using a microSD didn't help either.
hemp_invader said:
Thanks for replying. ADB and USB debugging activated, I have also performed a factory reset and the problem still persists.
Using a microSD didn't help either.
Click to expand...
Click to collapse
What usb options do you get when swiping down the notification shade?
ashyx said:
What usb options do you get when swiping down the notification shade?
Click to expand...
Click to collapse
There is no notification when I plug in the cable, that is the problem.
hemp_invader said:
There is no notification when I plug in the cable, that is the problem.
Click to expand...
Click to collapse
Does you get any kind of connection in DOWNLOAD mode, can odin see the device?
ashyx said:
Does you get any kind of connection in DOWNLOAD mode, can odin see the device?
Click to expand...
Click to collapse
Sadly nothing at all, the device only charges via usb. This is very confusing because the guy who sold it to me said it was working, but he has also said that he has never plugged it in a computer.
hemp_invader said:
Sadly nothing at all, the device only charges via usb. This is very confusing because the guy who sold it to me said it was working, but he has also said that he has never plugged it in a computer.
Click to expand...
Click to collapse
There are no error codes in device manager when the device is plugged in?
ashyx said:
There are no error codes in device manager when the device is plugged in?
Click to expand...
Click to collapse
Nothing, not even an unknown device. I'm lost here.
hemp_invader said:
Nothing, not even an unknown device. I'm lost here.
Click to expand...
Click to collapse
I think you need to try another pc.
ashyx said:
I think you need to try another pc.
Click to expand...
Click to collapse
I have tried with a mac and nothing has happened, it is only charging. The same computer has detected my s7.
A lot of people seem to have experienced this problem, the remaining solutions I didn't try are using other pc or try cleaning the female port with isopropilic alcohol. Hope it does the trick, otherwise I'm screwed.
I will try at work tomorrow.
ashyx said:
Modern devices don't use mass storage anymore, they use the MTP protocol.
You should see your storage folders pop up in my computer.
Click to expand...
Click to collapse
That is the problem, when I connect the cable nothing happens, it is only charging. Windows doesn't even detects it as an unknown device and neither does mac osx.
I didn't know mass storage is not used anymore, I think my S7 does have it and it works. I will try at work tomorrow.
When the problem appears with different USB cables and in different computers, as in your case, you have to look into the possibility that it may be a hardware issue.
I hope I'm wrong about this, but it sounds like the DATA+ or DATA- pin is damaged in your micro usb socket (pins 2 and 3, see http://pinouts.ru/PortableDevices/micro_usb_pinout.shtml)
fonetyk said:
When the problem appears with different USB cables and in different computers, as in your case, you have to look into the possibility that it may be a hardware issue.
I hope I'm wrong about this, but it sounds like the DATA+ or DATA- pin is damaged in your micro usb socket (pins 2 and 3, see http://pinouts.ru/PortableDevices/micro_usb_pinout.shtml)
Click to expand...
Click to collapse
Yes, I'm afraid it could be a hardware problem. But that would also mean the guy who sold it to me is lying. I have to say it, the device looks like it has been treated with care. However, i have noticed the plastic has worn out a little near the usb port, those black marks could indicate not so much care when plugging or unplugging the cable.
I hope we are both wrong about this. Tomorrow i will know. Fixing this is a pain in the ass, right?
hemp_invader said:
Yes, I'm afraid it could be a hardware problem. But that would also mean the guy who sold it to me is lying. I have to say it, the device looks like it has been treated with care. However, i have noticed the plastic has worn out a little near the usb port, those black marks could indicate not so much care when plugging or unplugging the cable.
I hope we are both wrong about this. Tomorrow i will know. Fixing this is a pain in the ass, right?
Click to expand...
Click to collapse
¡Che! Replacing the microusb receptacle would not only be a pain the ass, but if you make a tiny mistake while soldering or desoldering you can end up with a bricked tablet.
Anyway, let me know what you find out tomorrow, good luck boludo.
fonetyk said:
¡Che! Replacing the microusb receptacle would not only be a pain the ass, but if you make a tiny mistake while soldering or desoldering you can end up with a bricked tablet.
Anyway, let me know what you find out tomorrow, good luck boludo.
Click to expand...
Click to collapse
Actually not too bad as the Micro USB port is a module and can simply be swapped out.
http://m.ebay.com/itm/Micro-USB-Cha...-Tab-S2-9-7-034-SM-T813-SM-T819-/361834576986
ashyx said:
Actually not too bad as the Micro USB port is a module and can simply be swapped out.
http://m.ebay.com/itm/Micro-USB-Cha...-Tab-S2-9-7-034-SM-T813-SM-T819-/361834576986
Click to expand...
Click to collapse
I didn't know this tablet had a modular micro usb port, that's great ! :good:

Connecting to a pc

I'm on the latest update (8.1.0 may security) and I'm trying to connect my 7 plus to my PC, but nothing happens. The PC doesn't install any drivers and my phone isn't showing up in devices. I'm not getting the notification I'm supposed to get on my phone either, the phone is charging though. I have tried to connect to different PC:s as well.
Does anyone else have this problem?
@Floyd
Have you enabled developer mode and set USB debugging to on? Otherwise drivers or not the PC will not communicate with the Nokia.
Sent from my Redmi Note 5 using Tapatalk
Stransky said:
@Floyd
Have you enabled developer mode and set USB debugging to on? Otherwise drivers or not the PC will not communicate with the Nokia.
Sent from my Redmi Note 5 using Tapatalk
Click to expand...
Click to collapse
Yes, USB debugging is on. I have tried connecting without it aswell.
floiyd said:
Yes, USB debugging is on. I have tried connecting without it aswell.
Click to expand...
Click to collapse
When the phone is plugged into PC make sure
that on the status bar it is not showing charging on USB but MTP (file transfer) other than that it must be driver related.
Sent from my Redmi Note 5 using Tapatalk
Stransky said:
When the phone is plugged into PC make sure
that on the status bar it is not showing charging on USB but MTP (file transfer) other than that it must be driver related.
Sent from my Redmi Note 5 using Tapatalk
Click to expand...
Click to collapse
Well that's the problem I think, Im not even getting a notification in the status bar that im connected...
floiyd said:
Well that's the problem I think, Im not even getting a notification in the status bar that im connected...
Click to expand...
Click to collapse
As Stransky said, did you enable File transfer or MTP from notification bar on the phone?
You won't get notifications on PC if USB is set for charging only.
trveller72 said:
As Stransky said, did you enable File transfer or MTP from notification bar on the phone?
You won't get notifications on PC if USB is set for charging only.
Click to expand...
Click to collapse
As I said earlier, Im not getting a notification on my phone when plugging it in.
floiyd said:
I'm on the latest update (8.1.0 may security) and I'm trying to connect my 7 plus to my PC, but nothing happens. The PC doesn't install any drivers and my phone isn't showing up in devices. I'm not getting the notification I'm supposed to get on my phone either, the phone is charging though. I have tried to connect to different PC:s as well.
Does anyone else have this problem?
Click to expand...
Click to collapse
Exactly same problem here, my Nokia 7 Plus only says charching and I don't get a notifiaction. My PC also doesn't react.
Have you found any solution yet?
Unplug the cable. Enable developer options, then find "default USB configuration" and change it to mtp. Replug the cable
donjamal said:
Unplug the cable. Enable developer options, then find "default USB configuration" and change it to mtp. Replug the cable
Click to expand...
Click to collapse
Is this how you solved it on your phone? Doesn't seem to work for me though...
so.sugarcold said:
Is this how you solved it on your phone? Doesn't seem to work for me though...
Click to expand...
Click to collapse
since it doesn't even recognize that the device was connected to the pc, it was a guess. you can also try to plug it into a different USB port. for me, it did recognize the connection itself but it did not install the MTP driver properly. i just manually installed it from here: c:\Windows\INF\wpdmtp.inf (right click and install)
Going to settings -> System -> about phone, and then find the 'Build number' option, several click it until system ask for password to enable developer mode. After done this, return to settings -> System, find the 'Developer options' and click it, and enable the 'USB debugging' option. Now using the command 'adb devices' will show our phones.
Well I had same issue with Nokia 6.1 plus running 8.1.0 but I was using 3rd party cable which din't support data transfer except charging phone. So I used OEM Foxconn original charging cable and it quickly detect my phone and installed driver itself. try changing cable and turn on USB Debugging if needed.
Is this how you solved it bro, doesn't seem to be working for my phone?
Try a different cable. I had the same issue now and the problem was the cable I was using wasn't fit for data transfer. When I tried a cable which came with the phone it worked.
With the old cable I tried all the suggestions and nothing worked. I would connect the phone to my PC and it would only charge but no option to choose USB mode (file transfer).
Tried another cable and the USB mode option came up straight away. Hope it helps someone

Categories

Resources