yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
Hey thanks for the reply.

Do you see picture 1 you uploaded, where its device manager and you can see Portable Devices and there you have that One A2001 device that shows up?

I don't have ANYTHING that pops up under portable devices or portable storage.

Mine only has a notification under the USB serial bus controllers. Mine says only this

[IMG="Device Manager"]https://htse.kapilarya.com/FIX-Unknown-USB-Device-Device-Descriptor-Request-Failed-In-Windows-10-1.png[/IMG]

Now, I know what you mean by trying to install the MTP USB Device, except you can't do that when you have this kind of USB error because it doesn't even detect a device to even update a driver to MTP.

If you read back you'll see that I have tried installing USB drivers before, I've also used the MiFlash tool to install drivers through there. Still nothing. If someone can find a fix I'll paypal them a few bucks for their trouble because I seriously don't know what to do from here. I've searched many forum posts on here, miui forums, reddit and everyone seems to at least have something detect in their Device Manager as a device. OR some people are able to detect their device in ADB boot but mine doesn't and mine also can only stay in fastboot for 30 seconds before it kicks itself out.

I also don't believe I have a vendor rom because it only has 4 numbers despite coming in the mail already with an unlocked bootloadeder.
[Xiaomi Mi MIX  Questions & Answers] omerbagi10:
Can you send me a picture of your device manager window? (It doesnt have to be under portable devices/storage, send me a picture and I will have a look).
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
ok hold on ill boot up my laptop. my previous post was a picture of just an example from google. lol
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
ok this is my laptop

[IMG="laptop"]https://s18.postimg.org/5ipkyf82x/err.jpg[/IMG]
[Xiaomi Mi MIX  Questions & Answers] omerbagi10:
Try right clicking on the unknown usb device and if it shows that you can update your driver software so try doing what I sent in my first reply (I hope your phone is connected to your pc in this picture ?)
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
phone is connected. and ive already tried what you're guide says. except this is what it looks like on mine\

no MTP option at all

when i uncheck compatible hardware box (there is no mtp as far as i looked in the options)

I believe yours gives you the MTP option because your computer picked it up as a device. Whereas mine is having some kind of USB error and doesn't know wtf is plugged in? The thing is, it will detect my Redmi Note 4 Global with no problem... so
[Xiaomi Mi MIX  Questions & Answers] omerbagi10:
Damm.

IDK maybe there is a problem with your charging port.

