My original post: 4PDA Forum
1) You need install drivers. You can download drivers from official site: https://en-us.support.motorola.com/app/usb-drivers
2) You need install MotoFlashPro https://xdaforums.com/t/utility-motoflashpro.4252201
3) Download Platform-tools https://developer.android.com/tools/releases/platform-tools?hl=en#downloads
1) Turn off the smartphone and press Volume - plus Power.
2) Open a command line (Shift+Right mouse button, if PowerShell, then write cmd in it) in the Platform-tool folder and enter the following command.
fastboot devices
3) If the device is successfully detected, go to the next step, otherwise change the cable or USB port.
4) Enter command on CMD.
fastboot oem get_unlock_data
You can try to enter the command, if the unlock was successful, then proceed directly to reflashing.
fastboot oem unlcock
5) You will see the following output in the command line.
(bootloader) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(bootloader) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(bootloader) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(bootloader) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(bootloader) XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6) Copy all XXXXXXXXXXXXXXXXXXXXXXXXXXXXX into one line without probels.
7) Go to the next site: Motorola Unlock page
8) Insert the value from step 6, accept the risks and click Can my device be unlocked?
9) Use your Google account to log in.
10) After authorization you will receive an email in gmail, where you will be provided with an unlock code.
11) Enter the following command, where UNLOCK CODE is your unlock code from the email.
fastboot oem unlock UNLOCK_CODE
12) After a choice of actions appears, you select.
Unlock Bootloader
ALL YOUR DATA WILL BE LOST!!!
13) After the smartphone reboots
Your smartphone is successfully unlocked
1) Download firmware from this resource (important, the latest version): https://mirrors.lolinet.com/firmware/lenomola/2023/fogos/official/RETEU/.
2) Extract the archive (preferably to a directory without Cyrillic characters).
3) Open MotoFlashPro.
4) Click OpenXML button.
5) Select the file flashfile.xml
6) Uncheck the reboot after flash checkbox.
7) Click Start Flash.
8) Wait for this line to finish.
10) Reboot the smartphone
Migration to RETEU is complete
1) Turn off the smartphone and press Volume - plus Power.
2) Open platform-tools in the command line.
3) Enter the following command.
fastboot oem lock
4) A window will pop up saying that all data will be lost. Agree to the lock.>
Do not touch the “Factory unlock” item in the developer options!!!
Bootloader locking is finished.