I have installed Cyanogenmod (v13) on a Xiaomi Redmi 2 phone. So, it all worked, but then I tried a manual update. I booted into recovery (TWRP), and flashed the new cyanogenmod ZIP file; then flashed the gapps ZIP file. But when I rebooted, I found two problems:
- the device won't finish booting (gets stuck)
- recovery mode is gone. If I try to boot into recovery, the Mi logo stays there forever
So, I could get into fastboot mode. Then I tried using the fastboot
tool from a Linux PC.
The device responds properly:
# fastboot devices
78768331 fastboot
# fastboot getvar version
version: 0.5
finished. total time: 0.003s
# fastboot oem unlock
...
OKAY [ 0.003s]
finished. total time: 0.003s
# fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.041s]
finished. total time: 0.041s
But, when I try to flash a recovery image, it gets stuck:
# fastboot flash recovery cm-13.0-20160705-NIGHTLY-wt88047-recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (11136 KB)...
I have tried this from two computers:
from a notebook, when I plug the device it is correctly recognized as a USB 2.0 device (
syslog
says it's a EHCI device), but no data is transferred. After some time, the kernel reports that "task fastboot blocked for more than 120 seconds" and prints a stacktrace tosyslog
.from a desktop computer (also Linux), the device is only recognized as OHCI (USB 1.0), and no data is transferred. But in this case, unlike the notebook, when it tries to transfer, the keyboard stops functioning (OHCI, I suppose).
I also tried a Windows flashing program for Xiaomi devices, which I ran on Virtualbox, but it didn't recognize my phone.
What else can I try?