[Motorola Edge 30 Ultra / Motorola Moto X30 Pro] RicoMartins:
Hello everyone, I decided to create this Tutorial for (mainly) people like me, who got their devices from the Chinese version with their ROMs modified for Global.

But I will explain where you should focus if you only have the bootloader unlocked for root and have not modified your system.

1- I'm Brazilian and this text is FULLY by Google translator

2- For Newbies (because the old ones know that) ALWAYS read EVERYTHING, even comments if possible before starting the process.

3- Do it at YOUR own risk, although if you follow it correctly you will succeed.

4- I assume you have: Plataform Tool (ADB & Fastboot) (if you don't start with that on your PCs) your drivers (Motorola) are also installed

What is required for Bootloader Lock?

Be on the correct version of your Firmware, and have the OEM unlock switch in the ALLOW position

Usually when unlocking the bootloader, this key goes off in the off position, and that's why we need Root with Saftnet active for it to turn on and be able to set it to allow again

So for those who ONLY unlocked their bootloader and NOT changed the Firmware (from CN to Global or some Custom Rom)

JUST activate the OEM unlocking option (remembering that you will need root with saftnet passing)

I recommend Magisk Delta (Canary) and Saftnetfix module

Enabled unlock permission remove root by magisk app (TOTAL removal)

Ready you are sure your system is correct has the key deleted but in allowing?

Put your device in bootloader:

adb/reboot/bootloader

or Turn off the device and hold the Power button together with Vol -

fastboot oem lock

And you will have your device locked and everything working as it should.

Now who received with modified ROM or installed a custom one:

Make sure you have the correct update channel (retcn for Chinese, reteu for Europe, or whatever yours is) if it is modified:

fastboot oem config carrier retcn

done that

Go to lolinet Lolinet (CN) , Lolinet (EU), Lolinet (AIL), Lolinet (BR) and download the full ROM for your version (we will only use Smart Rescue at the end to update it It should not recognize your device for redemption before having an old and correct version)

Make sure you download the older version (this is a guarantee thing) as we will use Lenovo Smart Rescue Center to update and be 100% sure we are on the right version.

Extract the files and look for flashfile.xml open with notepad (or any other of your choice) copy everything and paste it on This Site it will give you the commands to pass the ROM, copy the commands and paste in the CMD of the window where I have the ROM files, or download the file (it will come in zip, extract and copy flashfile.bat to the ROM folder and just click on it, wait for the installation and restart

Now activate the developer options and see if you have the OEM unlock key in allow, it will be off but it has to be in allow if you don't do the root process under Magisk pass the saftnetfix module and it should appear lit now and you will be able to put in allow

Done, enter Magisk and remove Root (total removal)

It will restart and you will see that now the key is erased but in allow

So now Lenovo Smart Rescue should allow the Rescue of your device, follow the steps until it installs the most current version, when done, skip everything (as it will restore when blocked) to activate the developer option and USB debugging , then in fastboot use

fastboot oem lock

OK, you should now have your device as it left the factory.