Flashing a ROM late at night really can go wrong—so frustrating. Here's what happened: I saw a guy on coolapk post a GoogleBookOS ROM for the Xiaomi Pad 5, so I thought I'd flash it and check it out.

It actually flashed successfully, but there were quite a few bugs. The biggest issue was that it drained battery even while plugged in—really frustrating.
After flashing, I noticed something was off and quickly powered it off to try charging.
But it couldn't charge while powered off.
Now I was really panicking. I quickly found an official system package, downloaded MiFlash, and planned to flash the official package to restore the official system.
Unexpectedly, the system just wouldn't flash—it kept getting stuck at verification.
I thought it was a MiFlash version issue, but after some fiddling I realized that when I flashed GoogleBookOS earlier, I had used Zadig to replace the driver—swapping out the ADB driver—so it would flash successfully.
So I quickly reinstalled the driver.
By then it was already 6 AM. Having stayed up all night, I was a bit dizzy and just focused on flashing the official system onto the tablet. I forgot that Xiaomi, that disgusting company, defaults to checking the "flash and lock" option. Fortunately, I was flashing the official system, so no disaster happened. If I had flashed a ported package or a third-party system, the bootloader would have been re-locked and the system wouldn't boot properly—the tablet would have been truly bricked.
After returning to the MIUI Pad 14 interface, I tried binding my Xiaomi account and then used the Mi Unlock tool to successfully unlock it again.

