This Motorola Moto G5S XT1795 official firmware flash file (stock ROM) can help you easily un-brick or restore your device to its default or factory state. If you have previously rooted or modified the system (or other) partition of the phone in any way, flashing this stock ROM will overwrite all existing modified system files to replace them with factory software.
If you have important data on the phone (like contacts, messages, app data, etc.), please back them up because you could lose data after flashing. You should also charge the phone to at least 30% so that the flashing process will not be interrupted by low battery. Interrupting the firmware installation means bricking your phone.
Download the firmware file from the link below and follow the recommended flashing instructions immediately after the download options. Please report any broken links discovered.
Download Motorola Moto G5S XT1795 firmware.Motorola Moto G5S XT1795
Important! Always backup existing firmware before flashing any firmware.
How to flash Motorola Moto G5S XT1795 firmware via fastboot
To flash Motorola official factory firmware via fastboot- boot your phone into fastboot mode (press and hold volume down + power button simultaneously); connect USB cable to phone and then Computer. Now run the following commands via command window, ONE BY ONE. See how to install ADB and Fastboot drivers.
Note: Don’t copy/paste and run the entire fastboot commands. The file names here may differ from the firmware you have downloaded and this will brick your phone. And if you brick your phone, that’s entirely your fault. Also be sure that you’re flashing the correct firmware that matches your phone’s build number.
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
If you have any questions or other contribution please post in comments section for assistance.