r/AndroidQuestions • • 19h ago

Redmi Note 5 Pro (whyred) Fastboot disconnects after a few seconds – serial changes to ???????? and device disappears from Device Manager

Hi everyone,

I'm trying to unlock the bootloader of my Redmi Note 5 Pro (whyred), but I'm facing a very strange Fastboot USB detection problem on Windows 11.

The phone initially gets detected by Fastboot, but within seconds the serial number changes to ????????????, and then the device completely disappears from Fastboot.

& phone stays on the FASTBOOT screen throughout.

What exactly happens

Initially, running: fastboot devices

returns: 47c49ee2 fastboot

Immediately afterward, it returns:

???????????? fastboot

And subsequent attempts return absolutely nothing.

I've tried:

  • Installing and reinstalling ADB/Fastboot drivers.
  • Installing Android Bootloader Interface drivers.
  • Using different USB ports.
  • Using Windows 11 and Linux Mint.
  • Disabling USB Root Hub power management..

The cable works normally for transferring files & ADB Commands between the PC and phone.

I've also tried Xiaomi Mi Unlock, but it doesn't recognise the phone.

My phone is running stock MIUI Global 11.0.5 (PEIMIXM).

anyone knows fix to this???

1 Upvotes

1 comment sorted by

1

u/xsgeng 14h ago

The question marks are the key clue. The fastboot binary is not reading a corrupted serial because the cable is bad, it is reading a fresh USB descriptor because the phone re-enumerated under a different interface. On a whyred in bootloader mode the phone presents more than one interface moment to moment: the bootloader interface itself, and when the phone decides it is time to drop into the Qualcomm download path (9008 / diag / qdl), the interface descriptor changes and PID switches. libusb hands the new descriptor back with no serial number, so fastboot renders it as a row of question marks instead of a 12-hex-digit iSerial. It is a real disconnect-and-reconnect, not a display bug.

The thing that reproduces this most often is USB power delivery negotiation. The whyred bootloader is old enough that it does not handle USB PD well, and the moment Windows renegotiates current the charger IC drops the data lines and re-enumerates. Two things to try first, both free: use a USB 2.0 port directly on the motherboard rear panel, and use a plain charge-only-free cable that has no e-marker chip. A USB-C to A adapter with a PD-capable port is the classic trigger.

If that does not do it, the next place to look is the Windows USB stack resetting the port. Open Event Viewer, filter System log on source USB with the KB ids 1000 range, and compare timestamps against your fastboot attempts. Repeated entries around each attempt mean Windows is doing a selective suspend or a reset request. Disabling selective suspend on every USB Root Hub is not enough on its own because the controller level XHCI power setting is separate. Run powercfg /h off to disable fast hibernation and fast startup first, because on some boards a fast-startup boot leaves the controller in a half-suspended state.

On the Linux side you already tried, do not rely on lsusb alone, because it only shows the initial descriptor snapshot. Run dmesg -w in a second terminal, then run fastboot devices and watch for a disconnect line followed by a new device line with a different product id. If you see 18d1:d00d going to 05c6:9008 then the phone is deliberately dropping into emergency download mode, which usually comes from a bad bootloader partition or a battery that is too low to hold the fastboot session. Charge the phone to full with the fastboot screen off before you try again.

Last note, keep the phone off the fastboot screen while you are setting things up. Leaving it on that screen with a low battery is the single most common reason these sessions die mid handshake on that particular model.