[Q] Enable USB Debugging Via PC - Droid RAZR M Q&A, Help & Troubleshooting

I have done tons of research on this, and nothing clear is coming up.
My friend dropped her phone, shattered the screen, and the display is blank. It's a stock razr m, running the most current OTA update. She had all of her pics saved to the internal phone memory. The phone turns on, and I can hear the sounds and see the LED light blinking (stupid thing is trolling me).
USB Debugging is not enabled.
Installed motorola device manager.
The phone connected and installed a bunch of drivers.
Now it just shows up as a camera, with no file system to explore. It's blank.
We tried inserting an SD card, and the exact same thing ^^^ happened.
I have read that USB Debugging needs to be enabled to explore the phone's internal storage. I know that I have to do this with my Note 2 to see anything from the PC. Is there anything I can do in ADB/otherwise, like enabling Debugging to make this thing's files show up on my PC? Thank you for your help.

you don't need to have debugging on but you do need the USB type to be "MTP" not camera
Sent from my XT907 on CM10.1 using Tapatalk 4 beta

Debugging using PC?
I actually had a similar question.
I currently have the Droid RAZR M and it kept going through a bootloop. I have never rooted my phone, so I'm not sure why this happened. Anyways I tried a recovery and and hard reset and I'm still getting the same thing. Then I tried using RSD Lite to do a fastboot, but I'm not sure if I did that correctly. The Filename was VRZ_XT912_6.7.2-180_DHD-16_M4-31_1FF.xml. This failed at step 12. I was wondering if this was because USB Debugging is not enabled? Is there a way to enable it from my computer? As of now I'm stuck with this...
AP Fastboot Flash Mode (S) (Flash Failure)
0A.74
eMMC Info: Size 16G
To return to normal mode - first press power key to power down
Device is LOCKED, Status Code: 0
Battery OK
OK to Program
Connect USB
Data Cable
If someone could help me out that would be great, or point me in the direction to the right forum.
Cheers

Related

Fix for adb not working because phone is stuck in "modem" mode

Just ran into a problem which took me some time to solve. Thought I would share it to save other people some frustration.
After an adb reboot the i5800 got stuck in "modem" mode. i.e. android booted fine but gave a modem and a serial port over usb rather than adb. Reboots did not solve the problem.
The solution is to enter recovery screen:
reboot recovery
OR
press proper buttons to get into recovery mode
And then perform a reboot from there
Is this the same as *#7284# and selecting "PDA" on UART and USB, or just on USB? Or is this a completely separate thing?
miki.antena said:
Is this the same as *#7284# and selecting "PDA" on UART and USB, or just on USB? Or is this a completely separate thing?
Click to expand...
Click to collapse
Thanks so much for this!!!! After helping hack a friends build.prop to enable Apparatus compatibility in the Market, I found USB wasn't working properly anymore. Resetting changes in the phone didn't help (I had to do this via the phone terminal) although I at least managed to buy Apparatus before the sale ended.
After initially getting confused due to a lack of drivers and the occasional 'nH' showing up devices without drivers which made me think something was borked, I worked out from the VID & PID it was just the lack of drivers making (well I'm not sure why it did the 'nH' sometimes it got serial something instead), once I installed the drivers all was fine.
Except still mass storage wasn't showing and the Samsung connect manager didn't show up on my phone when I connected USB, nor did ADB work at all. In fact, it didn't even show up in the phone menu as debugging mode if I didn't start phone with it connected (or something like that). Funnily enough when I did get it the debugging to show up I did get the USB mass storage to show up in the phone, but it didn't help (it just unmounted the card which I think is all it ever does).
Anyway after a bit more fooling around I eventuall came across http://forum.xda-developers.com/showthread.php?t=1215103 and the stuff about modem and mkasick's post which sounded a lot like it could be my problem. The code for that Samsung phone didn't work so I searched for the 5800 and came across this giving me the right code. Sure enough UART (but not USB) was set to modem instead of PDA. I was unsure whether that was wrong but changed it anyway and yep that fixed it!
I still have no idea what went wrong. I had thought may be the phone didn't like me rebooting via ADB but I've now done that several times. In fact most of the stuff except install a superuser update has been more or less repeated. I guess it was just some strange rare occurence that it somehow got changed. I did have to reconnect the USB while working the first time, not sure why but ADB lost connection then I found couldn't connect. Perhaps that's somehow related. Now that I know what to do, it's trivial but very annoying when I didn't. I still don't get why Samsung decided to make the connect manager (my phone doesn't have that) only to have some hidden option where it can be set to modem or USB.
Partially because of this, I never got to get Tilestorm HD become compatible in time for the sale although my friend wasn't so interested in that. (Eventually I worked out using the THC Tattoo modded market which reports a fake resolution enables it. Well, I also modified the build.prop but I don't know if that was necessary. I wasn't able to do it solely by the build.prop. But it was way too late by then to buy Tilestorm HD cheap.)
Nil Einne said:
I still have no idea what went wrong. I had thought may be the phone didn't like me rebooting via ADB but I've now done that several times.
Click to expand...
Click to collapse
This may sound like crazy idea, but is your USB port/connector clean?
(The USB port allows for dozens of different phone functions when using very specific resistance between data pins.)
i bought a LG D802 32gb last night as i was using a 16 gb before i wanted to flash cloudy g3.. so i tried to install custome recovery twrp...
now i am in fast boot mode..
it says :
[880]fastboot mode started
[910]udc_start()
when i attach usb cable
[1100]-reset-
[1110]-portchange-
[1120]-reset-
[1130]-portchange-
[1140]-fastboot: processing commands
i tried holding volume + and and attaching the usb cable but no luck ... so now i have NO RECOVERY, NO DOWNLOAD MODE, AND MY WINDOWS PICKING UP MY PHONE AS "USB MODEM PHONE ADB PORT"
please help

