r/androidroot • u/obviouslyfr • 29m ago
Support Redmi Note 5 Pro (whyred) exits Fastboot / shows "Press any key to shutdown" when USB is connected.
I'm trying to unlock the bootloader of my Xiaomi Redmi Note 5 Pro (whyred, Snapdragon 636), but I've run into a Fastboot/USB issue that I haven't been able to resolve.
Actual problem
My phone boots into Fastboot normally when disconnected from USB. However, as soon as I connect the USB cable to my laptop, the phone displays:
"Press any key to shutdown"
At the same time, the USB connection becomes unstable or disappears entirely. Sometimes it works fine for few minutes and then this happens.
What I've tried
- Tried multiple USB cables and USB ports.
- Tried unlocking from both Windows and Linux Mint.
- Installed Google's latest Android platform-tools.
- Confirmed that
adb devicesdetects the phone reliably in Android mode.
Fastboot behaviour
Sometimes fastboot devices detects the phone:
47c49ee2 fastboot
However, several Fastboot commands either hang or return errors such as:
FAILED (remote: 'unknown command')
For example:
Not all of these commands behave consistently.
MiUnlockTool error
The Xiaomi API authentication process works, and the utility reaches the stage where it attempts to send the unlock data.
However, it fails here:
Sending '/home/.../encryptData' (0 KB)
FAILED (remote: 'unknown command')
fastboot: error: Command failed
The failure occurs during:
The utility never successfully completes the unlock process.
Linux USB logs
I monitored USB activity using:
The phone repeatedly disconnects and reappears under different USB identities:
| USB ID | Reported device |
|---|---|
2717:ff08 | Xiaomi SDM636-MTP |
2717:ff48 | Xiaomi SDM636-MTP |
18d1:d00d | Google Android |
05c6:f000 | Qualcomm SDM636-MTP (seen in an earlier log) |
There are repeated USB disconnect and re-enumeration events.
When the phone displays "Press any key to shutdown", running lsusb sometimes shows no phone-related USB device at all.
What works
In normal Android mode:
consistently returns:
47c49ee2 device
So ADB works normally while Android is running.
Has anyone experienced the same behaviour with a Redmi Note 5 Pro or another Xiaomi devices?
Is anyone here able to help me, I'm frustrated atp.
(i tried troubleshooting with chatgpt but it always says to do this and that command and send me the output but doesn't reach anywhere.) ps: chatgpt helped me to write this post cuz I don't understand this headache at all, this is my first time dealing with bootloader unlocking and all.