I have a Xiaomi Redmi Note 3 Pro (kenzo) phone with a locked bootloader. Earlier, I unlocked this, but I do this with an easy switcher tumbler "OEM-unlock", so I flashed TWRP, custom ROMs, etc. After this, I flashed one more official MIUI ROM (Android 5.1), and the bootloader was locked.
fastboot oem unlock,
fastboot flashing unlock and other commands to unlock. I unlocked with Mi unlock and many attempts to unlock. Then I flashed the official Android 6.0 ROM with EDL, but when I tried to replace the stock
recovery.img to TWRP recovery (yes, I renamed the file to
recovery.img), I still see the stock recovery.
I also unpacked
boot.img in EDL ROM and replaced
ro.secureboot.devicelock=0, but when I flashed it, it doesn't boot (fastboot only).
How can I unlock the bootloader or flash TWRP with EDL?