Please Help! USB Debugging related

I am having problems with my N7 not connecting to my desktop. I can get into bootloader and recovery but I can not mount USB to add a rom. I'm SOL as of right now and have no clue what to do...
uitfenc families
makross said:
I am having problems with my N7 not connecting to my desktop. I can get into bootloader and recovery but I can not mount USB to add a rom. I'm SOL as of right now and have no clue what to do...
Click to expand...
Click to collapse
Could it be related to this issue:
http://forum.xda-developers.com/showthread.php?t=1821536
If you have plugged your Nexus 7 on a car charger, the usb might be dead and only be used for charging (and so unable to transfer new ROM data).
charging is fine...is it possible that I did not enable usb debugging before i wiped to factory reset that it would prevent me from connecting???
alright heres alil update i tried using WUGS toolkit and trying to unroot everything was going fine until it cannot find the flashstock.bat...now im back to square one. i cant find the flashstock.bat anywhere
I was having the same problem. It would see the camera mode, but not the mtp. I read in another thread to turn off debugging in settings. What do you know. It worked! Computer sees the tablet now just fine.:victory:

N4 not showing up at all on PC

I'm not sure when this problem first appeared. For whatever reason, my phone doesn't show up at all when connected to either of my two PCs. It must have when I first rooted the phone (to load ChainSU) but I'm not sure if the problem is recent or occurred immediately thereafter.
USB debugging is disabled. When I plug my phone into a computer, it attempts to install the MTP Driver and fails. When I uninstall my device, it disappears and I'm unable to manually install the driver's I've downloaded from other threads. When I load into the Bootloader, my device is recognized by Fastboot.
I'm hesitant to factory reset as this will leave me unable to root if the problem persists, which is important to me as I can get rid of the yellow tint on this screen.
Any thoughts?
Edit: $10 via Paypal for anyone who successfully helps me to a solution!
Are you definitely sure usb debugging is disabled? The phone should install as a portable device on your pc. Also ensure to enter your password onto your phone when connected otherwise the phone will not show up its contents.
Make sure for windows media player to be updated to the latest, for the windows mtp driver.
duraeas said:
I'm not sure when this problem first appeared. For whatever reason, my phone doesn't show up at all when connected to either of my two PCs. It must have when I first rooted the phone (to load ChainSU) but I'm not sure if the problem is recent or occurred immediately thereafter.
USB debugging is disabled. When I plug my phone into a computer, it attempts to install the MTP Driver and fails. When I uninstall my device, it disappears and I'm unable to manually install the driver's I've downloaded from other threads. When I load into the Bootloader, my device is recognized by Fastboot.
I'm hesitant to factory reset as this will leave me unable to root if the problem persists, which is important to me as I can get rid of the yellow tint on this screen.
Any thoughts?
Edit: $10 via Paypal for anyone who successfully helps me to a solution!
Click to expand...
Click to collapse
There are a few things you can try. Have you tried uninstalling the drivers completely then reinstalling from the toolkit? In the past, I've had issues where the phone wouldn't be accessible in some way on one computer but would be fine on another, so maybe try a different computer to try to narrow down the problem as to whether it's an issue with the phone or the computer? Also, this may sound a bit ridiculous, but simply switching USB cables and / or ports has fixed detection issues for me in the past as well--something to consider.
Sent via Morse code from my Nexus 4
Remove any existing drivers (while phone is connected), do the same for other android devices if you have any, then reboot and install Universal Naked Drivers. Have always had success with this driver pack.
Rizy7 said:
Are you definitely sure usb debugging is disabled? The phone should install as a portable device on your pc. Also ensure to enter your password onto your phone when connected otherwise the phone will not show up its contents.
Click to expand...
Click to collapse
100% sure on both counts.
I have this same issue with my rooted nexus 4, I've tried 3 different computers and several cables and it never connects to the PC and only charges the phone. It doesn't even give me option to choose media files.
I've had this issue before, my Nexus/Computer was acting in complete stupidity. When connecting the phone to your computer you will see a notification saying "Connected as a media device" on your phone, just touch it, and change it to "Camera (PTP)". It might access the camera for you, but It actually accessed the storage for me.
YeledKaki said:
I've had this issue before, my Nexus/Computer was acting in complete stupidity. When connecting the phone to your computer you will see a notification saying "Connected as a media device" on your phone, just touch it, and change it to "Camera (PTP)". It might access the camera for you, but It actually accessed the storage for me.
Click to expand...
Click to collapse
Thats not the problem, it doesn't give any option. It doesn't show up on the computer at all and only charges. It's the same for every computer.
yuriorkis said:
I have this same issue with my rooted nexus 4, I've tried 3 different computers and several cables and it never connects to the PC and only charges the phone. It doesn't even give me option to choose media files.
Click to expand...
Click to collapse
I'm thinking we've screwed something up with the phone's side of the MTP protocol - mine is totally independent of the cord/computer used. All the correct drivers installed.
Have you tried Factory Resetting? I'm really hoping this is a workable option.
If you have a recovery back up the current Rom and flash stock and see if it's working
Sent from my KFTT using xda premium
if the phone is locked with a pin/password/pattern unlock it.
I had same problem on my pc yesterday. Even if the drivers installer showed up that installation was successful, somehow for a mtp mode system was using some other Microsoft driver. Correct one was only used in ptp mode. So when I connected n4 in mtp mode storage wasn't available, when I switched to ptp mode everything was fine. Turn on your usb debug, switch on mtp and connect. Go to device manager in system, find your nexus there and rmb on it and manually reinstall driver. After this my n4 is visible in system in mtp mode again.
Sent from my Nexus 7 using Tapatalk HD
my screen is cracked and phone is useless now (replacement coming tomorrow) can i connect it and wipe it back to factory before i have to send it out?
K0v4L said:
I had same problem on my pc yesterday. Even if the drivers installer showed up that installation was successful, somehow for a mtp mode system was using some other Microsoft driver. Correct one was only used in ptp mode. So when I connected n4 in mtp mode storage wasn't available, when I switched to ptp mode everything was fine. Turn on your usb debug, switch on mtp and connect. Go to device manager in system, find your nexus there and rmb on it and manually reinstall driver. After this my n4 is visible in system in mtp mode again.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
The problem is that even if I switch between MTP and PTP it still does nothing, I have tried multiple cables, computers and have reflashed the ROM and wiped the device but it still does not connect with the PC. This is frustrating.
yuriorkis said:
The problem is that even if I switch between MTP and PTP it still does nothing, I have tried multiple cables, computers and have reflashed the ROM and wiped the device but it still does not connect with the PC. This is frustrating.
Click to expand...
Click to collapse
Is yours able to connect during Bootloader/Recovery? Fastboot/ADB have no trouble recognizing my device.
It's really odd that if these things work, meaning your USB connection is fine, replacing the all of software fixed nothing... unless MTP occurs at a much lower level of the OS (maybe kernel is corrupted?)
I've got a similar problem that others have posted - PCs not detecting my N4. I got it last Friday (2/1) from Google and after the registering process and updating to 4.2.1, I connected it to my Win7 laptop and it showed on the PC as a drive. But since I couldn't copy/paste Office docs to that drive and had to do that through Dropbox, I didn't bother trying to reconnect until Monday, at which time the PC didn't detect it. Neither will one other Win7 nor two XP (both with WMP10) PCs. Have tried multiple cables, all of which work with other Android devices (pre 3.0). I've seen several suggestions on this and other threads, but one major issue I'm having is that some of the fixes require enabling USB Debugging. For the life of me I can't find that option in the N4's Settings. Unlike my other phones, there is no Applications subcategory under Settings on my N4 (4.2.1, Build JOP40D). Can anyone help me find that option? TIA.
Edit - Found answer. Click on Build in About Phone setting 7 times. That activated Developer options. Now to try the fixes which require USB Debugging mode turned on.

