Safely Remove Device when USB-Debugging is enabled - Nexus 6P Q&A, Help & Troubleshooting

hey guys,
perhaps a dumb question, but today i witnessed that an option to safely remove the device appears, when the nexus is plugged into a pc with usb debugging enabled (mtp mode).
is it necessary to detach like this before unplugging?
i tried it once, and i got the message that sth is still occupying the device and it cant the disabled, the other time i was able to disable it that way, so there must be sth behind all this.
is it safe to say i could have just unplugged it without safely removing it (in all circumstances) without doing any harm to the storage drive, because thats what i did all the time, before i saw the button
thanks!

anyone?

I always just unplug it, never "Safely remove it" and have never experienced any problems or data loss.

Zerqz said:
I always just unplug it, never "Safely remove it" and have never experienced any problems or data loss.
Click to expand...
Click to collapse
even with usb debugging enabled?
does someone has some more knowledge here?

xflowy said:
even with usb debugging enabled?
does someone has some more knowledge here?
Click to expand...
Click to collapse
Yeah usb debugging is enabled, pretty much all that does is let you use adb... Doesn't really change much.

Life is too short to remove USB safely ... Lol
I have never noticed it. I simply pull the cable and get done with it.

I've always just pulled cable also. No issues so far.

Related

Shortcut to USB Mode??

I want to create a shortcut to the USB Mode selector screen i.e. Disc Mode/Active sync mode...Does anybody know what the File name is?
Thanks
sorry, i dont know what the executable is but im wondering why you would bother with this though?
when you plug in a usb cable the menu pops up automatically.
If it has stopped popping up automatically when you plug in, you can set it to ask again by going
settings - menu - all settings - connectioncs - USB to PC - tick ask me first
I've never thought about it before, but now that I do I can see the benefit of being able to toggle the connection type without having to unplug and then plug back in. I tend to have my device plugged in a lot, and I do worry that regular use of the connection will loosen it over a long period of time (as in, just long enough for the warranty to run out!)
I'm not sure though if the software is capable of switching connection types. Maybe it needs to be unplugged first.
johncmolyneux said:
I do worry that regular use of the connection will loosen it over a long period of time (as in, just long enough for the warranty to run out!)
Click to expand...
Click to collapse
I usually unplug on the PC side for that reason
johncmolyneux said:
I'm not sure though if the software is capable of switching connection types. Maybe it needs to be unplugged first.
Click to expand...
Click to collapse
I've tried software switching by going to (something like) settings, other, usb to pc, and changing the setting. To my knowledge, you can't hot-switch - the device needs to be unplugged first. If someone could prove me wrong I'd be very grateful because I too want to preserve my hd2 usb port.
EDIT!
Yes you can hot-switch!!!!! I'm so pleased to be proven wrong, especially by myself!

[Q] usb debugging failed

