Related
First some background:
Playing around with some ROMs, I loaded up MIUI. I wanted to see what all the fuss was about. While installing from ROM Manager, the subsequent boot into CWM started my backup and installed the ROM. During the process CWM notified me the install was attempting to overwrite the recovery partition. I inadvertently said yes, one of the bad things about touch recovery...fat fingers.
Result:
CWM was blown away. MIUI failed to install Google Apps.
I connect the N7 up to my PC. It is not detected. No ADB available, however I can use wireless ADB so I installed ROM manager and reflashed CWM. This was were the fun began. Everything on my internal storage got nuked during the install and attempted recovery. I had to format internal storage.
No biggie, I have backups on my laptop through WUGFresh Root Kit. I will restore back to stock and start over.
Problem:
No computer I connect the N7 to detects it, regardless of USB connection method nor OS on the PC (Ubuntu, Win 7, Mint). I still have wireless ADB but that doesn't help with fastboot.
Current Status:
Currently I am running AOKP, after flashing multiple ROMs and Recovery between TWRP (current) and CWM. Also I have done many factory resets, cache cleaning, etc.
My diagnosis:
I think my boot, recovery or bootloader partition is borked due to the fat finger in CWM while installing MIUI. The added bonus...without being able to connect the N7 to any PC, I can't get into recovery unless I get lucky (1 out of 10 tries I get lucky and can get into recovery). I can get into recovery as long as I can boot into a ROM and do any common method to reboot recovery.
Question:
Now my question, does anyone have any ideas what I can do to get the USB connection working again to allow ADB/Fastboot connections?
Additional info/Review:
I have a GNex that I can ADB/Fastboot into without issue.
I have tried multiple different cables to connect to PC/Laptops.
As mentioned, I have tried multiple PCs to attempt a connection running everything from Windows 7 to variations of Linux (Mint and Ubuntu)
All the cables work fine with GNex, excluding one cable I deemed trashworthy.
I am fairly certain that the micro-USB port is fine, I can charge without issue even connected to a PC. OTG cable works perfectly fine.
I did something saying a port was open from the N7 that cause USB connection to fail. I forget what I did to find that message or what program I was using. I think I was trying to do a adb usb command from the command line on the N7.
USB Debugging is enabled.
More info:
No errors in logcat when connecting N7 to PC.
Try to do complete wipe & flash stock . My desktop has never detected the n7 but the fastboot works. I was able to flash stock using wugs toolkit.
Sent from my GT-I9300 using Tapatalk 2
That is the problem, I can't get any PC to recognize the n7 is connected. therefore, wugs root tool kit wont work. it uses fastboot and adb. without the drivers loaded and the device detected, I can't use wugs. this happens even on machines I have never plugged the n7 into.
If I could find a flashable zip of stock, that might do the trick.
I am wondering if I can use the otg cable and connect from my phone with adb? I don't think I can run fastboot commands from the phone though.
Sent from my Nexus 7 using Tapatalk 2
Doubt you could. Have you tried booting into bootloader then changing the usb port on the and also try reinstalling the drivers. When in bootloader try locating your device in device manager.
Good luck
Sent from my GT-I9300 using Tapatalk 2
panjaby said:
Doubt you could. Have you tried booting into bootloader then changing the usb port on the and also try reinstalling the drivers. When in bootloader try locating your device in device manager.
Good luck
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
even in boot manager, the device does not show in device manager on windows and it can't be seen on Linux either when looking for attached devices.
With my old viewsonic gtab I use to verify there was a device connected from command line, that doesn't work either. I'll post that command later today, just for reference.
Sent from my Nexus 7 using Tapatalk 2
OK, I have verified the problem is on the tablet side. I can connect my OTG cable to the tablet and mount my GNex allowing me to perform adb commands sent to the phone. I can not mount my tablet to the phone reversing the cable.
N7 ---> OTG ---> USB ---> GNex (works)
GNex ---> OTG ---> USB ---> N7 (fails, phone does not recognize the tablet being connected. I verified I could connect to a USB stick without issue.)
I think this narrows it down to MTP/PTP being disabled somewhere. Since it affects fastboot as well, I am assuming something in boot or bootloader. I ruled out recovery due to recovery working correctly when I can get to it.
Any ideas?
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.
Hello All,
Basically, while Nexus is on it does not charge or even recognize a charge from anything, and it also does not recognize when plugged in via USB to my PC.
This occurred a week ago, noticeably a few days after installing MultiROM for testing. I thought MultiROM may have been the cause so went entirely back to stock ROM but still not working.
Couple things that I have noticed... When using MultiROM my drivers are no longer recognized as they should, but instead as Andriod bootloader. I had uninstalled and reinstalled new drivers to allow the flash and correction to Stock, which did work, but now nothing even remotely similar to my Nexus is showing up in my Devices. I have double checked with multiple cords, still no luck... I will say that I have not Enabled USB Debugging because I cannot. Every time I attempt to enable USB Debugging, the Nexus freezes up and reboots... I'm thinking this is the root cause of the issue or there is a fluke bad pin issue in my internals of the Nexus...
It seems that I cannot work in fastboot or adp mode as the USB is not recognized...
I've searched for several days for hours at a time for more info on this, but no luck! Any thoughts and help would be helpful!
Thanks!
DTTD said:
Hello All,
Basically, while Nexus is on it does not charge or even recognize a charge from anything, and it also does not recognize when plugged in via USB to my PC.
This occurred a week ago, noticeably a few days after installing MultiROM for testing. I thought MultiROM may have been the cause so went entirely back to stock ROM but still not working.
Couple things that I have noticed... When using MultiROM my drivers are no longer recognized as they should, but instead as Andriod bootloader. I had uninstalled and reinstalled new drivers to allow the flash and correction to Stock, which did work, but now nothing even remotely similar to my Nexus is showing up in my Devices. I have double checked with multiple cords, still no luck... I will say that I have not Enabled USB Debugging because I cannot. Every time I attempt to enable USB Debugging, the Nexus freezes up and reboots... I'm thinking this is the root cause of the issue or there is a fluke bad pin issue in my internals of the Nexus...
It seems that I cannot work in fastboot or adp mode as the USB is not recognized...
I've searched for several days for hours at a time for more info on this, but no luck! Any thoughts and help would be helpful!
Thanks!
Click to expand...
Click to collapse
Try doing a factory reset first, then see if USB debugging works.
If it won't work, could you try downloading a normal recovery on your device and installing without fastboot and adb connection with computer (I think that is possible, not sure). Is download, boot into recovery and flash like a ROM. Sorry if that's all wrong, I did Google but found nothing, yet I'm sure I did that to install a newer version of twrp???
Also, if you have root, could you try using adb over WiFi, this should work the same, although there is no fastboot.
Good luck!
Fallon9111 said:
Try doing a factory reset first, then see if USB debugging works.
If it won't work, could you try downloading a normal recovery on your device and installing without fastboot and adb connection with computer (I think that is possible, not sure). Is download, boot into recovery and flash like a ROM. Sorry if that's all wrong, I did Google but found nothing, yet I'm sure I did that to install a newer version of twrp???
Also, if you have root, could you try using adb over WiFi, this should work the same, although there is no fastboot.
Good luck!
Click to expand...
Click to collapse
Thanks for providing more information on this. I have done a Factory Reset via Settings and also via Recovery, but still not available.
I think I'm making progress with adb via Ubuntu over USB, but USB Debugging still gives the Epic crash and still will not charge while On, which is more just annoying than anything else.
Asus/Google Support are saying it is a physical pin issue, but that doesn't explain why USB Debugging is failing. Does anyone know where the USB files are contained? I'm wondering if I've messed up at the Kernel level. Any thoughts?
About my Nexus - More Info
I forgot that I should provide more information about what I'm running:
Phone: Nexus 7
Android Version: 4.2.2
Kernel version: 3.1.10-g05b777c
Build number: JDQ39
Prior to issue also had:
Recovery: TWRP
ROM: Stock JDQ39
MultiROM: Yes
UPDATE
So after more work on my Ubuntu we have found more information and seem to have narrowed down the issue! :fingers-crossed:
I have been able to flash via Fastboot just fine, which has thus allowed me to get TWRP installed and now I'm back rooted. I still cannot adb via USB though. We've double checked with multiple Nexus 7's of the same type, which allow command: adb devices and their devices will show, while it does not for my device. (Side note: my version of Ubuntu does not "see" the adb command in its pwd so... But tests have been done on other machines and worked...)
So after sifting down to adb issues, we found that in /data/property I'm missing persist.sys.root_access and persist.sys.usb.config ... But creation of persist.sys.usb.config didn't do anything...
When I plug in my nexus4 to a computer it wont show up...most of the time.
I've used 3 different cables.
4 different computers, running, linux mint, win7 and XP.
I installed clocwork mod recovery today and then it showed up as a new device on a XP copmuter but then it would never show up again.
I'm rooted, running carbon ROM, usually with TWRP recovery but switched today.
I've tried it in MTP and PTP modes, debugging on and off.
it charges just fine from a PC.
any ideas are appreciated.
setherd said:
When I plug in my nexus4 to a computer it wont show up...most of the time.
I've used 3 different cables.
4 different computers, running, linux mint, win7 and XP.
I installed clocwork mod recovery today and then it showed up as a new device on a XP copmuter but then it would never show up again.
I'm rooted, running carbon ROM, usually with TWRP recovery but switched today.
I've tried it in MTP and PTP modes, debugging on and off.
it charges just fine from a PC.
any ideas are appreciated.
Click to expand...
Click to collapse
Have you installed the drivers properly?
Pipusz said:
Have you installed the drivers properly?
Click to expand...
Click to collapse
For some of the computers. Today I'm at work and I don't have the drivers installed. I keep my phone plugged in to charge. In the past the PC, running windows XP, always pops up the new device found notification. It won't even do that except for the 1 time mentioned earlier.
it it possible for the recovery image to affect things?
Mine won't show up in my PC (windows 8) If USB debugging is off. I'm fairy certain this behavior started at some point during the rooting process because I had a hell of a time getting the files to the phone.
setherd said:
When I plug in my nexus4 to a computer it wont show up...most of the time.
I've used 3 different cables.
4 different computers, running, linux mint, win7 and XP.
I installed clocwork mod recovery today and then it showed up as a new device on a XP copmuter but then it would never show up again.
I'm rooted, running carbon ROM, usually with TWRP recovery but switched today.
I've tried it in MTP and PTP modes, debugging on and off.
it charges just fine from a PC.
any ideas are appreciated.
Click to expand...
Click to collapse
From what I noticed, when you use a lockscreen with some kind of protection the device memory will not show up if it hasnt't been unlocked in the past few minutes or before connected. This is mostly for security reasons to make sure you are the one accesing the device..
I am not sure if this is the source of the problem you are mentioning but just to let you know
That's not it, I'm doing this with it right in front of me, unlocked
Sent from my Nexus 4 using Tapatalk 4
Have your nexus connected and disable developer settings and delete your adb driver. Then select mtp mode while connected and you should be able to connect now.
Sent from my Nexus 4 using xda app-developers app
FWIW, I have encountered odd connection issues with my Nexus 4 running bone-stock Android.
As I recall, it won't connect to ADB in MTP mode. In PTP mode, it usually works. Personally, I just said "screw it" and starting using MyPhoneExplorer for everything.
Enable USB debugging in your phone. Nuff said.
nothing works, PTP, debugging on/off, etc.
well I finally got a hold of my wife N4, it connects just fine. so I think it's definitely a hardware issue.
Ifixit shows how to replace the daughter board.....but I'd rather send it to LG for warranty replacement but I have it rooted.
If I could just get it to connect once more I would flash it back to stock.
I have a 6P running on android 8.1 SuperXE rom. And when i tried to run Substratum and it asked me to download the Andromeda app to make it work so I did. Then i went on my Desktop downloaded the script for that followed all the instructions. Now after running the script a couple times my phone no longer works with adb. It is not a computer problem because I have tried to plug it in on multiple computers that have the right drivers installed and none of them work. It seems to be a problem with my phone.
I have tried factory resetting my phone uninstalling and reinstalling drivers. Nothing seems to work.
Has anyone ever run into a similar situation?
Also the error that shows up is USB device not recognized, "the last USB device you connected to this computer malfunctioned and Windows does not recognize it." It says this on both my windows computers, and my Linux laptop. So I know it has nothing to do with the phone cord or the computer.
Snowlandghost said:
I have a 6P running on android 8.1 SuperXE rom. And when i tried to run Substratum and it asked me to download the Andromeda app to make it computer.
Click to expand...
Click to collapse
It's probably the chord try another one. And if you root your phone with magisk you won't need Andromeda and Android pay still works. I'm on SuperXe also and don't have any issues. It's pure stock with some add-ons and customization.
Check with another cable or clean flash a stock rom via fastboot to see if the issue still persists, mm,n or o, it doesn't matter.
Edit: first go to Dev options and reenable USB debbuging and set USB configuration to mtp, may a phone reboot is required.
Edit: to reset the USB debugging authorization is worth a try too.
Exodusche said:
It's probably the chord try another one. And if you root your phone with magisk you won't need Andromeda and Android pay still works. I'm on SuperXe also and don't have any issues. It's pure stock with some add-ons and customization.
Click to expand...
Click to collapse
The first time I installed 8.1 it said it required Andromeda to run, but after I wiped my phone and re installed 8.1 it worked without it. Which was weird.
coremania said:
Check with another cable or clean flash a stock rom via fastboot to see if the issue still persists, mm,n or o, it doesn't matter.
Edit: first go to Dev options and reenable USB debbuging and set USB configuration to mtp, may a phone reboot is required.
Edit: to reset the USB debugging authorization is worth a try too.
Click to expand...
Click to collapse
I went out and got a new cord and now it is working thanks for the advice. It's weird though because nothing was wrong with the cord before this incident.
But thanks for the advice it was the cord I have a new one and no problems thus far.
Not to hijack this thread but I am having a similar issue. My nexus 6p and an old Nexus 6 will not connect to any computer. I have used different cables and still no dice. I have a Nexus 9 that connects fine. Both Nexus 6 and 6p charge on the cables but will not connect to computer. Any thoughts or suggestions. Again have tried different usb ports in same computer 3 different computers and multiple cables.
McAwesome said:
Not to hijack this thread but I am having a similar issue. My nexus 6p and an old Nexus 6 will not connect to any computer. I have used different cables and still no dice. I have a Nexus 9 that connects fine. Both Nexus 6 and 6p charge on the cables but will not connect to computer. Any thoughts or suggestions. Again have tried different usb ports in same computer 3 different computers and multiple cables.
Click to expand...
Click to collapse
???
May start from scratch with the drivers, download usbdeview (simple Google search) and get rid of all nexus and or android installed drivers. Reset USB debugging and authorization on the phones, set to mtp, do a reboot and do a fresh connect.
???
coremania said:
???
May start from scratch with the drivers, download usbdeview (simple Google search) and get rid of all nexus and or android installed drivers. Reset USB debugging and authorization on the phones, set to mtp, do a reboot and do a fresh connect.
???
Click to expand...
Click to collapse
Neither my Nexus 6p nor the 6 show up in usbdeview. Only the Nexus 9. Tried revoking. Have done factory reset set to mtp turned debugging off then on restarted phone different cables still doesn't show up in usbdeview.
Also the point of all this was to try to get this to work with my Mavic Pro drone. Which also does not recognize my 6p and thinking about this now my car also does not auto launch Android auto like it used to and in fact does not work at all. Phone charges from usb but does not seem to communicate.
Faulty phone maybe?
Is there a way to get off Oreo without having usb access? Not currently rooted and the apk's I have tried seem not to work.
McAwesome said:
Neither my Nexus 6p nor the 6 show up in usbdeview. Only the Nexus 9. Tried revoking. Have done factory reset set to mtp turned debugging off then on restarted phone different cables still doesn't show up in usbdeview.
Also the point of all this was to try to get this to work with my Mavic Pro drone. Which also does not recognize my 6p and thinking about this now my car also does not auto launch Android auto like it used to and in fact does not work at all. Phone charges from usb but does not seem to communicate.
Faulty phone maybe?
Is there a way to get off Oreo without having usb access? Not currently rooted and the apk's I have tried seem not to work.
Click to expand...
Click to collapse
It's strange that your n6 and n6p both don't communicate.
If you got TWRP installed you can root and flash what ever you want with flashfire. Or with TWRP itself. But never ever flash bootloader and radio with flashfire, it isn't necessary all the time anyway.
Or is your n6p completely stock ???
Uhh, I do miss my Nexus 6