[Q] Computer no longer recognizes Nexus on USB

For some reason, I can no longer get any computer to recognize my Nexus 4 when connected by USB. I can charge but cannot get the phone recognized.
A couple weeks ago, everything was working fine. I was running Cataclysm (November build based on 4.3). I upgraded to the Nexus 5 and decided to give the Nexus 4 to my daughter. I was able to connect the Nexus 4 to the computer and move all my photos and music etc off of the phone. After moving my files off and doing a Titanium backup and Nandroid just in case, I did a complete wipe on CMW (6.0.3.5). Everything fired up fine and I had no reason at the time to test the USB.
However, last week, my daughter was complaining about bad battery life and I decided to take a look and go ahead and update the phone to the latest (Dec. 12) Cataclysm build based on 4.4.2. Before flashing the new build, I connected the phone to the computer by USB but could not get the computer to recognize the phone. The phone charges, but is not recognized in device manager and does not connect.
I've done everything I can think of to troubleshoot the issue - all without luck - including:
Turned USB debugging on and off. No luck.
Changed the USB storage mode from MTP to PTP and back. No luck.
Confirmed fast charging isn't somehow enabled. It isn't.
Tried several different USB cables. No luck.
Tried a different Nexus 4 and my Nexus 5 on the same computer. They work.
Tried the subject phone on a different computer running Windows. No luck.
Tried the subject phone on a computer running Mac OS. No luck.
I did go ahead and flash the latest Cataclsym build (I did a full wipe again) but sill no change. I don't see any evidence of physical damage to the micro USB port but I took a small toothrush and gently cleaned the contacts with rubbing alcohol.
At this point, I believe the problem is either the a) the port is bad or b) somehow, the phone software/ROM is screwed up.
Is there any way to determine whether the physical port is bad? Any other ideas. I'm kind of at the end of my capability here.
can adb recognize it?
Code:
adb devices
Riro Zizo said:
can adb recognize it?
Code:
adb devices
Click to expand...
Click to collapse
I don't think so. I'll have to check tonight when I get home. I tried to get Wug's toolkit to recognize the phone with no luck but haven't tried that command on its own.
Riro Zizo said:
can adb recognize it?
Code:
adb devices
Click to expand...
Click to collapse
No luck. I attached the Nexus 4 to the computer, entered a command prompt to navigate to the platform tools director that has the adb files and entered the "adb devices" command. The response was "List of devices attached" with no phone (or anything else) listed.
I have that issue too. I´m on windows 8 and to root and being able to recognize by the pc I changed it to PTP. It only works in PTP and I have to pass all the data to the camera folder to send info
Gildegan said:
I have that issue too. I´m on windows 8 and to root and being able to recognize by the pc I changed it to PTP. It only works in PTP and I have to pass all the data to the camera folder to send info
Click to expand...
Click to collapse
I don't think I've got the same issue. I cannot get any computer to recognize the phone under any mode (storage, photo, debugging on, debugging off). Nada. At this point, I'm pretty sure it's the port gone bad. I just wiped the phone again and clean flashed the stock 4.4.2 ROM, radio and bootloader. Still no connection.
Argh.
SHPhone said:
I don't think I've got the same issue. I cannot get any computer to recognize the phone under any mode (storage, photo, debugging on, debugging off). Nada. At this point, I'm pretty sure it's the port gone bad. I just wiped the phone again and clean flashed the stock 4.4.2 ROM, radio and bootloader. Still no connection.
Argh.
Click to expand...
Click to collapse
can you try going to recovery, then type adb devices?
Sent from my Nexus 4
I had this problem and i found away to fix it. Plugin your phone to a computer. Start > right click on my computer > properties > device manager. Look for Samsung > expanded it you will find Nexus 4. Right click on it and choose uninstall and check uninstall driver. Unplug your phone and restart the computer. Re-plug the phone and wait for the drivers to install.
Sent from my Nexus 4 using Tapatalk

nexus 4 - broken screen and usb debugging turned off

Hi
I have a nexus4 that has a broken screen, it is, it doesnt react to the finger touch, and doesnt have usb debug enabled
What could i do to extract the files from there?
I have seen that connecting a mouse via usb is not an option as this device is not compatible with that, so i think the only option i have is to flash the device to have usb debugging enabled
Is there any other option i can explore?
Thanks
I am sure that you can enter your recovery assuming that your power + vol button is still functioning.
Try to connect your device using Wug Tool and use the tool to back up all the files.
Give it a try and let us know.
Sent from my Nexus 4 using XDA-Developers mobile app
Thanks
Yes, i can get in recovery, but, i assume i would need to unlock the bootloader first, isnt it? If i do it, i will erase all the documents inside
Hi
I have tried getting into recovery, but, as expected, as usb debugging is not enabled, i cant see the device from adb
So, the key question is... how can i enable usb debug in a device with the screen broken and with bootloader locked, without wiping the data?
Thanks
It is possible to turn on usb debugging?
I have clean phone - after factory reset.

Categories

Resources