@cvigano Have a look at mido: https://wiki.lineageos.org/devices/mido/install#unlocking-the-bootloader
@cvigano via fastboot (firmware-update before)
@m_baran but is it true that the device is wiped after a `fastboot oem unlock`? Is there any way to prevent this? Otherwise I'd need to start moving stuff from my smartphone to an external source and prepare to setup everything anew.
@cvigano you should always have a backup, regardless of unlocking. ;)
And no, the device should not be wiped. TWRP/flashing will do this.
Phone will not be wiped by executing an adb command. Before flashing the firmware you have to do the wipe by yourself in TWRP. So yes, you have to backup your data and setup everything anew.
@dev4223 okay, I understood all instructions so far as "initiate the unlock and if you don't do a specific thing, then all you data will be wiped". Hence the need for instructions like these to prevent a wipe after unlocking: https://www.youtube.com/watch?v=HbwVsYQajC0
I think I'll just try to be on the safe side and backup everything before unlocking via fastboot 👍
@cvigano Yeah, backup is always first thing to do. Then you can safely reset your phone. I don't know the bootloader unlocking process for Xiaomi devices in deep and so a wipe in this stage is possible. Good luck!
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!