You can try another thing, If you have another phone with a USB type C port and you have a USB type C to USB type C charging cable, then connect these 2 phone and try transferring files from one phone the to other (Did it with my phone and my friend's Nexus 5X).
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
i can't see there being a problem because it was never dropped or bent. and i dont need to exactly transfer files..i need it to connect so i can install twrp, root, etc. But thanks for trying man. I'm pretty frustrated.
[Xiaomi Mi MIX  Questions & Answers] omerbagi10:
I understand your pain, sorry :crying: ...
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
i wonder... does the usb port detach easily? i wonder if i should attempt to remove the back casing and try to remove it from the phone and reattach it.
[Xiaomi Mi MIX  Questions & Answers] omerbagi10:
Dont ?, too risky.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
is there any way to flash root and twrp on the phone without a pc? I've read about kingroot and stuff like that but nothing defined. Also is it normal that fastboot only stays in fastboot mode for 25-30 seconds and then kicks out?
[Xiaomi Mi MIX  Questions & Answers] omerbagi10:
Kingroot and all these chinese stuff never worked for me and its not normal that fastboot kicks out after half a minute.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Can't help there but it's easy to remove the port, need a suction cup to remove back, watch the teardown YT. Try giving it a good clean first. Would be good if you had a Linux OS to see if that detected your phone with ADB. At least you would be sure if it was phones port or Windows problem.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
i can prolly download linux and run it off a flash drive. ill try that next. then ill try the tear down. Ive done it before because the phone powered off once and never powered back on despite being on a charger ( i had to open up the back and unclip the battery cable and then attached it again. fixed that issue)
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
okay then there is something with the phone. it definitely boots me out after 25-30 seconds and goes back to the screen where its just the battery bar charging.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Would be very easy to install twrp from there, that's how I do it,
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
is EDL mode something i should try?
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
okay here something.

I downloaded USBDeview. looked at my old Redmi Note 4 Global and it says that when its plugged in, it uses the driver path WPDMTP.INF

while the Mi Mix is trying to use USB.INF.

How can I get the Mi Mix to load the WPDMTP.INF file instead when I plug it in? could be a possible fix?
[Xiaomi Mi MIX  Questions & Answers] james1089:
Edl mode isn't available on mix,

Sure is weird because I did it the other week on an old windows 7 laptop

---------- Post added at 06:29 AM ---------- Previous post was at 06:21 AM ----------

No only when the wrong or no driver's are installed. I would suggest rolling back pc to before you installed anything for mix, download miflash install driver's from there before plugging mix in. That kicking out of fastboot didn't use to happen only with later Xiaomi updates.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
I just tried plugging it in while running on Linux, nothing detected. I am going to try your method about rolling back the pc before i installed anything for the mix.
[Xiaomi Mi MIX  Questions & Answers] james1089:
So on Linux you installed ADB and fastboot? I mean does your phone offer to change from charging to mtp if the phone is switched on? That would pretty much rule port problems out.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
ah **** i didnt install adb and fastboot on linux. i thought you meant it would have auto detected.

I dont recall my mix ever giving me the option to switch from charging to MTP when the phone is switched on. I could only do that in Developer Options.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Yea but if drag from top it should something about changing usb connection.

---------- Post added at 08:38 PM ---------- Previous post was at 08:37 PM ----------

Would of auto detected if the phone was switched on. Which Linux OS did you use.

---------- Post added at 08:43 PM ---------- Previous post was at 08:38 PM ----------

So just to be clear, if you were in fastboot and plugged into pc the phone kicked you out of fastboot? Then that is 100% driver issue, sort that and you will do it. You have 30 seconds from going into fastboot and pc detecting it before phone switches off.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
Oh it doesn't do that. I know how to drag it from the top because I still own my RN4 Global and I know how you can drag the top bar down to see the options for USB. My mix doesnt do that at all

Nothing detected at all. I used the newer linux Ubuntu 16.04.4 LTS

So I power off, i hold power and vol - to get into FASTBOOT. It shows the fastboot bunny for about 25 seconds and then it reverts to showing the battery level being charged.

So we are confirming that this is a driver issue then. How come my RN4 gets detected with no issue?

why am i having so many issues with the driver after trying many different guides including the miflash stuff and xiaotools
[Xiaomi Mi MIX  Questions & Answers] james1089:
Maybe it is the port,I doubt it but who knows, I have just done what you are doing, I was confused by the kicking out of fastboot cause when I first got this phone would stay in fastboot till you held power for 10, after updating to recent miui this happened. When I got the drivers right it worked.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
I'm gona focus on the idea that its the drivers. I just cant understand how im installing them wrong that the pc wont detect the phone. Did you own any other xiaomi phone prior? It puzzles me that my RN4 doesnt have issues being detected in ADB.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Yea I owned Xiaomi device before, used an old windows 7 laptop, just delete everything from Xiaomi and start again, if you just plug in probably automatically installed some ****e driver's, used 32 bit windows which I need for some car ECU
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
maybe the key is getting my hands on a win 7 32 bit instead of this win 10 64 bit laptop. ill try to remove all xiaomi stuff tonight.
[Xiaomi Mi MIX  Questions & Answers] rrat:
My windows 10 64 bit machine won't detect device or driver's. On my girlfriend's win 7 32 bit, it detects straight away, do what the previous comments say. You have to find or use win 7 PC to be certain
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
thanks man. I will be on the hunt for win 7 32 bit. i wonder if i could load it on my laptop which typically says 64 bit..

Did you need to install drivers for it on win 7 as well??
[Xiaomi Mi MIX  Questions & Answers] james1089:
Yes from miflash, you can download windows 7 for free and activate with 1 click
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
what? where and how ? i know you can download win 10 for free...but where do i get 7?
[Xiaomi Mi MIX  Questions & Answers] james1089:
Well it can be done, YT is your friend, that's what I did
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
hmm ill take a look on yt. i figured it would have been a virus pit because its always malware
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
okay so IF i somehow get this to detect. am i wanting to flash to china rom? will the rom matter how win 10 detects my phone?
[Xiaomi Mi MIX  Questions & Answers] cobben:
I think you have a port problem.

A windows box should react in some way or another when you connect the phone via USB, irrespective of drivers, etc.
[Xiaomi Mi MIX  Questions & Answers] james1089:
It does with the phone switched on

---------- Post added at 07:37 AM ---------- Previous post was at 07:21 AM ----------

Although he never actually confirmed he could copy files over with the phone switched on
[Xiaomi Mi MIX  Questions & Answers] james1089:
If it's not vendor ROM you can skip all that, miflash for drivers only
[Xiaomi Mi MIX  Questions & Answers] cobben:
I have a Mix1 and a Win10 tablet and have had no problems with the Mix. Win10 has its quirks of course.

I can't help thinking there's something peculiar in his Mix.

Some toggle set the wrong way by accident in developer settings or something.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Wouldn't rule anything out, maybe even conflicts with his old Xiaomi phone.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
I can't copy anything over. I plug the phone in with USB debugging on and windows has a pop up that says unknown USB device. In device manager, it's not a device that pops up like storage device or portable device. It's an error in the USB controller section.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
I did a full factory reset twice. But I mean, who knows. Can someone send me a screenshot of their settings? I have still yet to install adb drivers on Linux and still haven't tried win 7 32 bit computer. I can't see it being a port issue on my mix because wouldn't it just not even charge?

Definitely not a vendor rom. It only has 4 digits.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
OK guys. Just installed adb fastboot on Linux. The phone did not detect. Plugged in an LG phone and it detected immediately. So I'm thinking it's the phone. When you guys plug your mix into a pc, do u have the drop down menu at the top of your phone screen?

Now if it's the phone, is it strictly the USB port at the bottom of the phone? Cos it's a $10 part on aliexpress, should I bother?
[Xiaomi Mi MIX  Questions & Answers] cobben:
These are complicated thingies, lots of possibilities to malfunction.

Usb-c

https://en.m.wikipedia.org/wiki/USB-C

Do not! use just any old usb cable, a bad one can literally fry one or both of the connected devices.

I have currently 3 different Xiaomi phones with usb-c ports.

I keep the cables separate, and only use the cable that came with each device. But I'm an old electronics engineer, paranoid and pedantic.;)

I tried just now plugging in my Mix to the Win10 tablett, with developer options turned off, using the original cable that came with the Mix.

Immediately got the notification on the Mix to choose charging, transfers files, or transfer photos.

Chose transfer files from the notification on the Mix, and I could immediately browse the sdcard from file explorer on the tablet. I did not do anything in the tablet before.

The Mix is running the latest Xiaomi.eu weekly 8.3.26, Android 7, and the tablet is running fully updated Win10 64bit.

The best option imho would be to return it to the seller on guarantee terms as being faulty on delivery.

How well that might work out in practice is another question.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Yea I was thinking about the cable, but if the port is the problem it's really easy and cheap to change, 4 wires in that cable, the worry is it's a motherboard problem, I have never seen 1 forsale.

Of course there isn't much to go wrong with the port, give it a good clean brush and some cleaner, if that falls remove back and unplug the connector check it's clean and plug back in, take battery connector off before doing this. Try to leave the battery where it is because that's the hardest part of the taredown
[Xiaomi Mi MIX  Questions & Answers] cobben:
I've haven't repaired stuff for over 20 years, so I can't give you any good advice.

Here's a thread with lots of good pictures, this guy writes that he got an USB port replacement part from Vopmart that didn't have as many pins as the original, so he didn't dare use it.

Reviving & Reconditioning Mi Mix

http://en.miui.com/thread-1065781-1-1.html

Good luck!
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
Man I hope it's the port. I feel like if it was the motherboard I would see more issues? I'm gonna try to remove the old port and clean it. I'm also gonna start an order for a new port on aliexpress, it's about $10 with 2 week shipping. I don't think it's the USB cords I use because I've tried 4. Can I just use like electrical cleaner spray on the port when it's removed?
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
Well you know, thinking back on it. I plugged my phone in a cheap type C cord a while back to charge and the phone actually died and didn't turn on. I had to pull the battery and put it back in to get the phone to even charge and turn on.

Who knows maybe that's the cause. For now I'm gonna pull the USB port and attempt to clean it. And then I guess we'll see if that fixes it or I have to wait 2 weeks and install the new USB port. Who knows, maybe the port isn't even the problem.

I'm a little concerned because I saw the link you posted and that guy compared his USB port to the new one, and there's an issue with no screw holes? Hmm all the ones on aliexpress look like his replacement part...

Have any of you guys heard of safe mode? I was reading some other brands needed to be put in safe mode. I mean, other guys had exact problems as me and then managed to get theirs to work by putting their phone in this safe mode feature..
[Xiaomi Mi MIX  Questions & Answers] james1089:
Don't remove it till you cleaned from the outside, even after that just unplug the connector and plug back in, to remove the port you have to take battery out.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
Just did that. I don't think it did anything. I plugged my rn4 global into a different pc that has no drivers on it and on the rn4 screen it has that little USB symbol that appears at the top of the screen. I plugged the mix in and nothing. Nothing on the pc end and nothing on the mix end except the notification light that it's charging.

So I guess now we just wait to install the new USB port and see if that's the reason?

Side question, does anyone know what that second output is on the mix by the little black wire that connects the bottom portion to the motherboard?
[Xiaomi Mi MIX  Questions & Answers] james1089:
The little black wire is the antenna connector, there is another one but it's nothing of interest, as you look from the back the first large connector on the right is the usb connector. Actually just remembered you don't have to remove anything except the plastic cover covering the port and the port itself, piece of piss:cyclops:
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
Well let's hope the new port works. Check back here in 2 weeks.
[Xiaomi Mi MIX  Questions & Answers] james1089:
You did disconnect before you ordered another 1?
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
oh yes. i took the old port completely right out of the phone, cleaned it to my best abilities. plugged it back in and checked. nothing.

It looks like everyone who has a mix, when they plug their phone in a pc with a usb type c. they should at least get that USB icon on their mix screen at the top and a drop down menu . mine doesnt have that at all so it must be a port issue or a motherboard issue within the my phone.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
well guys, my new charging port piece is a day away. I will update by Thursday to let you guys know if that was the issue!!

I actually discovered that my phone wasn't charging normally as well. The stock charging block and Type C cord was only delivering like 190mah to the phone.

I'm starting to think back at what could have happened... A few months ago, I had plugged my phone into an aftermarket type C cord and a charging block that was for a Asus tablet. The phone died at being 10% and refused to turn on... no red indicator or anything, the only fix that worked for that issue was to disconnect and reconnect the battery cable in the phone. Now I wonder if that issue somehow short circuited something in my phone for it to NOT recognize on PCs.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
UPDATE:

I've installed the new charging port and also bought a quality type C usb cord.

NO difference in the ability of a pc to detect my mi mix and neither does it have that USB symbol at the top left corner of the screen when you plug it in a PC..

WTF could be wrong with my mi mix?
[Xiaomi Mi MIX  Questions & Answers] james1089:
Well hopefully it just fried the port and not your mother
[Xiaomi Mi MIX  Questions & Answers] cobben:
There is the off chance that nothing is wrong with your hardware (motherboard, whatever), but something got messed up in some partition governing how the USB port works.

This kind of problem seems to happen on occasion affecting some or all sensors, and the solution is to flash the persist partition.

Where the stuff governing the USB port might be located I have no idea.

To fix that you would normally want to flash a official Fastboot rom, which rewrites everything in all partitions.

And as far as I know you can only do that via the USB port.

In China you could take it to an official service center I suppose.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Not sure think he tried miflash, could be wrong though, O no he couldn't because pc won't detect phone even from twrp, tried different laptops as well
[Xiaomi Mi MIX  Questions & Answers] james1089:
So have you got it fixed?
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
I started facing this issue after the last ROM upgrade

Hey, came across your thread when I was searching for a similar issue. Just thought I'd my experience, though unfortunately my problem isn't resolved yet either.

I have been using my Mix 2 since December and it always worked well when connected to the PC, then all of a sudden a few days after the last ROM upgrade (9.5.6 GLOBAL) my PC stopped recognizing the 'USB device) and I also noticed that I no longer get the fast charging notification when plugged in to charge.

I tried replacing cables and chargers (and tested the same with another 'quick' charge phone) but the issue persisted.

then I noticed another issue. when using the USB-C to Audio jack converter only one of the 2 earpieces on the headset would output audio. I tried switching to a spare after market adapter, and the audio switched to the alternate channel (earpiece 'R' instead of 'L') but still only one output instead of both earpieces.

After all of this I concluded that it has to be the USB-C port that has become faulty for some reason. I have also ordered a replacement online, but after reading your update not very hopeful that it would work. though, from what I've read, the issue could still be with the replacement USB-C port (as someone else also mentioned on this thread that the ones available online do not always have the same set of pins).

my last attempt is to try and revert to the 9.1.2 global ROM to see if that works (in the off-chance that it is a software/driver issue with the new ROM). Currently have the ROM downloading, it might be a lost cause, but I have nothing else to try :D
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
damn, can't figure out how to downgrade without USB connection (miFlash doesn't work)
[Xiaomi Mi MIX  Questions & Answers] james1089:
So it doesn't detect in fastboot either?
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
nope
[Xiaomi Mi MIX  Questions & Answers] james1089:
Did the other guy fix it, he never said
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
wondering the same :)
[Xiaomi Mi MIX  Questions & Answers] james1089:
Is there away to install twrp for you or is the bootloader locked
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
unfortunately locked boot loader.

