I bought the phone online and came already unlocked. Now I don´t know how to unlock again, since I tried to install weekly rom before setting up and bind my account to the phone... Can I still save it?
My phone is in french and my translations are approximate but here are the steps to install another rom on a locked Xiaomi phone:
- enable the Developper settings
- in those, enable the USB debug feature
- unlock your bootloader with
https://en.miui.com/unlock/ and following its instructions
- after your phone is unlocked, download a recovery on your PC: TWRP, OrangeFox, RedWolf, PitchBlack,... the choice is yours but always choose the lastest version.
- unzip this near the root directory of a drive, for example c:\adb\ :
https://androidfilehost.com/?fid=962187416754459552
- move the .img of the downloaded recovery in the ADB directory
- plug your phone to your PC with an USB cable
- while holding the Shift key pressed, right click on the backgroung of the directory then select "Command here"
- in the command line windows, type: fastboot boot recovery recovery.img (where recovery.img is the recovery file). It should reboot the phone in the new recovery despite it isn't installed yet.
- in this recovery, copy the recovery.img file on your phone
- use the Install feature to install it then reboot into the recovery again.
- install the xiaomi.eu ROM