USB debugging no longer activates on my phone. Activating it in settings/applications/development brings up the "Allow USB debugging?" permission window. However, no usb notifications appear, and the phone appears to be a dead device to any PC it is connected to.
This started when I accidently got into the download screen from the phone options popup. The display showed the yellow sign, android guy with shovel, and message warning not to turn target off. Phone was not connected to anything at the time.
Searching found a couple of threads indicating that a battery pull was safe to get out of it. Did same.
Since then, usb debugging (or usb anything) has been dead on this phone. Other methods of usb access (thru usb settings) have no effect either.
Tried the following...
(1) restore to my last backup rom.
(2) numerous reboots and battery pulls.
(3) mount/unmount sd card in cwm recovery
(4) clear caches
(5) changed pc's and cables (all worked before)
(6) reinstalled usb drivers on pc (worked before, didn't expect it to help since issue is at phone end)
As you can see, I'm running out of sticks to poke the horse with. Does anyone have any ideas?
Update: new kernel didn't help, either
Update2:
(a) Can't do a restore via odin, which won't detect the phone.
(b) Updated my adb (which I don't use much). adb devices command will not detect the phone via usb.
(c) Installed adbWireless which allowed me to push a stock nandroid backup to the phone. Restored that, usb is still dead.
(d) Restored back to my superdark rom, usb is still dead.
Head scratch: I'd blame hardware except that it seems to be between the settings and execution. If it was purely hardware, I'd expect to see the usual usb notifications. Regardless, it looks like I'll have to revert back to stock and let Verizon figure it out.
Update3:
(a) switched to the new AOSP rom. Nice, but no usb.
(b) switched back to superdark since I like my speakerphone and the AOSP seems to be on hold. Still no usb.
Resolution:
My apologies for not posting a resolution. My bad. After the first few days the post kind of fell off the radar and I stopped checking.
Short version...dirty usb port.
Details...after a week or so, I saw the usb icon flash in the notification bar for a few seconds when I plugged it in for a recharge. Hadn't seen that in a week, hope springs eternal!
A thorough cleaning of the usb port using a paper swab dampened with alcohol restored usb functionality. Not much dirt came out on the paper, but it must have been enough to probably bridge the contacts somehow.
At present the phone is fully functional. The original Verizon cable seems to be a little wonky. I have an aftermarket cable that works fine. It may be that the aftermarket cable did some physical harm to the contacts in the port, or the original cable is going bad (I had something very similar happen on my Omnia). Not sure.
I now use the original verizon cable only for charging at work and use the aftermarket cable for usb connecting at home.
Bottom line...if your usb goes dead as described in the op, carefully clean the port.
My thanks to all who responded...
Download screen shouldn't have harmed you.
You probably are well aware of this, but sometimes it's the simplest solution: Is your usb cable unplugged when you are trying to turn on USB debugging? It will not let you if you are plugged into a pc or mounted for some other reason. Make sure your file manager and any other rogue app is closed. Again, it does sound like you have tried all of this, just giving my best shot ar an answer.
Other then that... Has anyone else had this problem? I haven't seen it in this forum before.
The most general solution to any issue on these fascinates is to undo whatever you did to break it, it's just difficult sometimes to isolate what that event was.
Swyped w/ XDA App. When in doubt, mumble.
Thanks for the reply.
USB is unplugged when turning on debugging. I've also tried turning the phone on with usb plugged in.
The last thing I had done (before accidently activating the download screen) was to install SiMi Folder Widget. Needless to say, it went away with the rom restore.
Also used ATK to kill running processes before turning on usb debugging. Also verified that I still have root.
I've buggered the phone up before but have always been able to figure out a way back (with help from forum searches). This one's got me stuck.
Tonight I'll try to figure out if it can be odin'd back to stock and rebuild from there.
Again, thanks. All suggestions/advice are appreciated.
See op for steps taken to (unsuccessfully) solve this.
Can anyone advise how I can flash back to stock DI01 without using odin, since it won't detect the phone? I can push files to the phone via adbWireless but that's about it.
thanx in advance...
I dont know if you fixed it or not, but here is a stupid question. Are you using the cable that came with your phone? I have several cables that will only charge my phone and only the stock one enables data transfer. Hope this helps. Good luck
Sent from my SCH-I500 using XDA App
Have you tried a factory data reset?
Sent from my SCH-I500 using XDA App
Did this ever get resolved? I hate to see an open issue die like this.
My apologies for not posting a resolution. My bad. After the first few days the post kind of fell off the radar and I stopped checking.
Short version...dirty usb port.
Details...after a week or so, I saw the usb icon flash in the notification bar for a few seconds when I plugged it in for a recharge. Hadn't seen that in a week, hope springs eternal!
A thorough cleaning of the usb port using a paper swab dampened with alcohol restored usb functionality. Not much dirt came out on the paper, but it must have been enough to probably bridge the contacts somehow.
At present the phone is fully functional. The original Verizon cable seems to be a little wonky. I have an aftermarket cable that works fine. It may be that the aftermarket cable did some physical harm to the contacts in the port, or the original cable is going bad (I had something very similar happen on my Omnia). Not sure.
I now use the original verizon cable only for charging at work and use the aftermarket cable for usb connecting at home.
Bottom line...if your usb goes dead as described in the op, carefully clean the port.
My thanks to all who responded...
This may be my problem! I'm having the same similar effects. Although mine randomly shows the symbol but also says my usb is connected when it does. I've been trying to solve this for 2 weeks now! I hope this is the solution.
Sent from my SCH-I500 using Tapatalk
common problem
This must be a common problem because I've had the same issue. switched cables and viola, all good.
My exact problem solved:
USB debugging activated on phone but computer did not detect it at all, nothing what so ever. Not even on dial-up mode, or download-Odin (yellow triangle).
Drivers installed (Fascinated and Nexus for the hell of it).
Tried to ADB my into it both from windows 7 and MAC OS-X.
Hell I even tried a different USB cord.
I would get the USB debug icon in the status bar only when on windows7 machine.
I cleaned the phones USB port with the alcohol damped paper towel/tooth pick and the **** worked, first time.
Man I gotta thanks God for this site. I been ****ing with for 2 days.
Then this lil SOB acted as if nothing ever happen. I wanted to beat the hell out the lil ****er. But we are back friends now.
Thanks dude. This **** needs publicized more. I went through a few links before I found this.
I would and tell people to use something non-metallic and removed the battery beforehand. I did just to be safe.

Nexus S USB connection issue.

Last week when I plugged my USB cable into my phone, it acted normal. The screen where it asks me if I want to connect USB came up, and I said yes. Everything was normal. It was baller.
Today, that doesn't happen. The screen doesn't come up and all the USB cable does is charge my phone, much like the wall plug does.
I've tried to install USB drivers, but they always require me to find "Android" in Device Manager, and it's never in there. The USB cable is doing nothing but charging my phone.
I managed to add a few mp3s over wifi, just to make sure that was actually working.
The phone is not rooted, (I was actually just going to try to do that) and everything is stock aside from a few apps.
I would really like some insight on this, please.
Do I need to get the phone replaced? Am I doing something wrong?
OK, I new to this, but thought I'd comment. If USB debugging is turned on, my seems to do that.
Settings -> Applications -> Developement -> USB Debugging
Beowins said:
I would really like some insight on this, please.
Do I need to get the phone replaced? Am I doing something wrong?
Click to expand...
Click to collapse
Did you change your kernel recently?
Sent from my Nexus S using XDA Premium App
sagech said:
Did you change your kernel recently?
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
I've done nothing to the phone. Only installed a few random apps.
sorry to hi-jack your thread!
mine does exactly the same, but all i've done is manually update to 2.3.4 and my usb hasn't worked since, like you i've tried installing the drivers and that's done nothing and its also in usb debugging.
i don't know what to do or how to get it to work again, all my searching on here and via Google don't bring up much
Beowins said:
Last week when I plugged my USB cable into my phone, it acted normal. The screen where it asks me if I want to connect USB came up, and I said yes. Everything was normal. It was baller.
Today, that doesn't happen. The screen doesn't come up and all the USB cable does is charge my phone, much like the wall plug does.
I've tried to install USB drivers, but they always require me to find "Android" in Device Manager, and it's never in there. The USB cable is doing nothing but charging my phone.
I managed to add a few mp3s over wifi, just to make sure that was actually working.
The phone is not rooted, (I was actually just going to try to do that) and everything is stock aside from a few apps.
Click to expand...
Click to collapse
Put your phone into bootloader mode and try whether it detect or not?
And also, see if there is two line of words written
USB init start
USB init end ;-)
Sent from my Google Nexus S using XDA Premium App
Try another usb cord, and especially if you're using the samsung cord.
I had the same issue but when I switched to my Htc cord and my blacbkberry cord, everything worked as it should.
Sent from my Nexus S 4G using Tapatalk
plmiller0905 said:
Try another usb cord, and especially if you're using the samsung cord.
I had the same issue but when I switched to my Htc cord and my blacbkberry cord, everything worked as it should.
Click to expand...
Click to collapse
ive just tried my works blackberry usb cable and it works fine now! very odd! thanks for your help
onslack said:
sorry to hi-jack your thread!
mine does exactly the same, but all i've done is manually update to 2.3.4 and my usb hasn't worked since, like you i've tried installing the drivers and that's done nothing and its also in usb debugging.
i don't know what to do or how to get it to work again, all my searching on here and via Google don't bring up much
Click to expand...
Click to collapse
Wow, this is my post, verbatim. Any ideas or fixes?
plmiller0905 said:
Try another usb cord, and especially if you're using the samsung cord.
I had the same issue but when I switched to my Htc cord and my blacbkberry cord, everything worked as it should.
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
Wow, you're right. My HTC cord worked. Thanks a lot.
I have had this happen on to me and have determined that a) the long cable that came with the NS4G is unreliable when used for USB connectivity with my PC. Shorter cables (even the shorter Samsung cable that came with my Epic) work consistently. I am guessing that this is a USB Bus power issue and some people will have better mileage than others using the stock cable, depending on their PC.
b) on a few occasions, it seems I've somehow borked the PC's USB controller and the PC wouldn't recongnize anything until I rebooted it.
window7 said:
Put your phone into bootloader mode and try whether it detect or not?
And also, see if there is two line of words written
USB init start
USB init end ;-)
Click to expand...
Click to collapse
I am getting the
USB control init
USB control init end
when in bootloader and when doing the i press vol up and vol down (triangle with android in it" with downloading below).
I would like to flash my phone to factory using Samsung Simple downloader for NS4G.
Background, installed Ice Cream but didn't have radio.img so used an SU to downgrade back to 2.3, did that but no mobile network. Then the phone updated to 2.3.6 and now getting that error. Any help will be appreciated.
I searched a few times on this forum and on google.com no luck. tried to adding a recovery file manually and zip it as update.zip and install from bootloader no luck. (use file explorer and dropbox to get files on to phone).
Thanks
Amar Bar
i had this issue a few months ago, turns out the usb port on the phone got defective so i could only charge it but not use the mass storage function, had to get it replaced under warranty! hope this isnt the issue with you guys
innisdb said:
i had this issue a few months ago, turns out the usb port on the phone got defective so i could only charge it but not use the mass storage function, had to get it replaced under warranty! hope this isnt the issue with you guys
Click to expand...
Click to collapse
Was your phone rooted at any point before the issue? Not sure if they would fix it under warranty for me. I will call Samsung and see.
Thanks, I tried that but no luck. Still need to tried other cords. Also.
My phone developed this problem a couple days ago. I haven't done much to troubleshoot it...figured the port must be damaged.
(Not using the Samsung cable, btw)
AardvarkAdventure said:
My phone developed this problem a couple days ago. I haven't done much to troubleshoot it...figured the port must be damaged.
(Not using the Samsung cable, btw)
Click to expand...
Click to collapse
It might be the port. I will have to get a samsung cable and try it, but i doubt it will help. Plus i can tell Samsung I tried everything. (I looked a ticket, but they said get a samsung cord, they don't trust the Palm Pre cord i am using).
I had to downgrade to the HTC Hero until i get the phone fixed.

[Q] Connecting to PC with CM7 -- no communication

Hey y'all, appreciate the help in advance.
I have been running CM7 on an SD card for the Nook Color. I like it, and haven't had many problems at all. However, one thing that has been buggy is connecting to a PC.
At first, I could connect sometimes, and see both the internal device memory and the SD card. Then it seemed sort of hit and miss.
Now, I can't connect to my PC at all. I rebooted back into the stock Barnes and Noble system, but my PC won't recognize that either.
I tried a different PC, and two "drives" showed up, but when I tried to look at them, the computer asked me to insert a device. In other words, I still couldn't access either the SD or the emmc.
I see that in Cm7 I have some sort of "debug" or "USB" mode. But when I plug in, nothing happens on either the PC or the NC, whether it is in CM7 or the stock OS.
I can't find where to turn "debugging" on in CM7.
I can pull out the micro SD and the computer will read it -- but only the boot sector, not the part where I keep all my books.
Any help is DEEPLY appreciated. Thanks.
Also (unrelated) does anyone know if ICS CM9 has netflix working yet?
THANKS,
RevTom
RevTom said:
Hey y'all, appreciate the help in advance.
I have been running CM7 on an SD card for the Nook Color. I like it, and haven't had many problems at all. However, one thing that has been buggy is connecting to a PC.
At first, I could connect sometimes, and see both the internal device memory and the SD card. Then it seemed sort of hit and miss.
Now, I can't connect to my PC at all. I rebooted back into the stock Barnes and Noble system, but my PC won't recognize that either.
I tried a different PC, and two "drives" showed up, but when I tried to look at them, the computer asked me to insert a device. In other words, I still couldn't access either the SD or the emmc.
I see that in Cm7 I have some sort of "debug" or "USB" mode. But when I plug in, nothing happens on either the PC or the NC, whether it is in CM7 or the stock OS.
I can't find where to turn "debugging" on in CM7.
I can pull out the micro SD and the computer will read it -- but only the boot sector, not the part where I keep all my books.
Any help is DEEPLY appreciated. Thanks.
Also (unrelated) does anyone know if ICS CM9 has netflix working yet?
THANKS,
RevTom
Click to expand...
Click to collapse
USB debugging is under settings, applications, development, Android debugging (or USB debugging under older roms). To turn on USB mass storage, after plugging in, swipe up notification area and choose to turn on storage. It is not automatic on cm7 like it was on stock.
No, Netflix still not working on CM9.
Hmmm. I had it on already, but no notification pops up when I plug into the computer via usb. I also have the "debugging notify" option selected. I did think I had it on, since it *used* to work.
ON the PC I get a "USB device not recognized" message. ON the NC itself, I get no message at all. It behaves as if it is not plugged in -- no notifications, nada.
Tried plugging into my wife's mac also, to no effect.
When I go back to Nook Stock OS, I no longer get the little black box that tells me I'm in usb connect mode. In the stock OS, it also behaves as if I'm not even plugged in, and I get the exact same message from the PC.
Could it possibly be that my cord has gone bad? I've done a little research, and I know some stock Nook users have had trouble with cords. Mine is almost two years old, but I haven't abused it. It still seems to work fine for charging.
Very frustrating....
RevTom said:
Could it possibly be that my cord has gone bad? I've done a little research, and I know some stock Nook users have had trouble with cords. Mine is almost two years old, but I haven't abused it. It still seems to work fine for charging.
Very frustrating....
Click to expand...
Click to collapse
It could be, but the fact that your nook shows USB debugging notification makes me wonder. But the fact that you are having trouble with both roms suggests that it is the cable.
To clarify: debugging, and debugging notification are ON, but when I plug in, there is NO notification.
However, like you, the fact that the stock ROM won't connect either makes me wonder.
An SD card root like I've done wouldn't mess with the stock ROM on the emmc, would it? Would it change the hardware or firmware to cause this problem?
'Preciate your time!
RevTom said:
To clarify: debugging, and debugging notification are ON, but when I plug in, there is NO notification.
However, like you, the fact that the stock ROM won't connect either makes me wonder.
An SD card root like I've done wouldn't mess with the stock ROM on the emmc, would it? Would it change the hardware or firmware to cause this problem?
'Preciate your time!
Click to expand...
Click to collapse
No, it does nothing to stock. You have a bad cable. The 'data' lines are broken somewhere along the cable or fittings. You can still charge with it because the power and ground lines are intact.
Edit: If you don't want to spend a lot of money getting a new nook cable, you can use your defective cable for charging and a standard micro USB cable for data transfer. Those work fine for hooking to PC as long as you don't try to charge with them.
Thanks,
I took it to a B&N store. I removed the SD card because I felt like a boot legger -- but anyway, they tried a new cable and it worked with Stock, so it WAS the cable.
Thanks!
You may get ADB and/or Storage working if you (re)install the drivers:
scour through Device Manager:
View menu... check show hidden devices
Look for any of the following sections and remove tem:
"Android Phone"
"Android ADB Interface"
"Android Composite ADB Interface"
"Android Bootloader Interface"
Additionally... in USB controllers... you want to check each device listed ... (Properties / Details / Hardware IDs) and remove any that begin with any of the followng:
USB\VID_0451
USB\VID_18D1
USB\VID_2080
USB\VID_22B8
USB\VID_0BB4
USB\VID_0BDA
Then re-install the drivers.
Thanks Dizzy. It was just the cord. I reloaded CM7 (i.e. put the sd card back in) and all my computers recognize it again, and I get the USB/debug notification on the NC again. As computerist diagnosed, I must have broken the internal data carrying cables without hurting the power connections. I did some research and a LOT of people have had issues with NC cables. Mine lasted 18 months, and I did not abuse it, so it isn't a great system. Hopefully this next one will last longer.
RevTom said:
Thanks Dizzy. It was just the cord. I reloaded CM7 (i.e. put the sd card back in) and all my computers recognize it again, and I get the USB/debug notification on the NC again. As computerist diagnosed, I must have broken the internal data carrying cables without hurting the power connections. I did some research and a LOT of people have had issues with NC cables. Mine lasted 18 months, and I did not abuse it, so it isn't a great system. Hopefully this next one will last longer.
Click to expand...
Click to collapse
I had seen your post about it being your cable... but thought others might benefit from my suggestions... as well as yourself... IF you still had ADB issues.

TF300t rooting

I have a quick question. It seems that my tablet has lost its ability to connect through USB recently. I was unable to send pictures to the pc one day and have bought numerous cables to no avail. Looks as if, somehow, it just wont connect through usb. The original cable was acting up during charging anyway. My main question is, how do I root without the ability to connect to a pc? Is this at all possible? I was rooted before but since installing the newest update, 10.6.1.27.5-20130902, i noticed it wasn't rooted anymore.Am I pretty much SOL? BTW, nowadays the tablet wakes up and beeps like every other minute while charging. Dont know if its related. I wish I didnt do the update altogether.
Updating to the latest firmware (at last check) hides the developer options from the settings. Your problem might be that USB debugging was disabled or never was enabled.
To add developer settings back into the settings, you need to go into the "about tablet" in settings and tap the build number 5 or so times and then developer options should show up.
tayden812 said:
I have a quick question. It seems that my tablet has lost its ability to connect through USB recently. I was unable to send pictures to the pc one day and have bought numerous cables to no avail. Looks as if, somehow, it just wont connect through usb. The original cable was acting up during charging anyway. My main question is, how do I root without the ability to connect to a pc? Is this at all possible? I was rooted before but since installing the newest update, 10.6.1.27.5-20130902, i noticed it wasn't rooted anymore.Am I pretty much SOL? BTW, nowadays the tablet wakes up and beeps like every other minute while charging. Dont know if its related. I wish I didnt do the update altogether.
Click to expand...
Click to collapse
If its a cable problem, the cable only costs 5$ on amazon.
I'm on my third replacement cable already. Also, developer options are turned on. USB debugging is on as well. They charge fine but connecting them directly to any computer i have does nothing, almost like not plugging it in at all. Have tried on three different setups that worked before, Win 7 X64, Win 8 X64, Win XP X86.
tayden812 said:
I'm on my third replacement cable already. Also, developer options are turned on. USB debugging is on as well. They charge fine but connecting them directly to any computer i have does nothing, almost like not plugging it in at all. Have tried on three different setups that worked before, Win 7 X64, Win 8 X64, Win XP X86.
Click to expand...
Click to collapse
Disable the developer options and USB debugging. Windows may be trying to recognize the ADB instead of trying to mount partitions.
cmendonc2 said:
Disable the developer options and USB debugging. Windows may be trying to recognize the ADB instead of trying to mount partitions.
Click to expand...
Click to collapse
Tried that too. Doesn't seem to work either way.
Which worries me severely.
If you haven't already, install the google sdk adb drivers and see if that works, though from what it sounds like that's not the problem.
I'm thinking bad usb port on computer... try wireless adb if you can...
Sent from my TF300T
might be that the plug at your tablet got damage some how? maybe not fully damaged but partialy, do u have a dock? if you have you have any problem with it?
sorry for my bad english
Greetings!
Don't have the dock. Went to the Best Buy out here and they don't got it. Worst case scenario, my port is jacked up, can I still root without it? If so what steps can I take to do so?
depends on if you have a custom recovery like twrp if you do, then you should ok flashing supersu package, otherwise you are in the worst case scenario...
Sent from my TF300T using Tapatalk
Drahric said:
depends on if you have a custom recovery like twrp if you do, then you should ok flashing supersu package, otherwise you are in the worst case scenario...
Sent from my TF300T using Tapatalk
Click to expand...
Click to collapse
THought so. The update completely killed my recovery as well. Doh! Thanks for the help guys.
If your still under warranty then you could get it fixed but from what sound like that wont help...
Take care.
Sent from my TF300T using Tapatalk

Categories

Resources