I basically need the USB connection for adb access, if I had unlocked and rooted before the issue happened I would've have been able to use ADB over wireless... alas, screwed for now.

still debating whether it is worth a shot to replace the USB port or not, mine is still in transit, though I haven't yet made up my mind as to whether I'm going to go ahead with it when it arrives or not.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Well it's certainly easy enough to do, so why not, do you still get updates?
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
Yes, still get updates.

Let's see when my replacement USB-C board arrives
[Xiaomi Mi MIX  Questions & Answers] james1089:
I mean sometimes unplugging battery overnight sorts alot of problems out
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
Means I will have to pry open the back in either case
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
So are you suggesting that maybe the aftermarket usb C port i installed might not be good and that maybe i still have a chance at fixing my issue?

I swear im the ONLY one that has this problem. I've never seen the USB icon even come on the top of my screen.

Nabeel,

it is easy to remove the back case if you have those mini suction cup tools. [IMG="Tool"]https://ae01.alicdn.com/kf/HTB1OWg7KVXXXXXjapXXq6xXFXXXA/Suction-Cup-Mobile-Phone-Repair-Tool-LCD-Screen-Opening-Tool-for-iPhone-6-for-iPhone-5.jpg[/IMG]
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
I never did fix it. I installed the new usb port from aliexpress and the phone charges in a wall outlet but it does NOT detect on any pc. I can't understand how this is a problem. I also do not ever see the USB icon on the top of the screen.