[Miscellaneous Android Development] Sherzaman Khan:
Disclaimer:

I can not be held responsible for any type of problem with your device. This information is for the sole purpose of reporting and is delivered "as is". Only the tests will confirm if everything works well or does not work at all, proceed with caution.

Recommendations:

Make sure to back up all information, device data, and (optional) persistence partitions of the device.

Always use common sense, and confirm that you do not have an error message in the console. Verify that things are done correctly.

Requirements:

1.Make sure that the drivers and everything related to connectivity is working properly.

2.All this process spends time and of course the battery of your device, make sure you have a good battery (50+) and stay connected as much as possible.

3.Make sure you install the right firmware, in other devices from Oreo things are not so tight, in my case, my XT1926-3 device works perfect with a reteu europen devices firmware, but it depends on each one...

Process:

1.Download the correct firmware for your device.

Right now there are not many firmware available, as time passes the list will grow.

One of several sites is LOLINET.

https://mirrors.lolinet.com/firmwar...developer.android.com/studio...platform-tools.

Process:

¹.Download the correct firmware for your device.

2.Right now there are not many firmware available, as time passes the list will grow.

One of several sites is LOLINET.

https://mirrors.lolinet.com/firmware/moto/evert/official/RETEU/

3.(If not already installed, make sure of ..) Install the drivers and download the fastboot utility. And of course, verify that the driver works properly. It will be done later.

4.Extract the fastboot utility, and the firmware within the same directory.

5.To verify the connection, enter the bootloader of your device, connect it with the PC. On the PC; run the console, go to the folder where you extracted the fastboot utility, and type fastboot.exe devices, you should see the listed device in the console.

6.If the connection works correctly and you notice nothing strange, you can start the process.

Open the console in the directory where the fastboot utility is on the firmware files, there should be no more folders inside. (In this case you should adjust the path of the files in the commands). And write the following commands, verify that you do not have errors.:

Warning,

The commands listed below as "optional" do not necessarily have to be executed, but to be completely safe, execute them all, as long as you have the right firmware.

Code:

fastboot getvar max-sparse-size

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash bluetooth BTFM.bin

fastboot flash dsp dspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system_b system_other.img

fastboot flash oem oem.img

fastboot flash oem_b oem_other.img

fastboot flash vendor vendor.img_sparsechunk.0

fastboot flash vendor vendor.img_sparsechunk.1

fastboot erase carrier

fastboot erase userdata

fastboot erase ddr

fastboot oem fb_mode_clear

fastboot reboot

If you hear "Hello moto", congratulations you are in Stock (and everything "should work fine").