[Moto G5S Plus Guides, News, & Discussion] echo92:
Please be aware that before trying this, you have your data backed up (cloud backups or copied to your computer), or at least have your important videos/photos/documents transferred off your device. This procedure should not affect your device, but you should be ready to factory reset if any instability is encountered. This procedure should work if your bootloader is locked or unlocked, but if your device bootloader is unlocked, be very careful if you flash older stock firmware.

Be warned that I don't have a G5S Plus, so try this at your own risk. I do have a G4 Plus and the procedure is similar. Do not rush this procedure - ensure you have plenty of time.

Easiest way for you to update is to flash the OPS28.65-36 fastboot stock ROM (the final build) via the bootloader. There are no updates you can apply (which is the problem of using the soak test, but I digress), thus the procedure in the opening post may not work.

Please read through the entire set of instructions before using.

1)Ensure you have ADB/fastboot installed on your computer (downloadable from here: https://xdaforums.com/showthread.php?t=2317790 ) and you have the appropriate Motorola drivers: https://support.motorola.com/us/en/solution/MS88481

If you're running Windows 10/8.1, check that you have driver signature enforcement disabled, else the drivers may not load: https://www.howtogeek.com/167723/ho...8.1-so-that-you-can-install-unsigned-drivers/

2)Download the OPS28.65-36 stock ROM from here: https://mirrors.lolinet.com/firmware/moto/sanders/official/RETAIL/ Extract the stock ROM and copy to your ADB folder on your computer. You should have 25 files copied to your ADB folder. If you try to extract directly to your ADB folder, Windows access controls may block you - if you extract the stock ROM zip and then copy the resulting files, you should be able to copy to your ADB folder.

3)Connect your device to your computer via the original cable or a high quality USB cable. Power off your device.

4)Hold down the power and volume keys until your device boots to the bootloader. You should see a screen similar to this (the screen text will be different): https://goo.gl/images/uR9UzV You should also hear your computer load drivers for your device.

5)Open up an ADB terminal on your computer. In the terminal, enter 'fastboot devices' without quotes. Press Enter. You should see your device respond with its serial number.

6)If you get a response, then use the following fastboot flashing commands to flash the OPS28.65-36 firmware to your device (credit to https://xdaforums.com/moto-g5s-plus/how-to/updated-2-stock-procedure-motorola-g5s-t3838219 )

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 dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.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 system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash oem oem.img
fastboot erase cache
[B]fastboot erase userdata[/B]
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot

Before you use these commands, verify that the number of sparsechunks match that in your ADB folder. Also, be warned using these commands will erase your device. If you want to keep your data, then do not use the 'fastboot erase userdata' command - the command bolded above. To use these commands, either copy each command in sequence to your ADB terminal and press Enter, then wait for the [OKAY] response before continuing - or you could copy these commands to a script and run that from your ADB folder. If you want to, I've attached a zip containing 2 scripts - one for flashing as per the above commands (sanders_OEM_flash_erase_device.bat) and one that should not erase your userdata (sanders_OEM_flash_save_data.bat). Extract the zip and copy one of the scripts to your ADB folder, then double click to execute the script. You're more than welcome to edit the script to inspect the script. If you use the OEM_flash_save_data.bat, be aware you may be able to boot with your data intact, but you should be ready to factory reset as mentioned previously.

The above commands also assume that your device is running okay, and you've had no previous issue with IMEI, signal, VoLTE or other radio related issues. The above commands will not re-lock your bootloader if previously unlocked or affect your locked bootloader - that's outside the scope of this post.

This firmware is applicable to Brazil, Indian and possibly Argentinian devices. It may be the same as deployed to EU, US and other regions but I've not seen what versions have been released to those regions.